powerpc: Fix sinf() IFUNC fallback.
[glibc.git] / ChangeLog
blob044f605334cdbadd9736f397d1d8d32f8d3adf39
1 2017-06-23  Rogerio A. Cardoso  <rcardoso@linux.vnet.ibm.com>
3         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
4         s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
6 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
8         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
9         to errno, and simplify remaining related code.
11 2017-06-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
14         PPC_FEATURE2_SCV.
15         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
16         and darn.
18 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
21         the implementation-specific function name and remove unneeded macros
22         definition.
23         * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
24         function name if not defined and pass as parameter to macros
25         accordingly.
27 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
30         (libm-sysdep_routines): Add s_llroundf-ppc64.
31         * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
32         (__llroundf): Define as strong alias of __llround.
33         (llroundf):  Define as weak alias of __llround.
34         (__lroundf): Define as strong alias of __llround.
35         (lroundf):  Define as weak alias of __llround.
36         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S:  Likewise.
37         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
38         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
39         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
40         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
41         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
42         * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
44 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
46         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
47         [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
49         * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
50         (MATH_TESTS_TG): New macro.
51         (SNAN_TESTS_float128): Likewise.
52         (ROUNDING_TESTS_float128): Likewise.
53         (EXCEPTION_TESTS_float128): Likewise.
54         (SNAN_TESTS): Define using MATH_TESTS_TG.
55         (ROUNDING_TESTS): Likewise.
56         (EXCEPTION_TESTS): Likewise.
58         * sysdeps/ieee754/float128/float128_private.h
59         [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
60         pass it to SET_RESTORE_ROUNDF128.
62         * sysdeps/ieee754/float128/float128_private.h: Include
63         <ieee754.h>.
65         * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
66         typeof to argument passed to __builtin_types_compatible_p.
67         (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
69         * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
70         <errno.h>.
71         * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
72         * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
73         * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
74         * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
75         * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
76         * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
77         * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
78         * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
79         * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
80         * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
81         * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
82         * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
83         * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
84         * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
85         * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
86         * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
87         * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
88         * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
89         * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
90         * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
91         * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
92         * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
94         * sysdeps/ieee754/float128/strtof128_l.c: Include
95         <bits/types/locale_t.h> instead of <xlocale.h>.
96         * sysdeps/ieee754/float128/wcstof128.c: Likewise.
97         * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
99 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
101         * benchtests/scripts/benchout_strings.schema.json: New file.
102         * benchtests/scripts/compare_strings.py: New file.
104         * benchtests/bench-memcpy-large.c: Include json-lib.h.
105         (do_one_test): Print json.
106         (do_test): Likewise.
107         (test_main): Likewise.
108         * benchtests/bench-memcpy-random.c: Include json-lib.h.
109         (do_one_test): Print json.
110         (do_test): Likewise.
111         (test_main): Likewise.
112         * benchtests/bench-memcpy.c: Include json-lib.h.
113         (do_one_test): Print json.
114         (do_test): Likewise.
115         (test_main): Likewise.
117         * benchtests/json-lib.h: Include inttypes.h.
118         (json_attr_int, json_attr_int, json_element_string,
119         json_element_int, json_element_uint): New functions.
120         * benchtests/json-lib.c: (json_attr_int, json_attr_int,
121         json_element_string, json_element_int, json_element_uint): New
122         functions.
124 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
126         * manual/arith.texi (Remainder Functions): Describe remainder as
127         primary and drem as an alternative name.  Change the comment on
128         remainder to ISO, since it is defined in ISO C99.
130 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
132         * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
133         macro expansion.
134         (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
136 2017-06-22  Mike FABIAN  <mfabian@redhat.com>
138         [BZ #21533]
139         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
140         201706L for Unicode 10.0.
142 2017-06-21  Benjamin Cama  <b.cama@kerlink.fr>
144         [BZ #21657]
145         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
146         on node-local addresses.
147         * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
149 2017-06-21  Florian Weimer  <fweimer@redhat.com>
151         * intl/loadmsgcat.c: Remove alloca support.
152         (_nl_load_domain): Use calloc instead of alloca.
154 2017-04-21  Florian Weimer  <fweimer@redhat.com>
156         * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
157         (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
158         alloc_buffer_copy_bytes, alloc_buffer_copy_string,
159         alloc_buffer_create_failure.
160         * malloc/Versions (__libc_alloc_buffer_alloc_array)
161         (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
162         (__libc_alloc_buffer_copy_string)
163         (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
164         * malloc/alloc_buffer_alloc_array.c: New file.
165         * malloc/alloc_buffer_allocate.c: Likewise.
166         * malloc/alloc_buffer_copy_bytes.c: Likewise.
167         * malloc/alloc_buffer_copy_string.c: Likewise.
168         * malloc/alloc_buffer_create_failure.c: Likewise.
169         * malloc/tst-alloc_buffer.c: Likewise.
171 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
174         strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
175         strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
176         strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
177         * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
178         * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
179         * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
180         * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
181         * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
182         * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
183         * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
184         * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
185         * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
186         * sysdeps/x86_64/multiarch/strncase.c: Likewise.
187         * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
188         * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
189         * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
190         * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
191         * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
192         * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
193         * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
194         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
195         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
196         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
197         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
198         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
199         (STRCMP_SSE42): New.  Defined to __strcmp_sse42 if not defined.
200         [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
201         "locale-defines.h".
202         (UPDATE_STRNCMP_COUNTER): New.
203         (SECTION): Likewise.
204         (GLABEL): Likewise.
205         (LABEL): Likewise.
206         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
207         for libc.a.
209 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
211         [BZ #21622]
212         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
213         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
214         __USE_MISC].
215         (SA_NODEFER): Likewise.
216         (SA_RESETHAND): Likewise.
218 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
220         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
221         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
222         Remove security_level on all fields.
223         * manual/tunables.texi: Replace ifunc with hwcaps.
224         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
225         Renamed to ..
226         (TUNABLE_CALLBACK (set_hwcaps)): This.
227         (init_cpu_features): Updated.
228         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
229         data_cache_size, data_cache_size and non_temporal_threshold to
230         unsigned long int.
231         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
232         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
233         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
234         use DEFAULT_STRLEN.
236 2017-06-21  Florian Weimer  <fweimer@redhat.com>
238         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
239         asprintf to construct an absolute pathname.
241 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
243         * misc/tst-preadvwritev2-common.c: New file.
244         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
245         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
247 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
249         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
250         annotation.
251         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
253 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
255         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
256         hidden __GI__dl_argv symbol.
258 2017-06-21  Florian Weimer  <fweimer@redhat.com>
260         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
261         to parse addresses with IPv6 scope IDs.
263 2017-06-21  Florian Weimer  <fweimer@redhat.com>
265         Add the __inet_pton_length helper function.
266         * resolv/resolv-internal.h (__inet_pton_length): Declare.
267         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
268         Add length argument.
269         (__inet_pton): New function.
270         (inet_pton4): Add length argument.
271         (hex_digit_value): New function.
272         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
273         memmove and memset to fill :: gap.
274         * resolv/Makefile (tests, tsts-static, tests-internal): Add
275         tst-inet_pton.
276         * resolv/tst-inet_pton.c: New file.
277         * support/Makefile (libsupport-routines): Add xmprotect.
278         * support/xunistd.h (xmprotect): Declare.
279         * support/xmprotect.c: New file.
281 2017-06-21  Florian Weimer  <fweimer@redhat.com>
283         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
284         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
285         (call_gai, check_ai): New functions.
286         (expect_failure, expect_success): Use them.  Add logging.
288 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
290         * sysdeps/powerpc/powerpc64/multiarch/Makefile
291         (sysdep_routines): Add memchr_power8.
292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
293         (memchr): Add __memchr_power8 to list of memchr functions.
294         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
295         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
296         (memchr): Add __memchr_power8 to ifunc list.
297         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
299 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
301         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
302         (__llrintf): Define as strong alias of __llrint.
303         (llrintf):  Define as weak alias of __llrint.
304         (__lrintf): Define as strong alias of __llrint.
305         (lrintf):  Define as weak alias of __llrint.
306         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
307         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
308         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
311 2017-06-20  Zack Weinberg  <zackw@panix.com>
313         * bits/signum-generic.h: Renamed from bits/signum.h.
314         Add proper multiple include guard and misuse check.
315         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
316         Move definition of SIGIO to "archaic names for compatibility" section.
317         * bits/signum.h: New file which just includes bits/signum-generic.h.
318         * sysdeps/unix/bsd/bits/signum.h
319         * sysdeps/unix/sysv/linux/bits/signum.h
320         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
321         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
322         * sysdeps/unix/sysv/linux/mips/bits/signum.h
323         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
324         Just include <bits/signum-generic.h> and then add or adjust
325         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
327         * signal/Makefile: Install bits/signum-generic.h.
328         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
330         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
331         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
333         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
334         * sysdeps/unix/sysv/linux/Makefile: Run it.
336 2017-06-20  Zack Weinberg  <zackw@panix.com>
338         * locale/xlocale.h: Rename to...
339         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
340         Only define struct __locale_struct and __locale_t, not locale_t.
341         * locale/bits/types/locale_t.h: New file; define locale_t here.
342         * locale/Makefile (headers): Update to match.
344         * include/xlocale.h: Delete wrapper.
345         * include/bits/types/__locale_t.h: New wrapper.
346         * include/bits/types/locale_t.h: New wrapper.
348         * ctype/ctype.h, include/printf.h, include/time.h
349         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
350         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
351         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
352         Correct outdated comments regarding the standardization status of
353         the functions that take locale_t arguments.
355         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
356         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
357         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
358         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
359         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
360         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
361         Don't include xlocale.h. If necessary, include locale.h instead.
363         * stdlib/strtold_l.c: Unconditionally include wchar.h.
365         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
366         * include/monetary.h, include/stdlib.h, include/time.h
367         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
368         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
369         * locale/localeinfo.h, locale/newlocale.c
370         * locale/nl_langinfo_l.c, locale/uselocale.c
371         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
372         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
373         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
374         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
375         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
376         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
377         * string/strings.h, string/strncase.c, string/strxfrm_l.c
378         * sysdeps/ieee754/float128/strtof128_l.c
379         * sysdeps/ieee754/float128/wcstof128.c
380         * sysdeps/ieee754/float128/wcstof128_l.c
381         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
382         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
383         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
384         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
385         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
386         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
387         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
388         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
389         * sysdeps/x86_64/strcasecmp_l-nonascii.c
390         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
391         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
392         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
393         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
394         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
395         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
396         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
397         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
398         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
399         Change all uses of __locale_t to locale_t.
401 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
403         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
404         for !__OFF_T_MATCHES_OFF64_T.
405         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
406         implementation based on open64.
407         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
408         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
410 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
412         * elf/dl-tunables.list: Move x86 specific tunables to ...
413         * sysdeps/x86/dl-tunables.list: Here.  New file.
415 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
417         [BZ #21635]
418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
419         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
420         * conform/data/signal.h-data (uc_mcontext): XFAIL for
421         powerpc32-linux.
422         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
424         [BZ #21634]
425         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
426         (conformtest-xfail-conds): New variable.
427         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
428         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
430 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
432         * benchtests/powf-inputs: Add reduced trace from wrf.
434 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
435             Erich Elsen  <eriche@google.com>
437         * elf/dl-tunables.list (tune): Add ifunc,
438         x86_non_temporal_threshold,
439         x86_data_cache_size and x86_shared_cache_size.
440         * manual/tunables.texi: Document glibc.tune.ifunc,
441         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
442         and glibc.tune.x86_non_temporal_threshold.
443         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
444         * sysdeps/x86/cpu-tunables.c: Likewise.
445         * sysdeps/x86/cacheinfo.c
446         (init_cacheinfo): Check and get data cache size, shared cache
447         size and non temporal threshold from cpu_features.
448         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
449         New.
450         [HAVE_TUNABLES] Include <unistd.h>.
451         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
452         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
453         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
454         IFUNC selection, data cache size, shared cache size and non
455         temporal threshold.
456         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
457         shared_cache_size and non_temporal_threshold.
459 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
461         * benchtests/README: Describe workload feature.
462         * benchtests/bench-skeleton.c (main): Add support for
463         benchmarking traces from workloads.
465 2017-06-20  Zack Weinberg  <zackw@panix.com>
467         * string/string.h (__mempcpy_inline): Delete.
468         * sysdeps/x86_64/multiarch/mempcpy.c
469         * sysdeps/x86_64/multiarch/stpcpy.c:
470         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
471         before including string.h.
473 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
475         * benchtests/Makefile (bench-math): Add powf.
476         * benchtests/powf-inputs: New file.
478 2017-06-20  Zack Weinberg  <zackw@panix.com>
480         * bits/string.h, string/bits/string.h
481         * sysdeps/aarch64/bits/string.h
482         * sysdeps/m68k/m680x0/m68020/bits/string.h
483         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
484         * sysdeps/x86/bits/string.h: Delete file.
486         * string/string.h: Don't include bits/string.h.
487         * string/bits/string3.h: Rename to bits/string_fortified.h.
488         No need to undef various symbols that the removed headers
489         might have defined as macros.
490         * string/Makefile (headers): Remove bits/string.h, change
491         bits/string3.h to bits/string_fortified.h.
492         * string/string-inlines.c: Update commentary.  Remove definitions
493         of various macros that nothing looks at anymore.  Don't directly
494         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
495         compiler-predefined macros.
496         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
497         _is_ defined, provide internal hidden alias __strncat.
498         * include/string.h: Declare internal hidden alias __strncat.
499         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
500         not defined.
501         * include/bits/string3.h: Rename to bits/string_fortified.h,
502         update to match above.
504         * sysdeps/i386/string-inlines.c: Define compat symbols for
505         everything formerly defined by sysdeps/x86/bits/string.h.
506         Make existing definitions into compat symbols as well.
507         Remove some no-longer-necessary messing around with macros.
509         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
510         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
511         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
512         * sysdeps/s390/multiarch/mempcpy.c
513         No need to define _HAVE_STRING_ARCH_mempcpy.
514         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
516         * sysdeps/i386/i686/multiarch/strncat-c.c
517         * sysdeps/s390/multiarch/strncat-c.c
518         * sysdeps/x86_64/multiarch/strncat-c.c
519         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
521 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
523         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
524         (LDBL_DIG): Likewise.
525         (LDBL_MIN_EXP): Likewise.
526         (LDBL_MIN_10_EXP): Likewise.
527         (LDBL_MAX_EXP): Likewise.
528         (LDBL_MAX_10_EXP): Likewise.
529         (LDBL_MAX): Likewise.
530         (LDBL_MIN): Likewise.
531         (LDBL_EPSILON): Likewise.
532         (FLT_ROUNDS): Change standard from ISO to C90.
533         (FLT_RADIX): Likewise.
534         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
535         (FLT_DIG, DBL_DIG): Likewise.
536         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
537         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
538         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
539         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
540         (FLT_MAX, DBL_MAX): Likewise.
541         (FLT_MIN, DBL_MIN): Likewise.
542         (FLT_EPSILON, DBL_EPSILON): Likewise.
544 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
546         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
547         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
548         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
549         * sysdeps/mips/math-tests.h
550         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
551         conditional code.
553 2017-06-19  Florian Weimer  <fweimer@redhat.com>
555         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
556         It cannot change while __libc_setlocale_lock is acquired.
558 2017-06-19  Florian Weimer  <fweimer@redhat.com>
560         * elf/rtld.c (audit_list_string): New variable.
561         (audit_list): Update comment.
562         (struct audit_list_iter): Define.
563         (audit_list_iter_init, audit_list_iter_next): New function.
564         (dl_main): Use struct audit_list_iter to process audit modules.
565         (process_dl_audit): Call dso_name_valid_for_suid.
566         (process_envvars): Set audit_list_string instead of calling
567         process_dl_audit.
569 2017-06-19  Florian Weimer  <fweimer@redhat.com>
571         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
572         (dso_name_valid_for_suid): New function.
573         (handle_ld_preload): Likewise.
574         (dl_main): Call it.  Remove alloca.
576 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
578         [BZ #21625]
579         * posix/sys/wait.h (strust rusage forward declaration): Change
580         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
581         !__USE_XOPEN2K].
582         (wait3): Likewise.
584         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
585         * configure: Regenerated.
586         * manual/install.texi (Tools for Compilation): Document
587         requirement for GCC 4.9 or later.
588         * INSTALL: Regenerated.
590 2017-06-19  Florian Weimer  <fweimer@redhat.com>
592         [BZ #21624]
593         CVE-2017-1000366
594         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
595         __libc_enable_secure.
597 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
599         [BZ #21539]
600         * NEWS: Mention s390 ptrace request changes.
601         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
602         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
603         PTRACE_SETFPREGS): Remove enum constant.
604         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
605         Remove defines.
606         (PTRACE_SINGLEBLOCK): New enum constant.
607         (PT_STEPBLOCK): New define.
608         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
609         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
610         PTRACE_TE_ABORT_RAND): New enum constant and define.
611         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
612         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
613         New file.
614         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
616 2017-06-16  Florian Weimer  <fweimer@redhat.com>
618         * resolv/res_init.c (res_vinit_1): Use getline to read from the
619         configuration file.
620         (__res_vinit): Adjust.
622 2017-06-19  Florian Weimer  <fweimer@redhat.com>
624         * resolv/res_init.c (res_vinit_1): New function.
625         (__res_vinit): Call it.  Handle file open and memory allocation
626         failures.
627         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
628         erno from __res_maybe_init failure.
629         (_nss_dns_gethostbyname4_r): Likewise.
630         (_nss_dns_gethostbyaddr2_r): Likewise.
631         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
632         (_nss_dns_getnetbyaddr_r): Likewise.
634 2017-06-19  Florian Weimer  <fweimer@redhat.com>
636         * resolv/res_init.c: Reformat to GNU style.
638 2017-06-19  Florian Weimer  <fweimer@redhat.com>
640         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
641         (is_sort_mask): New function.
642         (__res_vinit): Use it.
644 2017-06-19  Florian Weimer  <fweimer@redhat.com>
646         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
647         conditionals.
649 2017-06-19  Florian Weimer  <fweimer@redhat.com>
651         * resolv/res-close.c: New file.
652         * resolv/res_init.c (__res_iclose, res_nclose)
653         (res_thread_freeres): Remove definitions.
654         * resolv/Makefile (routines): Add res-close.
656 2017-06-19  Florian Weimer  <fweimer@redhat.com>
658         * resolv/res_randomid.c: New file.
659         * resolv/res_init.c (res_randomid): Remove definition.
660         * resolv/Makefile (routines): Add res_randomid.
662 2017-06-19  Florian Weimer  <fweimer@redhat.com>
664         * include/resolv.h (__res_vinit): Declare as hidden.
665         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
666         * resolv/res_libc.c (res_init): Likewise.
668 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
670         [BZ #21457]
671         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
672         _libc_xmmreg): Use __ctx in defining field.
674         [BZ #21597]
675         * signal/signal.h (siginterrupt): Make declaration conditional on
676         [__USE_XOPEN_EXTENDED || __USE_MISC].
678         [BZ #21584]
679         * signal/signal.h: Make includes of <bits/sigstack.h> and
680         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
681         __USE_MISC].
682         (sigaltstack): Make declaration conditional on
683         [__USE_XOPEN_EXTENDED || __USE_MISC].
685         [BZ #21575]
686         * resource/bits/types/struct_rusage.h: New file.
687         * include/bits/types/struct_rusage.h: Likewise.
688         * bits/resource.h (struct rusage): Include
689         <bits/types/struct_rusage.h> instead of defining here.
690         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
691         Likewise.
692         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
693         Likewise.
694         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
695         Likewise.
696         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
697         Likewise.
698         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
699         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
700         Include <bits/types/struct_rusage.h>
702 2017-06-19  Florian Weimer  <fweimer@redhat.com>
704         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
706 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
708         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
710 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
712         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
714 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
716         [BZ #21537]
717         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
718         Check SHARED instead of PIC.
719         (SYSCALL_PIC_SETUP): Add missing semicolons.
720         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
721         Check SHARED instead of PIC.
722         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
723         (__makecontext_ret): Adjust code to jump to exit.
725 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
727         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
728         Simplify code by always using SVC 0 instead of EX.
729         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
731 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
733         * elf/Versions (ld): Remove _dl_out_of_memory.
735 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
737         * timezone/private.h: Update from tzcode 2017b.
738         * timezone/tzfile.h: Likewise.
739         * timezone/tzselect.ksh: Likewise.
740         * timezone/zdump.c: Likewise.
741         * timezone/zic.c: Likewise.
742         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
743         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
744         * time/tzset.c (SECSPERDAY): New macro.
746 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
748         * manual/string.texi (strdup): Complete header and standards
749         annotation.
750         (strncpy): Likewise.
752 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
754         * manual/arith.texi (FP_NAN): Add or complete header and standard
755         annotations.
756         (FP_INFINITE): Likewise.
757         (FP_ZERO): Likewise.
758         (FP_SUBNORMAL): Likewise.
759         (FP_NORMAL): Likewise.
760         (SNAN): Likewise.
761         (SNANL): Likewise.
762         (totalorderf): Likewise.
763         (totalorderl): Likewise.
764         (totalordermagf): Likewise.
765         (totalordermagl): Likewise.
766         (_Complex_I): Likewise.
767         (I): Likewise.
769 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
771         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
772         standard annotation.
773         (ARGP_HELP_SHORT_USAGE): Likewise.
774         (ARGP_HELP_SEE): Likewise.
775         (ARGP_HELP_LONG): Likewise.
776         (ARGP_HELP_PRE_DOC): Likewise.
777         (ARGP_HELP_POST_DOC): Likewise.
778         (ARGP_HELP_DOC): Likewise.
779         (ARGP_HELP_BUG_ADDR): Likewise.
780         (ARGP_HELP_LONG_ONLY): Likewise.
781         (ARGP_HELP_EXIT_ERR): Likewise.
782         (ARGP_HELP_EXIT_OK): Likewise.
783         (ARGP_HELP_STD_ERR): Likewise.
784         (ARGP_HELP_STD_USAGE): Likewise.
785         (ARGP_HELP_STD_HELP): Likewise.
787 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
789         * manual/Makefile: Generate summary.texi with summary.pl.  Force
790         use of the C locale.  Update Perl dependency comment.
791         * manual/header.texi: Update reference to summary.awk.
792         * manual/macros.texi: Refer authors to `summary.pl --help'.
793         * manual/summary.awk: Remove file.
794         * manual/summary.pl: New file.  Generate summary.texi, and check
795         for @standards-related syntax errors.
796         * manual/argp.texi: Convert header and standards @comments to
797         @standards.
798         * manual/arith.texi: Likewise.
799         * manual/charset.texi: Likewise.
800         * manual/conf.texi: Likewise.
801         * manual/creature.texi: Likewise.
802         * manual/crypt.texi: Likewise.
803         * manual/ctype.texi: Likewise.
804         * manual/debug.texi: Likewise.
805         * manual/errno.texi: Likewise.
806         * manual/filesys.texi: Likewise.
807         * manual/getopt.texi: Likewise.
808         * manual/job.texi: Likewise.
809         * manual/lang.texi: Likewise.
810         * manual/llio.texi: Likewise.
811         * manual/locale.texi: Likewise.
812         * manual/math.texi: Likewise.
813         * manual/memory.texi: Likewise.
814         * manual/message.texi: Likewise.
815         * manual/pattern.texi: Likewise.
816         * manual/pipe.texi: Likewise.
817         * manual/process.texi: Likewise.
818         * manual/resource.texi: Likewise.
819         * manual/search.texi: Likewise.
820         * manual/setjmp.texi: Likewise.
821         * manual/signal.texi: Likewise.
822         * manual/socket.texi: Likewise.
823         * manual/startup.texi: Likewise.
824         * manual/stdio.texi: Likewise.
825         * manual/string.texi: Likewise.
826         * manual/sysinfo.texi: Likewise.
827         * manual/syslog.texi: Likewise.
828         * manual/terminal.texi: Likewise.
829         * manual/threads.texi: Likewise.
830         * manual/time.texi: Likewise.
831         * manual/users.texi: Likewise.
833 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
835         * manual/macros.texi (@standards): New macro.  Provide placeholder
836         for header and standards annotations.
837         (@standardsx): New macro.  Likewise, for lists of @*x elements.
839 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
841         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
842         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
843         rule.
844         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
845         sync_file_range.
847          * support/support_test_main.c (support_test_main):  Use optstring
848          member for option string in getopt_long.
849          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
850          (CMDLINE_OPTSTRING): New define.
851          * support/test-driver.h (test_config): Add optstring member.
853 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
855         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
856         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
857         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
858         Check USE_AS_STRPBRK instead of STRPBRK_P.
859         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
860         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
861         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
862         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
863         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
864         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
865         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
866         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
867         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
868         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
869         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
870         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
871         and "#endif".
873 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
875         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
876         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
878 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
881         strcat-sse2.
882         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
883         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
884         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
885         * sysdeps/x86_64/multiarch/strcat.S: Removed.
886         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
888 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
889             Erich Elsen  <eriche@google.com>
891         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
892         memcmp-sse2.
893         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
894         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
895         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
896         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
897         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
898         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
900 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
901             Erich Elsen  <eriche@google.com>
903         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
904         memset-sse2-unaligned-erms, and memset_chk-nonshared.
905         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
906         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
907         Update comments.
908         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
909         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
910         * sysdeps/x86_64/multiarch/memset.c: Likewise.
911         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
912         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
913         * sysdeps/x86_64/multiarch/memset.S: Removed.
914         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
915         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
916         (__memset_chk_erms): New function.
918 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
920         * configure.ac(--enable-tunables): Enable by default.
921         * configure: Regenerate.
922         * NEWS: Mention change.
923         * manual/install.texi (enable-tunables): Adjust documentation.
924         * INSTALL: Regenerate.
926 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
928         [BZ #18988]
929         * benchtests/thread_create-inputs: New file.
930         * benchtests/thread_create-source.c: Likewise.
931         * support/xpthread_attr_setguardsize.c: Likewise.
932         * support/Makefile (libsupport-routines): Add
933         xpthread_attr_setguardsize object.
934         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
935         * benchtests/Makefile (bench-pthread): Add thread_create.
936         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
937         then mprotect the required area.
938         (guard_position): New function.
939         (setup_stack_prot): Likewise.
941 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
942             Erich Elsen  <eriche@google.com>
943             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
945         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
946         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
947         mempcpy_chk-nonshared and memmove_chk-nonshared.
948         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
949         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
950         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
951         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
952         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
953         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
954         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
955         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
956         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
957         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
958         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
959         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
960         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
961         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
962         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
963         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
964         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
965         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
966         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
967         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
968         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
969         (__mempcpy_chk_erms): New function.
970         (__memmove_chk_erms): Likewise.
971         (__memcpy_chk_erms): New alias.
973 2017-06-14  Florian Weimer  <fweimer@redhat.com>
975         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
976         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
978 2017-06-14  Zack Weinberg  <zackw@panix.com>
980         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
981         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
982         defined, don't declare anything other than the E-constants.
984         * include/errno.h: Change conditional for exposing internal
985         declarations to (not _ISOMAC and not __ASSEMBLER__).
986         * bits/errno.h: Remove logic for __need_Emath.  Document
987         requirements for a port-specific bits/errno.h.
989         * sysdeps/unix/sysv/linux/bits/errno.h
990         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
991         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
992         * sysdeps/unix/sysv/linux/mips/bits/errno.h
993         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
994         Add multiple-include guard and check against improper inclusion.
995         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
996         constants are defined as simple integer literals.  Consistent
997         formatting.
998         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
999         enum __error_t_codes if __ASSEMBLER__ is not defined.
1000         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1002         * argp/argp.h, string/argz.h: Don't define __need_error_t before
1003         including errno.h.
1004         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1005         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1006         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
1007         * sysdeps/x86_64/fpu/s_cosf.S
1008         * sysdeps/x86_64/fpu/s_sincosf.S
1009         * sysdeps/x86_64/fpu/s_sinf.S:
1010         Just include errno.h; don't define __need_Emath or include
1011         bits/errno.h directly.
1013 2017-06-14  Zack Weinberg  <zackw@panix.com>
1015         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
1016         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
1017         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
1019         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
1020         for IOV_MAX.
1021         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
1022         Don't install bits/uio.h.
1023         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
1024         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
1025         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
1027         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
1028         and __need_IOV_MAX.  Don't define IOV_MAX at all.
1029         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
1031         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
1032         Include bits/types/struct_iovec.h, not bits/uio.h.
1033         Use __ssize_t, not ssize_t, in function prototypes.
1034         Don't use hard TAB for double space after period in comments.
1036 2017-06-14  Alan Modra  <amodra@gmail.com>
1038         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
1039         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
1040         refsym and sym parameters.  Adjust callers.
1041         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1042         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
1043         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
1044         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
1045         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
1046         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1047         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
1048         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
1049         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
1050         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
1051         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
1052         Likewise.
1053         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1054         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1055         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
1056         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1057         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1058         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
1059         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1060         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
1061         (_dl_reloc_overflow): Increase buffser size.  Formatting.
1062         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1063         Delete reloc param, add refsym and sym.  Check optimized plt
1064         call stubs for localentry:0 functions.  Adjust callers.
1065         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
1066         and sym parameters.  Adjust callers.
1067         (_dl_reloc_overflow): Move attribute.
1068         (_dl_error_localentry): Declare.
1069         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
1070         refsym and sym to elf_machine_fixup_plt.
1071         * elf/testobj6.c (preload): Call printf.
1073 2017-06-14  Alan Modra  <amodra@gmail.com>
1075         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
1076         (NOPS, ENTRY_3): New macros.
1077         (ENTRY): Rewrite.
1078         (ENTRY_TOCLESS): Define.
1079         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
1080         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
1081         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
1082         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
1083         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1084         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1085         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1086         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1087         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1088         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1089         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1090         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1091         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1092         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1093         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1094         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1095         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
1096         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1097         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1098         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1099         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
1100         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1101         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
1102         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1103         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
1104         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
1105         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1106         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1107         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1108         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
1109         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1110         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1111         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1112         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
1113         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1114         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
1115         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1116         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1117         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1118         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1119         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1120         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1121         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1122         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1123         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1124         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1125         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1126         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1127         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1128         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1129         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1130         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1131         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1132         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1133         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1134         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1135         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1136         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
1137         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1138         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1139         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1140         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
1141         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
1142         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1143         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1144         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
1145         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
1146         Likewise.
1147         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
1148         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
1149         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
1150         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
1151         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1152         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
1153         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
1154         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
1155         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1156         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1157         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1158         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1159         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1160         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1161         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1162         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1163         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1164         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
1165         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1166         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1167         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1168         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1169         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1170         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1171         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1172         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
1173         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
1174         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
1175         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1176         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1177         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
1178         add nop when SHARED.
1179         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
1180         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
1181         define.
1182         (ENTRY_TOCLESS): Define.
1183         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
1184         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
1185         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1187 2017-06-14  Alan Modra  <amodra@gmail.com>
1189         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
1190         MEMSET_is_local.
1191         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1192         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1193         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1194         Define MEMSET.
1195         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
1196         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
1197         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
1198         nop after local calls.
1199         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
1200         Don't add nop after local call.
1201         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
1202         CALL_MCOUNT.
1204 2017-06-14  Alan Modra  <amodra@gmail.com>
1206         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
1207         (FUNC_LABEL): Rename from DOT_LABEL.
1208         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
1209         Use .p2align rather than .align.
1210         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
1211         (ABORT_TRANSACTION): Likewise.
1212         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
1213         particularly at end.  Add semicolon at invocation as necessary.
1214         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
1215         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
1216         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
1217         END): Adjust to suit.
1219 2017-06-14  Alan Modra  <amodra@gmail.com>
1221         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
1222         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
1223         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1224         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1225         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
1226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
1227         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
1229 2017-06-14  Alan Modra  <amodra@gmail.com>
1231         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
1232         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
1234 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
1236         [BZ #21548]
1237         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
1238         8 and use it when copying general purpose registers.
1239         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
1240         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
1241         mips o32.
1242         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
1243         new test for mips o32.
1244         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
1245         8 and use it when copying general purpose registers.
1246         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
1248 2017-06-13  Florian Weimer  <fweimer@redhat.com>
1250         * configure.ac (find_cxx_header): Suppress compiler error message.
1252 2017-06-13  Florian Weimer  <fweimer@redhat.com>
1254         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
1255         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
1256         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
1257         begin/end.
1258         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
1259         dynarray_int_end.
1260         (test_str): Test dynarray_str_begin, dynarray_str_end.
1262 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
1264         [BZ #21573]
1265         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
1266         $(common-objpfx)bits/std_abs.h.
1267         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
1268         New target.
1269         * config.make.in (c++-bits-std_abs-h): New.
1270         * configure.ac (find_cxx_header): Use "\,$1," with sed.
1271         (CXX_BITS_STD_ABS_H): New.
1272         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
1273         * configure: Regenerated.
1275 2017-06-13  Zack Weinberg  <zackw@panix.com>
1277         * posix/bits/cpu-set.h: Correct indentation of preprocessor
1278         directives.
1280 2017-06-12  Zack Weinberg  <zackw@panix.com>
1282         * bits/sched.h: Remove __need_schedparam logic and replace with a
1283         normal multiple-include guard.  Change field name in struct
1284         sched_param from __sched_priority to sched_priority.  Delete
1285         everything under #ifndef __cpu_set_t_defined.
1286         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
1287         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
1289         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
1290         For compatibility, #define sched_priority to itself, and #define
1291         __sched_priority as sched_priority.
1292         * posix/bits/cpu-set.h: New file containing, verbatim, the code
1293         that was under #ifndef __cpu_set_t_defined in
1294         sysdeps/unix/sysv/linux/bits/sched.h.
1295         * include/bits/cpu-set.h: New wrapper.
1296         * posix/Makefile: Install bits/cpu-set.h.
1298 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1299             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1300             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1302         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
1303         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
1304         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
1305         * math/libm-test-isfinite.inc (finite_test): Likewise.
1306         * math/libm-test-lgamma.inc (gamma_test): Likewise.
1307         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
1308         (nexttoward_test_data}: Likewise.
1309         * math/libm-test-remainder.inc (drem_test): Likewise.
1310         * math/libm-test-scalb.inc (scalb_test): Likewise.
1311         (scalb_test_data): Likewise.
1312         * math/libm-test-significand.inc (significand_test): Likewise.
1313         (significand_test_data): Likewise.
1314         * math/libm-test-support.c (check_complex): Replace __complex__
1315         FLOAT with CFLOAT to get the support for old compiler.
1316         * math/libm-test-support.h (check_complex): Likewise.
1317         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
1318         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
1319         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
1320         * math/test-float128.h: New file.
1321         * math/test-math-floatn.h: New file.
1323 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1325         * include/float.h: Allow the definition of macros prefixed with
1326         FLT128 even if _ISOMAC is defined, but provided that
1327         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
1329 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1331         * manual/math.texi (Mathematics): Add description for _FloatN and
1332         _FloatNx types and mentions that they are not support in glibc for
1333         any architecture, so far.
1334         * manual/arith.texi (wcstof, wcstold): Replace the mention to
1335         stdlib.h with wchar.h.
1336         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
1337         (Printing of Floats): Add description for strfromfN.
1339 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1340             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1341             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1343         * include/gmp.h (__mpn_construct_float128): New declaration.
1344         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
1345         (__strtof128_l): New declaration.
1346         (__strtof128_nan): Likewise.
1347         (__wcstof128_nan): Likewise.
1348         (__strtof128_internal): Likewise.
1349         (____strtof128_l_internal): Likewise.
1350         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
1351         (__wcstof128_l): New declaration.
1352         (__wcstof128_internal): Likewise.
1354         * stdlib/Makefile (bug-strtod2): Link libm too.
1356         * stdlib/stdlib.h (strtof128): New declaration.
1357         (strtof128_l): Likewise.
1359         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
1360         tst-strtod.h macros to ensure float128 gets tested too.
1362         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
1364         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
1365         tests.
1366         (IF_FLOAT128): New macro.
1367         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
1368         the tests.
1369         (STRTOD_TEST_FOREACH): Likewise.
1371         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
1372         wcstof128 functions into libc.
1374         * sysdeps/ieee754/float128/Versions: Add exports for the above
1375         new functions.
1377         * sysdeps/ieee754/float128/mpn2float128.c: New file.
1378         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
1379         * sysdeps/ieee754/float128/strtof128.c: New file.
1380         * sysdeps/ieee754/float128/strtof128_l.c: New file.
1381         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
1382         * sysdeps/ieee754/float128/wcstof128.c: New file.
1383         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
1384         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
1385         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
1386         (CFLAGS-wcstof128_l): Likewise.
1388         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
1389         (wcstof128): New declaration.
1390         (wcstof128_l): Likewise.
1392 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
1394         [BZ #21552]
1395         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
1396         not [__USE_XOPEN].
1397         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
1399         [BZ #21550]
1400         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
1402 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
1404         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1405         strcpy-sse2 and stpcpy-sse2.
1406         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
1407         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
1408         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
1409         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
1410         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
1411         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
1412         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
1413         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
1414         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1415         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1416         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1417         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
1418         (libc_hidden_def): Always defined as empty.
1419         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
1420         Always Defined as empty.
1422 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1424         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
1426 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1428         [BZ #15105]
1429         [BZ #19463]
1430         * include/string.h: Add internal redirect for __stpcpy.
1431         * string/Makefile: Remove bits/string2.h.
1432         * string/string.h: Update comment.
1433         * string/string-inlines.c: Remove bits/string2.h include and comment.
1434         * string/bits/string2.h: Remove file.
1436 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1438         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
1439         * sunrpc/clnt_gen.c (clnt_create): Likewise.
1440         * sunrpc/des_impl.c (_des_crypt): Likewise.
1441         * sunrpc/key_call.c (key_gendes): Likewise.
1442         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1443         * sunrpc/svc_simple.c (universal): Likewise.
1444         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
1445         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1446         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
1448 2017-06-10  Zack Weinberg  <zackw@panix.com>
1450         * stdlib/errno.h: Correct an outdated comment.
1452 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
1454         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
1455         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
1456         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
1457         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
1458         New file.  Invoke newly supported sysconf values for powerpc,
1459         and report results.  If none are supported, report so.
1460         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
1461         tst-sysconf.
1463 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1465         * include/sys/auxv.h (__getauxval): Add a prototype and its
1466         libc_hidden_proto.
1467         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
1469 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
1471         [BZ #21561]
1472         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
1473         [__USE_XOPEN_EXTENDED].
1474         (id_t): Likewise.
1475         (include of <bits/types/siginfo_t.h): Likewise.
1476         (waitid): Likewise.
1477         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
1478         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
1479         (WEXITED): Likewise.
1480         (WCONTINUED): Likewise.
1481         (WNOWAIT): Likewise.
1482         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
1483         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1484         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1486         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
1487         libc.so PLT entry optional.
1488         (__gtsf2): Likewise.
1489         (__unorddf2): Likewise.
1490         (__unordsf2): Likewise.
1491         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
1492         New optional libc.so PLT entry.
1494         [BZ #21554]
1495         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
1496         not [__USE_XOPEN].
1498         [BZ #21560]
1499         * posix/sys/wait.h: Condition include of <signal.h> on
1500         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
1501         unconditionally.
1502         [!__pid_t_defined] (pid_t): Define typedef.
1504 2017-06-09  Zack Weinberg  <zackw@panix.com>
1506         * include/errno.h (__errno_location): Use __attribute_const__
1507         instead of bare __attribute__.
1509 2017-06-09  Zack Weinberg  <zackw@panix.com>
1511         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
1512         (common-generated): Add libc-modules.h and libc-modules.stmp in a
1513         more appropriate location. Also add dl-tunable-list.h and
1514         dl-tunable-list.stmp.
1516 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1518         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
1520 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1523         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
1524         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1525         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
1526         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
1527         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
1528         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
1529         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
1530         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
1531         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
1532         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
1534 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1536         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1537         memrchr-sse2 and memrchr-avx2.
1538         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1539         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
1540         __memrchr_sse2.
1541         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
1542         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
1543         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
1545 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1547         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1548         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
1549         wcschr-sse2 and wcschr-avx2.
1550         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1551         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
1552         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
1553         __wcschr_sse2.
1554         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
1555         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
1556         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
1557         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
1558         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
1559         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
1560         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
1561         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
1562         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
1563         * sysdeps/x86_64/multiarch/strchr.S: Removed.
1565 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1567         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1568         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
1569         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
1570         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1571         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
1572         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
1573         __wcslen_sse2 and __wcsnlen_avx2.
1574         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
1575         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
1576         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
1577         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
1578         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
1579         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
1580         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
1581         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
1582         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
1583         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
1584         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
1585         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
1586         vzeroupper is preferred and AVX unaligned load is fast.
1588 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1590         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
1591         USE_AS_WMEMCHR is defined.
1592         (PCMPEQ): Likewise.
1593         (memchr): Renamed to ...
1594         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
1595         Replace pcmpeqb with PCMPEQ.
1596         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1597         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
1598         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
1599         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
1600         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1601         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
1602         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
1603         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
1604         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
1605         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
1606         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
1607         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
1608         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
1609         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1610         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
1611         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
1612         __wmemchr_sse2.
1614 2017-06-09  Florian Weimer  <fweimer@redhat.com>
1616         * malloc/Makefile (test-srcs): Remove tst-dynarray,
1617         tst-dynarray-fail.
1619 2017-06-09  Florian Weimer  <fweimer@redhat.com>
1621         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
1622         * support/support_test_verify_impl.c
1623         (support_test_verify_exit_impl): Split from
1624         support_test_verify_impl.
1625         * support/check.h (TEST_VERIFY): Drop status argument from
1626         support_test_verify_impl call.
1627         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
1628         (support_test_verify_impl): Remove status argument.
1629         (support_test_verify_exit_impl): Declare.
1631 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1633         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
1634         mention of magic numbers in comments.
1635         (_dl_procinfo): Fix undefined behavior
1637 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
1639         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
1640         [XPG4].
1641         (WEXITED): Likewise.
1642         (WSTOPPED): Likewise.
1643         (WCONTINUED): Likewise.
1644         (WNOHANG): Likewise.
1645         (WNOWAIT): Likewise.
1646         (idtype_t): Likewise.
1647         (P_ALL): Likewise.
1648         (P_PID): Likewise.
1649         (P_PGID): Likewise.
1650         (id_t): Likewise.
1651         (siginfo_t): Likewise.
1652         (wait3): Likewise.
1653         (waitid): Likewise.
1654         (signal.h): Do not allow header for [XPG4].
1655         (sys/resource.h): Likewise.
1656         (si_*): Do not allow for [XPG4].
1657         (W*): Likewise.
1658         (P_*): Likewise.
1659         (BUS_): Likewise.
1660         (CLD_): Likewise.
1661         (FPE_): Likewise.
1662         (ILL_): Likewise.
1663         (POLL_): Likewise.
1664         (SEGV_): Likewise.
1665         (SI_): Likewise.
1666         (TRAP_): Likewise.
1667         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
1668         variable.
1670 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1672         [BZ #21528]
1673         * elf/dl-minimal.c (__strtoul_internal): Removed.
1674         (strtoul): Likewise.
1675         * elf/dl-misc.c (_dl_strtoul): New function.
1676         * elf/dl-tunables.c (tunables_strtoul): Removed.
1677         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
1678         * elf/rtld.c (process_envvars): Likewise.
1679         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
1680         Likewise.
1681         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
1683 2017-06-08  Zack Weinberg  <zackw@panix.com>
1685         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
1686         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
1687         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
1688         * wctype/bits/wctype-wchar.h: New file holding declarations shared
1689         between wctype.h and wchar.h.
1691         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
1692         Install them.
1694         * include/bits/types/FILE.h, include/bits/types/__FILE.h
1695         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
1696         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
1697         New wrappers.
1698         * include/stdio.h, include/wchar.h, include/wctype.h:
1699         No need to handle __need macros.
1701         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
1702         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
1703         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
1704         * wcsmbs/wchar.h, wctype/wctype.h
1705         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
1706         Use the new files instead of __need macros.
1708 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1710         * string/test-memrchr.c (test_main): Add tests for len == 0
1711         and tests for positions close to the beginning, which are
1712         equivalent to positions close to the end for memchr.
1714 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1716         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
1717         comments.
1718         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
1719         instead of wmemset.h.
1720         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1721         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
1722         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
1724 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1726         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
1727         spec->info.is_binary128 to zero.
1728         * stdio-common/printf.h (printf_info): Add new member is_binary128
1729         to indicate that the number being converted to string is compatible
1730         with the IEC 60559 binary128 format.
1731         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
1732         _Float128 numbers.
1733         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
1734         ldbl-128/printf_fphex_macros.h
1735         (__printf_fphex): Add code to deal with _Float128 numbers.
1736         * stdio-common/printf_size.c (__printf_size): Likewise.
1737         * stdio-common/vfprintf.c (process_arg): Initialize member
1738         info.is_binary128 to zero.
1739         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
1740         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
1741         (strfromf128): New declaration.
1742         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
1743         to one.
1744         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
1745         * sysdeps/ieee754/float128/Versions: Likewise.
1746         * sysdeps/ieee754/float128/strfromf128.c: New file.
1748 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1750         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
1751         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
1752         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
1753         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
1754         (PRINT_FPHEX): New function-like macro that can be used for long
1755         double, as well as for _Float128
1757 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1759         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
1760         (__printf_fp_l): Use the new macro to avoid duplicating code.
1761         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
1762         (__printf_fphex): Use the new macro to avoid duplicating code.
1763         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
1764         (__printf_size): Use the new macro to avoid duplicating code.
1766 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1768         * include/gmp.h: Include bits/floatn.h
1769         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
1770         * stdlib/gmp-impl.h: Also check if alloca is not defined before
1771         including stack-alloc.h.  It could have been defined by other header
1772         which not necessarily defines HAVE_ALLOCA.
1773         * sysdeps/ieee754/float128/Makefile: New file.
1774         * sysdeps/ieee754/float128/float1282mpn.c: New file.
1775         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
1776         redefining __mpn_extract_long_double to __mpn_extract_float128, then
1777         redefine __mpn_extract_long_double to __mpn_extract_float128.
1778         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
1779         _Float128 to allow float128_private.h overrides.
1781 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1783         * stdlib/fpioconst.h: Include bits/floatn.h.
1784         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
1785         power of ten table should be.
1786         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
1787         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
1788         to include larger tables when _Float128 support is enabled.
1789         (_fpioconst_pow10): Likewise.
1791 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
1793         * include/bits/types/clock_t.h: Use #include <path> instead of
1794         #include "../../path".
1795         * include/bits/types/clockid_t.h: Likewise.
1796         * include/bits/types/struct_iovec.h: Likewise.
1797         * include/bits/types/struct_itimerspec.h: Likewise.
1798         * include/bits/types/struct_osockaddr.h: Likewise.
1799         * include/bits/types/struct_sigstack.h: Likewise.
1800         * include/bits/types/struct_timespec.h: Likewise.
1801         * include/bits/types/struct_timeval.h: Likewise.
1802         * include/bits/types/struct_tm.h: Likewise.
1803         * include/bits/types/time_t.h: Likewise.
1804         * include/bits/types/timer_t.h: Likewise.
1806         [BZ #14096]
1807         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
1808         America/New_York.
1810 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1812         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
1813         into ...
1814         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
1815         ifunc-sse4_1.h.
1817 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
1819         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
1820         Remove check for NULL 'buf'.
1821         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
1823 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
1825         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
1826         include test-skeleton.c.
1827         Include support/check.h and support/test-driver.c.
1829 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1831         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
1832         (_dl_aarch64_cap_flags): New array.
1833         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
1834         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
1835         functions.
1837         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
1838         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
1839         Likewise.
1840         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
1841         up hwcap and hwcap_mask.
1843         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
1844         (init_cpu_features): Use glibc.tune.hwcap_mask.
1845         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
1847         * elf/dl-hwcaps.h: New file.
1848         * elf/dl-hwcaps.c: Include it.
1849         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
1850         glibc.tune.hwcap_mask.
1851         * elf/dl-cache.c: Include dl-hwcaps.h.
1852         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
1853         glibc.tune.hwcap_mask.
1854         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1855         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
1856         _dl_hwcap_mask.
1857         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
1858         _dl_hwcap_mask.
1859         (process_envvars)[HAVE_TUNABLES]: Likewise.
1860         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
1861         Likewise.
1862         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
1863         initialize dl_hwcap_mask when tunables are enabled.
1865         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
1866         guard.
1867         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1869         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
1870         * scripts/gen-tunables.awk: Include dl-procinfo.h.
1871         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
1873         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
1874         * elf/dl-tunables.c: Likewise.
1875         (do_tunable_update_val): New function.
1876         (__tunable_set_val): New function.
1877         (__tunable_get_val): Call CB only if the tunable was externally
1878         initialized.
1879         (tunables_strtoul): Replace strval with initialized.
1880         * elf/dl-tunables.h (strval): Replace with a bool initialized.
1881         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
1882         prevent collision.
1883         (__tunable_set_val): New function.
1884         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
1885         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
1886         (TUNABLE_SET_VAL): Remove.
1887         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
1888         * README.tunables: Document the new macros.
1889         * malloc/arena.c (ptmalloc_init): Adjust.
1891 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1893         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1894         wcsnlen-sse4_1 and wcsnlen-c.
1895         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1896         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
1897         __wcsnlen_sse2.
1898         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
1899         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
1900         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
1901         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
1902         * sysdeps/x86_64/wcsnlen.S: Removed.
1904 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1906         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
1907         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1908         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1909         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1911 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1913         * NEWS: Mention new spinlock implementation.
1914         * include/atomic.h:
1915         (__atomic_val_bysize): Cast type to omit volatile qualifier.
1916         (atomic_exchange_acq): Likewise.
1917         (atomic_load_relaxed): Likewise.
1918         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
1919         * nptl/pthread_spin_init.c (pthread_spin_init):
1920         Use atomic_store_relaxed.
1921         * nptl/pthread_spin_lock.c (pthread_spin_lock):
1922         Use C11-like atomic macros.
1923         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1924         Likewise.
1925         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1926         Use atomic_store_release.
1927         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
1928         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
1929         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
1930         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
1931         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
1932         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
1933         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
1934         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
1935         * sysdeps/alpha/atomic-machine.h: Likewise.
1936         * sysdeps/arm/atomic-machine.h: Likewise.
1937         * sysdeps/i386/atomic-machine.h: Likewise.
1938         * sysdeps/ia64/atomic-machine.h: Likewise.
1939         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
1940         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
1941         * sysdeps/microblaze/atomic-machine.h: Likewise.
1942         * sysdeps/mips/atomic-machine.h: Likewise.
1943         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
1944         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
1945         * sysdeps/s390/atomic-machine.h: Likewise.
1946         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
1947         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
1948         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
1949         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
1950         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
1951         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
1952         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
1953         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
1954         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
1955         * sysdeps/x86_64/atomic-machine.h: Likewise.
1957 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1959         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
1960         and use it instead of dl_x86_cpu_features.
1961         (handle_intel): Replace maxidx with cpu_features.  Pass
1962         cpu_features to intel_check_word.
1963         (__cache_sysconf): Pass cpu_features to handle_intel.
1964         (init_cacheinfo): Likewise.  Use cpu_features instead of
1965         dl_x86_cpu_features.
1967 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1969         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
1970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1971         memcmp-avx2 and wmemcmp-avx2.
1972         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1973         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
1974         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
1975         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
1976         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
1977         2 machines if AVX unaligned load is fast and vzeroupper is
1978         preferred.
1979         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
1980         2 machines if AVX unaligned load is fast and vzeroupper is
1981         preferred.
1983 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1985         * include/wchar.h (__wmemset_chk): New.
1986         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
1987         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
1988         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1989         (WMEMSET_CHK_SYMBOL): Likewise.
1990         (WMEMSET_SYMBOL): Likewise.
1991         (__wmemset): Add hidden definition.
1992         (wmemset): Add weak hidden definition.
1993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1994         wmemset_chk-nonshared.
1995         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1996         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
1997         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
1998         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
1999         and __wmemset_chk_avx512_unaligned.
2000         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
2001         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
2002         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
2003         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2004         (WMEMSET_SYMBOL): Likewise.
2005         * sysdeps/x86_64/multiarch/memset-avx512-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-vec-unaligned-erms.S: Updated.
2011         (WMEMSET_CHK_SYMBOL): New.
2012         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
2013         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
2014         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
2015         (libc_hidden_builtin_def): Also define __GI_wmemset and
2016         __GI___wmemset.
2017         (weak_alias): New.
2018         * sysdeps/x86_64/multiarch/wmemset.c: New file.
2019         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
2020         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
2021         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
2022         * sysdeps/x86_64/wmemset.c: Likewise.
2023         * sysdeps/x86_64/wmemset_chk.c: Likewise.
2025 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2026             H.J. Lu  <hongjiu.lu@intel.com>
2028         * sysdeps/x86/init-arch.h (PASTER1): New.
2029         (EVALUATOR1): Likewise.
2030         (PASTER2): Likewise.
2031         (EVALUATOR2): Likewise.
2032         (REDIRECT_NAME): Likewise.
2033         (OPTIMIZE): Likewise.
2034         (IFUNC_SELECTOR): Likewise.
2036 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2038         * sysdeps/x86_64/strlen.S (PMINU): New.
2039         (PCMPEQ): Likewise.
2040         (SHIFT_RETURN): Likewise.
2041         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
2042         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
2043         pminub with PCMPEQ and PMINU.
2044         * sysdeps/x86_64/wcsnlen.S: New file.
2046 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2048         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
2049         the lower 32 bits.  Remove redundant instructions.
2051 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2053         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
2054         0 as the high part of offset.
2055         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
2057 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
2059         [BZ #21538]
2060         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
2061         [__USE_UNIX98].
2062         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
2063         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
2064         Likewise.
2065         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
2066         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
2067         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
2068         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
2069         Likewise.
2071         [BZ #21517]
2072         * bits/types/stack_t.h (stack_t): Remove struct tag.
2073         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
2074         Likewise.
2075         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
2076         Likewise.
2077         * debug/segfault.c (install_handler): Use stack_t instead of
2078         struct sigaltstack.
2079         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
2080         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
2081         * include/signal.h (__sigaltstack): Likwise.
2082         * signal/sigaltstack.c (__sigaltstack): Likewise.
2083         * signal/signal.h (sigaltstack): Likewise.
2084         * sysdeps/mach/hurd/i386/signal-defines.sym
2085         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
2086         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
2087         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
2088         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2089         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
2090         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
2091         elf_prstatus): Likewise.
2092         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
2093         Likewise.
2094         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
2095         Likewise.
2096         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
2097         Likewise.
2098         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
2099         elf_prstatus): Likewise.
2100         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
2101         Likewise.
2102         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
2103         Likewise.
2105 2017-06-04  Zack Weinberg  <zackw@panix.com>
2107         * sysdeps/gnu/errlist.c: Regenerate.
2109 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
2111         * benchtests/bench-memchr.c (do_test): Print out both length
2112         and position.
2113         (test_main): Also test the position close to the beginning for
2114         memrchr.
2116 2017-06-04  Zack Weinberg  <zackw@panix.com>
2118         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
2119         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
2120         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
2121         * nis/nis_destroygroup.c, nis/nis_domain_of.c
2122         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
2123         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
2124         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
2125         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
2126         * nis/nis_print_group_entry.c, nis/nis_remove.c
2127         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
2128         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
2129         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
2130         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
2131         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
2132         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
2133         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
2134         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
2135         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
2136         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
2137         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
2138         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
2139         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
2140         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
2141         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
2142         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
2143         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
2144         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
2145         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
2146         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
2148         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
2149         abi-versions.h as well as shlib-compat.h.
2150         * sunrpc/get_myaddr.c: Remove obsolete comment.
2151         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
2152         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
2153         * resolv/res_libc.c: Include shlib-compat.h only once.
2155 2017-06-03  Florian Weimer  <fweimer@redhat.com>
2157         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
2158         of strdup.
2160 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
2162         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
2163         Set to the 3/4 of the total shared cache size.
2165 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
2167         * manual/errno.texi: Remove redundant error strings.
2168         * manual/macros.texi (@errno): Render the error string in every
2169         description.
2171 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
2173         [BZ #21543]
2174         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
2175         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
2176         [__USE_XOPEN_EXTENDED].
2178 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2180         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
2181         strdupa.
2182         (getcanonname): Use __strdup instead of strdup.
2184 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2186         * misc/Makefile (CFLAGS-preadv2.c): New rule.
2187         (CFLAGS-preadv64v2.c): Likewise.
2188         (CFLAGS-pwritev2.c): Likewise.
2189         (CFLAGS-pwritev64v2.c): Likewise.
2191 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2193         Test res_init with several configuration files.
2194         * resolv/Makefile [build-shared] (tests-internal): Add
2195         tst-resolv-res_init, tst-resolv-res_init-thread.
2196         (tst-resolv-res_init): Link against libdl, libresolv.
2197         (tst-resolv-res_init-thread): Link against libdl, libresolv,
2198         libpthread.
2199         * resolv/tst-resolv-res_init.c: New file.
2200         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
2201         * resolv/tst-resolv-res_init-thread.c: Likewise.
2202         * support/Makefile (libsupport-routines): Add support-xstat,
2203         support_can_chroot, support_capture_subprocess_check,
2204         support_isolate_in_subprocess, support_shared_allocate,
2205         support_write_file_string, xchroot, xmkdir, xopen.
2206         * support/capture_subprocess.h (enum support_capture_allow): Define.
2207         (support_capture_subprocess_check): Declare.
2208         * support/namespace.h (support_can_chroot)
2209         (support_isolate_in_subprocess): Declare.
2210         * support/support-xstat.c: New file.
2211         * support/support.h (support_shared_allocate, support_shared_free)
2212         (support_write_file_string): Declare.
2213         * support/support_can_chroot.c: New file.
2214         * support/support_capture_subprocess_check.c: Likewise.
2215         * support/support_isolate_in_subprocess.c: Likewise.
2216         * support/support_shared_allocate.c: Likewise.
2217         * support/support_write_file_string.c: Likewise.
2218         * support/xchroot.c: Likwise.
2219         * support/xmkdir.c: Likwise.
2220         * support/xopen.c: Likwise.
2221         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
2223 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2225         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
2226         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
2228 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2230         * malloc/Makefile (routines): Add dynarray_at_failure,
2231         dynarray_emplace_enlarge, dynarray_finalize.
2232         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
2233         tst-dynarray-at-fail.
2234         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
2235         (tests-special): Add tst-dynarray-mem.out,
2236         tst-dynarray-mem-fail.out.
2237         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
2238         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
2239         mtrace.
2240         * malloc/Versions (__libc_dynarray_at_failure)
2241         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
2242         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
2243         GLIBC_PRIVATE.
2244         * malloc/dynarray.h: New file.
2245         * malloc/dynarray-skeleton.c: Likewise.
2246         * malloc/dynarray_at_failure.c: Likewise.
2247         * malloc/dynarray_emplace_enlarge.c: Likewise.
2248         * malloc/dynarray_finalize.c: Likewise.
2249         * malloc/dynarray_resize.c: Likewise.
2250         * malloc/dynarray_resize_clear.c: Likewise.
2251         * malloc/tst-dynarray.c: Likewise.
2252         * malloc/tst-dynarray-fail.c: Likewise.
2253         * malloc/tst-dynarray-at-fail.c: Likewise.
2254         * malloc/tst-dynarray-shared.h: Likewise.
2255         * support/Makefile (libsupport-routines): Add
2256         support_capture_subprocess, xdup2, xpipe.
2257         (tests): Add tst-support_capture_subprocess.
2258         * support/capture_subprocess.h: New file.
2259         * support/support_capture_subprocess.c: Likewise.
2260         * support/tst-support_capture_subprocess.c: Likewise.
2261         * support/xdup2.c: Likewise.
2262         * support/xpipe.c: Likewise.
2263         * support/xunistd.h (xdup2, xpipe): Declare.
2265 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2267         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
2268         macros MAX and MIN.
2270 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
2272         * conform/data/signal.h-data (sa_sigaction): Do not expect for
2273         [XPG4].
2274         (SA_SIGINFO): Likewise.
2275         (SA_ONSTACK): Likewise.
2276         (SA_RESETHAND): Likewise.
2277         (SA_RESTART): Likewise.
2278         (SA_NOCLDWAIT): Likewise.
2279         (SA_NODEFER): Likewise.
2280         (SS_ONSTACK): Likewise.
2281         (SS_DISABLE): Likewise.
2282         (MINSIGSTKSZ): Likewise.
2283         (SIGSTKSZ): Likewise.
2284         (ucontext_t): Likewise.
2285         (stack_t): Likewise.
2286         (struct sigstack): Likewise.
2287         (SI_USER): Do not expect for [XPG4 || XPG42].
2288         (SI_QUEUE): Likewise.
2289         (SI_TIMER): Likewise.
2290         (SI_ASYNCIO): Likewise.
2291         (SI_MESGQ): Likewise.
2292         (bsd_signal): Do not expect for [XPG4].
2293         (killpg): Likewise.
2294         (sigaltstack): Likewise.
2295         (sighold): Likewise.
2296         (sigignore): Likewise.
2297         (siginterrupt): Likewise.
2298         (sigpause): Likewise.
2299         (sigrelse): Likewise.
2300         (sigset): Likewise.
2301         (sigwait): Do not expect for [XPG4 || XPG42].
2303 2017-06-01  Zack Weinberg  <zackw@panix.com>
2305         [BZ #21514]
2306         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
2307         pointing to the generated file in <builddir>/misc/bits/syscall.h.
2309 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
2311         [BZ #21457]
2312         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
2313         NGREG to __NGREG if [__USE_MISC].
2314         (gregset_t): Define using __NGREG.
2315         (__ctx): New macro.
2316         (mcontext_t): Use __ctx in defining fields.
2317         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
2318         define NGREG to __NGREG if [__USE_MISC].
2319         (gregset_t): Define using __NGREG.
2320         (__ctx): New macro.
2321         (__ctxt): Likewise.
2322         (fpregset_t): Use __ctx and __ctxt in defining fields.
2323         (mcontext_t): Likewise.
2324         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
2325         define NGREG to __NGREG if [__USE_MISC].
2326         (gregset_t): Define using __NGREG.
2327         (__ctx): New macro.
2328         (mcontext_t): Use __ctx in defining fields.
2329         * sysdeps/mips/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         (fpregset_t): Use __ctx in defining fields.
2334         (mcontext_t): Likewise.
2335         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
2336         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2337         (gregset_t): Define using __NGREG.
2338         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2339         [__USE_MISC].
2340         (fpregset_t): Define using __NFPREG.
2341         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
2342         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2343         (gregset_t): Define using __NGREG.
2344         (__ctx): New macro.
2345         (fpregset_t): Use __ctx in defining fields.
2346         (mcontext_t): Likewise.
2347         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
2348         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2349         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2350         [__USE_MISC].
2351         (gregset_t): Define using __NGREG.
2352         (__ctx): New macro.
2353         (fpregset_t): Use __ctx in defining fields.
2354         (mcontext_t): Likewise.
2355         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
2356         (mcontext_t): Use __ctx in defining fields.
2357         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
2358         macro.
2359         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
2360         __NGREG if [__USE_MISC].
2361         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
2362         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
2363         (mcontext_t): Likewise.
2364         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
2365         __NGREG if [__USE_MISC].
2366         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
2367         to __NFPREG if [__USE_MISC].
2368         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
2369         to __NVRREG if [__USE_MISC].
2370         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
2371         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
2372         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
2373         [__WORDSIZE != 32] (vrregset_t): Likewise.
2374         [__WORDSIZE != 32] (mcontext_t): Likewise.
2375         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
2376         (__psw_t): Use __ctx in defining fields.
2377         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
2378         [__USE_MISC].
2379         (gregset_t): Define using __NGREG.
2380         (fpreg_t): Use __ctx in defining fields.
2381         (fpregset_t): Likewise.
2382         (mcontext_t): Likewise.
2383         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
2384         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2385         (gregset_t): Define using __NGREG.
2386         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2387         [__USE_MISC].
2388         (fpregset_t): Define using __NFPREG.
2389         (__ctx): New macro.
2390         (mcontext_t): Use __ctx in defining fields.
2391         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
2392         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
2393         __NGREG if [__USE_MISC].
2394         [__x86_64__] (gregset_t): Define using __NGREG.
2395         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
2396         [__x86_64__] (struct _libc_fpstate): Likewise.
2397         [__x86_64__] (mcontext_t): Likewise.
2398         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
2399         __NGREG if [__USE_MISC].
2400         [!__x86_64__] (gregset_t): Define using __NGREG.
2401         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
2402         [!__x86_64__] (struct _libc_fpstate): Likewise.
2403         [!__x86_64__] (mcontext_t): Likewise.
2405 2017-06-01  Zack Weinberg  <zackw@panix.com>
2407         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
2408         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
2409         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
2410         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
2411         libpthread.so no longer references __errno_location.
2413 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2415         * NEWS: Add note about pwritev2 and preadv2 inclusion.
2416         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
2417         pwritev64v2.
2418         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
2419         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
2420         pwritev64v2.
2421         * misc/preadv2.c: New file.
2422         * misc/preadv64v2.c: Likewise.
2423         * misc/pwritev2.c: Likewise.
2424         * misc/pwritev64v2.c: Likewise.
2425         * misc/tst-preadvwritev2.c: Likewise.
2426         * misc/tst-preadvwritev64v2.c: Likewise.
2427         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
2428         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
2429         prototype.
2430         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
2431         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
2432         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
2433         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
2434         (PWRITEV): Likewise.
2435         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
2436         ENOSYS.
2437         * nptl/tst-cancel4.c (tf_pwritev2): New test.
2438         (tf_preadv2): Likewise.
2439         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
2440         * sysdeps/posix/preadv2.c: Likewise.
2441         * sysdeps/posix/preadv64v2.c: Likewise.
2442         * sysdeps/posix/pwritev2.c: Likewise.
2443         * sysdeps/posix/pwritev64v2.c: Likewise.
2444         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
2445         support in kernel.
2446         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
2447         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
2448         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
2449         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
2450         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
2451         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2452         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2453         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2454         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
2455         support flags on Linux.
2456         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
2457         preadv2, preadv64v2, pwritev2, pwritev64v2.
2458         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
2459         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
2460         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
2461         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
2462         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
2463         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
2464         Likewise.
2465         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
2466         Likewise.
2467         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
2468         Likewise.
2469         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
2470         Likewise.
2471         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
2472         Likewise.
2473         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
2474         Likewise.
2475         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
2476         Likewise.
2477         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
2478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2479         (GLIBC_2.26): Likewise.
2480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2481         (GLIBC_2.26): Likewise.
2482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
2483         Likewise.
2484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2485         (GLIBC_2.26): Likewise.
2486         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
2487         Likewise.
2488         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
2489         Likewise.
2490         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
2491         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
2492         Likewise.
2493         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
2494         Likewise.
2495         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
2496         Likewise.
2497         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
2498         Likewise.
2499         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
2500         Likewise.
2501         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
2502         Likewise.
2503         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
2504         Likewise.
2506 2017-05-31  Andreas Schwab  <schwab@suse.de>
2508         * nptl/tst-fork3.c: Include <support/test-driver.c>.
2509         (main): Rename to do_test and make static.
2511 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2513         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
2514         ARCH_INIT_CPU_FEATURES.
2515         (LIBC_START_MAIN): Call it.
2516         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
2517         (__libc_start_main): Remove.
2518         (ARCH_INIT_CPU_FEATURES): New macro.
2519         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
2520         (ARCH_INIT_CPU_FEATURES): New macro.
2522 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
2523             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2525         * include/stdlib.h (__libc_reallocarray): New declaration.
2526         * malloc/Makefile (routines): Add reallocarray.
2527         (tests): Add tst-reallocarray.c.
2528         * malloc/Versions: Add reallocarray and __libc_reallocarray.
2529         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
2530         function.
2531         * malloc/malloc.h (reallocarray): New declaration.
2532         * stdlib/stdlib.h (reallocarray): Likewise.
2533         * malloc/reallocarray.c: New file.
2534         * malloc/tst-reallocarray.c: New test file.
2535         * manual/memory.texi: Document reallocarray.
2536         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
2537         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2538         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2539         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2540         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2541         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2542         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2543         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2544         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2545         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2546         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2547         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2548         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2549         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2551         Likewise.
2552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2553         Likewise.
2554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2556         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2557         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2558         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2559         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2560         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2563         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
2564         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2565         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2567 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
2569         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
2570         the lower 32 bits.
2572 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
2574         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
2575         $(build-pie-default) = yes]: Define.
2577 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
2579         * string/test-memchr.c (test_main): Add tests for n == 0.
2581 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2583         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
2584         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
2585         (tests-internal): ... here.
2587 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
2588              H.J. Lu  <hongjiu.lu@intel.com>
2590         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
2591         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
2592         (__tunable_set_val): Likewise.
2594 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
2596         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
2597         dl-tunables.list in subdirectories.
2599 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2600             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2601             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2603         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2604         (SNANF128): New macro.
2605         * math/e_sqrtf128.c: New file.
2606         * math/s_fmaxmag_template.c: Include math_private.h in order to
2607         make inline expansion of fabs128().
2608         * math/s_fminmag_template.c: Likewise.
2610         * sysdeps/ieee754/float128/e_acosf128.c: New file.
2611         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
2612         * sysdeps/ieee754/float128/e_asinf128.c: New file.
2613         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
2614         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
2615         * sysdeps/ieee754/float128/e_coshf128.c: New file.
2616         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
2617         * sysdeps/ieee754/float128/e_expf128.c: New file.
2618         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
2619         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
2620         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
2621         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
2622         * sysdeps/ieee754/float128/e_j0f128.c: New file.
2623         * sysdeps/ieee754/float128/e_j1f128.c: New file.
2624         * sysdeps/ieee754/float128/e_jnf128.c: New file.
2625         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
2626         * sysdeps/ieee754/float128/e_log10f128.c: New file.
2627         * sysdeps/ieee754/float128/e_log2f128.c: New file.
2628         * sysdeps/ieee754/float128/e_logf128.c: New file.
2629         * sysdeps/ieee754/float128/e_powf128.c: New file.
2630         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
2631         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
2632         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
2633         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
2634         * sysdeps/ieee754/float128/float128_private.h: New file.
2635         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
2636         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
2637         * sysdeps/ieee754/float128/k_cosf128.c: New file.
2638         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
2639         * sysdeps/ieee754/float128/k_sinf128.c: New file.
2640         * sysdeps/ieee754/float128/k_tanf128.c: New file.
2641         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
2642         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
2643         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
2644         * sysdeps/ieee754/float128/s_atanf128.c: New file.
2645         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
2646         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
2647         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
2648         * sysdeps/ieee754/float128/s_cosf128.c: New file.
2649         * sysdeps/ieee754/float128/s_erff128.c: New file.
2650         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
2651         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
2652         * sysdeps/ieee754/float128/s_finitef128.c: New file.
2653         * sysdeps/ieee754/float128/s_floorf128.c: New file.
2654         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
2655         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
2656         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
2657         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
2658         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
2659         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
2660         * sysdeps/ieee754/float128/s_isinff128.c: New file.
2661         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
2662         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
2663         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
2664         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
2665         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
2666         * sysdeps/ieee754/float128/s_logbf128.c: New file.
2667         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
2668         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
2669         * sysdeps/ieee754/float128/s_modff128.c: New file.
2670         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
2671         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
2672         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
2673         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
2674         * sysdeps/ieee754/float128/s_remquof128.c: New file.
2675         * sysdeps/ieee754/float128/s_rintf128.c: New file.
2676         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
2677         * sysdeps/ieee754/float128/s_roundf128.c: New file.
2678         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
2679         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
2680         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
2681         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
2682         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
2683         * sysdeps/ieee754/float128/s_significandf128.c: New file.
2684         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
2685         * sysdeps/ieee754/float128/s_sinf128.c: New file.
2686         * sysdeps/ieee754/float128/s_tanf128.c: New file.
2687         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
2688         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
2689         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
2690         * sysdeps/ieee754/float128/s_truncf128.c: New file.
2691         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
2692         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
2693         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
2694         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
2696         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
2697         (__iscanonicalf128): Define as a macro.
2699 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2701         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
2702         (memmove): Use MEMMOVE for name.
2703         (memcpy): Use MEMCPY for name.  Change internal labels
2704         to external labels.
2705         * sysdeps/aarch64/multiarch/Makefile: New file.
2706         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
2707         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
2708         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
2709         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
2710         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
2711         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
2713 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2715         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2716         (_dl_arm_cap_flags): Fix array subscript.
2717         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2718         Fix count.
2720 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2722         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
2724 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2726         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
2727         (is_amd): Likewise.
2728         (max_cpuid): Likewise.
2729         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
2730         (init_cacheinfo): Likewise.
2732 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
2734         [BZ #21511]
2735         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
2736         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
2737         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
2738         !__USE_XOPEN2K) || __USE_MISC].
2739         * conform/data/signal.h-data (struct sigstack): Expect type only
2740         if [!XOPEN2K8 && !POSIX2008].
2741         (sigstack): Expect function only if [XPG42 || UNIX98].
2743         [BZ #21457]
2744         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
2745         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2746         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2747         <bits/types/__sigset_t.h>.
2748         (ucontext_t): Use sigset_t instead of __sigset_t.
2749         * sysdeps/generic/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/i386/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/m68k/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/mips/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/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
2770         <signal.h>, <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/alpha/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/arm/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/hppa/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/ia64/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>.
2792         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
2793         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2794         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2795         <bits/types/__sigset_t.h>.
2796         (ucontext_t): Use sigset_t instead of __sigset_t.
2797         * sysdeps/unix/sysv/linux/mips/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/nios2/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/powerpc/sys/ucontext.h: Do not include
2808         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2809         <bits/ss_flags.h>.
2810         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
2811         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2812         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2813         <bits/types/__sigset_t.h>.
2814         (ucontext_t): Use sigset_t instead of __sigset_t.
2815         * sysdeps/unix/sysv/linux/sh/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/sparc/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/tile/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/x86/bits/sigcontext.h: Include
2831         <bits/types.h>.
2832         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
2833         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2834         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2835         <bits/types/__sigset_t.h>.
2836         (ucontext_t): Use sigset_t instead of __sigset_t.
2838 2017-05-22  Zack Weinberg  <zackw@panix.com>
2840         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2841         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
2842         bits/siginfo-arch.h, only if not already defined.
2843         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
2844         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
2845         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
2846         Likewise.
2848         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2849         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2850         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2851         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2852         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2853         Unconditionally define __SI_* macros.
2855 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2857         [BZ #21393]
2858         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
2859         and add a check for dup3 failure.
2860         * libio/freopen64.c (freopen64): Likewise.
2861         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
2862         libsupport.
2863         (do_test_bz21398): New test.
2864         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
2866 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2868         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
2869         Remove invalid comment.
2871 2017-05-21  Zack Weinberg  <zackw@panix.com>
2873         * signal/Makefile (headers): Add bits/types/sigval_t.h.
2875 2017-05-20  Zack Weinberg  <zackw@panix.com>
2877         * bits/sigevent-consts.h
2878         * bits/siginfo-consts.h
2879         * bits/types/__sigset_t.h
2880         * bits/types/sigevent_t.h
2881         * bits/types/siginfo_t.h
2882         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
2883         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2884         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
2885         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
2886         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
2887         New system-dependent bits headers.
2889         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
2890         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
2891         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2892         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
2893         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2894         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2895         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2896         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
2897         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2898         New Linux-only system-dependent bits headers.
2900         * signal/bits/types/sig_atomic_t.h
2901         * signal/bits/types/sigset_t.h
2902         * signal/bits/types/sigval_t.h:
2903         New non-system-dependent bits headers.
2905         * sysdeps/generic/sigsetops.h
2906         * sysdeps/unix/sysv/linux/sigsetops.h:
2907         New internal headers.
2909         * include/bits/types/sig_atomic_t.h
2910         * include/bits/types/sigset_t.h
2911         * include/bits/types/sigval_t.h:
2912         New wrappers.
2914         * signal/sigsetops.h
2915         * bits/siginfo.h
2916         * bits/sigset.h
2917         * sysdeps/unix/sysv/linux/bits/siginfo.h
2918         * sysdeps/unix/sysv/linux/bits/sigset.h
2919         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
2920         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
2921         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
2922         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
2923         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
2924         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
2925         Deleted.
2927         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
2928         Update lists of installed headers.
2930         * posix/bits/types.h: Define __sig_atomic_t here.
2931         * signal/signal.h: Use the new bits headers; no need to handle
2932         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
2933         to define sigmask.
2934         * include/signal.h: No need to handle __need_sig_atomic_t
2935         nor __need_sigset_t.  Don't define __sigemptyset.
2937         * io/sys/poll.h, setjmp/setjmp.h
2938         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
2939         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
2940         * sysdeps/mach/hurd/i386/bits/sigcontext.h
2941         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
2942         * sysdeps/pthread/bits/sigthread.h
2943         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
2944         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
2945         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2946         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
2947         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2948         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
2949         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
2950         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
2951         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
2952         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
2953         Use bits/types/__sigset_t.h.
2955         * misc/sys/select.h, posix/spawn.h
2956         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2957         * sysdeps/unix/sysv/linux/sys/epoll.h
2958         * sysdeps/unix/sysv/linux/sys/signalfd.h:
2959         Use bits/types/sigset_t.h.
2961         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
2962         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
2963         * socket/sys/socket.h: Don't include bits/sigset.h.
2965         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
2966         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
2967         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
2968         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
2969         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
2970         * sysdeps/unix/sysv/linux/nptl-signals.h:
2971         Include sigsetops.h.
2973         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
2974         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
2975         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
2976         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
2977         now return no value.
2979         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
2980         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
2981         "sigsetops.h".
2983         * signal/sigsetops.c: Explicitly define __sigismember,
2984         __sigaddset, and __sigdelset as compatibility symbols.
2986         * signal/Versions: Correct commentary on __sigpause,
2987         __sigaddset, __sigdelset, __sigismember.
2989         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
2990         __sigblock/__sigsetmask to use __sigprocmask and friends.
2992         * resolv/resolv.h: Remove __need_res_state logic.
2993         Move definition of res_state and related constants to ...
2994         * resolv/bits/types/res_state.h: ...this new file.
2995         * resolv/Makefile: Install bits/types/res_state.h.
2996         * include/bits/types/res_state.h: New wrapper.
2997         * include/list.h: Remove __need_list_t logic.
2998         Move definition of list_t to ...
2999         * include/list_t.h: ...this new file.
3001         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3002         instead of list.h and resolv.h.
3004         * resolv/resolv.h: Remove __need_res_state logic.
3005         Move definition of res_state and related constants to ...
3006         * resolv/bits/types/res_state.h: ...this new file.
3007         * resolv/Makefile: Install bits/types/res_state.h.
3008         * include/bits/types/res_state.h: New wrapper.
3009         * include/list.h: Remove __need_list_t logic.
3010         Move definition of list_t to ...
3011         * include/list_t.h: ...this new file.
3013         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3014         instead of list.h and resolv.h.
3016 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3018         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
3020 2017-05-20  Zack Weinberg  <zackw@panix.com>
3022         * sysdeps/arm/sysdep.h
3023         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
3025         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
3026         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
3027         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
3028         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
3029         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
3030         * sysdeps/arm/armv6t2/strlen.S
3031         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
3032         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
3033         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
3034         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
3035         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
3036         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
3038 2017-05-20  Zack Weinberg  <zackw@panix.com>
3040         Remove the NaCl port.
3041         * sysdeps/arm/nacl: Remove directory and contents.
3042         * sysdeps/nacl: Remove directory and contents.
3043         * abi-tags: Remove .*-.*-nacl.* entry.
3045 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
3047         * manual/errno.texi: Convert @comment-based errno documentation to
3048         @errno.
3049         * manual/macros.texi (@errno): New macro.  Consolidate errors,
3050         their values, and messages, adding the error string to the Concept
3051         Index.  Provide a warning in the comment about external (to the
3052         manual) dependencies.
3053         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
3054         * sysdeps/mach/hurd/errnos.awk: Likewise.
3056 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
3058         * bits/ss_flags.h: New file.
3059         * bits/types/stack_t.h: Likewise.
3060         * include/bits/types/struct_sigstack.h: Likewise.
3061         * signal/bits/types/struct_sigstack.h: Likewise.
3062         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
3063         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
3064         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
3065         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
3066         bits/types/stack_t.h and bits/ss_flags.h.
3067         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
3068         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
3069         <bits/ss_flags.h>.
3070         * bits/sigstack.h (struct sigstack): Remove.
3071         (stack_t): Likewise.
3072         (SS_ONSTACK): Likewise.
3073         (SS_DISABLE): Likewise.
3074         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3075         (struct sigstack): Likewise.
3076         (stack_t): Likewise.
3077         (SS_ONSTACK): Likewise.
3078         (SS_DISABLE): Likewise.
3079         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
3080         Likewise.
3081         (stack_t): Likewise.
3082         (SS_ONSTACK): Likewise.
3083         (SS_DISABLE): Likewise.
3084         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
3085         Likewise.
3086         (stack_t): Likewise.
3087         (SS_ONSTACK): Likewise.
3088         (SS_DISABLE): Likewise.
3089         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
3090         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
3091         Likewise.
3092         (stack_t): Likewise.
3093         (SS_ONSTACK): Likewise.
3094         (SS_DISABLE): Likewise.
3095         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3096         (struct sigstack): Likewise.
3097         (stack_t): Likewise.
3098         (SS_ONSTACK): Likewise.
3099         (SS_DISABLE): Likewise.
3100         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
3101         Likewise.
3102         (stack_t): Likewise.
3103         (SS_ONSTACK): Likewise.
3104         (SS_DISABLE): Likewise.
3105         * sysdeps/arm/sys/ucontext.h: Include
3106         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
3107         <bits/ss_flags.h>.
3108         * sysdeps/generic/sys/ucontext.h: Likewise.
3109         * sysdeps/i386/sys/ucontext.h: Likewise.
3110         * sysdeps/m68k/sys/ucontext.h: Likewise.
3111         * sysdeps/mips/sys/ucontext.h: Likewise.
3112         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
3113         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
3114         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
3115         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
3116         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
3117         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
3118         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
3119         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
3120         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
3121         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3122         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
3123         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
3124         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
3125         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
3126         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
3128 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3130         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
3131         "edx + ecx - 16" to avoid possible addition overflow.
3132         * sysdeps/x86_64/memchr.S (memchr): Likewise.
3134 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3136         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
3137         (CFLAGS-splice.c): Likewise.
3138         (CFLAGS-open_by_handle_at.c): Likewise.
3139         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
3140         (CFLAGS-splice.c): Likewise.
3141         (CFLAGS-open_by_handle_at.c): Likewise.
3143 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
3145         * scripts/versions.awk: Generate ldbl-compat-choose.h.
3146         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
3147         <ldbl-compat-choose.h>.
3148         (maybe_long_double_symbol): New macro.
3149         [!declare_mgen_alias] (declare_mgen_alias): Use
3150         maybe_long_double_symbol.
3151         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
3152         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
3153         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
3154         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
3155         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
3156         * Makerules [$(build-shared) = yes && !avoid-generated]
3157         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
3158         [$(build-shared) = yes && !avoid-generated]
3159         ($(common-objpfx)ldbl-compat-choose.h): New target.
3161         * scripts/versions.awk: Generate first-versions.h.
3162         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
3163         <first-versions.h>.
3164         (LDOUBLE_cabsl_libm_version): Remove macro.
3165         (LDOUBLE_cargl_libm_version): Likewise.
3166         (LDOUBLE_cimagl_libm_version): Likewise.
3167         (LDOUBLE_conjl_libm_version): Likewise.
3168         (LDOUBLE_creall_libm_version): Likewise.
3169         (LDOUBLE_cacosl_libm_version): Likewise.
3170         (LDOUBLE_cacoshl_libm_version): Likewise.
3171         (LDOUBLE_ccosl_libm_version): Likewise.
3172         (LDOUBLE_ccoshl_libm_version): Likewise.
3173         (LDOUBLE_casinl_libm_version): Likewise.
3174         (LDOUBLE_csinl_libm_version): Likewise.
3175         (LDOUBLE_casinhl_libm_version): Likewise.
3176         (LDOUBLE_csinhl_libm_version): Likewise.
3177         (LDOUBLE_catanl_libm_version): Likewise.
3178         (LDOUBLE_catanhl_libm_version): Likewise.
3179         (LDOUBLE_ctanl_libm_version): Likewise.
3180         (LDOUBLE_ctanhl_libm_version): Likewise.
3181         (LDOUBLE_cexpl_libm_version): Likewise.
3182         (LDOUBLE_clogl_libm_version): Likewise.
3183         (LDOUBLE_cprojl_libm_version): Likewise.
3184         (LDOUBLE_csqrtl_libm_version): Likewise.
3185         (LDOUBLE_cpowl_libm_version): Likewise.
3186         (LDOUBLE_clog10l_libm_version): Likewise.
3187         (LDOUBLE___clog10l_libm_version): Likewise.
3188         (LDOUBLE_fdiml_libm_version): Likewise.
3189         (LDOUBLE_fmaxl_libm_version): Likewise.
3190         (LDOUBLE_fminl_libm_version): Likewise.
3191         (LDOUBLE_ilogbl_libm_version): Likewise.
3192         (LDOUBLE_nanl_libm_version): Likewise.
3193         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
3194         FIRST_VERSION_libm_* macros.
3195         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
3196         * Makerules [$(build-shared) = yes && !avoid-generated]
3197         (before-compile): Add $(common-objpfx)first-versions.h.
3198         [$(build-shared) = yes && !avoid-generated]
3199         ($(common-objpfx)first-versions.h): New target.
3200         ($(common-objpfx)sysd-versions): Depend on and change to rule for
3201         building $(common-objpfx)versions.stmp.
3203 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3205         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
3206         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
3207         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
3208         auto-generation list.
3210         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
3211         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
3212         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
3213         from auto-generation list.
3215         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3216         open_by_handle_at.
3217         (CFLAGS-open_by_handle_at.c): New flag.
3218         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
3219         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
3220         file.
3221         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
3223         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
3224         (CFLAGS-splice.c): New flag.
3225         * sysdeps/unix/sysv/linux/splice.c: New file.
3226         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
3227         auto-generation syscall list.
3228         * misc/Makefile (CFLAGS-splice.c): New rule.
3230         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
3231         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
3232         auto-generation syscall list.
3233         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
3234         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
3236         * misc/Makefile (CFLAGS-fsync.c): New flag.
3237         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
3238         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
3239         syscall list.
3240         * sysdeps/unix/sysv/linux/fsync.c: New file.
3241         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
3242         (__errno_location): Remove.
3244         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
3245         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
3246         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
3247         list.
3248         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
3250         * misc/Makefile (CFLAGS-msync.c): New rule.
3251         * nptl/Makefile (CFLAGS-msync.c): Likewise.
3252         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
3253         * sysdeps/unix/sysv/linux/msync.c: New file.
3255         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
3256         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
3257         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
3258         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3259         (CFLAGS-sigsuspend.c): Remove rule.
3261         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
3262         (CFLAGS-tee.c): New rule.
3263         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
3264         auto-generated list.
3265         * sysdeps/unix/sysv/linux/tee.c: New file.
3267         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
3268         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
3269         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
3270         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
3271         auto-generated list.
3273         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
3274         auto-generated list.
3275         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
3276         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3277         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
3278         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3279         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
3281         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
3282         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
3283         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
3284         (__NR_pause): Undefine.
3285         * sysdeps/unix/sysv/linux/pause.c: New file.
3286         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
3287         auto-generation list.
3288         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
3289         Remove rule.
3290         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
3292 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3294         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
3295         comments.
3297 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3299         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
3300         LD_HWCAP_MASK.
3302 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
3304         * manual/conf.texi: Convert @tables of annotated @items to
3305         @vtables.
3306         * manual/lang.texi: Likewise.
3307         * manual/pattern.texi: Likewise.
3308         * manual/resource.texi: Likewise.
3309         * manual/socket.texi: Likewise.
3311 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
3313         * manual/crypt.texi: Move a comment out of an @*x list.
3314         * manual/filesys.texi: Refactor some comments, one of which looks
3315         like a standard.  Fix incorrectly separated standards.
3316         * manual/locale.texi: Invert an annotation.
3317         * manual/resource.texi: Fix incorrectly separated standards.
3318         * manual/time.texi: Refactor a @vtable that obscures an
3319         annotation.
3320         * manual/users.texi: Refactor multiple headers to occupy a single
3321         @comment.
3323 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3325         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3326         (sysdep_routines): Add memcmp-power8.
3327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3328         (memcmp): Add __memcmp_power8 to list of memcmp functions.
3329         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
3330         (memcmp): Add __memcmp_power8 to ifunc list.
3331         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
3332         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
3334 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3335             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3337         * math/math.h (__MATH_TG): Extend the conditions to add
3338         _Float128 support.
3339         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
3341 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
3343         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3344         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
3345         s_cosf-ppc64.
3346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
3347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
3348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
3349         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
3351 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3353         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
3354         (gen-libm-calls): Add e_exp2F to use the template.
3355         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
3356         * math/e_exp2_template.c: New file, renamed from
3357         math/e_exp2l.c, and made into a template.
3358         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
3360 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3362         * elf/dl-tunable-types.h (tunable_type_code_t): New type
3363         TUNABLE_TYPE_UINT_64.
3364         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
3365         Simplify computation of overflow.
3366         (tunable_set_val_if_valid_range_signed,
3367         tunable_set_val_if_valid_range_unsigned): Remove and replace
3368         with this...
3369         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
3370         (tunable_initialize): Adjust.  Add uint64_t support.
3371         (__tunable_set_val): Add uint64_t support.
3372         * README.tunables: Document it.
3374         * scripts/gen-tunables.awk: Recognize 'default' keyword in
3375         dl-tunables.list.
3376         * README.tunables: Document it.
3378 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3380         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
3381         * sysdeps/posix/preadv64.c: Likewise.
3382         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3383         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
3384         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
3385         * sysdeps/posix/pwritev64.c: Likewise.
3386         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3387         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
3388         * sysdeps/posix/preadv_common.c: New file.
3389         * sysdeps/posix/pwritev_common.c: Likewise.
3391 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3393         * sysdeps/generic/math-type-macros-float128.h
3394         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
3395         wrapper templates.
3397 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3398             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3400         * include/complex.h (__kernel_casinhf128): New declaration.
3401         * include/float.h: New file.
3402         * include/math.h (__finitef128): Add a hidden def.
3403         (__isinff128): Likewise.
3404         (__isnanf128): Likewise.
3405         (__fpclassify): Likewise.
3406         (__issignalling): Likewise.
3407         (__expf128): Likewise.
3408         (__expm1f128): Likewise.
3410         * sysdeps/generic/fix-fp-int-convert-overflow.h:
3411         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
3412         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
3414         * sysdeps/generic/math-type-macros-float128.h: New file.
3416         * sysdeps/generic/math_private.h: Include bits/floatn.h and
3417         math_private_calls.h for _Float128.
3418         (__isinff128): New inline implementation used when GCC < 7.0,
3419         since in this case __builtin_isinf_sign is broken.
3420         (fabsf128): New inline implementation that calls the builtin.
3421         (__EXPR_FLT128): New macro.
3422         (min_of_type): Optionally include _Float128 types too.
3424         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
3425         Declare for _Float128.
3426         (__kernel_rem_pio2): Likewise.
3428         * sysdeps/ieee754/ldbl-opt/s_sin.c:
3429         (__DECL_SIMD_sincos_disablef128): New macro.
3431 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3433         * math/math.h: Include bits/math-finite.h for float128.
3434         (__MATH_DECLARING_FLOATN): Define to control declaration of
3435         float128 functions.
3436         * math/bits/math-finite.h (pow10): Do not declare for float128.
3437         (gamma): Likewise.
3438         (scalb): Likewise.
3440 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3441             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3443         * bits/floatn.h: New file.
3444         * bits/huge_val_flt128.h: Likewise.
3446         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
3447         (__DECL_SIMD_sinf128): Likewise.
3448         (__DECL_SIMD_sincosf128): Likewise.
3449         (__DECL_SIMD_logf128): Likewise.
3450         (__DECL_SIMD_expf128): Likewise.
3451         (__DECL_SIMD_powf128): Likewise.
3453         * math/Makefile (headers): Install bits/floatn.h and
3454         bits/huge_val_flt128.h.
3456         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
3457         defined.
3459         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
3460         (isnan, gamma, nexttoward, scalb): Only define if not
3461         __MATH_DECLARING_FLOATN.
3462         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
3463         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
3464         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
3465         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
3467         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
3468         Include bits/cmathcalls.h to get the declarations of _Float128
3469         versions of complex functions.
3470         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
3471         Define macro.
3473         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
3474         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
3475         get the declarations of _Float128 versions of math functions.
3476         (__MATH_DECLARING_FLOATN): New macro to control declaration of
3477         _FloatN types.
3478         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
3479         is type-generic, so use it without __MATH_TG.
3480         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
3481         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
3482         _Float128 type and GCC < 7.0, otherwise use the builtin.
3483         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
3484         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
3485         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
3486         New _GNU_SOURCE enabled macros.
3488 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
3490         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
3491         (signbitf): Likewise.
3492         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
3493         Likewise.
3494         (signbitl): Likewise.
3495         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
3496         Likewise.
3497         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
3498         (signbitl): Likewise.
3499         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
3501 2017-05-12  Florian Weimer  <fweimer@redhat.com>
3503         [BZ #21386]
3504         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
3505         parent PID.  The assertion in the child is incorrect with PID
3506         namespaces.
3508 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
3510         * sysdeps/unix/sysv/linux/kernel-features.h
3511         (__ASSUME_STATFS_F_FLAGS): Remove macro.
3512         * sysdeps/unix/sysv/linux/internal_statvfs.c
3513         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
3515 2017-05-11  Zack Weinberg  <zackw@panix.com>
3517         * Makerules: New subdir configuration variables 'tests-internal'
3518         and 'test-internal-extras'.  Test files in these categories will
3519         still be compiled with MODULE_NAME=nonlib.  Test files in the
3520         existing categories (tests, xtests, test-srcs, test-extras) are
3521         now compiled with MODULE_NAME=testsuite.
3522         New subdir configuration variable 'modules-names-tests'.  Files
3523         which are in both 'modules-names' and 'modules-names-tests' will
3524         be compiled with MODULE_NAME=testsuite instead of
3525         MODULE_NAME=extramodules.
3526         (gen-as-const-headers): Move to tests-internal.
3527         (do-tests-clean, common-mostlyclean): Support tests-internal.
3528         * Makeconfig (built-modules): Add testsuite.
3529         * Makefile: Change libof-check-installed-headers-c and
3530         libof-check-installed-headers-cxx to 'testsuite'.
3531         * Rules: Likewise.  Support tests-internal.
3532         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
3533         Remove extra-modules.mk.
3535         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
3536         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
3537         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
3538         very top of the file and rationalize their order.
3539         If MODULE_NAME is not defined at all, define IS_IN to always be
3540         false, and don't define _ISOMAC.
3541         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
3542         true, define _ISOMAC and suppress everything else in this file,
3543         starting with the inclusion of config.h.
3544         Do check for inappropriate definitions of __OPTIMIZE__ and
3545         __FAST_MATH__ here, but only if _ISOMAC is not defined.
3546         Correct some out-of-date commentary.
3548         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
3549         and _Mlong_double_ before including math.h.
3550         * include/string.h: If _ISOMAC is defined, don't expose
3551         _STRING_ARCH_unaligned. Move a comment to a more appropriate
3552         location.
3554         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
3555         * include/time.h, include/unistd.h, include/wchar.h: No need to
3556         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
3558         * misc/sys/cdefs.h (__NTHNL): New macro.
3559         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
3560         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
3562         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
3563         defined, for HAVE_TUNABLES.
3564         * inet/tst-checks-posix.c: No need to define _ISOMAC.
3565         * intl/tst-gettext2.c: Provide own definition of N_.
3566         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
3567         * math/test-signgam-main.c: No need to define _ISOMAC.
3568         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
3569         * stdlib/tst-strtod1i.c: ...this new file.
3570         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
3571         Split tests of __strtod_internal to...
3572         * stdlib/tst-strtod5i.c: ...this new file.
3573         * string/test-string.h: Include stdint.h. Duplicate definition of
3574         inhibit_loop_to_libcall here (from libc-symbols.h).
3575         * string/test-strstr.c: Provide dummy definition of
3576         libc_hidden_builtin_def when including strstr.c.
3577         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
3578         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
3579         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3580         Don't include init-arch.h.
3581         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3582         Don't include init-arch.h.
3584         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
3585         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
3586         unload, unload2, circleload1, neededtest, neededtest2,
3587         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
3588         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
3589         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
3590         ifunc tests to tests-internal.
3591         Don't add $(modules-names) to test-extras.
3592         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
3593         Add tst-deadline to tests-static-internal.
3594         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
3595         tests-internal.
3596         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
3597         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
3598         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
3599         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
3600         tst-sem12-static, and tst-stackguard1-static to tests-internal.
3601         Link tests-internal with libpthread also.
3602         Don't add $(modules-names) to test-extras.
3603         * nss/Makefile: Move tst-field to tests-internal.
3604         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
3605         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
3606         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
3607         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
3608         tests-internal.
3609         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
3610         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
3611         test-get_hwcap-static to tests-internal.
3612         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
3613         tests-internal.
3614         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
3615         modules-names-tests.
3617 2017-05-11  Zack Weinberg  <zackw@panix.com>
3619         * libio/libio.h: Condition dummy definition of _IO_lock_t on
3620         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
3621         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
3622         _IO_funlockfile, and _IO_ftrylockfile.  Only define
3623         _IO_cleanup_region_start and _IO_cleanup_region_end if not
3624         already defined.
3625         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
3626         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
3627         appropriately.
3628         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
3629         Define _IO_lock_t_defined after defining _IO_lock_t.
3631 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3633         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
3634         void* for argument type and use VDSO_SYMBOL macro.
3635         (is_sigtramp_address_rt): Likewise.
3636         (__backtrace): Setup expected frame pointer address for signal
3637         handling.
3638         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
3639         void* for argumetn type and use VSDO_SYMBOL macro.
3640         (__backtrace): Setup expected frame pointer address for signal
3641         handling.
3643         * sysdeps/unix/sysv/linux/writev.c: New file.
3645         * sysdeps/unix/sysv/linux/readv.c: New file.
3647         * include/unistd.h (write): Add hidden proto.
3648         * io/Makefile (CFLAGS-write.c): New define.
3649         * nptl/Makefile (CFLAGS-write.c): Likewise.
3650         * sysdeps/unix/sysv/linux/write.c: New file.
3652         [BZ #21428]
3653         * include/unistd.h (read): Add hidden proto.
3654         * io/Makefile (CFLAGS-read.c): New define.
3655         * nptl/Makefile (CFLAGS-read.c): Likewise.
3656         * sysdeps/unix/sysv/linux/read.c: New file.
3658         * io/Makefile (CFLAGS-creat.c): New rule.
3659         (CFLAGS-creat64.c): Likewise.
3660         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
3661         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
3662         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
3663         * sysdeps/unix/sysv/linux/creat.c: New file.
3664         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
3665         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
3666         auto-generated list.
3667         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3669         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
3670         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
3671         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
3672         * sysdeps/unix/sysv/linux/open.c: New file.
3673         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
3674         iff __WORDSIZE != 64 and use __NR_openat when available.
3675         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
3676         from auto-generated list.
3678         * nptl/Makefile (CFLAGS-close.c): New flag.
3679         * sysdeps/unix/sysv/linux/close.c: New file.
3681 2017-05-11  DJ Delorie  <dj@redhat.com>
3683         * MAINTAINERS: New.  Points to wiki.
3685 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3687         * scripts/gen-tunables.awk: Add attribute_relro to
3688         tunable_list.
3690 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
3692         [BZ #21457]
3693         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
3694         (R1): Likewise.
3695         (R2): Likewise.
3696         (R3): Likewise.
3697         (R4): Likewise.
3698         (R5): Likewise.
3699         (R6): Likewise.
3700         (R7): Likewise.
3701         (R8): Likewise.
3702         (R9): Likewise.
3703         (R10): Likewise.
3704         (R11): Likewise.
3705         (R12): Likewise.
3706         (R13): Likewise.
3707         (R14): Likewise.
3708         (R15): Likewise.
3709         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
3710         (REG_FS): Likewise.
3711         (REG_ES): Likewise.
3712         (REG_DS): Likewise.
3713         (REG_EDI): Likewise.
3714         (REG_ESI): Likewise.
3715         (REG_EBP): Likewise.
3716         (REG_ESP): Likewise.
3717         (REG_EBX): Likewise.
3718         (REG_EDX): Likewise.
3719         (REG_ECX): Likewise.
3720         (REG_EAX): Likewise.
3721         (REG_TRAPNO): Likewise.
3722         (REG_ERR): Likewise.
3723         (REG_EIP): Likewise.
3724         (REG_CS): Likewise.
3725         (REG_EFL): Likewise.
3726         (REG_UESP): Likewise.
3727         (REG_SS): Likewise.
3728         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
3729         (R_D1): Likewise.
3730         (R_D2): Likewise.
3731         (R_D3): Likewise.
3732         (R_D4): Likewise.
3733         (R_D5): Likewise.
3734         (R_D6): Likewise.
3735         (R_D7): Likewise.
3736         (R_A0): Likewise.
3737         (R_A1): Likewise.
3738         (R_A2): Likewise.
3739         (R_A3): Likewise.
3740         (R_A4): Likewise.
3741         (R_A5): Likewise.
3742         (R_A6): Likewise.
3743         (R_A7): Likewise.
3744         (R_SP): Likewise.
3745         (R_PC): Likewise.
3746         (R_PS): Likewise.
3747         (fpregset_t): Likewise.
3748         (MCONTEXT_VERSION): Likewise.
3749         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
3750         (CTX_AT): Likewise.
3751         (CTX_V0): Likewise.
3752         (CTX_V1): Likewise.
3753         (CTX_A0): Likewise.
3754         (CTX_A1): Likewise.
3755         (CTX_A2): Likewise.
3756         (CTX_A3): Likewise.
3757         (CTX_T0): Likewise.
3758         (CTX_T1): Likewise.
3759         (CTX_T2): Likewise.
3760         (CTX_T3): Likewise.
3761         (CTX_T4): Likewise.
3762         (CTX_T5): Likewise.
3763         (CTX_T6): Likewise.
3764         (CTX_T7): Likewise.
3765         (CTX_S0): Likewise.
3766         (CTX_S1): Likewise.
3767         (CTX_S2): Likewise.
3768         (CTX_S3): Likewise.
3769         (CTX_S4): Likewise.
3770         (CTX_S5): Likewise.
3771         (CTX_S6): Likewise.
3772         (CTX_S7): Likewise.
3773         (CTX_T8): Likewise.
3774         (CTX_T9): Likewise.
3775         (CTX_K0): Likewise.
3776         (CTX_K1): Likewise.
3777         (CTX_GP): Likewise.
3778         (CTX_SP): Likewise.
3779         (CTX_S8): Likewise.
3780         (CTX_RA): Likewise.
3781         (CTX_MDLO): Likewise.
3782         (CTX_MDHI): Likewise.
3783         (CTX_CAUSE): Likewise.
3784         (CTX_EPC): Likewise.
3785         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
3786         inclusion of <sys/procfs.h> on [__USE_MISC].
3787         (greg_t): Condition on [__USE_MISC].
3788         (gregset_t): Likewise.
3789         (fpregset_t): Likewise.
3790         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
3791         (NGREG): Likewise.
3792         (gregset_t): Likewise.
3793         (REG_R0): Likewise.
3794         (REG_R1): Likewise.
3795         (REG_R2): Likewise.
3796         (REG_R3): Likewise.
3797         (REG_R4): Likewise.
3798         (REG_R5): Likewise.
3799         (REG_R6): Likewise.
3800         (REG_R7): Likewise.
3801         (REG_R8): Likewise.
3802         (REG_R9): Likewise.
3803         (REG_R10): Likewise.
3804         (REG_R11): Likewise.
3805         (REG_R12): Likewise.
3806         (REG_R13): Likewise.
3807         (REG_R14): Likewise.
3808         (REG_R15): Likewise.
3809         (struct _libc_fpstate): Likewise.
3810         (fpregset_t): Likewise.
3811         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
3812         (NFPREG): Likewise.
3813         (gregset_t): Likewise.
3814         (fpregset_t): Likewise.
3815         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
3816         (R_D1): Likewise.
3817         (R_D2): Likewise.
3818         (R_D3): Likewise.
3819         (R_D4): Likewise.
3820         (R_D5): Likewise.
3821         (R_D6): Likewise.
3822         (R_D7): Likewise.
3823         (R_A0): Likewise.
3824         (R_A1): Likewise.
3825         (R_A2): Likewise.
3826         (R_A3): Likewise.
3827         (R_A4): Likewise.
3828         (R_A5): Likewise.
3829         (R_A6): Likewise.
3830         (R_A7): Likewise.
3831         (R_SP): Likewise.
3832         (R_PC): Likewise.
3833         (R_PS): Likewise.
3834         (fpregset_t): Likewise.
3835         (MCONTEXT_VERSION): Likewise.
3836         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
3837         Likewise.
3838         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
3839         (REG_R1): Likewise.
3840         (REG_R2): Likewise.
3841         (REG_R3): Likewise.
3842         (REG_R4): Likewise.
3843         (REG_R5): Likewise.
3844         (REG_R6): Likewise.
3845         (REG_R7): Likewise.
3846         (REG_R8): Likewise.
3847         (REG_R9): Likewise.
3848         (REG_R10): Likewise.
3849         (REG_R11): Likewise.
3850         (REG_R12): Likewise.
3851         (REG_R13): Likewise.
3852         (REG_R14): Likewise.
3853         (REG_R15): Likewise.
3854         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
3855         of <arch/abi.h> on [__USE_MISC].
3856         (greg_t): Condition on [__USE_MISC].
3857         (NGREG): Likewise.
3858         (gregset_t): Likewise.
3860 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3862         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
3863         (__pthread_rwlock_arch_t): Remove __data definition.
3864         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
3865         (__pthread_rwlock_arch_t): Likewise.
3867 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3869         * resolv/inet_pton.c: Reformat in GNU style.  Remove
3870         internal_function on static functions.
3872 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3874         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
3875         from format_ai_flags.
3876         (format_ai_flags): New function.  Incorporate flag formatting code
3877         from format_ai_one.
3878         (format_ai_canonname): New function.
3879         (format_ai_one): Remove flags parameter.
3880         (format_ai_family): Likewise.
3881         (support_format_addrinfo): Call format_ai_flags,
3882         format_ai_canonname.
3883         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
3884         check_ai.
3885         (check_ai): Call check_ai_hints.
3886         (do_test): Add AI_CANONNAME tests.
3888 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3890         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
3891         (gaih_inet): Likewise.
3893 2017-05-10  Andreas Schwab  <schwab@suse.de>
3895         * nptl/tst-fork1.c: Include <support/test-driver.c>.
3896         (main): Rename to do_test and make static.
3898 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
3900         * string/rawmemchr.c: Include <libc-diag.h>.
3901         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
3902         with size (size_t)-1.
3904 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3906         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
3907         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3908         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3910         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
3911         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
3912         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
3913         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
3914         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
3915         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
3916         * sysdeps/unix/sysv/linux/kernel-features.h
3917         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
3918         socket syscalls.
3919         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3920         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3921         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3922         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3923         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3924         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3925         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3926         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3927         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3928         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3929         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3930         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3931         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3932         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3933         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3935 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3937         * posix/Makefile (headers): Add pthreadtypes-arch.h and
3938         thread-shared-types.h.
3939         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
3940         specific thread definition.
3941         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
3942         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
3943         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
3944         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
3945         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
3946         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
3947         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
3948         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
3949         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
3950         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
3951         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
3952         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
3953         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
3954         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
3955         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
3956         thread definition between POSIX and C11.
3957         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
3958         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
3959         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
3960         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
3961         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
3962         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
3963         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
3964         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
3965         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
3966         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
3967         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
3968         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
3969         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
3970         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
3971         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
3972         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
3973         definitions shared across all architectures.
3975 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3977         * sysdeps/unix/sysv/linux/kernel-features.h
3978         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
3979         (__ASSUME_SENDMMSG): Likewise.
3980         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
3981         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
3982         sendmmsg syscall if that can be assumed to be present, socketcall
3983         otherwise, with no fallback for runtime failure.
3985         * sysdeps/unix/sysv/linux/kernel-features.h
3986         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
3987         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
3988         (__ASSUME_RECVMMSG): Likewise.
3989         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
3990         recvmmsg syscall if it can be assumed to be present, socketcall
3991         otherwise, with no fallback for runtime failure.
3993 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3994             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3996         * bits/libc-header-start.h:
3997         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
3998         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
3999         * manual/creature.texi: Likewise.
4001 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4002             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4004         * math/Makefile:
4005         (type-float128-suffix): New variable
4006         (type-float128-routines): Likewise
4007         (type-float128-yes): Likewise
4008         (types): Append float128 if supported
4009         (types-basic): New variable to control the use of templates for
4010         float, double, and long double, but not for float128 or newer types.
4011         (type-basic-foreach): Likewise.
4013         * sysdeps/ieee754/float128/Makeconfig: New file.
4014         * sysdeps/ieee754/float128/Versions: New file.
4016 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
4018         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
4019         Remove macro.
4020         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
4021         prlimit64 is always available and does not give an ENOSYS error.
4022         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
4023         unconditional.
4024         [!__NR_prlimit64]: Remove conditional code.
4025         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
4026         prlimit64 is always available and does not give an ENOSYS error.
4027         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
4029 2017-05-09  Zack Weinberg  <zackw@panix.com>
4031         * sunrpc/tst-xdrmem2.c: Include stdint.h.
4033 2017-05-09  Florian Weimer  <fweimer@redhat.com>
4035         [BZ #21474]
4036         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
4037         (__res_maybe_init): Likewise.
4039 2017-05-09  Zack Weinberg  <zackw@panix.com>
4041         * extra-modules.mk: Delete file.
4042         * cppflags-iterator.mk: Rename to ...
4043         * libof-iterator.mk: ...this.  Adjust comments.
4045         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
4046         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
4047         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
4048         Use libof-iterator.mk instead of cppflags-iterator.mk or
4049         extra-modules.mk.
4051         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
4052         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
4054 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4056         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4058 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
4060         * stdio-common/vfprintf.c (EXTSIZ): Define.
4061         (vfprintf): Use EXTSIZ.
4062         (printf_positional): Likewise.
4064 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
4066         * sysdeps/unix/sysv/linux/kernel-features.h
4067         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
4068         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
4069         <kernel-features.h>.
4070         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
4072         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4073         (__ASSUME_GETCPU_SYSCALL): Remove macro.
4075 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4077         Prevent multiple deletion of temporary files.
4078         * support/temp_file.c (struct temp_name_list): Add owner member.
4079         (add_temp_file): Record owner.
4080         (support_delete_temp_files): Delete file only if owner matches.
4081         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
4082         (do_prepare): Use create_temp_file instead of add_temp_file.
4083         Initialize temp_fd1, temp_fd2.
4084         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
4085         framework remove the temporary files.
4086         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
4087         (do_prepare): Use create_temp_file instead of add_temp_file.
4088         Initialize temp_fd1, temp_fd2, temp_fd3.
4089         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
4090         the test framework remove the temporary files.
4091         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
4092         deletion.
4093         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
4094         temporary directory.  It is removed by the test framework.
4095         * dirent/tst-scandir.c (do_test): Likewise.
4097 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4099         Delete temporary files in LIFO order.
4100         * support/temp_file.c (struct temp_name_list): Replace q member
4101         with next.
4102         (add_temp_file): Add new file to front of linked list.
4103         (support_delete_temp_files): Use next member.
4104         (support_print_temp_files): Likewise.
4106 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4108         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4109         sys/ultrasound.h.
4110         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
4112 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
4114         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4115         Remove.
4116         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4117         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4118         (arch_minimum_kernel): Remove.
4119         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4120         * README: Update statement about Linux kernel requirements.
4122 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4124         * manual/llio.texi: Add preadv and pwritev documentation.
4126 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
4128         [BZ #21455]
4129         * bits/stdint-intn.h: New file.
4130         * bits/stdint-uintn.h: Likewise.
4131         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
4132         bits/stdint-uintn.h.
4133         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
4134         <stdint.h>.
4135         * posix/sys/types.h: Include <bits/stdint-intn.h>.
4136         (__int8_t_defined): Do not define here.
4137         (int8_t): Likewise.
4138         (int16_t): Likewise.
4139         (int32_t): Likewise.
4140         (int64_t): Likewise.
4141         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
4142         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
4143         <stdint.h>.
4144         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
4145         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
4146         <bits/stdint-uintn.h>.
4147         (int8_t): Do not define here.
4148         (int16_t): Likewise.
4149         (int32_t): Likewise.
4150         (int64_t): Likewise.
4151         (uint8_t): Likewise.
4152         (uint16_t): Likewise.
4153         (uint32_t): Likewise.
4154         (uint64_t): Likewise.
4155         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
4156         variable.
4157         (test-xfail-XPG42/netdb.h/conform): Likewise.
4158         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
4159         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4160         (test-xfail-UNIX98/netdb.h/conform): Likewise.
4161         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4163 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4165         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
4166         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
4167         the above.
4168         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4169         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4171 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
4173         [BZ #21445]
4174         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
4176         [BZ #21457]
4177         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4178         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
4179         __glibc_reserved1.
4180         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
4181         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
4182         (struct _fpxreg): Likewise.
4183         [!__x86_64__] (struct _fpstate): Rename field reserved to
4184         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
4185         [__x86_64__] (struct _fpstate): Rename field padding to
4186         __glibc_reserved1.
4187         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
4188         Rename field reserved2 to __glibc_reserved2.
4189         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
4190         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
4191         __glibc_reserved1.
4192         [__x86_64__] (struct _libc_fpstate): Rename field padding to
4193         __glibc_reserved1.
4195 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4197         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
4198         variable name.
4200 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
4202         [BZ #21391]
4203         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
4204         Only call init_cpu_features.
4205         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
4206         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4207         * sysdeps/i386/dl-procinfo.h: Removed.
4208         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
4209         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
4210         <sysdeps/x86/dl-procinfo.h>.
4211         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
4212         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
4213         Include <sysdeps/x86/dl-procinfo.h> instead of
4214          <sysdeps/generic/dl-procinfo.h>.
4215         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
4216         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
4217         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
4218         (bit_cpu_MOVBE): Likewise.
4219         (bit_cpu_BMI1): Likewise.
4220         (bit_cpu_BMI2): Likewise.
4221         (index_cpu_BMI1): Likewise.
4222         (index_cpu_BMI2): Likewise.
4223         (index_cpu_LZCNT): Likewise.
4224         (index_cpu_MOVBE): Likewise.
4225         (index_cpu_POPCNT): Likewise.
4226         (reg_BMI1): Likewise.
4227         (reg_BMI2): Likewise.
4228         (reg_LZCNT): Likewise.
4229         (reg_MOVBE): Likewise.
4230         (reg_POPCNT): Likewise.
4231         * sysdeps/x86/dl-hwcap.h: New file.
4232         * sysdeps/x86/dl-procinfo.h: Likewise.
4233         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
4234         (_dl_x86_platforms): Likewise.
4236 2017-05-03  DJ Delorie  <dj@redhat.com>
4238         [BZ #21411]
4239         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
4241 2017-05-03  Phil Blundell  <pb@pbcl.net>
4243         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
4244         comments.
4246 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
4248         [BZ #20116]
4249         * nptl/pthread_create.c: Expand comments to describe
4250         semaphore-like and mutex-like uses of PD->lock.
4252 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4254         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
4255         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
4256         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
4257         auto-generation list.
4258         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4259         epoll_wait.
4260         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
4261         Remove epoll_wait.
4263         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
4264         osf_select.
4265         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
4266         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
4267         osf_select from auto-generation list.
4268         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4269         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4270         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
4271         * sysdeps/unix/sysv/linux/select.c: New file.
4273         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
4274         * sysdeps/unix/sysv/linux/poll.c: New file.
4275         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
4276         auto-generation list.
4278 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
4280         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
4281         New macro.
4283 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
4285         [BZ #21179]
4286         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
4287         R_SPARC_REGISTER relocations.
4289 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4291         * include/unistd.h (__pread): Add libc_hidden_proto.
4292         (__pread64): Likewise.
4293         (__pwrite): Likewise.
4294         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
4295         (__pread64): Remove.
4296         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
4297         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
4298         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
4300 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4304 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4306         * nptl/tst-cancel4-common.c: Use libsupport.
4307         * nptl/tst-cancel4-common.h: Likewise.
4308         * nptl/tst-cancel4.c (tf_read): Likewise.
4309         (tf_readv): Likewise.
4310         (tf_write): Likewise.
4311         (tf_writev): Likewise.
4312         (tf_sleep): Likewise.
4313         (tf_usleep): Likewise.
4314         (tf_nanosleep): Likewise.
4315         (tf_select): Likewise.
4316         (tf_pselect): Likewise.
4317         (tf_poll): Likewise.
4318         (tf_ppoll): Likewise.
4319         (tf_wait): Likewise.
4320         (tf_waitpid): Likewise.
4321         (tf_waitid): Likewise.
4322         (tf_sigpause): Likewise.
4323         (tf_sigsuspend): Likewise.
4324         (tf_sigwait): Likewise.
4325         (tf_sigwaitinfo): Likewise.
4326         (tf_sigtimedwait): Likewise.
4327         (tf_pause): Likewise.
4328         (tf_accept): Likewise.
4329         (tf_send): Likewise.
4330         (tf_recv): Likewise.
4331         (tf_recvfrom): Likewise.
4332         (tf_recvmsg): Likewise.
4333         (tf_open): Likewise.
4334         (tf_close): Likewise.
4335         (tf_pread): Likewise.
4336         (tf_pwrite): Likewise.
4337         (tf_preadv): Likewise.
4338         (tf_pwritev): Likewise.
4339         (tf_fsync): Likewise.
4340         (tf_fdatasync): Likewise.
4341         (tf_msync): Likewise.
4342         (tf_sendto): Likewise.
4343         (tf_sendmsg): Likewise.
4344         (tf_creat): Likewise.
4345         (tf_connect): Likewise.
4346         (tf_tcdrain): Likewise.
4347         (tf_msgrcv): Likewise.
4348         (tf_msgsnd): Likewise.
4349         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
4350         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
4352         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
4353         expected arguments.
4354         (do_test): Adapt to use libsupport.
4356 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
4358         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
4360         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
4361         (PF_MAX): Set to 44.
4362         (AF_SMC): New macro.
4364         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4365         kernel version to 4.11.
4367 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4369         [BZ #21280]
4370         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
4371         signal of subnormals and adjust the exponent of power of 2 down
4372         when low part has opposite sign.
4374 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4376         * sysdeps/powerpc/powerpc64le/Implies: New file.
4377         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
4378         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
4379         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
4380         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
4381         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
4382         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
4383         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
4384         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
4385         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
4386         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
4387         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
4388         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
4389         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
4390         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
4391         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
4392         * sysdeps/powerpc/preconfigure: New file.
4393         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
4394         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
4396 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
4398         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
4399         inclusion.
4400         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
4401         Remove.
4403 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
4405         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
4406         (XPG3): Rename standard to XPG4.
4407         * conform/Makefile: Likewise.
4408         * conform/list-header-symbols.pl: Likewise.
4409         * conform/data/aio.h-data: Likewise.
4410         * conform/data/arpa/inet.h-data: Likewise.
4411         * conform/data/complex.h-data: Likewise.
4412         * conform/data/ctype.h-data: Likewise.
4413         * conform/data/dlfcn.h-data: Likewise.
4414         * conform/data/fcntl.h-data: Likewise.
4415         * conform/data/fenv.h-data: Likewise.
4416         * conform/data/float.h-data: Likewise.
4417         * conform/data/fmtmsg.h-data: Likewise.
4418         * conform/data/ftw.h-data: Likewise.
4419         * conform/data/grp.h-data: Likewise.
4420         * conform/data/inttypes.h-data: Likewise.
4421         * conform/data/iso646.h-data: Likewise.
4422         * conform/data/langinfo.h-data: Likewise.
4423         * conform/data/libgen.h-data: Likewise.
4424         * conform/data/limits.h-data: Likewise.
4425         * conform/data/locale.h-data: Likewise.
4426         * conform/data/math.h-data: Likewise.
4427         * conform/data/mqueue.h-data: Likewise.
4428         * conform/data/ndbm.h-data: Likewise.
4429         * conform/data/net/if.h-data: Likewise.
4430         * conform/data/netdb.h-data: Likewise.
4431         * conform/data/netinet/in.h-data: Likewise.
4432         * conform/data/poll.h-data: Likewise.
4433         * conform/data/pthread.h-data: Likewise.
4434         * conform/data/pwd.h-data: Likewise.
4435         * conform/data/sched.h-data: Likewise.
4436         * conform/data/search.h-data: Likewise.
4437         * conform/data/semaphore.h-data: Likewise.
4438         * conform/data/signal.h-data: Likewise.
4439         * conform/data/spawn.h-data: Likewise.
4440         * conform/data/stdbool.h-data: Likewise.
4441         * conform/data/stdint.h-data: Likewise.
4442         * conform/data/stdio.h-data: Likewise.
4443         * conform/data/stdlib.h-data: Likewise.
4444         * conform/data/string.h-data: Likewise.
4445         * conform/data/strings.h-data: Likewise.
4446         * conform/data/stropts.h-data: Likewise.
4447         * conform/data/sys/mman.h-data: Likewise.
4448         * conform/data/sys/resource.h-data: Likewise.
4449         * conform/data/sys/select.h-data: Likewise.
4450         * conform/data/sys/socket.h-data: Likewise.
4451         * conform/data/sys/stat.h-data: Likewise.
4452         * conform/data/sys/statvfs.h-data: Likewise.
4453         * conform/data/sys/time.h-data: Likewise.
4454         * conform/data/sys/timeb.h-data: Likewise.
4455         * conform/data/sys/types.h-data: Likewise.
4456         * conform/data/sys/uio.h-data: Likewise.
4457         * conform/data/sys/un.h-data: Likewise.
4458         * conform/data/sys/wait.h-data: Likewise.
4459         * conform/data/syslog.h-data: Likewise.
4460         * conform/data/termios.h-data: Likewise.
4461         * conform/data/tgmath.h-data: Likewise.
4462         * conform/data/time.h-data: Likewise.
4463         * conform/data/ucontext.h-data: Likewise.
4464         * conform/data/unistd.h-data: Likewise.
4465         * conform/data/utmpx.h-data: Likewise.
4466         * conform/data/varargs.h-data: Likewise.
4467         * conform/data/wchar.h-data: Likewise.
4468         * conform/data/wctype.h-data: Likewise.
4470 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
4472         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
4473         version to 7 branch.
4475 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
4477         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
4478         earlyclobber to output operand of sqrt insn.
4479         (__ieee754_sqrtf): Ditto.
4481 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
4483         [BZ #21426]
4484         * misc/bits/types/struct_iovec.h: New file.
4485         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
4486         * include/bits/types/struct_iovec.h: New file.
4487         * bits/uio.h (struct iovec): Replace by inclusion of
4488         <bits/types/struct_iovec.h>.
4489         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
4490         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
4491         of <sys/uio.h>.
4492         * nptl/tst-cancel4.c: Include <sys/uio.h>
4493         * posix/test-errno.c: Likewise.
4494         * support/resolv_test.c: Likewise.
4495         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
4496         Remove.
4497         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4498         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4499         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4501         * conform/data/sys/socket.h-data (*_t): Allow.
4503 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4505         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
4506         assignment.
4508 2017-04-24  Daurnimator  <quae@daurnimator.com>
4509             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4511         [BZ #21340]
4512         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
4513         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
4514         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
4515         valid flags.
4516         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
4517         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
4518         POSIX_SPAWN_SETSID.
4519         * sysdeps/posix/spawni.c (__spawni): Likewise.
4520         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4521         * NEWS: Add note about POSIX_SPAWN_SETSID support.
4523 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4525         * sysdeps/generic/math_private.h: Move the declaration of many
4526         functions to sysdeps/generic/math_private_calls.h.
4527         * sysdeps/generic/math_private_calls.h: New file with the
4528         declarations of the functions removed from math_private.h
4529         macroized by floating-point type.
4531 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4533         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
4534         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
4535         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
4536         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
4537         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
4538         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
4540 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4542         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
4543         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
4544         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
4545         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
4546         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
4547         New Define.
4549 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4551         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
4552         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
4553         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
4554         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
4555         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
4556         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
4558 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4560         * sysdeps/s390/multiarch/ifunc-resolve.h
4561         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
4562         * sysdeps/s390/multiarch/8bit-generic.c
4563         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
4564         define ifunc resolvers.
4566 2017-04-21  Florian Weimer  <fweimer@redhat.com>
4568         [BZ #20424]
4569         * manual/memory.texi (Replacing malloc): New section.
4570         (Allocating Storage For Program Data): Reference it.
4571         (The GNU Allocator): Likewise.
4573 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
4575         * stdlib/Versions (__strtod_internal): List explicitly, not as
4576         wildcard.
4577         (__strtof_internal): Likewise.
4578         (__strtold_internal): Likewise.
4579         (__strtol_internal): Likewise.
4580         (__strtoll_internal): Likewise.
4581         (__strtoul_internal): Likewise.
4582         (__strtoull_internal): Likewise.
4583         (__strtoq_internal): Likewise.
4584         (__strtouq_internal): Likewise.
4585         * wcsmbs/Versions (__wcstod_internal): Likewise.
4586         (__wcstof_internal): Likewise.
4587         (__wcstold_internal): Likewise.
4588         (__wcstol_internal): Likewise.
4589         (__wcstoll_internal): Likewise.
4590         (__wcstoul_internal): Likewise.
4591         (__wcstoull_internal): Likewise.
4593 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4595         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
4596         struct timespec definition.
4598 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4600         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
4602 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4604         * inet/rcmd.c (rresvport_af): Fix typo in comment.
4605         * inet/rexec.c (rexec_af): Likewise.
4607 2017-04-19  Zack Weinberg  <zackw@panix.com>
4609         * posix/tst-mmap-offset.c: Include stdint.h.
4610         * resolv/tst-ns_name_compress.c: Include string.h.
4611         * resolv/tst-resolv-edns.c: Include resolv.h.
4613 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4615         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
4616         with __glibc_likely.
4617         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
4618         Replace __builtin_expect with __glibc_unlikely.
4619         * resolv/res_init.c (__res_vinit): Likewise.
4620         * resolv/res_query.c (__libc_res_nquery): Likewise.
4621         * resolv/res_send.c (__libc_res_nsend): Likewise.
4623 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4625         [BZ #15722]
4626         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
4627         with SOCK_CLOEXEC.
4628         * resolv/res_send.c (send_vc, reopen): Likewise.
4629         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
4630         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
4631         Likewise.
4632         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
4633         * inet/rexec.c (rexec_af): Add comment.
4634         * inet/rcmd.c (rresvport_af): Likewise.
4636 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4638         * nscd/connections.c (have_accept4): Removed definition.
4639         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
4640         accept4 works.
4641         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
4642         ia64 because that was the first version with accept4 support.
4643         * support/Makefile (libsupport-routines): Add xaccept4.
4644         * support/xsocket.h (xaccept4): Declare.
4645         * support/xaccept4.c: New file.
4646         * socket/tst-accept4.c: New file.
4647         * socket/Makefile (tests): Add tst-accept4.
4648         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
4649         definition.
4650         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
4651         comment.
4652         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
4653         implementation is available.
4654         (accept4): Use the system call if available, otherwise use the
4655         socket call.
4656         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
4657         Set to 3.2.18.
4658         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4659         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
4660         accept4 is unconditionally available in later 3.2 stable kernels.
4661         (__ASSUME_ACCEPT4_SYSCALL): Define.
4662         * sysdeps/unix/sysv/linux/kernel-features.h
4663         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
4664         definitions.
4665         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4666         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
4668 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
4670         * conform/Makefile (tests-special): Do not make addition of
4671         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
4672         (generated): Do not make addition of $(conformtest-header-base)
4673         conditional on [$(cross-compiling) = no].
4675         [BZ #21267]
4676         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
4677         if defined by <asm/socket.h> and not previously defined.
4678         (IOCSIZE_SHIFT): Likewise.
4679         (IOC_IN): Likewise.
4680         (IOC_INOUT): Likewise.
4681         (IOC_OUT): Likewise.
4683 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4685         [BZ #21396]
4686         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4687         Prefer_No_AVX512 if AVX512ER isn't available.
4688         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
4689         (index_arch_Prefer_No_AVX512): Likewise.
4690         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
4691         AVX512 version if Prefer_No_AVX512 is set.
4692         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
4693         Likewise.
4694         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
4695         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
4696         Likewise.
4697         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4698         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
4699         Likewise.
4700         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
4701         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
4702         Likewise.
4704 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4706         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4707         Prefer_No_VZEROUPPER if AVX512ER is available.
4708         * sysdeps/x86/cpu-features.h
4709         (bit_cpu_AVX512PF): New.
4710         (bit_cpu_AVX512ER): Likewise.
4711         (bit_cpu_AVX512CD): Likewise.
4712         (bit_cpu_AVX512BW): Likewise.
4713         (bit_cpu_AVX512VL): Likewise.
4714         (index_cpu_AVX512PF): Likewise.
4715         (index_cpu_AVX512ER): Likewise.
4716         (index_cpu_AVX512CD): Likewise.
4717         (index_cpu_AVX512BW): Likewise.
4718         (index_cpu_AVX512VL): Likewise.
4719         (reg_AVX512PF): Likewise.
4720         (reg_AVX512ER): Likewise.
4721         (reg_AVX512CD): Likewise.
4722         (reg_AVX512BW): Likewise.
4723         (reg_AVX512VL): Likewise.
4725 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4727         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
4728         O_CLOEXEC is defined.
4729         * include/fcntl.h (__have_o_cloexec): Remove declaration.
4730         * io/Makefile (aux): Remove.
4731         * io/have_o_cloexec.c: Remove file.
4732         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
4733         defined and works.
4734         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
4735         defined.
4736         * login/utmp_file.c (O_flags): Remove definition.
4737         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
4738         O_CLOEXEC works.
4739         (pututline_file): Likewise.
4740         * malloc/mtrace.c: Assume that O_CLOEXEC works.
4741         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
4742         definition.
4743         (internal_setgrent): Assume that O_CLOEXEC works.
4744         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
4745         Remove definition.
4746         (internal_setgrent): Assume that O_CLOEXEC works.
4747         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
4748         definition.
4749         (internal_setpwent): Assume that O_CLOEXEC works.
4750         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
4751         definition.
4752         (internal_setspent): Assume that O_CLOEXEC works.
4753         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
4754         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
4755         O_CLOEXEC is defined and works.
4756         * nss/Makefile (libnss_files-routines): Remove
4757         files-have_o_cloexec.
4758         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
4759         defined.
4760         * nss/nss_files/files-XXX.c (internal_setent): Assume that
4761         O_CLOEXEC is defined and works.
4762         * nss/nss_files/files-alias.c (internal_setent): Likewise.
4763         * nss/nss_files/files-have_o_cloexec.c: Remove.
4764         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
4765         defined.
4766         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
4767         and works.
4768         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
4769         definition.
4770         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
4771         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
4772         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
4773         (__opendirat, __opendir): Adjust opendir_oflags call.
4774         (check_have_o_cloexec): Remove.
4775         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
4776         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
4777         defined.
4778         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
4779         Remove definition.
4781 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4783         * include/unistd.h (__have_dup3): Remove declaration.
4784         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
4785         dup3 is available.
4786         * libio/freopen64.c (freopen64): Likewise.
4787         * socket/Makefile (aux): Remove have_sock_cloexec.
4788         * socket/have_sock_cloexec.c: Remove file.
4789         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
4790         definition.
4791         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
4792         Likewise.
4793         * sysdeps/nacl/kernel-features.h: Update comment.
4795 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4797         * include/unistd.h (__have_pipe2): Remove declaration.
4798         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
4799         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
4800         available.
4801         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
4802         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
4803         Remove definition.
4805 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4807         * malloc/malloc.c (cfree): Turn into compat symbol.
4808         (__cfree): Remove alias.
4809         * stdlib/stdlib.h (cfree): Remove declaration.
4810         * malloc/malloc.h (cfree): Likewise.
4811         * manual/memory.texi (Freeing after Malloc): Remove cfree.
4812         * malloc/Versions (GLIBC_2.26): Add.
4814 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4816         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4817         (sysdep_routines): Add strrchr-power8.
4818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4819         (strrchr): Add __strrchr_power8 to list of strrchr functions.
4820         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
4821         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
4822         (strrchr): Add __strrchr_power8 to ifunc list.
4823         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
4825 2017-04-17  Rabin Vincent  <rabinv@axis.com>
4827         [BZ #21357]
4828         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
4829         Call free() outside of mutex.
4831 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4833         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
4834         is defined.
4835         * elf/rtld.c (process_envvars): Likewise.
4836         * sysdeps/posix/shm_open.c (shm_open): Likewise.
4837         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
4838         O_NOFOLLOW directly.
4839         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
4841 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4843         [BZ #21369]
4844         Remove EDNS fallback.
4845         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
4846         handling.
4847         * resolv/res_send.c (send_dg): Likewise.
4848         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
4849         "tcp." prefixes.
4850         (do_test): Send a "formerr."-prefixed query in an attempt to
4851         trigger EDNS fallback.
4853 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4855         [BZ #21361]
4856         Limit EDNS buffer size to 1200 bytes.
4857         * include/resolv.h (__res_nopt): Remove declaration.
4858         * resolv/Makefile (tests): tst-resolv-edns.
4859         (tst-resolv-edns): Link with -lresolv, -lpthread.
4860         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
4861         interval [512, 1200].
4862         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
4863         we can resize the buffer.
4864         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
4865         (__res_nopt): Declare.
4866         * resolv/tst-resolv-edns.c: New file.
4867         * resolv/resolv_test.h (struct resolv_edns_info): Define.
4868         (struct resolv_response_context): Add edns member.
4869         * resolv/resolv_test.c (struct query_info): Add edns member.
4870         (parse_query): Extract EDNS information from the query.
4871         (server_thread_udp_process_one): Propagate EDNS data.
4872         (server_thread_tcp_client): Likewise.
4874 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4876         [BZ #21359]
4877         * resolv/ns_name.c (ns_name_pack): Do not require an additional
4878         byte in the destination buffer.  Avoid out-of-bounds pointer
4879         arithmetic.
4880         * resolv/Makefile (tests): Add tst-ns_name_compress.
4881         (tst-ns_name_compress): Link with -lresolv.
4882         * resolv/tst-ns_name_compress.c: New file.
4883         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
4884         (response): Recognize LONG_NAME.
4885         (do_test): Add LONG_NAME tests.
4886         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
4887         for ns_name_unpack.  Add tests for ns_name_pton and
4888         ns_name_compress.
4890 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4892         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
4893         (res_nisourserver): Remove definition.
4894         (p_section, res_npquery, res_nisourserver): Remove declaration.
4895         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
4896         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
4897         ... here.
4898         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
4899         <resolv.h>.
4900         * resolv/res_query.c: Likewise.
4901         * resolv/res_debug.c (p_section): Define as static.
4903 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4905         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
4906         strncat-power8.
4907         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
4908         __strncat_power8 to ifunc list.
4909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4910         (strncat): Add __strncat_power8 to list of strncat functions.
4911         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
4913 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4915         [BZ #21270]
4916         * posix/tst-mmap-offset.c (do_prepare): New function.
4917         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
4918         (do_test_bz21270): New function.
4919         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
4920         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
4921         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
4922         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
4923         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
4924         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
4925         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
4926         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
4927         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
4928         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
4929         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
4930         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4931         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4932         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4933         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
4934         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
4935         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4936         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
4937         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
4938         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
4939         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
4940         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
4941         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
4942         from auto-generation list.
4943         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
4944         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4945         * sysdeps/unix/sysv/linux/mmap.c: New file.
4946         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
4947         offsets and support for mmap2 syscall.
4949         * posix/globtest.sh: Add cleanup routine on trap 0.
4951 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4953         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
4954         implementation-specific function name and remove unneeded
4955         macros definition.
4956         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
4957         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
4958         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
4959         name if not defined and pass as parameter to macros accordingly.
4960         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4961         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
4963         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
4964         implementation-specific function name and remove unneeded
4965         macros definition.
4966         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
4967         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
4968         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
4969         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
4970         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4971         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
4972         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
4973         name if not defined and pass as parameter to macros accordingly.
4974         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4975         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4976         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4977         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4978         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4979         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
4981         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
4982         implementation-specific function name and remove unneeded macros
4983         definition.
4984         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
4985         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
4986         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
4987         function name if not defined and pass as parameter to macros
4988         accordingly.
4989         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4990         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
4992         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
4993         implementation-specific function name and remove unneeded macros
4994         definition.
4995         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4996         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4997         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
4998         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4999         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
5000         not defined and pass as parameter to macros accordingly.
5001         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5002         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5003         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5004         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
5006         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
5007         strcasestr implementation name and remove unneeded macros definition.
5008         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
5009         strstr implementation name and remove unneeded macros definition.
5010         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
5011         name if not defined and pass as parameter to macros accordingly.
5012         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
5014         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
5015         implementation-specific function name and remove unneeded macros
5016         definition.
5017         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
5018         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
5019         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
5020         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
5021         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
5022         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
5023         function name if not defined and pass as parameter to macros
5024         accordingly.
5025         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
5026         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
5027         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
5028         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
5030         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
5031         the strlen implementation name and remove unneeded macros definition.
5032         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
5033         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5034         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
5035         the strnlen implementation name and remove unneeded macros definition.
5036         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
5037         name if not defined and pass as parameter to macros accordingly.
5038         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
5039         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
5040         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5042         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
5043         the implementation-specific function name and remove unneeded
5044         macros definition.
5045         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
5046         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
5047         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5048         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5049         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
5050         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
5051         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5052         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5053         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5054         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
5055         name if not defined and pass as parameter to macros accordingly.
5056         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
5057         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5058         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
5059         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
5060         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5061         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
5062         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
5063         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5065         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
5066         implementation-specific function name and remove unneeded macros
5067         definition.
5068         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
5069         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
5070         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
5071         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
5072         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
5073         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
5074         function name if not defined.
5075         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
5076         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
5078 2017-04-11  Paul Clarke  <pc@us.ibm.com>
5080         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
5081         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
5082         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
5083         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
5085 2017-04-11  Florian Weimer  <fweimer@redhat.com>
5086             Zack Weinberg  <zackw@panix.com>
5088         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
5089         readdir64 as thread-safe.  Update warning about readdir_r.
5091 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5093         * sysdeps/unix/sysv/linux/x86/Implies: New file.
5094         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
5095         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
5096         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
5097         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
5098         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
5099         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5101 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
5103         * sysdeps/i386/dl-procinfo.c: Include
5104         <sysdeps/x86/dl-procinfo.c>.
5105         * sysdeps/x86_64/dl-procinfo.c: Likewise.
5106         * sysdeps/x86/dl-procinfo.c: New file.
5108 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5110         * sysdeps/generic/math_private.h: Remove declarations of
5111         many functions that are already declared in math.h.
5112         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
5113         declaration for __frexpl.
5114         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
5115         the declarations for __scalbnl and fabsl.
5117 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
5119         [BZ #20831]
5120         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
5121         of __mprotect to change protection on the excess portion
5122         to disallow all access.
5124 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
5126         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
5127         HAS_CPU_FEATURE to check for SSE.
5128         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5129         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
5130         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
5131         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
5132         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
5133         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
5134         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
5135         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
5136         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5137         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
5138         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5139         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
5140         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
5141         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
5142         (index_cpu_SSE): Likewise.
5143         (reg_SSE): Likewise.
5145 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
5147         * posix/getopt1.c: Include <config.h>, not "config.h".
5149 2017-04-07  Zack Weinberg  <zackw@panix.com>
5151         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
5152         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
5153         Mention in top-of-file boilerplate that these files are shared
5154         with gnulib.
5155         * posix/getopt.h, posix/bits/getopt_posix.h:
5156         Mention in top-of-file boilerplate that these files are NOT shared
5157         with gnulib, unlike the rest of the getopt implementation.
5159         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
5160         New files, intended to be shared with gnulib.
5161         * posix/bits/getopt_posix.h:
5162         New file, not intended to be shared with gnulib.
5163         * posix/getopt.h: Now just includes features.h,
5164         bits/getopt_core.h, and bits/getopt_ext.h.  Will
5165         no longer be shared with gnulib.
5166         * include/bits/getopt_core.h, include/bits/getopt_ext.h
5167         * include/bits/getopt_posix.h: New wrappers.
5168         * posix/Makefile: Install new headers.
5169         * posix/unistd.h, libio/stdio.h:
5170         Include bits/getopt_posix.h instead of getopt.h.
5172         * include/libc-symbols.h: For gnulib compatibility, define
5173         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
5174         _GL_ATTRIBUTE_CONST.
5175         * posix/getopt.c (_getopt_initialize): Mark argc and argv
5176         parameters with _GL_UNUSED.
5178         * posix/getopt.c: When used standalone, define __libc_use_alloca
5179         as always false and alloca to abort if called.
5180         (process_long_option): Rewrite handling of ambiguous long options
5181         to use a single boolean vector, not a linked list; use
5182         __libc_use_alloca to decide whether to allocate this using alloca.
5183         * posix/tst-getopt_long1.c: Adjust text of expected error message.
5185         * posix/getopt.c (process_long_option): New function split out
5186         from _getopt_internal_r.
5187         (_getopt_internal_r): Replace both copies of the long-option
5188         processing code with calls to process_long_option.
5189         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
5190         (do_test): Differentiate argv[0] in the two subtests.
5192         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
5193         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
5194         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
5196         * posix/getopt.h: Add backup definition of __nonnull for
5197         consistency with gnulib.  Define __getopt_argv_const to const
5198         if not already defined.
5199         (getopt): Update doc comment from gnulib.  Prototype
5200         unconditionally.  Add __nonnull annotation.
5201         (__posix_getopt): Add __nonnull annotation.
5202         (getopt_long, getopt_long_only): Use __getopt_argv_const in
5203         prototypes for consistency with gnulib.  Add __nonnull
5204         annotations.
5205         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
5206         (getopt_internal): Change 'argv' argument to type 'char **'.
5207         Remove now-unnecessary casts.
5208         (getopt, __posix_getopt): Eliminate repetition with a macro.
5209         Cast 'argv' to 'char **' when calling _getopt_internal.
5210         * posix/getopt1.c (getopt_long, getopt_long_only):
5211         Use __getopt_argv_const for consistency with gnulib.
5212         Cast 'argv' to 'char **' when calling _getopt_internal.
5213         (_getopt_long_r, _getopt_long_only_r):
5214         Change 'argv' argument to type 'char **'.
5215         (main): Constify 'long_options'.
5216         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
5217         (_getopt_long_r, _getopt_long_only_r):
5218         Change 'argv' argument to type 'char **'.
5220         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
5221         (locked_vfxprintf): New helper function. Handle arbitrary
5222         multibyte strings, not just ASCII.
5223         * include/stdio.h: Declare __fxprintf_nocancel.
5224         * posix/getopt.c: When _LIBC is defined, define fprintf to
5225         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
5226         to _IO_funlockfile.  When neither _LIBC nor
5227         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
5228         funlockfile as no-ops.
5229         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
5230         the standalone error-printing code can now be used for libc as
5231         well.  Add an flockfile/funlockfile pair around one case where
5232         the error message is printed in several chunks.  Don't use fputc.
5233         * posix/tst-getopt-cancel.c: New test.
5234         * posix/Makefile: Run it.
5236         * posix/getopt.c (_getopt_internal_r): Don't increment
5237         d->optind a second time when reporting ambiguous -W options.
5239         * posix/getopt_int.h: Include getopt.h.
5240         Use impl-namespace names for all arguments to _getopt_internal and
5241         _getopt_internal_r.
5242         Declare __ordering enum outside the struct.
5243         Harmonize comments with gnulib.
5244         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
5245         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
5246         #ifdef TEST block and make unconditional.  Do not define NULL.
5247         * posix/getopt.c: Partial merge from gnulib, covering the
5248         initial includes and global declarations, commentary, and
5249         a couple of semantically-neutral code changes.
5251         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
5252         Use '...' instead of `...' for quotation marks inside
5253         comments and strings.
5255         * config.h.in (USE_NONOPTION_FLAGS): Remove.
5256         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
5257         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
5258         * posix/getopt_int.h: Likewise.
5259         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
5260         __libc_argc and __libc_argv externs, which were only used by
5261         #ifdef USE_NONOPTION_FLAGS blocks.
5262         * posix/getopt_init.c: Remove file.
5263         * posix/Makefile (routines): Remove getopt_init.
5264         * include/getopt.h: Don't declare __getopt_initialize_environment.
5265         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
5266         a comment.
5268 2017-04-07  Florian Weimer  <fweimer@redhat.com>
5270         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
5272 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5274         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
5275         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
5276         to __wrap_.udiv.
5277         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
5278         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
5280         * sysdeps/i386/symbol-hacks.h: New file.
5281         * sysdeps/m68k/symbol-hacks.h: New file.
5282         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
5283         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
5284         * sysdeps/unix/sysv/linux/i386/Makefile
5285         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
5286         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5287         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5288         * sysdeps/unix/sysv/linux/m68k/Makefile
5289         [$(subdir) = csu] (sysdep_routines): Likewise.
5290         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5291         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5293         [$(subdir) = csu] (sysdep_routines): Likewise.
5294         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5295         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5296         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5297         [$(subdir) = csu] (sysdep_routines): Likewise.
5298         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5299         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5300         * sysdeps/wordsize-32/Makefile: Remove file.
5301         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
5302         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
5304 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
5306         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
5307         (TEST_FUNCTION_ARGV): New.
5309 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5311         * elf/next.c: Import support/test-driver.c instead of
5312         test-skeleton.c and delete TEST_FUNCTION macro definition.
5313         * elf/nodelete.c: Likewise.
5314         * elf/order2.c: Likewise.
5315         * elf/tst-_dl_addr_inside_object.c: Likewise.
5316         * elf/tst-addr1.c: Likewise.
5317         * elf/tst-align.c: Likewise.
5318         * elf/tst-align2.c: Likewise.
5319         * elf/tst-audit11.c: Likewise.
5320         * elf/tst-audit12.c: Likewise.
5321         * elf/tst-audit2.c: Likewise.
5322         * elf/tst-audit9.c: Likewise.
5323         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
5324         * elf/tst-deep1.c: Likewise.
5325         * elf/tst-dl-iter-static.c: Likewise.
5326         * elf/tst-dlmodcount.c: Likewise.
5327         * elf/tst-dlmopen1.c: Likewise.
5328         * elf/tst-dlmopen2.c: Likewise.
5329         * elf/tst-dlmopen3.c: Likewise.
5330         * elf/tst-dlopen-aout.c: Likewise.
5331         * elf/tst-dlopenrpath.c: Likewise.
5332         * elf/tst-dlsym-error.c: Likewise.
5333         * elf/tst-execstack-needed.c: Likewise.
5334         * elf/tst-execstack-prog.c: Likewise.
5335         * elf/tst-execstack.c: Likewise.
5336         * elf/tst-global1.c: Likewise.
5337         * elf/tst-gnu2-tls1.c: Likewise.
5338         * elf/tst-latepthread.c: Likewise.
5339         * elf/tst-leaks1.c: Likewise.
5340         * elf/tst-linkall-static.c: Likewise.
5341         (do_test): New function.
5342         * elf/tst-nodelete-opened.c: Likewise.
5343         * elf/tst-nodelete.cc: Likewise.
5344         * elf/tst-nodelete2.c: Likewise.
5345         * elf/tst-noload.c: Likewise.
5346         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
5347         * elf/tst-order-main.c: Likewise.
5348         * elf/tst-pathopt.c: Likewise.
5349         * elf/tst-pie2.c: Likewise.
5350         * elf/tst-piemod1.c: Likewise.
5351         * elf/tst-prelink.c: Likewise.
5352         * elf/tst-protected1a.c: Likewise.
5353         * elf/tst-protected1b.c: Likewise.
5354         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
5355         and define _GNU_SOURCE macro.
5356         (cmdline_process_function): New function.
5357         * elf/tst-relsort1.c: Likewise.
5358         * elf/tst-stackguard1.c: Likewise, import getopt.h,
5359         and define _GNU_SOURCE macro.
5360         (cmdline_process_function): New function.
5361         * elf/tst-thrlock.c: Likewise.
5362         * elf/tst-tls-dlinfo.c: Likewise.
5363         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
5364         * elf/tst-tls1.c: Likewise.
5365         * elf/tst-tls10.c: Likewise.
5366         * elf/tst-tls11.c: Likewise.
5367         * elf/tst-tls12.c: Likewise.
5368         * elf/tst-tls13.c: Likewise.
5369         * elf/tst-tls14.c: Likewise.
5370         * elf/tst-tls15.c: Likewise.
5371         * elf/tst-tls16.c: Likewise.
5372         * elf/tst-tls17.c: Likewise.
5373         * elf/tst-tls18.c: Likewise.
5374         * elf/tst-tls19.c: Likewise.
5375         * elf/tst-tls2.c: Likewise.
5376         * elf/tst-tls3.c: Likewise.
5377         * elf/tst-tls4.c: Likewise.
5378         * elf/tst-tls5.c: Likewise.
5379         * elf/tst-tls6.c: Likewise.
5380         * elf/tst-tls7.c: Likewise.
5381         * elf/tst-tls8.c: Likewise.
5382         * elf/tst-tls9.c: Likewise.
5383         * elf/tst-tlsalign-extern.c: Likewise.
5384         * elf/tst-tlsalign.c: Likewise.
5385         * elf/tst-unique1.c: Likewise.
5386         * elf/tst-unique2.c: Likewise.
5387         * elf/vismain.c: Likewise.
5389 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5391         * string/test-strnlen.c (do_page_tests): New function
5392         to check length of strings ending at the page boundary.
5393         (test_main): Added call to the do_page_tests function.
5395 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5396             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5398         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5399         (sysdep_routines): Add strnlen-power8.
5400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5401         (strnlen): Add __strnlen_power8 to list of strnlen functions.
5402         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
5403         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
5404         (__strnlen): Add __strnlen_power8 to ifunc list.
5405         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
5407 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5409         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
5410         the TEST_FUNCTION macro definition.
5411         * wcsmbs/tst-mbrtowc2.c: Likewise.
5412         * wcsmbs/tst-mbsrtowcs.c: Likewise.
5413         * wcsmbs/tst-wchar-h.c: Likewise.
5414         * wcsmbs/tst-wcpncpy.c: Likewise.
5415         * wcsmbs/tst-wcrtomb.c: Likewise.
5416         * wcsmbs/tst-wcsnlen.c: Likewise.
5417         * wcsmbs/tst-wcstof.c: Likewise.
5419 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5421         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
5422         CALL_THREAD_FCT macro usage.
5423         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
5424         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
5425         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
5427         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
5428         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5429         (__ASSUME_REQUEUE_PI): Likewise.
5430         * sysdeps/unix/sysv/linux/kernel-features.h
5431         (__ASSUME_REQUEUE_PI): Likewise.
5432         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5433         (__ASSUME_REQUEUE_PI): Likewise.
5434         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5435         (__ASSUME_REQUEUE_PI): Likewise.
5436         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5437         (__ASSUME_REQUEUE_PI): Likewise.
5439 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5441         * resolv/tst-resolv-canonname.c: New file.
5442         * resolv/Makefile (tests): Add tst-resolv-canonname.
5443         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
5445 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5447         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
5448         Declare.
5449         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
5450         (NS_MAXCDNAME): Remove definition.
5451         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
5452         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
5453         (NS_MAXCDNAME): Remove definition.
5454         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
5456 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5458         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
5459         call whose result is not used.
5461 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5463         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
5464         * resolv/Makefile (tests): Add tst-ns_name.
5465         (tst-ns_name): Link with -lresolv.
5466         (tst-ns_name.out): Depend on the input data file.
5468 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
5470         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
5471         Clobber also r14.
5473 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
5475         [BZ #21253]
5476         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
5477         slack space by 32KiB.
5479 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
5481         [BZ #21338]
5482         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
5483         instead of incorrect do_set_arena_test
5485 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5487         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
5488         * math/bits/math-finite.h: Likewise.
5490 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
5492         [BZ #21289]
5493         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
5495 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5497         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
5498         non expected inotify_add_watch and quotactl return.
5500 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5502         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
5503         to int32_t.
5504         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
5505         as returning int32_t.
5507 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5509         * math/math.h: Include bits/math-finite.h once per
5510         floating-point type.
5511         * math/bits/math-finite.h: Macroize all declarations by
5512         floating-point type.
5514 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5516         [BZ #21182]
5517         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
5518         near end of a page.
5519         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
5520         overflow calculation.
5522 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
5524         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
5525         (IMPL) Call with 1 instead of 0 as argument.
5527 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5529         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5530         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5531         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5532         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5533         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5534         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5535         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5536         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5537         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5538         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5539         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5540         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5541         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5542         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5543         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5544         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5545         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5546         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5547         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5548         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5549         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5550         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5551         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5552         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5553         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5554         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5555         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5556         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5557         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5558         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5559         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5560         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5561         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5562         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5563         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5564         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5565         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5566         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5567         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5568         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5569         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5570         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5571         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5572         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5573         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5574         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5575         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5576         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5577         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5578         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5579         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5580         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5581         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5582         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5583         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5584         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5585         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5586         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5587         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5588         defined.
5589         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5590         __NR_setgroups32 if defined.
5591         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5592         if defined.
5593         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5594         __NR_setresgid32 is defined.
5595         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5596         __NR_setresuid32 if defined.
5597         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5598         __NR_setreuid32 if defined.
5599         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5600         defined.
5601         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5602         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5603         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5604         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5605         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5606         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5607         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5608         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5609         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5610         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5611         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5612         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5613         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5614         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5615         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5616         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5617         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5618         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5619         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5620         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5621         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5622         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5623         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5624         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5625         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5626         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5627         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5628         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5629         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5630         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5631         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5632         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5633         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5634         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5635         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5636         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5637         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5638         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5639         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5640         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5641         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5642         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5643         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5644         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5645         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5646         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5647         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5648         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5649         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5650         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5651         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5652         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5653         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5654         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5655         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5656         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5657         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5658         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5659         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5660         defined.
5661         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5662         __NR_setgroups32 if defined.
5663         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5664         if defined.
5665         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5666         __NR_setresgid32 is defined.
5667         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5668         __NR_setresuid32 if defined.
5669         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5670         __NR_setreuid32 if defined.
5671         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5672         defined.
5674 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
5676         [BZ #21277]
5677         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
5678         unconditionally.
5679         (IMAXBEL): Likewise.
5680         (IUTF8): Likewise.
5682 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5684         * sysdeps/aarch64/libm-test-ulps: Update.
5686 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
5688         * README.tunables: Updated descriptions.
5689         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
5690         * scripts/gen-tunables.awk: Updated the code related to the
5691         commit.
5693 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
5695         * benchtests/Makefile (string-benchset): Add memcpy-random.
5696         * benchtests/bench-memcpy-random.c: New file.
5698 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5700         * stdio-common/printf.h (register_printf_modifier): Change the
5701         order of __wur and __THROW.
5702         (register_printf_type): Likewise.
5704 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5706         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
5707         test_main ().
5708         (CMDLINE_PROCESS): Use function instead of defined macro.
5709         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
5710         <suppport/support.h> to use set_fortify_handler().
5711         * string/bug-envz1.c: Import support/test-driver.c instead of
5712         test-skeleton.c.
5713         * string/bug-strcoll2.c: Likewise.
5714         * string/bug-strtok1.c: Likewise.
5715         * string/stratcliff.c: Likewise.
5716         * string/test-ffs.c: Likewise.
5717         * string/test-memccpy.c: Likewise.
5718         * string/test-memchr.c: Likewise.
5719         * string/test-memcmp.c: Likewise.
5720         * string/test-memcpy.c: Likewise.
5721         * string/test-memmem.c: Likewise.
5722         * string/test-memmove.c: Likewise.
5723         * string/test-memrchr.c: Likewise.
5724         * string/test-memset.c: Likewise.
5725         * string/test-rawmemchr.c: Likewise.
5726         * string/test-strcasecmp.c: Likewise.
5727         * string/test-strcasestr.c: Likewise.
5728         * string/test-strcat.c: Likewise.
5729         * string/test-strchr.c: Likewise.
5730         * string/test-strcmp.c: Likewise.
5731         * string/test-strcpy.c: Likewise.
5732         * string/test-string.h: Likewise.
5733         * string/test-strlen.c: Likewise.
5734         * string/test-strncasecmp.c: Likewise.
5735         * string/test-strncat.c: Likewise.
5736         * string/test-strncmp.c: Likewise.
5737         * string/test-strncpy.c: Likewise.
5738         * string/test-strnlen.c: Likewise.
5739         * string/test-strpbrk.c: Likewise.
5740         * string/test-strrchr.c: Likewise.
5741         * string/test-strspn.c: Likewise.
5742         * string/test-strstr.c: Likewise.
5743         * string/tst-bswap.c: Likewise.
5744         * string/tst-cmp.c: Likewise.
5745         * string/tst-endian.c: Likewise.
5746         * string/tst-inlcall.c: Likewise.
5747         * string/tst-strcoll-overflow.c: Likewise.
5748         * string/tst-strfry.c: Likewise.
5749         * string/tst-strlen.c: Likewise.
5750         * string/tst-strtok.c: Likewise.
5751         * string/tst-strtok_r.c: Likewise.
5752         * string/tst-strxfrm.c: Likewise.
5753         * string/tst-strxfrm2.c: Likewise.
5754         * string/tst-svc.c: Likewise.
5755         * string/tst-svc2.c: Likewise.
5757 2017-03-22  Zack Weinberg  <zackw@panix.com>
5759         * stdio-common/bug25.c: Include stdlib.h.
5760         * support/tst-support_format_dns_packet.c: Include stdio.h,
5761         stdlib.h, and string.h.
5762         * support/tst-support_record_failure.c: Include string.h.
5763         * support/tst-support_record_failure-2.sh: Adjust line number
5764         expectations and correct a typo in an error message.
5766 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5768         [BZ #21258]
5769         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
5770         Define only if _dl_runtime_resolve is defined to
5771         _dl_runtime_resolve_sse_vex.
5772         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
5773         Fallthrough to _dl_runtime_resolve_sse_vex.
5775 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
5777         * INSTALL: Regenerated.
5779 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
5781         * config.h.in: Add LINK_OBSOLETE_NSL.
5782         * config.make.in: Add build-obsolete-nsl.
5783         * configure.ac: Add obsolete-nsl option.
5784         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
5785         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
5786         * include/rpcsvc/nislib.h: Likewise.
5787         * include/rpcsvc/ypclnt.h: Likewise.
5788         * manual/install.texi: Document --enable-obsolete-nsl.
5789         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
5790         * nis/nis_add.c: Replace libnsl_hidden_def with
5791         libnsl_hidden_nolink_def.
5792         * nis/nis_addmember.c: Likewise.
5793         * nis/nis_call.c: Likewise.
5794         * nis/nis_clone_obj.c: Likewise.
5795         * nis/nis_defaults.c: Likeise.
5796         * nis/nis_domain_of_r.c: Likewise.
5797         * nis/nis_error.c: Likewise.
5798         * nis/nis_file.c: Likewise.
5799         * nis/nis_free.c: Likewise.
5800         * nis_local_names.c: Likewise.
5801         * nis/nis_lookup.c: Likewise.
5802         * nis/nis_modify.c: Likewise.
5803         * nis/nis_print.c: Likewise.
5804         * nis/nis_remove.c: Likewise.
5805         * nis/nis_table.c: Likewise.
5806         * nis/nis_util.c: Likewise.
5807         * nis/nis_xdr.c: Likewise.
5808         * nis/yp_xdr.c: Likewise.
5809         * nis/ypclnt.c: Likewise.
5810         * nis/ypupdate_xdr.c: Likewise.
5811         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
5812         * nis/nis_clone_dir.c: Likewise.
5813         * nis/nis_clone_res.c: Likewise.
5814         * nis/nis_creategroup.c: Likewise.
5815         * nis/nis_destroygroup.c: Likewise.
5816         * nis/nis_domain_of.c: Likewise.
5817         * nis/nis_getservlist.c: Likewise.
5818         * nis/nis_ismember.c: Likewise.
5819         * nis/nis_mkdir.c: Likewise.
5820         * nis/nis_ping.c: Likewise.
5821         * nis/nis_print_group_entry.c: Likewise.
5822         * nis/nis_removemember.c: Likewise.
5823         * nis/nis_rmdir.c: Likewise.
5824         * nis/nis_server.c: Likewise.
5825         * nis/nis_subr.c: Likewise.
5826         * nis/nis_verifygroup.c: Likewise.
5828 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5830         * malloc/tst-interpose-aux.c (check_for_allocations):
5831         Move compiler barrier before free.
5833 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
5835         [BZ #21279]
5836         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5837         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5838         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
5839         x86_64-x32-linux.
5840         (mq_attr.mq_maxmsg): Likewise.
5841         (mq_attr.mq_msgsize): Likewise.
5842         (mq_attr.mq_curmsgs): Likewise.
5844         [BZ #21278]
5845         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
5846         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5847         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
5848         mips-o32-linux.
5850         [BZ #21268]
5851         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
5852         if [__USE_MISC]
5853         (NL3): Likewise.
5855 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
5857         [BZ #21275]
5858         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
5859         __stack to __stackbase.
5860         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
5861         checks so we can include defined(__ia64__) first.
5863 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
5865         * sysdeps/unix/sysv/linux/ttyname.h: New file.
5866         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
5867         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
5868         Call is_pty when the link does not exist or does not match, fail
5869         with ENODEV when it returns true.
5870         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
5871         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
5872         Call is_pty when the link does not exist or does not match, fail
5873         with ENODEV when it returns true.
5875 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
5877         [BZ #16437]
5878         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5879         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5880         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
5881         x86_64-x32-linux.
5882         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
5883         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
5884         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
5886         [BZ #21261]
5887         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
5888         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
5889         names for all fields.
5890         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
5891         for jmp_buf field renaming.
5892         (_JMPBUF_UNWINDS_ADJ): Likewise.
5894         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
5895         with allow-header.
5897 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
5899         * malloc/malloc.c (unlink): Add consistency check between size and
5900         next->prev->size, to further harden against 1-byte overflows.
5902 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
5904         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
5905         CPU_FEATURES_CPU_P.
5907 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
5909         [BZ #21259]
5910         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
5911         unconditionally, not just for [__USE_MISC].
5913         [BZ #17786]
5914         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
5915         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
5916         mips-o32-linux.
5918         [BZ #21260]
5919         * sysdeps/unix/sysv/linux/alpha/Makefile
5920         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5921         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
5923         * conform/conformtest.pl ($cross): New variable.
5924         (--cross): New command-line option.
5925         (runtest): Skip test execution when cross-compiling.
5926         * conform/Makefile (conformtest-cross): New variable.
5927         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
5928         conformtest.pl.
5930         * conform/conformtest.pl ($xfail_str): New variable.
5931         (--xfail=): New command-line option.
5932         (top level): Handle expectations starting xfail[cond]-.
5933         * conform/Makefile (conformtest-xfail): New variable.
5934         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
5935         conformtest.pl.
5937 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
5939         * conform/conformtest.pl: Use compilation instead of execution
5940         tests for testing values of constants and usability in #if.
5942 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5944         * math/auto-libm-test-in: Mark some catan and catanh as
5945         xfail-rounding:ibm128-libgcc.
5946         * math/auto-libm-test-out-catan: Regenerate.
5947         * math/auto-libm-test-out-catanh: Likewise.
5949 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
5951         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
5952         (__END_NAMESPACE_STD): Likewise.
5953         (__USING_NAMESPACE_STD): Likewise.
5954         (__BEGIN_NAMESPACE_C99): Likewise.
5955         (__END_NAMESPACE_C99): Likewise.
5956         (__USING_NAMESPACE_C99): Likewise.
5957         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
5958         undefine macro.
5959         (_Mdouble_END_NAMESPACE): Likewise.
5960         * ctype/ctype.h: Do not handle C++ namespaces.
5961         * libio/bits/stdio-ldbl.h: Likewise.
5962         * libio/stdio.h: Likewise.
5963         * locale/locale.h: Likewise.
5964         * math/bits/mathcalls.h: Likewise.
5965         * setjmp/setjmp.h: Likewise.
5966         * signal/signal.h: Likewise.
5967         * stdlib/bits/stdlib-float.h: Likewise.
5968         * stdlib/bits/stdlib-ldbl.h: Likewise.
5969         * stdlib/stdlib.h: Likewise.
5970         * string/string.h: Likewise.
5971         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
5972         * time/bits/types/clock_t.h: Likewise.
5973         * time/bits/types/struct_tm.h: Likewise.
5974         * time/bits/types/time_t.h: Likewise.
5975         * time/time.h: Likewise.
5976         * wcsmbs/bits/wchar-ldbl.h: Likewise.
5977         * wcsmbs/uchar.h: Likewise.
5978         * wcsmbs/wchar.h: Likewise.
5979         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
5980         * wctype/wctype.h: Do not handle C++ namespaces.
5981         * scripts/begin-end-check.pl: Remove.
5982         * Makefile (installed-headers): Likewise.
5983         (tests-special): Do not add $(objpfx)begin-end-check.out.
5984         ($(objpfx)begin-end-check.out): Remove.
5986 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
5987             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5989         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
5990         (DL_PLATFORM_INIT): New define.
5991         (dl_platform_init): New function.
5992         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
5993         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
5994         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
5995         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
5996         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
5998 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
6000         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
6001         instead of PIC.
6003 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
6005         [BZ #21094]
6006         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6007         24+24+24-bit pi for wider range of values around pi/2.
6008         * math/auto-libm-test-in: Add more tests of cos and tan.
6009         * math/auto-libm-test-out-cos: Regenerated.
6010         * math/auto-libm-test-out-tan: Likewise.
6012 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
6014         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
6015         (RTLD_START): Don't record stack end address in _dl_start_user.
6017 2017-03-15  Alexey Neyman  <stilor@att.net>
6019         [BZ #21088]
6020         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
6021         around definitions match those around use.
6023 2017-03-15  Alexey Neyman  <stilor@att.net>
6025         * configure.ac: Avoid empty subexpression in grep.
6026         * configure: Regenerate.
6028 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6030         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
6031         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
6032         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
6033         (test_wrp_rv): Fix format.
6034         (test_wrp_rv2): New macro.
6035         (do_test): Handle mlock return on 64 bits kernels with 32 bits
6036         binaries.
6038 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
6040         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
6041         Use a union when storing pointers.
6042         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
6043         cast result when passing to INIT_VEC_PTRS_LOOP.
6044         (VECTOR_WRAPPER_fFF_3): Likewise.
6045         (VECTOR_WRAPPER_fFF_4): Likewise.
6047 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6049         * include/bits/mathcalls-helper-functions.h: New file.
6050         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
6051         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
6052         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
6053         math/bits/mathcalls-helper-functions.h.
6054         * math/bits/mathcalls-helper-functions.h: New file.
6055         * math/math.h: Include bits/mathcalls-helper-functions.h for
6056         float, double, and long double.
6058 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6060         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
6061         instead of feraiseexcept.
6063 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6065         [BZ #21243]
6066         * support/temp_file.c (support_delete_temp_files): Add comment
6067         about ignored errors.
6069 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6071         [BZ #21244]
6072         * support/xclose.c: New file.
6073         * support/Makefile (libsupport-routines): Add xclose.
6074         * support/xunistd.h (xclose): Declare.
6075         * support/resolv_test.c (server_thread_tcp_client)
6076         (server_thread_tcp, make_server_sockets, resolv_test_start)
6077         (resolv_test_end): Call xclose instead of close.
6078         * support/support_enter_network_namespace.c
6079         (support_enter_network_namespace): Likewise.
6080         * support/support_run_diff.c (write_to_temp_file): Likewise.
6082 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6084         * support/support_format_dns_packet.c (support_format_dns_packet):
6085         Handle CNAME records in the response.  Extract RDATA names from
6086         rdata, not the whole packet.  Check AAAA record length.
6087         * support/tst-support_format_dns_packet.c: New file.
6088         * support/Makefile (tests): Add tst-support_format_dns_packet.
6089         (tst-support_format_dns_packet): Link against libresolv.
6091 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6093         [BZ #21232]
6094         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
6095         posix_fadvise64 weak_alias for static build.
6097 2017-03-14  Andreas Schwab  <schwab@suse.de>
6099         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
6100         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
6101         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
6102         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
6103         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
6104         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
6105         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
6106         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
6108 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6110         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
6111         posix error code.
6112         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6114 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6116         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
6117         no_isolate usage for SH.
6119 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
6121         [BZ #15105]
6122         [BZ #19463]
6123         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
6124         * inet/rcmd.c (rcmd_af): Likewise.
6125         * inet/rexec.c   (rexec_af): Likewise.
6126         * intl/dcigettext.c (_LIBC): Likewise.
6127         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
6128         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
6129         * locale/setlocale.c (setlocale): Likewise.
6130         * posix/spawn_faction_addopen.c
6131         (posix_spawn_file_actions_addopen): Likewise.
6132         * stdlib/putenv.c (putenv): Use __strndup.
6133         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
6134         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
6135         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
6136         (__Need_M_And_C) Remove define/undef.
6137         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
6138         (__malloc_and_calloc_defined): Remove define.
6139         * string/bits/string2.h (__strdup): Remove define.
6140         (strdup): Likewise.
6141         (__strndup): Likewise.
6142         (strndup): Likewise.
6144 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
6146         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
6147         macro.
6148         (IPV6_ADDR_PREFERENCES): Likewise.
6149         (IPV6_MINHOPCOUNT): Likewise.
6150         (IPV6_ORIGDSTADDR): Likewise.
6151         (IPV6_RECVORIGDSTADDR): Likewise.
6152         (IPV6_TRANSPARENT): Likewise.
6153         (IPV6_UNICAST_IF): Likewise.
6154         (IPV6_RECVFRAGSIZE): Likewise.
6156 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
6158         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
6160 2017-03-12  Alexey Neyman <stilor@att.net>
6162         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
6163         in R_SH_DIR32 case is always false when inlined from
6164         dl-conflict.c. Ifdef out to prevent GCC from insertin an
6166 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
6168         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6169         (__ASSUME_RECV_SYSCALL): Replace duplicate by
6170         __ASSUME_SEND_SYSCALL.
6172 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
6174         * sunrpc/Makefile: don't build and install rpcsvc header
6175         files, rpcgen and librpcsvc.a by default.
6177 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
6179         * math/auto-libm-test-out-catan: Regenerated.
6180         * math/auto-libm-test-out-catanh: Likewise.
6181         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6183 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
6185         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
6186         for long double with corrected test expectations.
6188 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6190         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
6191         Define.
6192         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6193         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
6194         * sysdeps/unix/sysv/linux/nios2/sysdep.h
6195         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
6196         * sysdeps/unix/sysv/linux/tile/sysdep.h
6197         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
6198         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6199         (__ASSUME_RECV_SYSCALL): Define.
6200         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6201         (__ASSUME_RECV_SYSCALL): Likewise.
6202         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6203         (__ASSUME_RECV_SYSCALL): Likewise.
6204         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6205         (__ASSUME_RECV_SYSCALL): Likewise.
6206         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6207         (__ASSUME_RECV_SYSCALL): Likewise.
6208         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6209         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
6210         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6211         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6212         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6213         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6214         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
6215         auto-generation list.
6216         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6217         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6218         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
6219         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6220         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6221         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
6222         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
6223         __ASSUME_SENDTO_SYSCALL.
6224         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
6225         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
6226         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
6228         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
6229         auto-generation list.
6230         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6231         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6232         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6233         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6234         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6235         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6236         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6237         * sysdeps/unix/sysv/linux/kernel-features.h
6238         (__ASSUME_SENDTO_SYSCALL): Define by default.
6239         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6240         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
6241         __NR_sendto.
6242         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6243         (__ASSUME_SENDTO_SYSCALL): Likewise.
6244         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6245         (__ASSUME_SENDTO_SYSCALL): Likewise.
6246         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6247         (__ASSUME_SENDTO_SYSCALL): Remove definition.
6248         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6249         (__ASSUME_SENDTO_SYSCALL): Likewise.
6250         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
6251         (__ASSUME_SENDTO_SYSCALL): Likewise.
6252         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
6254         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
6255         auto-generation list.
6256         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6257         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6258         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6259         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6260         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6261         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6262         (__ASSUME_RECV_SYSCALL): New define.
6263         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6264         (__ASSUME_RECV_SYSCALL): Likewise.
6265         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6266         (__ASSUME_RECV_SYSCALL): Likewise.
6267         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6268         (__ASSUME_RECV_SYSCALL): Likewise.
6269         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6270         (__ASSUME_RECV_SYSCALL): Likewise.
6271         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6272         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6273         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6274         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6275         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6276         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6277         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
6278         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
6279         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
6280         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
6281         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
6282         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
6284         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
6285         auto-generation list.
6286         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6287         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6288         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6289         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6290         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6291         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6292         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6293         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6294         (__ASSUME_RECVFROM_SYSCALL): Define by default.
6295         * sysdeps/unix/sysv/linux/kernel-features.h
6296         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
6297         __NR_recvfrom.
6298         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6299         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6300         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6301         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6302         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6303         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
6304         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6305         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6306         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6307         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6308         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6309         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6310         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
6312         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
6313         auto-generation list.
6314         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6315         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6316         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6317         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6318         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6319         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6320         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6321         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
6322         * sysdeps/unix/sysv/linux/kernel-features.h
6323         (__ASSUME_CONNECT_SYSCALL): Define.
6324         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6325         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
6326         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6327         (__ASSUME_CONNECT_SYSCALL): Likewise.
6328         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6329         (__ASSUME_CONNECT_SYSCALL): Likewise.
6330         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6331         (__ASSUME_CONNECT_SYSCALL): Likewise.
6333         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
6334         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
6335         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
6336         auto-generation list.
6337         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6338         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6339         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6340         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6341         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6342         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6343         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6344         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6345         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6346         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6347         * sysdeps/unix/sysv/linux/kernel-features.h
6348         (__ASSUME_ACCEPT_SYSCALL): New define.
6349         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6350         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6351         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
6352         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6353         (__ASSUME_ACCEPT_SYSCALL): Define.
6354         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6355         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6356         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6357         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6358         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6359         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6360         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6361         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6362         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
6364 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
6365             Zack Weinberg  <zackw@panix.com>
6367         * posix/test-errno.c: New file.
6368         * posix/Makefile (tests): Add test-errno.
6369         * sysdeps/unix/sysv/linux/test-errno.c: New file.
6370         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
6372 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
6374         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6376 2017-03-07  Florian Weimer  <fweimer@redhat.com>
6378         * time/tzset.c (compute_offset): Open-code min macro.
6379         (min, max, sign): Remove.
6381 2017-03-07  Florian Weimer  <fweimer@redhat.com>
6383         [BZ #15576]
6384         Remove TZNAME_MAX limit from sysconf.
6385         * include/time.h (__tzname_cur_max, __tzname_max): Remove
6386         declaration.
6387         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
6388         compute_tzname_max.
6389         (compute_tzname_max): Remove.
6390         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
6391         (update_vars): Do not update __tzname_cur_max.
6392         (tzset_internal): Remove argument.
6393         (__tzset): Adjust call to tzset_internal.
6394         (__tz_convert): Likewise.
6396         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
6397         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6398         * manual/conf.texi (Sysconf Definition): Update comment.
6400 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6402         [BZ #21209]
6403         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
6404         AT_SECURE processes.
6405         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
6406         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
6407         (test_child): Likewise.
6408         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
6410 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6412         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
6414 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6416         * sysdeps/s390/atomic-machine.h
6417         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
6418         (__arch_compare_and_exchange_val_8_acq,
6419         __arch_compare_and_exchange_val_16_acq,
6420         __arch_compare_and_exchange_val_32_acq,
6421         __arch_compare_and_exchange_val_64_acq):
6422         Delete macro.
6423         (atomic_compare_and_exchange_val_acq,
6424         atomic_compare_and_exchange_val_rel,
6425         atomic_compare_and_exchange_bool_acq,
6426         catomic_compare_and_exchange_bool_acq,
6427         atomic_exchange_acq, atomic_exchange_rel,
6428         atomic_exchange_and_add_acq,
6429         atomic_exchange_and_add_rel,
6430         catomic_exchange_and_add, atomic_or_val,
6431         atomic_or, catomic_or, atomic_bit_test_set,
6432         atomic_and_val, atomic_and, catomic_and):
6433         Define macros with help of C11 atomic builtins.
6435 2017-03-03  Justus Winter <justus@gnupg.org>
6437         * sysdeps/mach/hurd/ftruncate64.c: New file.
6438         * sysdeps/mach/hurd/truncate64.c: Likewise.
6440 2017-03-03  Florian Weimer  <fweimer@redhat.com>
6442         * time/tzfile.c (NOID): Do not define.
6443         * time/tzset.c (NOID): Likewise.
6445 2017-03-03  Florian Weimer  <fweimer@redhat.com>
6447         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
6449 2017-03-02  Florian Weimer  <fweimer@redhat.com>
6451         * elf/get-dynamic-info.h: Remove header file inclusion guard.
6453 2017-03-02  Florian Weimer  <fweimer@redhat.com>
6455         [BZ #21015]
6456         * manual/install.texi (Configuring and compiling): Document
6457         --enable-bind-now.
6458         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
6459         (build-shlib-helper): Use $(LDFLAGS-lib.so).
6460         (format.lds): Likewise.
6461         [bind-now] (LDFLAGS-c.so): Remove.
6462         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
6463         be R_X86_64_GLOB_DAT.
6464         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
6465         relocation can be R_386_GLOB_DAT.
6466         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
6467         relocaiton can be R_ALPHA_GLOB_DAT.
6468         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
6470 2017-03-01  Zack Weinberg  <zackw@panix.com>
6472         * include/libc-pointer-arith.h: New file.  Define
6473         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
6474         PTR_ALIGN_DOWN here.
6475         * include/libc-internal.h: Definitions of above macros
6476         moved from here.  Don't include libc-diag.h anymore either.
6477         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
6478         Don't include libc-internal.h.
6480         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
6481         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
6482         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
6483         * string/strcoll_l.c, sysdeps/nacl/brk.c
6484         * sysdeps/unix/clock_settime.c
6485         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
6486         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
6487         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6488         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
6489         Don't include libc-internal.h.
6491         * elf/get-dynamic-info.h, iconv/loop.c
6492         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
6493         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
6494         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
6495         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
6496         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6497         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
6498         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6499         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
6500         * sysdeps/ieee754/ldbl-128/k_tanl.c
6501         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6502         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6503         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
6504         Include libc-diag.h instead of libc-internal.h.
6506         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
6507         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
6508         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
6509         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
6510         * sysdeps/unix/sysv/linux/spawni.c
6511         * sysdeps/x86_64/nptl/tls.h:
6512         Include libc-pointer-arith.h instead of libc-internal.h.
6514         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
6515         * sysdeps/x86_64/atomic-machine.h:
6516         Add multiple include guard.
6518         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
6519         * string/strcasestr.c: No need to include config.h.
6520         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
6521         sys/auxv.h. Don't include sysdep.h.
6522         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
6524         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
6525         DL_LOOKUP_ADDRESS.
6526         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
6527         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
6528         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
6529         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
6530         of ARTIFICIAL_LIMIT.
6531         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
6532         declaration of __clone2.
6534 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6536         * scripts/backport-support.sh (latest_commit): New file.
6538 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6540         [BZ #20257]
6541         * inet/Makefile (routines): Add deadline.
6542         (tests-static): Add tst-deadline.
6543         * inet/net-internal.h (struct deadline_current_time)
6544         (__deadline_current_time, struct deadline, __deadline_is_infinite)
6545         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
6546         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
6547         * inet/deadline.c: New file.
6548         * inet/tst-deadline.c: Likewise.
6549         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
6550         tst-udp-timeout, tst-udp-garbage.
6551         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
6552         explicitly.
6553         (tst-udp-garbage): Likewise.  Also link against thread library.
6554         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
6555         struct layout is part of the ABI.
6556         (clntudp_call): Rework timeout handling.
6557         * sunrpc/tst-udp-garbage.c: New file.
6558         * sunrpc/tst-udp-nonblocking.c: Likewise.
6559         * sunrpc/tst-udp-timeout.c: Likewise.
6561 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6563         [BZ #5010]
6564         * sunrpc/svc.c (svc_is_mapped): Remove.
6565         (svc_unregister): Obtain mapped status while the service is still
6566         registered.
6567         * sunrpc/Makefile [have-thread-library] (tests): Add
6568         tst-svc_register.
6569         (tst-svc_register): Link against libc.so explicitly and the thread
6570         library.
6571         * sunrpc/tst-svc_register.c: New file.
6573 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
6575         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
6576         * sysdeps/pthread/bits/sigthread.h: Likewise.
6578 2017-02-27  Florian Weimer  <fweimer@redhat.com>
6580         [BZ #21115]
6581         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
6582         * sunrpc/Makefile (tests): Add tst-udp-error.
6583         (tst-udp-error): Link against libc.so explicitly.
6584         * sunrpc/tst-udp-error: New file.
6586 2017-02-25  Zack Weinberg  <zackw@panix.com>
6588         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
6589         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
6591         * sysdeps/generic/math_ldbl.h
6592         * sysdeps/ia64/fpu/math_ldbl.h
6593         * sysdeps/ieee754/ldbl-128/math_ldbl.h
6594         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6595         * sysdeps/ieee754/ldbl-96/math_ldbl.h
6596         * sysdeps/powerpc/fpu/math_ldbl.h
6597         * sysdeps/x86_64/fpu/math_ldbl.h:
6598         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
6599         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
6600         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
6601         Add copyright notices.
6603         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6604         Don't use EXTRACT_WORDS64.
6606         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
6607         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
6608         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
6609         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
6610         Include math_ldbl.h, not math_private.h.
6612 2017-02-25  Zack Weinberg  <zackw@panix.com>
6614         * include/libc-diag.h: New file.  Define ignore_value,
6615         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
6616         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
6618         * include/libc-internal.h: Definitions of above macros moved from
6619         here.  Include libc-diag.h.  Add copyright notice.
6621         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
6622         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
6623         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
6624         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
6625         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
6626         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
6627         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
6628         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
6629         Include libc-diag.h instead of libc-internal.h.
6631         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
6632         call to unsetenv (NULL).
6633         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
6634         call to pthread_mutexattr_destroy (NULL).
6636 2017-02-25  Zack Weinberg  <zackw@panix.com>
6638         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
6639         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
6640         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
6641         gets was removed from C++ in C++14.
6642         * include/stdio.h: Remove redundant declaration of gets.
6643         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
6644         be declared, since we are testing it.
6645         * stdio-common/Makefile (tst-gets.c): Compile with
6646         -Wno-deprecated-declarations.
6647         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
6648         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
6649         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
6650         Compile with -Wno-deprecated-declarations.
6652 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6654         * math/libm-test-support.c (check_ulp): Use LIT() around literal
6655         numbers.
6657 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6659         * resolv/tst-resolv-qtypes.c (domain):
6660         Change type to const pointer to const char.
6662 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
6664         * math/Makefile (libm-tests-generated): Remove variable.
6665         (libm-tests-base-normal): New variable.
6666         (libm-tests-base-finite): Likewise.
6667         (libm-tests-base-inline): Likewise.
6668         (libm-tests-base): Likewise.
6669         (libm-tests-normal): Likewise.
6670         (libm-tests-finite): Likewise.
6671         (libm-tests-inline): Likewise.
6672         (libm-tests-vector): Likewise.
6673         (libm-tests): Define in terms of these new variables.
6674         (libm-tests-for-type): New variable.
6675         (libm-tests.o): Move definition.
6676         (tests): Move addition of $(libm-tests).
6677         (generated): Update for new and removed libm test files.
6678         ($(objpfx)libm-test.c): Remove target.
6679         ($(objpfx)libm-have-vector-test.h): Likewise.
6680         (CFLAGS-test-double-vlen2.c): Remove variable.
6681         (CFLAGS-test-double-vlen4.c): Likewise.
6682         (CFLAGS-test-double-vlen8.c): Likewise.
6683         (CFLAGS-test-float-vlen4.c): Likewise.
6684         (CFLAGS-test-float-vlen8.c): Likewise.
6685         (CFLAGS-test-float-vlen16.c): Likewise.
6686         (CFLAGS-test-float.c): Likewise.
6687         (CFLAGS-test-float-finite.c): Likewise.
6688         (CFLAGS-libm-test-support-float.c): Likewise.
6689         (CFLAGS-test-double.c): Likewise.
6690         (CFLAGS-test-double-finite.c): Likewise.
6691         (CFLAGS-libm-test-support-double.c): Likewise.
6692         (CFLAGS-test-ldouble.c): Likewise.
6693         (CFLAGS-test-ldouble-finite.c): Likewise.
6694         (CFLAGS-libm-test-support-ldouble.c): Likewise.
6695         (libm-test-inline-cflags): New variable.
6696         (CFLAGS-test-ifloat.c): Remove variable.
6697         (CFLAGS-test-idouble.c): Likewise.
6698         (CFLAGS-test-ildouble.c): Likewise.
6699         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
6700         dependencies.
6701         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
6702         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
6703         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
6704         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
6705         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
6706         Likewise.
6707         (dependencies on libm-test-support-*.o): Remove.
6708         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
6709         rules using iterators.
6710         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
6711         Likewise.
6712         ($(objpfx)libm-test-support-$(o).o): Likewise.
6713         ($(addprefix $(objpfx),$(filter-out $(tests-static)
6714         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
6715         instead.
6716         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
6717         define rule instead.
6718         * math/README.libm-test: Update.
6719         * math/libm-test-acos.inc: Include libm-test-driver.c.
6720         (do_test): New function.
6721         * math/libm-test-acosh.inc: Include libm-test-driver.c.
6722         (do_test): New function.
6723         * math/libm-test-asin.inc: Include libm-test-driver.c.
6724         (do_test): New function.
6725         * math/libm-test-asinh.inc: Include libm-test-driver.c.
6726         (do_test): New function.
6727         * math/libm-test-atan.inc: Include libm-test-driver.c.
6728         (do_test): New function.
6729         * math/libm-test-atan2.inc: Include libm-test-driver.c.
6730         (do_test): New function.
6731         * math/libm-test-atanh.inc: Include libm-test-driver.c.
6732         (do_test): New function.
6733         * math/libm-test-cabs.inc: Include libm-test-driver.c.
6734         (do_test): New function.
6735         * math/libm-test-cacos.inc: Include libm-test-driver.c.
6736         (do_test): New function.
6737         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
6738         (do_test): New function.
6739         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
6740         (do_test): New function.
6741         * math/libm-test-carg.inc: Include libm-test-driver.c.
6742         (do_test): New function.
6743         * math/libm-test-casin.inc: Include libm-test-driver.c.
6744         (do_test): New function.
6745         * math/libm-test-casinh.inc: Include libm-test-driver.c.
6746         (do_test): New function.
6747         * math/libm-test-catan.inc: Include libm-test-driver.c.
6748         (do_test): New function.
6749         * math/libm-test-catanh.inc: Include libm-test-driver.c.
6750         (do_test): New function.
6751         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
6752         (do_test): New function.
6753         * math/libm-test-ccos.inc: Include libm-test-driver.c.
6754         (do_test): New function.
6755         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
6756         (do_test): New function.
6757         * math/libm-test-ceil.inc: Include libm-test-driver.c.
6758         (do_test): New function.
6759         * math/libm-test-cexp.inc: Include libm-test-driver.c.
6760         (do_test): New function.
6761         * math/libm-test-cimag.inc: Include libm-test-driver.c.
6762         (do_test): New function.
6763         * math/libm-test-clog.inc: Include libm-test-driver.c.
6764         (do_test): New function.
6765         * math/libm-test-clog10.inc: Include libm-test-driver.c.
6766         (do_test): New function.
6767         * math/libm-test-conj.inc: Include libm-test-driver.c.
6768         (do_test): New function.
6769         * math/libm-test-copysign.inc: Include libm-test-driver.c.
6770         (do_test): New function.
6771         * math/libm-test-cos.inc: Include libm-test-driver.c.
6772         (do_test): New function.
6773         * math/libm-test-cosh.inc: Include libm-test-driver.c.
6774         (do_test): New function.
6775         * math/libm-test-cpow.inc: Include libm-test-driver.c.
6776         (do_test): New function.
6777         * math/libm-test-cproj.inc: Include libm-test-driver.c.
6778         (do_test): New function.
6779         * math/libm-test-creal.inc: Include libm-test-driver.c.
6780         (do_test): New function.
6781         * math/libm-test-csin.inc: Include libm-test-driver.c.
6782         (do_test): New function.
6783         * math/libm-test-csinh.inc: Include libm-test-driver.c.
6784         (do_test): New function.
6785         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
6786         (do_test): New function.
6787         * math/libm-test-ctan.inc: Include libm-test-driver.c.
6788         (do_test): New function.
6789         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
6790         (do_test): New function.
6791         * math/libm-test-erf.inc: Include libm-test-driver.c.
6792         (do_test): New function.
6793         * math/libm-test-erfc.inc: Include libm-test-driver.c.
6794         (do_test): New function.
6795         * math/libm-test-exp.inc: Include libm-test-driver.c.
6796         (do_test): New function.
6797         * math/libm-test-exp10.inc: Include libm-test-driver.c.
6798         (do_test): New function.
6799         * math/libm-test-exp2.inc: Include libm-test-driver.c.
6800         (do_test): New function.
6801         * math/libm-test-expm1.inc: Include libm-test-driver.c.
6802         (do_test): New function.
6803         * math/libm-test-fabs.inc: Include libm-test-driver.c.
6804         (do_test): New function.
6805         * math/libm-test-fdim.inc: Include libm-test-driver.c.
6806         (do_test): New function.
6807         * math/libm-test-floor.inc: Include libm-test-driver.c.
6808         (do_test): New function.
6809         * math/libm-test-fma.inc: Include libm-test-driver.c.
6810         (do_test): New function.
6811         * math/libm-test-fmax.inc: Include libm-test-driver.c.
6812         (do_test): New function.
6813         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
6814         (do_test): New function.
6815         * math/libm-test-fmin.inc: Include libm-test-driver.c.
6816         (do_test): New function.
6817         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
6818         (do_test): New function.
6819         * math/libm-test-fmod.inc: Include libm-test-driver.c.
6820         (do_test): New function.
6821         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
6822         (do_test): New function.
6823         * math/libm-test-frexp.inc: Include libm-test-driver.c.
6824         (do_test): New function.
6825         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
6826         (do_test): New function.
6827         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
6828         (do_test): New function.
6829         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
6830         (do_test): New function.
6831         * math/libm-test-hypot.inc: Include libm-test-driver.c.
6832         (do_test): New function.
6833         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
6834         (do_test): New function.
6835         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
6836         (do_test): New function.
6837         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
6838         (do_test): New function.
6839         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
6840         (do_test): New function.
6841         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
6842         (do_test): New function.
6843         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
6844         (do_test): New function.
6845         * math/libm-test-isinf.inc: Include libm-test-driver.c.
6846         (do_test): New function.
6847         * math/libm-test-isless.inc: Include libm-test-driver.c.
6848         (do_test): New function.
6849         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
6850         (do_test): New function.
6851         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
6852         (do_test): New function.
6853         * math/libm-test-isnan.inc: Include libm-test-driver.c.
6854         (do_test): New function.
6855         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
6856         (do_test): New function.
6857         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
6858         (do_test): New function.
6859         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
6860         (do_test): New function.
6861         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
6862         (do_test): New function.
6863         * math/libm-test-iszero.inc: Include libm-test-driver.c.
6864         (do_test): New function.
6865         * math/libm-test-j0.inc: Include libm-test-driver.c.
6866         (do_test): New function.
6867         * math/libm-test-j1.inc: Include libm-test-driver.c.
6868         (do_test): New function.
6869         * math/libm-test-jn.inc: Include libm-test-driver.c.
6870         (do_test): New function.
6871         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
6872         (do_test): New function.
6873         * math/libm-test-llogb.inc: Include libm-test-driver.c.
6874         (do_test): New function.
6875         * math/libm-test-llrint.inc: Include libm-test-driver.c.
6876         (do_test): New function.
6877         * math/libm-test-llround.inc: Include libm-test-driver.c.
6878         (do_test): New function.
6879         * math/libm-test-log.inc: Include libm-test-driver.c.
6880         (do_test): New function.
6881         * math/libm-test-log10.inc: Include libm-test-driver.c.
6882         (do_test): New function.
6883         * math/libm-test-log1p.inc: Include libm-test-driver.c.
6884         (do_test): New function.
6885         * math/libm-test-log2.inc: Include libm-test-driver.c.
6886         (do_test): New function.
6887         * math/libm-test-logb.inc: Include libm-test-driver.c.
6888         (do_test): New function.
6889         * math/libm-test-lrint.inc: Include libm-test-driver.c.
6890         (do_test): New function.
6891         * math/libm-test-lround.inc: Include libm-test-driver.c.
6892         (do_test): New function.
6893         * math/libm-test-modf.inc: Include libm-test-driver.c.
6894         (do_test): New function.
6895         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
6896         (do_test): New function.
6897         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
6898         (do_test): New function.
6899         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
6900         (do_test): New function.
6901         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
6902         (do_test): New function.
6903         * math/libm-test-nextup.inc: Include libm-test-driver.c.
6904         (do_test): New function.
6905         * math/libm-test-pow.inc: Include libm-test-driver.c.
6906         (do_test): New function.
6907         * math/libm-test-remainder.inc: Include libm-test-driver.c.
6908         (do_test): New function.
6909         * math/libm-test-remquo.inc: Include libm-test-driver.c.
6910         (do_test): New function.
6911         * math/libm-test-rint.inc: Include libm-test-driver.c.
6912         (do_test): New function.
6913         * math/libm-test-round.inc: Include libm-test-driver.c.
6914         (do_test): New function.
6915         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
6916         (do_test): New function.
6917         * math/libm-test-scalb.inc: Include libm-test-driver.c.
6918         (do_test): New function.
6919         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
6920         (do_test): New function.
6921         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
6922         (do_test): New function.
6923         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
6924         (do_test): New function.
6925         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
6926         (do_test): New function.
6927         * math/libm-test-signbit.inc: Include libm-test-driver.c.
6928         (do_test): New function.
6929         * math/libm-test-significand.inc: Include libm-test-driver.c.
6930         (do_test): New function.
6931         * math/libm-test-sin.inc: Include libm-test-driver.c.
6932         (do_test): New function.
6933         * math/libm-test-sincos.inc: Include libm-test-driver.c.
6934         (do_test): New function.
6935         * math/libm-test-sinh.inc: Include libm-test-driver.c.
6936         (do_test): New function.
6937         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
6938         (do_test): New function.
6939         * math/libm-test-tan.inc: Include libm-test-driver.c.
6940         (do_test): New function.
6941         * math/libm-test-tanh.inc: Include libm-test-driver.c.
6942         (do_test): New function.
6943         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
6944         (do_test): New function.
6945         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
6946         (do_test): New function.
6947         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
6948         (do_test): New function.
6949         * math/libm-test-trunc.inc: Include libm-test-driver.c.
6950         (do_test): New function.
6951         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
6952         (do_test): New function.
6953         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
6954         (do_test): New function.
6955         * math/libm-test-y0.inc: Include libm-test-driver.c.
6956         (do_test): New function.
6957         * math/libm-test-y1.inc: Include libm-test-driver.c.
6958         (do_test): New function.
6959         * math/libm-test-yn.inc: Include libm-test-driver.c.
6960         (do_test): New function.
6961         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
6962         (HAVE_VECTOR): Remove macro.
6963         (START): Do not call HAVE_VECTOR.
6964         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
6965         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
6966         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
6967         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
6968         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
6969         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
6970         * math/test-math-vector.h (FUNC_TEST): New macro.
6971         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
6972         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
6973         (double-vlen4-funcs): Likewise.
6974         (double-vlen4-avx2-funcs): Likewise.
6975         (double-vlen8-funcs): Likewise.
6976         (float-vlen4-funcs): Likewise.
6977         (float-vlen8-funcs): Likewise.
6978         (float-vlen8-avx2-funcs): Likewise.
6979         (float-vlen16-funcs): Likewise.
6980         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
6981         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
6982         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
6983         macro.
6984         (TEST_VECTOR_sin): Likewise.
6985         (TEST_VECTOR_sincos): Likewise.
6986         (TEST_VECTOR_log): Likewise.
6987         (TEST_VECTOR_exp): Likewise.
6988         (TEST_VECTOR_pow): Likewise.
6989         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
6990         Likewise.
6991         (TEST_VECTOR_sin): Likewise.
6992         (TEST_VECTOR_sincos): Likewise.
6993         (TEST_VECTOR_log): Likewise.
6994         (TEST_VECTOR_exp): Likewise.
6995         (TEST_VECTOR_pow): Likewise.
6996         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
6997         Likewise.
6998         (TEST_VECTOR_sinf): Likewise.
6999         (TEST_VECTOR_sincosf): Likewise.
7000         (TEST_VECTOR_logf): Likewise.
7001         (TEST_VECTOR_expf): Likewise.
7002         (TEST_VECTOR_powf): Likewise.
7003         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
7004         Likewise.
7005         (TEST_VECTOR_sinf): Likewise.
7006         (TEST_VECTOR_sincosf): Likewise.
7007         (TEST_VECTOR_logf): Likewise.
7008         (TEST_VECTOR_expf): Likewise.
7009         (TEST_VECTOR_powf): Likewise.
7010         * math/gen-libm-have-vector-test.sh: Remove file.
7011         * math/libm-test.inc: Likewise.
7012         * math/libm-test-support-double.c: Likewise.
7013         * math/libm-test-support-float.c: Likewise.
7014         * math/libm-test-support-ldouble.c: Likewise.
7015         * math/test-double-finite.c: Likewise.: Likewise.
7016         * math/test-double.c: Likewise.
7017         * math/test-float-finite.c: Likewise.
7018         * math/test-float.c: Likewise.
7019         * math/test-idouble.c: Likewise.
7020         * math/test-ifloat.c: Likewise.
7021         * math/test-ildouble.c: Likewise.
7022         * math/test-ldouble-finite.c: Likewise.
7023         * math/test-ldouble.c: Likewise.
7024         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7025         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
7026         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7027         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7028         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7029         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7030         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7031         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
7032         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7033         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7035 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7036            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7038         * math/Makefile: Add wrappers to gen-libm-calls.
7039         * math/w_acos_template.c: New file.
7040         * math/w_acosh_template.c: Likewise.
7041         * math/w_asin_template.c: Likewise.
7042         * math/w_atan2_template.c: Likewise.
7043         * math/w_atanh_template.c: Likewise.
7044         * math/w_cosh_template.c: Likewise.
7045         * math/w_exp10_template.c: Likewise.
7046         * math/w_exp2_template.c: Likewise.
7047         * math/w_exp_template.c: Likewise.
7048         * math/w_fmod_template.c: Likewise.
7049         * math/w_hypot_template.c: Likewise.
7050         * math/w_j0_template.c: Likewise.
7051         * math/w_j1_template.c: Likewise.
7052         * math/w_jn_template.c: Likewise.
7053         * math/w_lgamma_r_template.c: Likewise.
7054         * math/w_lgamma_template.c: Likewise.
7055         * math/w_log10_template.c: Likewise.
7056         * math/w_log2_template.c: Likewise.
7057         * math/w_log_template.c: Likewise.
7058         * math/w_pow_template.c: Likewise.
7059         * math/w_remainder_template.c: Likewise.
7060         * math/w_sinh_template.c: Likewise.
7061         * math/w_sqrt_template.c: Likewise.
7062         * math/w_tgamma_template.c: Likewise.: Likewise.
7063         * sysdeps/generic/math-type-macros-double.h
7064         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
7065         the new wrappers.
7066         * sysdeps/generic/math-type-macros-float.h: Likewise.
7067         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7069 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
7071         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
7072         New enum constant and macro.
7074         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7075         kernel version to 4.10.
7077 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
7079         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
7081 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7085 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7087         * sysdeps/powerpc/tst-set_ppr.c: New file.
7088         Implement test cases for __ppc_set_ppr_* functions.
7089         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
7090         in the list of tests.
7092 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7094         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
7095         instead of test-skeleton.c.
7096         (do_test): Replaced pthread_create and pthread_join with
7097         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
7098         Removed unneeded status variable.
7099         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
7100         instead of test-skeleton.c.
7101         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
7103 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
7105         [BZ #20313]
7106         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7107         201605L, for Unicode 9.
7109 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
7111         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
7112         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7113         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7114         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7115         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7116         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7118 2017-02-19  Zack Weinberg  <zackw@panix.com>
7120         * rt/tst-mqueue4.c: Include stdint.h.
7122 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
7124         * sysdeps/arm/libm-test-ulps: Update.
7125         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7126         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7127         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7129 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7131         [BZ #21029]
7132         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
7133         * sysdeps/unix/sysv/linux/i386/Makefile
7134         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
7135         (uses-6-syscall-arguments): Remove.
7136         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
7137         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
7138         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
7139         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
7140         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
7141         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
7142         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
7143         [$(subdir) = misc] (cflags-pselect.o): Likewise.
7144         [$(subdir) = misc] (cflags-pselect.os): Likewise.
7145         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
7146         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
7147         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
7148         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
7149         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
7150         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
7151         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
7152         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
7153         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
7154         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
7155         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
7156         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
7157         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
7158         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
7159         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
7160         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
7161         Likewise.
7162         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
7163         Likewise.
7164         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
7165         Likewise.
7166         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
7167         Likewise.
7168         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
7169         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
7170         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
7171         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
7172         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
7173         ebp on inline assembly.
7174         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
7175         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7176         Set if CAN_USE_REGISTER_ASM_EBP is set.
7178 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
7180         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
7181         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
7183 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
7185         * math/auto-libm-test-in: Add tests of catan and catanh.
7186         * math/auto-libm-test-out-catan: New generated file.
7187         * math/auto-libm-test-out-catanh: Likewise.
7188         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
7189         Move tests with finite inputs, except divide-by-zero cases, to
7190         auto-libm-test-in.
7191         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
7192         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
7193         (libm-test-funcs-noauto): Remove catan and catanh.
7194         * sysdeps/i386/fpu/libm-test-ulps: Update.
7195         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7198         * math/auto-libm-test-in: Add tests of casin and casinh.
7199         * math/auto-libm-test-out-casin: New generated file.
7200         * math/auto-libm-test-out-casinh: Likewise.
7201         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
7202         Move tests with finite inputs to auto-libm-test-in.
7203         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
7204         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
7205         (libm-test-funcs-noauto): Remove casin and casinh.
7206         * sysdeps/i386/fpu/libm-test-ulps: Update.
7207         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7210         * math/auto-libm-test-in: Add tests of cacos and cacosh.
7211         * math/auto-libm-test-out-cacos: New generated file.
7212         * math/auto-libm-test-out-cacosh: Likewise.
7213         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
7214         Move tests with finite inputs to auto-libm-test-in.
7215         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
7216         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
7217         (libm-test-funcs-noauto): Remove cacos and cacosh.
7218         * sysdeps/i386/fpu/libm-test-ulps: Update.
7219         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7222         Revert:
7223         2017-02-16  Zack Weinberg  <zackw@panix.com>
7225         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
7226         Don't include init-arch.h.
7227         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
7228         Don't include init-arch.h.
7230 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7232         [BZ #21171]
7233         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
7234         +Inf and raise divide-by-zero when x is negative.
7235         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
7236         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
7237         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
7238         -Inf and raise divide-by-zero when x = +-0.
7239         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7240         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
7241         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
7242         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
7243         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7244         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7245         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7247 2017-02-16  Zack Weinberg  <zackw@panix.com>
7249         * scripts/build-many-glibcs.py (bot_build_mail): If the
7250         bot_config does not contain all of the necessary email-
7251         related settings, just print a warning and continue.
7253 2017-02-16  Zack Weinberg  <zackw@panix.com>
7255         * crypt/md5.h: Test _LIBC with #if defined, not #if.
7256         * dirent/opendir-tst1.c: Include sys/stat.h.
7257         * dirent/tst-fdopendir.c: Include sys/stat.h.
7258         * dirent/tst-fdopendir2.c: Include stdlib.h.
7259         * dirent/tst-scandir.c: Include stdbool.h.
7260         * elf/tst-auditmod1.c: Include link.h and stddef.h.
7261         * elf/tst-tls15.c: Include stdlib.h.
7262         * elf/tst-tls16.c: Include stdlib.h.
7263         * elf/tst-tls17.c: Include stdlib.h.
7264         * elf/tst-tls18.c: Include stdlib.h.
7265         * iconv/tst-iconv6.c: Include endian.h.
7266         * iconvdata/bug-iconv11.c: Include limits.h.
7267         * io/test-utime.c: Include stdint.h.
7268         * io/tst-faccessat.c: Include sys/stat.h.
7269         * io/tst-fchmodat.c: Include sys/stat.h.
7270         * io/tst-fchownat.c: Include sys/stat.h.
7271         * io/tst-fstatat.c: Include sys/stat.h.
7272         * io/tst-futimesat.c: Include sys/stat.h.
7273         * io/tst-linkat.c: Include sys/stat.h.
7274         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
7275         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
7276         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
7277         * io/tst-openat.c: Include stdbool.h.
7278         * io/tst-readlinkat.c: Include sys/stat.h.
7279         * io/tst-renameat.c: Include sys/stat.h.
7280         * io/tst-symlinkat.c: Include sys/stat.h.
7281         * io/tst-unlinkat.c: Include stdbool.h.
7282         * libio/bug-memstream1.c: Include stdlib.h.
7283         * libio/bug-wmemstream1.c: Include stdlib.h.
7284         * libio/tst-fwrite-error.c: Include stdlib.h.
7285         * libio/tst-memstream1.c: Include stdlib.h.
7286         * libio/tst-memstream2.c: Include stdlib.h.
7287         * libio/tst-memstream3.c: Include stdlib.h.
7288         * malloc/tst-interpose-aux.c: Include stdint.h.
7289         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
7290         * nptl/tst-basic7.c: Include limits.h.
7291         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
7292         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
7293         * nptl/tst-cancel4_1.c: Include stddef.h.
7294         * nptl/tst-cancel4_2.c: Include stddef.h.
7295         * nptl/tst-cond16.c: Include limits.h.
7296         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7297         * nptl/tst-cond18.c: Include limits.h.
7298         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7299         * nptl/tst-cond4.c: Include stdint.h.
7300         * nptl/tst-cond6.c: Include stdint.h.
7301         * nptl/tst-stack2.c: Include limits.h.
7302         * nptl/tst-stackguard1.c: Include stddef.h.
7303         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
7304         * nptl/tst-tls4moda.c: Include stddef.h.
7305         Don't include stdio.h, unistd.h, or tls.h.
7306         * nptl/tst-tls4modb.c: Include stddef.h.
7307         Don't include stdio.h, unistd.h, or tls.h.
7308         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
7309         * posix/tst-getaddrinfo2.c: Include stdio.h.
7310         * posix/tst-getaddrinfo5.c: Include stdio.h.
7311         * posix/tst-pathconf.c: Include sys/stat.h.
7312         * posix/tst-posix_fadvise-common.c: Include stdint.h.
7313         * posix/tst-preadwrite-common.c: Include sys/stat.h.
7314         * posix/tst-regex.c: Include stdint.h.
7315         Don't include spawn.h or spawn_int.h.
7316         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
7317         * posix/tst-vfork3.c: Include sys/stat.h.
7318         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
7319         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
7320         * resolv/tst-resolv-search.c: Include stdlib.h.
7321         * stdio-common/tst-fmemopen2.c: Include stdint.h.
7322         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
7323         * stdlib/test-canon.c: Include sys/stat.h.
7324         * stdlib/tst-tls-atexit.c: Include stdbool.h.
7325         * string/test-memchr.c: Include stdint.h.
7326         * string/tst-cmp.c: Include stdint.h.
7327         * sysdeps/pthread/tst-timer.c: Include stdint.h.
7328         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
7329         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
7330         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
7331         Don't include init-arch.h.
7332         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
7333         Don't include init-arch.h.
7334         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
7335         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
7336         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
7337         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
7338         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
7339         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
7340         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
7341         * time/clocktest.c: Include stdint.h.
7342         * time/tst-posixtz.c: Include stdint.h.
7343         * timezone/tst-timezone.c: Include stdint.h.
7345 2017-02-16  Zack Weinberg  <zackw@panix.com>
7347         * string/string.h [__USE_MISC]: Include strings.h.
7348         (__bzero, bcmp, bcopy, bzero, index, rindex)
7349         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
7350         (ffs, ffsl, ffsll): Don't declare.
7351         * string/strings.h: Do not suppress the file if string.h has
7352         already been included.
7353         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
7354         annotations.
7355         (index, rindex): Define inline forwarders even if
7356         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
7357         (ffs): Use __attribute_const__.
7358         (ffsl, ffsll): Declare here.
7359         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
7360         have now been standardized.
7361         * include/string.h (__bzero): Declare here.
7363         * bits/types.h: Move to posix/bits.
7364         * include/bits/types.h: New wrapper.
7366 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
7368         * string/bits/string2.h (strcmp): Remove define.
7369         (__strcmp_cg): Likewise.
7370         (strncmp): Likewise.
7372 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
7374         * include/string.h: Add __cplusplus check.
7376 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7378         [BZ #21134]
7379         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
7380         "divide by zero" exception when the input is zero.
7381         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
7382         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
7383         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
7384         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
7385         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7387 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
7389         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
7390         and include ...
7391         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
7392         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
7393         to, and include ...
7394         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
7395         file.
7396         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
7397         and include ...
7398         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
7399         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
7400         and include ...
7401         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
7402         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
7403         and include ...
7404         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
7405         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
7406         and include ...
7407         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
7408         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
7409         to, and include ...
7410         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
7411         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
7412         and include ...
7413         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
7415 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
7417         * math/libm-test-support.h: Do not include <math-tests-arch.h>
7418         here.
7419         * math/libm-test-support.c (libm_test_init): Do not call
7420         INIT_ARCH_EXT here.
7421         * math/libm-test-driver.c: Include <math-tests-arch.h>.
7422         (main): Call INIT_ARCH_EXT.
7424 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7426         [BZ #21130]
7427         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
7428         with the "invalid" exception raised when x is -Inf.
7429         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7431 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
7433         * string/bits/string2.h (strchr): Remove define.
7435 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
7437         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
7438         tst-avx512.
7439         (test-extras): Add tst-avx-aux and tst-avx512-aux.
7440         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
7441         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
7442         ($(objpfx)tst-sse): New rule.
7443         ($(objpfx)tst-avx): Likewise.
7444         ($(objpfx)tst-avx512): Likewise.
7445         (CFLAGS-tst-avx-aux.c): New.
7446         (CFLAGS-tst-avxmod.c): Likewise.
7447         (CFLAGS-tst-avx512-aux.c): Likewise.
7448         (CFLAGS-tst-avx512mod.c): Likewise.
7449         * sysdeps/x86_64/tst-avx-aux.c: New file.
7450         * sysdeps/x86_64/tst-avx.c: Likewise.
7451         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
7452         * sysdeps/x86_64/tst-avx512.c: Likewise.
7453         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
7454         * sysdeps/x86_64/tst-avxmod.c: Likewise.
7455         * sysdeps/x86_64/tst-sse.c: Likewise.
7456         * sysdeps/x86_64/tst-ssemod.c: Likewise.
7458 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
7460         * math/auto-libm-test-in: Add more tests of csin and csinh.
7461         * math/auto-libm-test-out-csin: Regenerated.
7462         * math/auto-libm-test-out-csinh: Likewise.
7463         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
7464         auto-libm-test-in.
7465         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
7467 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7469         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
7470         libm-compat-calls-auto.
7471         (libm-compat-calls): Likewise.
7472         (libm-compat-calls-auto): Rename to libm-compat-calls and add
7473         w_lgamma_compatF and k_standardF (merged from the items above).
7474         (libm-routines): Use libm-compat-calls, instead of
7475         libm-compat-calls-auto, with type-foreach.
7477 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
7479         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
7480         macro.
7481         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
7482         (CFLAGS-test-ifloat.c): ... this.  Remove
7483         -U__LIBC_INTERNAL_MATH_INLINES.
7484         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
7485         (CFLAGS-test-idouble.c): ... this.  Remove
7486         -U__LIBC_INTERNAL_MATH_INLINES.
7487         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
7488         (CFLAGS-test-ildouble.c): ... this.  Remove
7489         -U__LIBC_INTERNAL_MATH_INLINES.
7491 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
7493         * math/libm-test-support.c: New file.  Content from
7494         math/libm-test-driver.c.
7495         * math/libm-test-support.h: Likewise.
7496         * math/libm-test-support-double.c: New file.
7497         * math/libm-test-support-float.c: Likewise.
7498         * math/libm-test-support-ldouble.c: Likewise.
7499         * math/libm-test-driver.c: Remove main comment and header
7500         includes.  Include libm-test-support.h.
7501         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
7502         (flag_test_errno): Remove static.
7503         (flag_test_exceptions): Likewise.
7504         (flag_test_finite): Likewise.
7505         (flag_test_inline): Likewise.
7506         (flag_test_mathvec): Likewise.
7507         (test_msg): Likewise.
7508         (NO_EXCEPTION): Remove.
7509         (INVALID_EXCEPTION): Likewise.
7510         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
7511         (OVERFLOW_EXCEPTION): Likewise.
7512         (UNDERFLOW_EXCEPTION): Likewise.
7513         (INEXACT_EXCEPTION): Likewise.
7514         (INVALID_EXCEPTION_OK): Likewise.
7515         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7516         (OVERFLOW_EXCEPTION_OK): Likewise.
7517         (UNDERFLOW_EXCEPTION_OK): Likewise.
7518         (NO_INEXACT_EXCEPTION): Likewise.
7519         (EXCEPTIONS_OK): Likewise.
7520         (IGNORE_ZERO_INF_SIGN): Likewise.
7521         (TEST_NAN_SIGN): Likewise.
7522         (TEST_NAN_PAYLOAD): Likewise.
7523         (NO_TEST_INLINE): Likewise.
7524         (XFAIL_TEST): Likewise.
7525         (ERRNO_UNCHANGED): Likewise.
7526         (ERRNO_EDOM): Likewise.
7527         (ERRNO_ERANGE): Likewise.
7528         (IGNORE_RESULT): Likewise.
7529         (NON_FINITE): Likewise.
7530         (TEST_SNAN): Likewise.
7531         (NO_TEST_MATHVEC): Likewise.
7532         (__CONCATX): Likewise.
7533         (TYPE_MIN): Likewise.
7534         (TYPE_TRUE_MIN): Likewise.
7535         (TYPE_MAX): Likewise.
7536         (MIN_EXP): Likewise.
7537         (MAX_EXP): Likewise.
7538         (MANT_DIG): Likewise.
7539         (FSTR_MAX): Likewise.
7540         (ulp_idx): Likewise.
7541         (qtype_str): Remove static.
7542         (TEST_COND_binary32): Remove.
7543         (TEST_COND_binary64): Likewise.
7544         (TEST_COND_binary128): Likewise.
7545         (TEST_COND_ibm128): Likewise.
7546         (TEST_COND_intel96): Likewise.
7547         (TEST_COND_m68k96): Likewise.
7548         (TEST_COND_ibm128_libgcc): Likewise.
7549         (XFAIL_IBM128_LIBGCC): Likewise.
7550         (PAYLOAD_DIG): Likewise.
7551         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7552         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7553         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7554         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7555         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7556         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
7557         (TEST_COND_long32): Likewise.
7558         (TEST_COND_long64): Likewise.
7559         (TEST_COND_before_rounding): Likewise.
7560         (TEST_COND_after_rounding): Likewise.
7561         (ulps_file_name): Likewise.
7562         (ulps_file): Likewise.
7563         (output_ulps): Likewise.
7564         (output_dir): Likewise.
7565         (noErrors): Likewise.
7566         (noTests): Likewise.
7567         (noExcTests): Likewise.
7568         (noErrnoTests): Likewise.
7569         (verbose): Likewise.
7570         (output_max_error): Likewise.
7571         (output_points): Likewise.
7572         (ignore_max_ulp): Likewise.
7573         (max_error): Likewise.
7574         (real_max_error): Likewise.
7575         (imag_max_error): Likewise.
7576         (prev_max_error): Likewise.
7577         (prev_real_max_error): Likewise.
7578         (prev_imag_max_error): Likewise.
7579         (max_valid_error): Likewise.
7580         (TYPE_DECIMAL_DIG): Likewise.
7581         (TYPE_HEX_DIG): Likewise.
7582         (fmt_ftostr): Likewise.
7583         (compare_ulp_data): Likewise.
7584         (find_ulps): Likewise.
7585         (init_max_error): Likewise.
7586         (set_max_error): Likewise.
7587         (print_float): Likewise.
7588         (print_screen): Likewise.
7589         (print_screen_max_error): Likewise.
7590         (update_stats): Likewise.
7591         (print_function_ulps): Likewise.
7592         (print_complex_function_ulps): Likewise.
7593         (fpstack_test): Likewise.
7594         (print_max_error): Likewise.
7595         (print_complex_max_error): Likewise.
7596         (test_single_exception): Likewise.
7597         (test_exceptions): Likewise.
7598         (test_single_errno): Likewise.
7599         (test_errno): Likewise.
7600         (ULPDIFF): Likewise.
7601         (ulp): Likewise.
7602         (check_float_internal): Likewise.
7603         (check_float): Likewise.
7604         (check_complex): Likewise.
7605         (check_int): Likewise.
7606         (check_long): Likewise.
7607         (check_bool): Likewise.
7608         (check_longlong): Likewise.
7609         (check_intmax_t): Likewise.
7610         (check_uintmax_t): Likewise.
7611         (enable_test): Likewise.
7612         (matherr): Likewise.
7613         (initialize): Likewise.
7614         (options): Likewise.
7615         (doc): Remove static.
7616         (argp): Likewise.
7617         (parse_opt): Remove.
7618         (check_ulp): Likewise.
7619         (libm_test_init): Likewise.
7620         (libm_test_finish): Likewise.
7621         * math/Makefile (libm-test-support): New variable.
7622         (test-extras): Add libm-test-support files.
7623         (extra-test-objs): Likewise.
7624         (CFLAGS-libm-test-support-float.c): New variable.
7625         (CFLAGS-libm-test-support-double.c): Likewise.
7626         (CFLAGS-libm-test-support-ldouble.c): Likewise.
7627         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
7628         libm-test-support objects.
7630 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7632         * math/Makefile (libm-calls): Move w_exp...
7633         (libm-compat-calls-auto): Here.
7635         * math/w_expl.c: Add suffix "_compat" to filename.
7636         * sysdeps/ia64/fpu/w_expl.c: Likewise.
7637         * sysdeps/ia64/fpu/w_expf.c: Likewise.
7638         * sysdeps/ia64/fpu/w_exp.c: Likewise.
7639         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7640         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7641         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7642         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
7643         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7645         * math/w_expl_compat.c: New file, copied from above.
7646         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
7647         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
7648         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
7649         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
7650         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
7651         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
7652         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
7653         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
7655         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
7656         to filename.
7657         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
7659         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
7660         copied from above and adjusted for the new filenames.
7661         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
7663 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7665         * math/Makefile (libm-calls): Move w_lgammaF...
7666         (libm-compat-calls-auto): Here.
7668         * math/w_lgamma.c: Add suffix "_compat2" to filename.
7669         * math/w_lgammaf.c: Likewise.
7670         * math/w_lgammal.c: Likewise.
7672         * math/w_lgamma_compat2.c: New file, copied from above.
7673         * math/w_lgammaf_compat2.c: Likewise.
7674         * math/w_lgammal_compat2.c: Likewise.
7676 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7678         * math/Makefile (libm-calls): Move w_lgammaF_r...
7679         (libm-compat-calls-auto): Here.
7681         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
7682         * math/w_lgammaf_r.c: Likewise.
7683         * math/w_lgammal_r.c: Likewise.
7684         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
7685         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
7686         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
7688         * math/w_lgamma_r_compat.c: New file, copied from above.
7689         * math/w_lgammaf_r_compat.c: Likewise.
7690         * math/w_lgammal_r_compat.c: Likewise.
7691         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
7692         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
7693         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
7695         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
7696         to filename.
7697         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
7699         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
7700         copied from above and adjusted for the new filenames.
7701         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
7703 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
7705         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
7706         calculation in SYSCALL_ERROR_HANDLER().
7708 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
7710         * manual/contrib.texi: Fix typo.
7712 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7714         [BZ #21109]
7715         * elf/dl-tunable-types.h (tunable_callback_t): Accept
7716         tunable_val_t as argument.
7717         * elf/dl-tunables.c (__tunable_set_val): Add comment.
7718         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
7719         argument.
7720         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
7722 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
7724         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
7725         Add PTRACE_EVENT_STOP.
7726         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7727         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7728         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7729         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7730         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
7731         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
7733 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
7735         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
7736         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
7737         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
7738         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
7739         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
7740         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
7741         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
7742         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
7743         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
7744         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
7746         [BZ #21112]
7747         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
7748         12 bits zero.
7749         (cp_l): Update for new value of cp_h.
7750         * math/auto-libm-test-in: Add another test of pow.
7751         * math/auto-libm-test-out-pow: Regenerated.
7753 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7755         * manual/contrib.texi: Fix typo.
7757 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7759         [BZ #15998]
7760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7761         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
7762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7764 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7766         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
7767         STRCHR as __strchr_power8.
7768         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
7769         strlen as __strlen_power8.
7771 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7773         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
7774         unaligned load for shorter strings.
7775         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
7777 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7779         * math/libm-test-driver.c (flag_test_errno): New variable.
7780         (flag_test_exceptions): Likewise.
7781         (flag_test_finite): Likewise.
7782         (flag_test_inline): Likewise.
7783         (flag_test_mathvec): Likewise.
7784         (test_msg): Likewise.
7785         (ulp_idx): Likewise.
7786         (qtype_str): Likewise.
7787         (ULP_IDX): Remove macro.
7788         (QTYPE_STR): Likewise.
7789         (find_ulps): Use ulp_idx not ULP_IDX.
7790         (print_function_ulps): Use qtype_str, printed with %s, not
7791         QTYPE_STR, printed with concatentation to format string.
7792         (print_complex_function_ulps): Likewise.
7793         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
7794         (test_errno): Use flag_test_errno not TEST_ERRNO.
7795         (enable_test): Use flag_test_inline, flag_test_finite and
7796         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
7797         TEST_MATHVEC.
7798         (libm_test_init): New function.  Factored out of main.
7799         (libm_test_finish): Likewise.
7800         (main): Call libm_test_init and libm_test_finish and move most
7801         code to those functions.
7803         * math/libm-test-driver.c (STRX): New macro.
7804         (STR): Likewise.
7805         (STR_FLOAT): Likewise.
7806         (STR_VEC_LEN): Likewise.
7807         (TEST_MSG): Likewise.  Define here instead of expecting to be
7808         defined by including file.
7809         * math/test-double-finite.c (TEST_MSG): Remove macro.
7810         * math/test-double-vlen2.h (TEST_MSG): Likewise.
7811         * math/test-double-vlen4.h (TEST_MSG): Likewise.
7812         * math/test-double-vlen8.h (TEST_MSG): Likewise.
7813         * math/test-double.c (TEST_MSG): Likewise.
7814         * math/test-float-finite.c (TEST_MSG): Likewise.
7815         * math/test-float-vlen16.h (TEST_MSG): Likewise.
7816         * math/test-float-vlen4.h (TEST_MSG): Likewise.
7817         * math/test-float-vlen8.h (TEST_MSG): Likewise.
7818         * math/test-float.c (TEST_MSG): Likewise.
7819         * math/test-idouble.c (TEST_MSG): Likewise.
7820         * math/test-ifloat.c (TEST_MSG): Likewise.
7821         * math/test-ildouble.c (TEST_MSG): Likewise.
7822         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
7823         * math/test-ldouble.c (TEST_MSG): Likewise.
7825         * math/libm-test.inc: Move all tests of individual functions to
7826         libm-test-*.inc and #include libm-test-*.c files.
7827         (acos_test_data): Remove.
7828         (acos_test): Likewise.
7829         (acosh_test_data): Likewise.
7830         (acosh_test): Likewise.
7831         (asin_test_data): Likewise.
7832         (asin_test): Likewise.
7833         (asinh_test_data): Likewise.
7834         (asinh_test): Likewise.
7835         (atan_test_data): Likewise.
7836         (atan_test): Likewise.
7837         (atanh_test_data): Likewise.
7838         (atanh_test): Likewise.
7839         (atan2_test_data): Likewise.
7840         (atan2_test): Likewise.
7841         (cabs_test_data): Likewise.
7842         (cabs_test): Likewise.
7843         (cacos_test_data): Likewise.
7844         (cacos_test): Likewise.
7845         (cacosh_test_data): Likewise.
7846         (cacosh_test): Likewise.
7847         (canonicalize_test_data): Likewise.
7848         (canonicalize_test): Likewise.
7849         (carg_test_data): Likewise.
7850         (carg_test): Likewise.
7851         (casin_test_data): Likewise.
7852         (casin_test): Likewise.
7853         (casinh_test_data): Likewise.
7854         (casinh_test): Likewise.
7855         (catan_test_data): Likewise.
7856         (catan_test): Likewise.
7857         (catanh_test_data): Likewise.
7858         (catanh_test): Likewise.
7859         (cbrt_test_data): Likewise.
7860         (cbrt_test): Likewise.
7861         (ccos_test_data): Likewise.
7862         (ccos_test): Likewise.
7863         (ccosh_test_data): Likewise.
7864         (ccosh_test): Likewise.
7865         (ceil_test_data): Likewise.
7866         (ceil_test): Likewise.
7867         (cexp_test_data): Likewise.
7868         (cexp_test): Likewise.
7869         (cimag_test_data): Likewise.
7870         (cimag_test): Likewise.
7871         (clog_test_data): Likewise.
7872         (clog_test): Likewise.
7873         (clog10_test_data): Likewise.
7874         (clog10_test): Likewise.
7875         (conj_test_data): Likewise.
7876         (conj_test): Likewise.
7877         (copysign_test_data): Likewise.
7878         (copysign_test): Likewise.
7879         (cos_test_data): Likewise.
7880         (cos_test): Likewise.
7881         (cosh_test_data): Likewise.
7882         (cosh_test): Likewise.
7883         (cpow_test_data): Likewise.
7884         (cpow_test): Likewise.
7885         (cproj_test_data): Likewise.
7886         (cproj_test): Likewise.
7887         (creal_test_data): Likewise.
7888         (creal_test): Likewise.
7889         (csin_test_data): Likewise.
7890         (csin_test): Likewise.
7891         (csinh_test_data): Likewise.
7892         (csinh_test): Likewise.
7893         (csqrt_test_data): Likewise.
7894         (csqrt_test): Likewise.
7895         (ctan_test_data): Likewise.
7896         (ctan_test): Likewise.
7897         (ctanh_test_data): Likewise.
7898         (ctanh_test): Likewise.
7899         (erf_test_data): Likewise.
7900         (erf_test): Likewise.
7901         (erfc_test_data): Likewise.
7902         (erfc_test): Likewise.
7903         (exp_test_data): Likewise.
7904         (exp_test): Likewise.
7905         (exp10_test_data): Likewise.
7906         (exp10_test): Likewise.
7907         (pow10_test): Likewise.
7908         (exp2_test_data): Likewise.
7909         (exp2_test): Likewise.
7910         (expm1_test_data): Likewise.
7911         (expm1_test): Likewise.
7912         (fabs_test_data): Likewise.
7913         (fabs_test): Likewise.
7914         (fdim_test_data): Likewise.
7915         (fdim_test): Likewise.
7916         (floor_test_data): Likewise.
7917         (floor_test): Likewise.
7918         (fma_test_data): Likewise.
7919         (fma_test): Likewise.
7920         (fmax_test_data): Likewise.
7921         (fmax_test): Likewise.
7922         (fmaxmag_test_data): Likewise.
7923         (fmaxmag_test): Likewise.
7924         (fmin_test_data): Likewise.
7925         (fmin_test): Likewise.
7926         (fminmag_test_data): Likewise.
7927         (fminmag_test): Likewise.
7928         (fmod_test_data): Likewise.
7929         (fmod_test): Likewise.
7930         (fpclassify_test_data): Likewise.
7931         (fpclassify_test): Likewise.
7932         (frexp_test_data): Likewise.
7933         (frexp_test): Likewise.
7934         (fromfp_test_data): Likewise.
7935         (fromfp_test): Likewise.
7936         (fromfpx_test_data): Likewise.
7937         (fromfpx_test): Likewise.
7938         (getpayload_test_data): Likewise.
7939         (getpayload_test): Likewise.
7940         (hypot_test_data): Likewise.
7941         (hypot_test): Likewise.
7942         (ilogb_test_data): Likewise.
7943         (ilogb_test): Likewise.
7944         (iscanonical_test_data): Likewise.
7945         (iscanonical_test): Likewise.
7946         (iseqsig_test_data): Likewise.
7947         (iseqsig_test): Likewise.
7948         (isfinite_test_data): Likewise.
7949         (isfinite_test): Likewise.
7950         (finite_test): Likewise.
7951         (isgreater_test_data): Likewise.
7952         (isgreater_test): Likewise.
7953         (isgreaterequal_test_data): Likewise.
7954         (isgreaterequal_test): Likewise.
7955         (isinf_test_data): Likewise.
7956         (isinf_test): Likewise.
7957         (isless_test_data): Likewise.
7958         (isless_test): Likewise.
7959         (islessequal_test_data): Likewise.
7960         (islessequal_test): Likewise.
7961         (islessgreater_test_data): Likewise.
7962         (islessgreater_test): Likewise.
7963         (isnan_test_data): Likewise.
7964         (isnan_test): Likewise.
7965         (isnormal_test_data): Likewise.
7966         (isnormal_test): Likewise.
7967         (issignaling_test_data): Likewise.
7968         (issignaling_test): Likewise.
7969         (issubnormal_test_data): Likewise.
7970         (issubnormal_test): Likewise.
7971         (isunordered_test_data): Likewise.
7972         (isunordered_test): Likewise.
7973         (iszero_test_data): Likewise.
7974         (iszero_test): Likewise.
7975         (j0_test_data): Likewise.
7976         (j0_test): Likewise.
7977         (j1_test_data): Likewise.
7978         (j1_test): Likewise.
7979         (jn_test_data): Likewise.
7980         (jn_test): Likewise.
7981         (lgamma_test_data): Likewise.
7982         (lgamma_test): Likewise.
7983         (gamma_test): Likewise.
7984         (llogb_test_data): Likewise.
7985         (llogb_test): Likewise.
7986         (lrint_test_data): Likewise.
7987         (lrint_test): Likewise.
7988         (llrint_test_data): Likewise.
7989         (llrint_test): Likewise.
7990         (log_test_data): Likewise.
7991         (log_test): Likewise.
7992         (log10_test_data): Likewise.
7993         (log10_test): Likewise.
7994         (log1p_test_data): Likewise.
7995         (log1p_test): Likewise.
7996         (log2_test_data): Likewise.
7997         (log2_test): Likewise.
7998         (logb_test_data): Likewise.
7999         (logb_test): Likewise.
8000         (lround_test_data): Likewise.
8001         (lround_test): Likewise.
8002         (llround_test_data): Likewise.
8003         (llround_test): Likewise.
8004         (modf_test_data): Likewise.
8005         (modf_test): Likewise.
8006         (nearbyint_test_data): Likewise.
8007         (nearbyint_test): Likewise.
8008         (nextafter_test_data): Likewise.
8009         (nextafter_test): Likewise.
8010         (nextup_test_data): Likewise.
8011         (nextup_test): Likewise.
8012         (nextdown_test_data): Likewise.
8013         (nextdown_test): Likewise.
8014         (nexttoward_test_data): Likewise.
8015         (nexttoward_test): Likewise.
8016         (pow_test_data): Likewise.
8017         (pow_test): Likewise.
8018         (remainder_test_data): Likewise.
8019         (remainder_test): Likewise.
8020         (drem_test): Likewise.
8021         (remquo_test_data): Likewise.
8022         (remquo_test): Likewise.
8023         (rint_test_data): Likewise.
8024         (rint_test): Likewise.
8025         (round_test_data): Likewise.
8026         (round_test): Likewise.
8027         (roundeven_test_data): Likewise.
8028         (roundeven_test): Likewise.
8029         (scalb_test_data): Likewise.
8030         (scalb_test): Likewise.
8031         (scalbn_test_data): Likewise.
8032         (scalbn_test): Likewise.
8033         (ldexp_test): Likewise.
8034         (scalbln_test_data): Likewise.
8035         (scalbln_test): Likewise.
8036         (setpayload_test_data): Likewise.
8037         (setpayload_test): Likewise.
8038         (setpayloadsig_test_data): Likewise.
8039         (setpayloadsig_test): Likewise.
8040         (signbit_test_data): Likewise.
8041         (signbit_test): Likewise.
8042         (sin_test_data): Likewise.
8043         (sin_test): Likewise.
8044         (sincos_test_data): Likewise.
8045         (sincos_test): Likewise.
8046         (sinh_test_data): Likewise.
8047         (sinh_test): Likewise.
8048         (sqrt_test_data): Likewise.
8049         (sqrt_test): Likewise.
8050         (tan_test_data): Likewise.
8051         (tan_test): Likewise.
8052         (tanh_test_data): Likewise.
8053         (tanh_test): Likewise.
8054         (tgamma_test_data): Likewise.
8055         (tgamma_test): Likewise.
8056         (totalorder_test_data): Likewise.
8057         (totalorder_test): Likewise.
8058         (totalordermag_test_data): Likewise.
8059         (totalordermag_test): Likewise.
8060         (trunc_test_data): Likewise.
8061         (trunc_test): Likewise.
8062         (ufromfp_test_data): Likewise.
8063         (ufromfp_test): Likewise.
8064         (ufromfpx_test_data): Likewise.
8065         (ufromfpx_test): Likewise.
8066         (y0_test_data): Likewise.
8067         (y0_test): Likewise.
8068         (y1_test_data): Likewise.
8069         (y1_test): Likewise.
8070         (yn_test_data): Likewise.
8071         (yn_test): Likewise.
8072         (significand_test_data): Likewise.
8073         (significand_test): Likewise.
8074         * math/Makefile (auto-libm-test-out-files): Remove variable.
8075         (libm-test-funcs-noauto): New variable.
8076         (libm-test-funcs-all): Likewise.
8077         (libm-test-c-auto): Likewise.
8078         (libm-test-c-noauto): Likewise.
8079         (libm-tests-generated): Add $(libm-test-c-auto) and
8080         $(libm-test-c-noauto).
8081         (generated): Do not add auto-libm-test-out.
8082         (libm-test-c-auto-obj): New variable.
8083         (libm-test-c-noauto-obj): Likewise.
8084         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
8085         ($(libm-test-c-noauto-obj)): New static pattern rule.
8086         ($(libm-test-c-auto-obj)): Likewise.
8087         (libm-test-incs): New variable.
8088         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
8089         and pass it to gen-libm-have-vector-test.sh.
8090         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
8091         be passed on command line.
8092         * math/libm-test-acos.inc: New file.  Content from
8093         math/libm-test.inc.
8094         * math/libm-test-acosh.inc: Likewise.
8095         * math/libm-test-asin.inc: Likewise.
8096         * math/libm-test-asinh.inc: Likewise.
8097         * math/libm-test-atan.inc: Likewise.
8098         * math/libm-test-atan2.inc: Likewise.
8099         * math/libm-test-atanh.inc: Likewise.
8100         * math/libm-test-cabs.inc: Likewise.
8101         * math/libm-test-cacos.inc: Likewise.
8102         * math/libm-test-cacosh.inc: Likewise.
8103         * math/libm-test-canonicalize.inc: Likewise.
8104         * math/libm-test-carg.inc: Likewise.
8105         * math/libm-test-casin.inc: Likewise.
8106         * math/libm-test-casinh.inc: Likewise.
8107         * math/libm-test-catan.inc: Likewise.
8108         * math/libm-test-catanh.inc: Likewise.
8109         * math/libm-test-cbrt.inc: Likewise.
8110         * math/libm-test-ccos.inc: Likewise.
8111         * math/libm-test-ccosh.inc: Likewise.
8112         * math/libm-test-ceil.inc: Likewise.
8113         * math/libm-test-cexp.inc: Likewise.
8114         * math/libm-test-cimag.inc: Likewise.
8115         * math/libm-test-clog.inc: Likewise.
8116         * math/libm-test-clog10.inc: Likewise.
8117         * math/libm-test-conj.inc: Likewise.
8118         * math/libm-test-copysign.inc: Likewise.
8119         * math/libm-test-cos.inc: Likewise.
8120         * math/libm-test-cosh.inc: Likewise.
8121         * math/libm-test-cpow.inc: Likewise.
8122         * math/libm-test-cproj.inc: Likewise.
8123         * math/libm-test-creal.inc: Likewise.
8124         * math/libm-test-csin.inc: Likewise.
8125         * math/libm-test-csinh.inc: Likewise.
8126         * math/libm-test-csqrt.inc: Likewise.
8127         * math/libm-test-ctan.inc: Likewise.
8128         * math/libm-test-ctanh.inc: Likewise.
8129         * math/libm-test-erf.inc: Likewise.
8130         * math/libm-test-erfc.inc: Likewise.
8131         * math/libm-test-exp.inc: Likewise.
8132         * math/libm-test-exp10.inc: Likewise.
8133         * math/libm-test-exp2.inc: Likewise.
8134         * math/libm-test-expm1.inc: Likewise.
8135         * math/libm-test-fabs.inc: Likewise.
8136         * math/libm-test-fdim.inc: Likewise.
8137         * math/libm-test-floor.inc: Likewise.
8138         * math/libm-test-fma.inc: Likewise.
8139         * math/libm-test-fmax.inc: Likewise.
8140         * math/libm-test-fmaxmag.inc: Likewise.
8141         * math/libm-test-fmin.inc: Likewise.
8142         * math/libm-test-fminmag.inc: Likewise.
8143         * math/libm-test-fmod.inc: Likewise.
8144         * math/libm-test-fpclassify.inc: Likewise.
8145         * math/libm-test-frexp.inc: Likewise.
8146         * math/libm-test-fromfp.inc: Likewise.
8147         * math/libm-test-fromfpx.inc: Likewise.
8148         * math/libm-test-getpayload.inc: Likewise.
8149         * math/libm-test-hypot.inc: Likewise.
8150         * math/libm-test-ilogb.inc: Likewise.
8151         * math/libm-test-iscanonical.inc: Likewise.
8152         * math/libm-test-iseqsig.inc: Likewise.
8153         * math/libm-test-isfinite.inc: Likewise.
8154         * math/libm-test-isgreater.inc: Likewise.
8155         * math/libm-test-isgreaterequal.inc: Likewise.
8156         * math/libm-test-isinf.inc: Likewise.
8157         * math/libm-test-isless.inc: Likewise.
8158         * math/libm-test-islessequal.inc: Likewise.
8159         * math/libm-test-islessgreater.inc: Likewise.
8160         * math/libm-test-isnan.inc: Likewise.
8161         * math/libm-test-isnormal.inc: Likewise.
8162         * math/libm-test-issignaling.inc: Likewise.
8163         * math/libm-test-issubnormal.inc: Likewise.
8164         * math/libm-test-isunordered.inc: Likewise.
8165         * math/libm-test-iszero.inc: Likewise.
8166         * math/libm-test-j0.inc: Likewise.
8167         * math/libm-test-j1.inc: Likewise.
8168         * math/libm-test-jn.inc: Likewise.
8169         * math/libm-test-lgamma.inc: Likewise.
8170         * math/libm-test-llogb.inc: Likewise.
8171         * math/libm-test-llrint.inc: Likewise.
8172         * math/libm-test-llround.inc: Likewise.
8173         * math/libm-test-log.inc: Likewise.
8174         * math/libm-test-log10.inc: Likewise.
8175         * math/libm-test-log1p.inc: Likewise.
8176         * math/libm-test-log2.inc: Likewise.
8177         * math/libm-test-logb.inc: Likewise.
8178         * math/libm-test-lrint.inc: Likewise.
8179         * math/libm-test-lround.inc: Likewise.
8180         * math/libm-test-modf.inc: Likewise.
8181         * math/libm-test-nearbyint.inc: Likewise.
8182         * math/libm-test-nextafter.inc: Likewise.
8183         * math/libm-test-nextdown.inc: Likewise.
8184         * math/libm-test-nexttoward.inc: Likewise.
8185         * math/libm-test-nextup.inc: Likewise.
8186         * math/libm-test-pow.inc: Likewise.
8187         * math/libm-test-remainder.inc: Likewise.
8188         * math/libm-test-remquo.inc: Likewise.
8189         * math/libm-test-rint.inc: Likewise.
8190         * math/libm-test-round.inc: Likewise.
8191         * math/libm-test-roundeven.inc: Likewise.
8192         * math/libm-test-scalb.inc: Likewise.
8193         * math/libm-test-scalbln.inc: Likewise.
8194         * math/libm-test-scalbn.inc: Likewise.
8195         * math/libm-test-setpayload.inc: Likewise.
8196         * math/libm-test-setpayloadsig.inc: Likewise.
8197         * math/libm-test-signbit.inc: Likewise.
8198         * math/libm-test-significand.inc: Likewise.
8199         * math/libm-test-sin.inc: Likewise.
8200         * math/libm-test-sincos.inc: Likewise.
8201         * math/libm-test-sinh.inc: Likewise.
8202         * math/libm-test-sqrt.inc: Likewise.
8203         * math/libm-test-tan.inc: Likewise.
8204         * math/libm-test-tanh.inc: Likewise.
8205         * math/libm-test-tgamma.inc: Likewise.
8206         * math/libm-test-totalorder.inc: Likewise.
8207         * math/libm-test-totalordermag.inc: Likewise.
8208         * math/libm-test-trunc.inc: Likewise.
8209         * math/libm-test-ufromfp.inc: Likewise.
8210         * math/libm-test-ufromfpx.inc: Likewise.
8211         * math/libm-test-y0.inc: Likewise.
8212         * math/libm-test-y1.inc: Likewise.
8213         * math/libm-test-yn.inc: Likewise.
8214         * math/README.libm-test: Update.
8216         * math/gen-auto-libm-tests.c: Update comment about use of program.
8217         (generate_output): Add argument FUNCTION.
8218         (main): Require extra argument.  Pass function name to
8219         generate_output.
8220         * math/Makefile (generated): Add auto-libm-test-out.
8221         (libm-test-funcs-auto): New variable.
8222         (auto-libm-test-out-files): New variable.
8223         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
8224         Concatenate those files to form $(objpfx)auto-libm-test-out and
8225         use it as input to gen-libm-test.pl.
8226         * math/README.libm-test: Update.
8227         * math/auto-libm-test-out: Remove.
8228         * math/auto-libm-test-out-acos: New generated file.
8229         * math/auto-libm-test-out-acosh: Likewise.
8230         * math/auto-libm-test-out-asin: Likewise.
8231         * math/auto-libm-test-out-asinh: Likewise.
8232         * math/auto-libm-test-out-atan: Likewise.
8233         * math/auto-libm-test-out-atan2: Likewise.
8234         * math/auto-libm-test-out-atanh: Likewise.
8235         * math/auto-libm-test-out-cabs: Likewise.
8236         * math/auto-libm-test-out-carg: Likewise.
8237         * math/auto-libm-test-out-cbrt: Likewise.
8238         * math/auto-libm-test-out-ccos: Likewise.
8239         * math/auto-libm-test-out-ccosh: Likewise.
8240         * math/auto-libm-test-out-cexp: Likewise.
8241         * math/auto-libm-test-out-clog: Likewise.
8242         * math/auto-libm-test-out-clog10: Likewise.
8243         * math/auto-libm-test-out-cos: Likewise.
8244         * math/auto-libm-test-out-cosh: Likewise.
8245         * math/auto-libm-test-out-cpow: Likewise.
8246         * math/auto-libm-test-out-csin: Likewise.
8247         * math/auto-libm-test-out-csinh: Likewise.
8248         * math/auto-libm-test-out-csqrt: Likewise.
8249         * math/auto-libm-test-out-ctan: Likewise.
8250         * math/auto-libm-test-out-ctanh: Likewise.
8251         * math/auto-libm-test-out-erf: Likewise.
8252         * math/auto-libm-test-out-erfc: Likewise.
8253         * math/auto-libm-test-out-exp: Likewise.
8254         * math/auto-libm-test-out-exp10: Likewise.
8255         * math/auto-libm-test-out-exp2: Likewise.
8256         * math/auto-libm-test-out-expm1: Likewise.
8257         * math/auto-libm-test-out-fma: Likewise.
8258         * math/auto-libm-test-out-hypot: Likewise.
8259         * math/auto-libm-test-out-j0: Likewise.
8260         * math/auto-libm-test-out-j1: Likewise.
8261         * math/auto-libm-test-out-jn: Likewise.
8262         * math/auto-libm-test-out-lgamma: Likewise.
8263         * math/auto-libm-test-out-log: Likewise.
8264         * math/auto-libm-test-out-log10: Likewise.
8265         * math/auto-libm-test-out-log1p: Likewise.
8266         * math/auto-libm-test-out-log2: Likewise.
8267         * math/auto-libm-test-out-pow: Likewise.
8268         * math/auto-libm-test-out-sin: Likewise.
8269         * math/auto-libm-test-out-sincos: Likewise.
8270         * math/auto-libm-test-out-sinh: Likewise.
8271         * math/auto-libm-test-out-sqrt: Likewise.
8272         * math/auto-libm-test-out-tan: Likewise.
8273         * math/auto-libm-test-out-tanh: Likewise.
8274         * math/auto-libm-test-out-tgamma: Likewise.
8275         * math/auto-libm-test-out-y0: Likewise.
8276         * math/auto-libm-test-out-y1: Likewise.
8277         * math/auto-libm-test-out-yn: Likewise.
8279         * math/Makefile (generated): Do not include libm-test.stmp.
8280         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
8281         on $(objpfx)libm-test.stmp.
8282         ($(objpfx)libm-test.stmp): Remove rule.
8283         ($(objpfx)libm-test-ulps.h): New rule.
8284         ($(objpfx)libm-test.c): Likewise.
8285         ($(objpfx)libm-have-vector-test.h): Likewise.
8286         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
8287         individual generated files, not libm-test.stmp.
8289         * math/gen-libm-test.pl ($output_dir): Remove variable.
8290         ($srcdir): Likewise.
8291         ($opt_a): New variable.
8292         ($opt_c): Likewise.
8293         ($opt_C): Likewise.
8294         ($opt_H): Likewise.
8295         (-n): Make option take argument and use it as NewUlps output.
8296         (-a): New option.  Use its argument for auto-libm-test-out input.
8297         (-c): New option.  Use its argument for libm-test.inc input.
8298         (-C): New option.  Use its argument for libm-test.c output.
8299         (-H): New option.  Use its argument for libm-test-ulps.h output.
8300         (top level): Only process inputs needed to generate outputs
8301         specified by command-line options.  Only generate outputs
8302         specified by command-line options.
8303         * math/README.libm-test: Update example gen-libm-test.pl command.
8304         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
8305         commands.
8306         (regen-ulps): Likewise.
8308 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
8310         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
8311         * include/string.h (index): Remove define.
8312         (rindex): Likewise.
8313         * misc/getttyent.c (__getttyent): Rename index to strchr.
8314         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
8315         * sunrpc/rpc_main.c (mkfile_output): Likewise.
8317 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8319         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
8320         * math/libm-test.inc: Move all contents, other than tests of
8321         individual functions, to libm-test-driver.c.
8322         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
8323         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
8324         [!FE_UPWARD] (FE_UPWARD): Likewise.
8325         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
8326         (NO_EXCEPTION): Likewise.
8327         (INVALID_EXCEPTION): Likewise.
8328         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8329         (OVERFLOW_EXCEPTION): Likewise.
8330         (UNDERFLOW_EXCEPTION): Likewise.
8331         (INEXACT_EXCEPTION): Likewise.
8332         (INVALID_EXCEPTION_OK): Likewise.
8333         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8334         (OVERFLOW_EXCEPTION_OK): Likewise.
8335         (UNDERFLOW_EXCEPTION_OK): Likewise.
8336         (NO_INEXACT_EXCEPTION): Likewise.
8337         (EXCEPTIONS_OK): Likewise.
8338         (IGNORE_ZERO_INF_SIGN): Likewise.
8339         (TEST_NAN_SIGN): Likewise.
8340         (TEST_NAN_PAYLOAD): Likewise.
8341         (NO_TEST_INLINE): Likewise.
8342         (XFAIL_TEST): Likewise.
8343         (ERRNO_UNCHANGED): Likewise.
8344         (ERRNO_EDOM): Likewise.
8345         (ERRNO_ERANGE): Likewise.
8346         (IGNORE_RESULT): Likewise.
8347         (NON_FINITE): Likewise.
8348         (TEST_SNAN): Likewise.
8349         (NO_TEST_MATHVEC): Likewise.
8350         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
8351         (__CONCATX): Likewise.
8352         (TYPE_MIN): Likewise.
8353         (TYPE_TRUE_MIN): Likewise.
8354         (TYPE_MAX): Likewise.
8355         (MIN_EXP): Likewise.
8356         (MAX_EXP): Likewise.
8357         (MANT_DIG): Likewise.
8358         (FSTR_MAX): Likewise.
8359         (ULP_IDX): Likewise.
8360         (QTYPE_STR): Likewise.
8361         (TEST_COND_binary32): Likewise.
8362         (TEST_COND_binary64): Likewise.
8363         (TEST_COND_binary128): Likewise.
8364         (TEST_COND_ibm128): Likewise.
8365         (TEST_COND_intel96): Likewise.
8366         (TEST_COND_m68k96): Likewise.
8367         (TEST_COND_ibm128_libgcc): Likewise.
8368         (XFAIL_IBM128_LIBGCC): Likewise.
8369         (PAYLOAD_DIG): Likewise.
8370         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8371         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8372         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8373         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8374         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8375         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8376         (TEST_COND_long32): Likewise.
8377         (TEST_COND_long64): Likewise.
8378         (TEST_COND_before_rounding): Likewise.
8379         (TEST_COND_after_rounding): Likewise.
8380         (lit_pi_3_m_4_d): Likewise.
8381         (lit_pi_3_m_4_ln10_m_d): Likewise.
8382         (lit_pi_2_ln10_m_d): Likewise.
8383         (lit_pi_4_ln10_m_d): Likewise.
8384         (lit_pi_ln10_d): Likewise.
8385         (lit_pi_2_d): Likewise.
8386         (lit_pi_4_d): Likewise.
8387         (lit_pi): Likewise.
8388         (lit_e): Likewise.
8389         (ulps_file_name): Likewise.
8390         (ulps_file): Likewise.
8391         (output_ulps): Likewise.
8392         (output_dir): Likewise.
8393         (noErrors): Likewise.
8394         (noTests): Likewise.
8395         (noExcTests): Likewise.
8396         (noErrnoTests): Likewise.
8397         (verbose): Likewise.
8398         (output_max_error): Likewise.
8399         (output_points): Likewise.
8400         (ignore_max_ulp): Likewise.
8401         (plus_zero): Likewise.
8402         (minus_zero): Likewise.
8403         (plus_infty): Likewise.
8404         (minus_infty): Likewise.
8405         (qnan_value_pl): Likewise.
8406         (qnan_value): Likewise.
8407         (snan_value_pl): Likewise.
8408         (snan_value): Likewise.
8409         (max_value): Likewise.
8410         (min_value): Likewise.
8411         (min_subnorm_value): Likewise.
8412         (snan_value_ld): Likewise.
8413         (max_error): Likewise.
8414         (real_max_error): Likewise.
8415         (imag_max_error): Likewise.
8416         (prev_max_error): Likewise.
8417         (prev_real_max_error): Likewise.
8418         (prev_imag_max_error): Likewise.
8419         (max_valid_error): Likewise.
8420         (TYPE_DECIMAL_DIG): Likewise.
8421         (TYPE_HEX_DIG): Likewise.
8422         (fmt_ftostr): Likewise.
8423         (compare_ulp_data): Likewise.
8424         (find_ulps): Likewise.
8425         (init_max_error): Likewise.
8426         (set_max_error): Likewise.
8427         (print_float): Likewise.
8428         (print_screen): Likewise.
8429         (print_screen_max_error): Likewise.
8430         (update_stats): Likewise.
8431         (print_function_ulps): Likewise.
8432         (print_complex_function_ulps): Likewise.
8433         (fpstack_test): Likewise.
8434         (print_max_error): Likewise.
8435         (print_complex_max_error): Likewise.
8436         (test_single_exception): Likewise.
8437         (test_exceptions): Likewise.
8438         (test_single_errno): Likewise.
8439         (test_errno): Likewise.
8440         (ULPDIFF): Likewise.
8441         (ulp): Likewise.
8442         (check_float_internal): Likewise.
8443         (check_float): Likewise.
8444         (check_complex): Likewise.
8445         (check_int): Likewise.
8446         (check_long): Likewise.
8447         (check_bool): Likewise.
8448         (check_longlong): Likewise.
8449         (check_intmax_t): Likewise.
8450         (check_uintmax_t): Likewise.
8451         (enable_test): Likewise.
8452         (struct test_f_f_data): Likewise.
8453         (struct test_ff_f_data): Likewise.
8454         (struct test_fj_f_data): Likewise.
8455         (struct test_fi_f_data): Likewise.
8456         (struct test_fl_f_data): Likewise.
8457         (struct test_if_f_data): Likewise.
8458         (struct test_fff_f_data): Likewise.
8459         (struct test_fiu_M_data): Likewise.
8460         (struct test_fiu_U_data): Likewise.
8461         (struct test_c_f_data): Likewise.
8462         (struct test_f_f1_data): Likewise.
8463         (struct test_fF_f1_data): Likewise.
8464         (struct test_ffI_f1_data): Likewise.
8465         (struct test_c_c_data): Likewise.
8466         (struct test_cc_c_data): Likewise.
8467         (struct test_f_i_data): Likewise.
8468         (struct test_ff_i_data): Likewise.
8469         (struct test_f_l_data): Likewise.
8470         (struct test_f_L_data): Likewise.
8471         (struct test_fFF_11_data): Likewise.
8472         (struct test_Ff_b1_data): Likewise.
8473         (IF_ROUND_INIT_): Likewise.
8474         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8475         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8476         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8477         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8478         (ROUND_RESTORE_): Likewise.
8479         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8480         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8481         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8482         (ROUND_RESTORE_FE_UPWARD): Likewise.
8483         (RM_): Likewise.
8484         (RM_FE_DOWNWARD): Likewise.
8485         (RM_FE_TONEAREST): Likewise.
8486         (RM_FE_TOWARDZERO): Likewise.
8487         (RM_FE_UPWARD): Likewise.
8488         (COMMON_TEST_SETUP): Likewise.
8489         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8490         (COMMON_TEST_CLEANUP): Likewise.
8491         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8492         (RUN_TEST_f_f): Likewise.
8493         (RUN_TEST_LOOP_f_f): Likewise.
8494         (RUN_TEST_fp_f): Likewise.
8495         (RUN_TEST_LOOP_fp_f): Likewise.
8496         (RUN_TEST_2_f): Likewise.
8497         (RUN_TEST_LOOP_2_f): Likewise.
8498         (RUN_TEST_ff_f): Likewise.
8499         (RUN_TEST_LOOP_ff_f): Likewise.
8500         (RUN_TEST_LOOP_fj_f): Likewise.
8501         (RUN_TEST_fi_f): Likewise.
8502         (RUN_TEST_LOOP_fi_f): Likewise.
8503         (RUN_TEST_fl_f): Likewise.
8504         (RUN_TEST_LOOP_fl_f): Likewise.
8505         (RUN_TEST_if_f): Likewise.
8506         (RUN_TEST_LOOP_if_f): Likewise.
8507         (RUN_TEST_fff_f): Likewise.
8508         (RUN_TEST_LOOP_fff_f): Likewise.
8509         (RUN_TEST_fiu_M): Likewise.
8510         (RUN_TEST_LOOP_fiu_M): Likewise.
8511         (RUN_TEST_fiu_U): Likewise.
8512         (RUN_TEST_LOOP_fiu_U): Likewise.
8513         (RUN_TEST_c_f): Likewise.
8514         (RUN_TEST_LOOP_c_f): Likewise.
8515         (RUN_TEST_f_f1): Likewise.
8516         (RUN_TEST_LOOP_f_f1): Likewise.
8517         (RUN_TEST_fF_f1): Likewise.
8518         (RUN_TEST_LOOP_fF_f1): Likewise.
8519         (RUN_TEST_fI_f1): Likewise.
8520         (RUN_TEST_LOOP_fI_f1): Likewise.
8521         (RUN_TEST_ffI_f1_mod8): Likewise.
8522         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
8523         (RUN_TEST_Ff_b1): Likewise.
8524         (RUN_TEST_LOOP_Ff_b1): Likewise.
8525         (RUN_TEST_Ffp_b1): Likewise.
8526         (RUN_TEST_LOOP_Ffp_b1): Likewise.
8527         (RUN_TEST_c_c): Likewise.
8528         (RUN_TEST_LOOP_c_c): Likewise.
8529         (RUN_TEST_cc_c): Likewise.
8530         (RUN_TEST_LOOP_cc_c): Likewise.
8531         (RUN_TEST_f_i): Likewise.
8532         (RUN_TEST_LOOP_f_i): Likewise.
8533         (RUN_TEST_f_i_tg): Likewise.
8534         (RUN_TEST_LOOP_f_i_tg): Likewise.
8535         (RUN_TEST_ff_b): Likewise.
8536         (RUN_TEST_LOOP_ff_b): Likewise.
8537         (RUN_TEST_ff_i_tg): Likewise.
8538         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8539         (RUN_TEST_f_b): Likewise.
8540         (RUN_TEST_LOOP_f_b): Likewise.
8541         (RUN_TEST_f_b_tg): Likewise.
8542         (RUN_TEST_LOOP_f_b_tg): Likewise.
8543         (RUN_TEST_f_l): Likewise.
8544         (RUN_TEST_LOOP_f_l): Likewise.
8545         (RUN_TEST_f_L): Likewise.
8546         (RUN_TEST_LOOP_f_L): Likewise.
8547         (RUN_TEST_fFF_11): Likewise.
8548         (RUN_TEST_LOOP_fFF_11): Likewise.
8549         (VEC_SUFF): Likewise.
8550         (STR_CONCAT): Likewise.
8551         (STR_CON3): Likewise.
8552         (HAVE_VECTOR): Likewise.
8553         (START): Likewise.
8554         (END): Likewise.
8555         (END_COMPLEX): Likewise.
8556         (ALL_RM_TEST): Likewise.
8557         (matherr): Likewise.
8558         (initialize): Likewise.
8559         (options): Likewise.
8560         (doc): Likewise.
8561         (parse_opt): Likewise.
8562         (argp): Likewise.
8563         (check_ulp): Likewise.
8564         (main): Likewise.
8565         (do_test): New function.  Call tests of individual functions
8566         previously called from main.
8568         * math/libm-test.inc: Remove comment listing functions tested and
8569         not tested.
8571 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8573         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
8574         (allocate_stack): Remove COLORING_INCREMENT usage.
8575         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
8576         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
8578 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8580         * manual/libm-err-tab.pl (@all_functions): Change to
8581         %all_functions.  Initialize as empty.
8582         (parse_ulps): Add to %all_functions based on functions found in
8583         ulps files.  Ignore results for non-default rounding modes and
8584         vector functions.
8585         (print_platforms): Use %all_platforms.
8586         * manual/math.texi (Errors in Math Functions): Document omissions
8587         from the table.
8589         * math/Makefile (before-compile): Remove.
8591 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
8593         [BZ #21075]
8594         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
8595         unused assignment.
8596         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8598 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8600         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
8601         Add __glibc_unlikely hint.
8603 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8605         [BZ #16640]
8606         * sysdeps/i386/i686/strtok.S: Remove file.
8607         * sysdeps/i386/i686/strtok_r.S: Likewise.
8608         * sysdeps/i386/strtok.S: Likewise.
8609         * sysdeps/i386/strtok_r.S: Likewise.
8610         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
8611         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
8612         * sysdeps/x86_64/strtok.S: Likewise.
8613         * sysdeps/x86_64/strtok_r.S: Likewise.
8615         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
8616         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8617         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8618         (__ASSUME_FADVISE64_AS_64_64): Define.
8619         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
8620         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
8621         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
8622         __ALIGNMENT_ARG usage.
8623         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
8624         __NR_fadvise64_64 if it is not defined.
8626 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8628         * version.h (RELEASE): Set to "development"
8629         (VERSION): Set to 2.25.90.
8630         * NEWS: Add 2.26 section.
8632         * version.h (RELEASE): Set to "stable"
8633         (VERSION): Set to 2.25.
8634         * include/features.h (__GLIBC_MINOR__): Set to 25.
8636         * manual/contrib.texi: Add more contributors from this release
8637         and past releases.
8639         * NEWS (2.25): Add list of bugs fixed.
8641         * NEWS: Add missing news items.
8643 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8645         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
8646         parent if child exited in that manner.  Print WEXITSTATUS
8647         instead of the raw status.
8648         (do_test_prep): Rename to do_test.
8649         (do_test): Return the result of run_executable_sgid.
8650         (TEST_FUNCTION_ARGV): Adjust.
8652 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
8653             Florian Weimer  <fweimer@redhat.com>
8654             Carlos O'Donell  <carlos@redhat.com>
8656         [BZ #20915]
8657         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
8658         Do not initialize DTV.
8659         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8661 2017-02-03  David S. Miller  <davem@davemloft.net>
8663         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
8664         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8665         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
8666         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8667         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
8668         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8669         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
8670         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8671         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8672         (libm-sysdep_routines): Update.
8673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
8674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
8675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
8677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8678         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
8679         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
8680         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
8681         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
8682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
8683         Likewise.
8684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
8686         Likewise.
8687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
8689         Likewise.
8690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
8692         Likewise.
8693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8695         (libm-sysdep_routines): Update.
8697 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
8699         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
8700         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
8701         against unrelocated shared library.
8702         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8704 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8706         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
8707         * elf/tst-env-setuid-tunables.c
8708         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
8709         GLIBC_TUNABLES is removed in a setgid process.
8711         [BZ #21073]
8712         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
8713         * elf/dl-tunables.c (tunables_strdup): Remove.
8714         (get_next_env): Also return the previous envp.
8715         (parse_tunables): Erase tunables of category
8716         TUNABLES_SECLEVEL_SXID_ERASE.
8717         (maybe_enable_malloc_check): Make MALLOC_CHECK_
8718         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
8719         (__tunables_init)[TUNABLES_FRONTEND ==
8720         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
8721         after parsing.
8722         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
8723         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
8724         * elf/dl-tunables.h (struct _tunable): Change member is_secure
8725         to security_level.
8726         * elf/dl-tunables.list: Add security_level annotations for all
8727         tunables.
8728         * scripts/gen-tunables.awk: Recognize and generate enum values
8729         for security_level.
8730         * elf/tst-env-setuid.c: New test case.
8731         * elf/tst-env-setuid-tunables: new test case.
8732         * elf/Makefile (tests-static): Add them.
8734 2017-02-01  Richard Henderson  <rth@twiddle.net>
8736         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
8737         adjusting the byte count.
8739 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
8741         * conform/Makefile (linknamespace-libs): Define.
8743         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
8744         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
8745         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
8746         operands.
8748 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
8750         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
8752 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8754         [BZ #21081]
8755         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8756         (L(stosb)): Add VZEROUPPER before ret.
8758 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
8759             Alexey Makhalov <amakhalov@vmware.com>
8760             Florian Weimer <fweimer@redhat.com>
8762         [BZ #20116]
8763         * nptl/pthread_create.c: Document concurrency notes.
8764         Enhance thread creation notes.
8765         (create_thread): Use bool *stopped_start.
8766         (START_THREAD_DEFN): Comment ownership of PD.
8767         (__pthread_create_2_1): Add local bool stopped_start and use
8768         that instead of pd->stopped_start where appropriate.
8769         * nptl/createthread.c (create_thread): Use bool *stopped_start.
8770         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
8771         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8772         * nptl/tst-create-detached.c: New file.
8773         * nptl/Makefile (tests): Add tst-create-detached.
8774         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8775         Reference the enhanced thread creation notes.
8776         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
8777         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8778         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
8779         (__pthread_current_priority): Likewise.
8780         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
8781         xpthread_attr_init, xpthread_attr_setdetachstate, and
8782         xpthread_attr_setstacksize.
8783         * support/xpthread_attr_destroy.c: New file.
8784         * support/xpthread_attr_init.c: New file.
8785         * support/xpthread_attr_setdetachstate.c: New file.
8786         * support/xpthread_attr_setstacksize.c: New file.
8787         * support/xthread.h: Define prototypes for xpthread_attr_destroy
8788         xpthread_attr_init, xpthread_attr_setdetachstate, and
8789         xpthread_attr_setstacksize.
8791 2017-01-27  Florian Weimer  <fweimer@redhat.com>
8793         * nptl/Makefile (tests): Add tst-robust-fork.
8794         * nptl/tst-robust-fork.c: New file.
8795         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
8796         xpthread_mutex_consistent, xpthread_mutex_destroy,
8797         xpthread_mutex_init, xpthread_mutexattr_destroy,
8798         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
8799         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
8800         xpthread_mutexattr_settype.
8801         * support/xmmap.c: New file.
8802         * support/xmunmap.c: Likewise.
8803         * support/xpthread_mutex_consistent.c: Likewise.
8804         * support/xpthread_mutex_destroy.c: Likewise.
8805         * support/xpthread_mutex_init.c: Likewise.
8806         * support/xpthread_mutexattr_destroy.c: Likewise.
8807         * support/xpthread_mutexattr_init.c: Likewise.
8808         * support/xpthread_mutexattr_setprotocol.c: Likewise.
8809         * support/xpthread_mutexattr_setpshared.c: Likewise.
8810         * support/xpthread_mutexattr_setrobust.c: Likewise.
8811         * support/xpthread_mutexattr_settype.c: Likewise.
8812         * support/xthread.h (xpthread_mutexattr_destroy)
8813         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
8814         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
8815         (xpthread_mutexattr_settype, xpthread_mutex_init)
8816         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
8817         * support/xunistd.h (xmmap, xmunmap): Likewise.
8819 2017-01-25  Florian Weimer  <fweimer@redhat.com>
8821         * string/Makefile (xtests): Add comment.
8822         (LOCALES): Add en_GB.UTF-8.
8823         (tst-strcoll-overflow.out): Depend on generated locales.
8824         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
8825         (SIZE, TIMEOUT): Update comments.
8826         (do_test): Define as static.  Fail test if setlocale fails.
8827         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
8828         messages.
8829         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
8830         TIMEOUT at 300 seconds should be enough to run this test
8831         successfully.
8833 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
8835         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
8836         /* FALLTHRU */ comments.
8838 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
8840         [BZ #21053]
8841         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
8842         constants instead of the old R* ones.
8843         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
8844         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
8845         (NGREG): ... to this, to fit in with other architectures.
8846         (gpregset_t): Use new NGREG macro.
8847         [__USE_GNU]: Remove condition; all architectures other than tile
8848         are unconditional.
8849         (R*): Rename to REG_R*.
8851 2017-01-20  DJ Delorie  <dj@redhat.com>
8853         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
8854         (tunable_set_val_if_valid_range_signed) ... this, and ...
8855         (tunable_set_val_if_valid_range_unsigned) ... this.
8856         (tunable_initialize): Call the correct one of the above based on type.
8858 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
8860         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
8861         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8862         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8863         * sysdeps/microblaze/libm-test-ulps: Likewise.
8864         * sysdeps/sh/libm-test-ulps: Likewise.
8866         * math/README.libm-test: Update list of characters for input and
8867         output types.
8869 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8871         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8872         (__lll_unlock_elision): Fix adapt_count decrement.
8874 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
8876         * README.pretty-printers (Known issues): Warn about printers not
8877         always covering everything.
8878         * nptl/nptl-printers.py (MutexPrinter): Change output.
8879         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
8881 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8883         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
8884         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8885         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
8886         (__lll_lock_elision): Do not test futex before starting a
8887         transaction.  Use __glibc_likely instead of __builtin_expect.
8888         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
8889         (__lll_trylock_elision): Do not test futex before starting a
8890         transaction.  Use __glibc_likely instead of __builtin_expect.
8892 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8894         * po/Makefile (update-translations): New target.
8896 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
8898         [BZ #21061]
8899         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
8901 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8903         * elf/dl-tunables (get_next_env): Always advance envp.
8904         * stdlib/tst-empty-env.c: New test case.
8905         * stdlib/Makefile (tests): Use it.
8907 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
8909         [BZ #21047]
8910         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
8911         name for instruction.
8912         [!__SOFTFP__] (_FPU_SETCW): Likewise.
8914 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
8916         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
8917         for make install.
8919 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8921         * po/bg.po: Merge from Translation Project.
8922         * po/fr.po: Likewise.
8923         * po/ko.po: Likewise.
8924         * po/nl.po: Likewise.
8925         * po/sv.po: Likewise.
8927 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
8929         * manual/install.texi (Tools for Compilation): Update GCC version
8930         known to work to build glibc.
8931         * INSTALL: Regenerated.
8933 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8935         [BZ #21006]
8936         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
8938 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
8940         [BZ #21045]
8941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8942         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
8943         to __sigprocmask.
8945 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
8947         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
8948         wrap-around.
8949         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
8951         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
8953 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8955         * NEWS: Fix typo.
8957 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8959         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
8960         barriers and comments.
8961         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
8962         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8963         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8965 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8967         [BZ #19402]
8968         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
8969         mutexes.
8971 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8973         [BZ #20985]
8974         * nptl/Makefile: Adapt.
8975         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8976         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8977         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8978         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8979         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
8980         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
8981         lll_robust* functions and adapt.
8982         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8983         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
8984         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8985         __lll_robust_timedlock, __lll_robust_unlock): Remove.
8986         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
8987         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8988         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
8989         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8990         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
8991         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8992         __lll_robust_timedlock, __lll_robust_unlock): Remove.
8993         * nptl/lowlevelrobustlock.c: Remove file.
8994         * nptl/lowlevelrobustlock.sym: Likewise.
8995         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
8996         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
8998 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9000         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9002 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9004         * po/cs.po: Merge translations from the Translation Project.
9005         * po/de.po: Likewise.
9006         * po/pl.po: Likewise.
9007         * po/ru.po: Likewise.
9008         * po/tr.po: Likewise.
9009         * po/uk.po: Likewise.
9010         * po/vi.po: Likewise.
9011         * po/zh_CN.po: Likewise.
9013 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
9015         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
9017         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
9018         object.
9020 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
9022         [BZ #16458]
9023         * bits/uintn-identity.h: New file.
9024         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
9025         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
9026         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
9027         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
9028         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
9029         * string/endian.h: Include <bits/uintn-identity.h>.
9030         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
9031         __uint16_identity.
9032         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
9033         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
9034         __uint32_identity.
9035         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
9036         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
9037         __uint64_identity.
9038         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
9039         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
9040         __uint16_identity.
9041         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
9042         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
9043         __uint32_identity.
9044         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
9045         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
9046         __uint64_identity.
9047         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
9048         * string/Makefile (headers): Add bits/uintn-identity.h.
9049         (tests): Add test-endian-types.
9050         * string/test-endian-types.c: New file.
9051         * inet/Makefile (tests): Add test-hnto-types.
9052         * inet/test-hnto-types.c: New file.
9054 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9056         * po/be.po: Update from Translation Project.
9057         * po/bg.po: Likewise.
9058         * po/ca.po: Likewise.
9059         * po/cs.po: Likewise.
9060         * po/da.po: Likewise.
9061         * po/de.po: Likewise.
9062         * po/el.po: Likewise.
9063         * po/eo.po: Likewise.
9064         * po/es.po: Likewise.
9065         * po/fi.po: Likewise.
9066         * po/fr.po: Likewise.
9067         * po/gl.po: Likewise.
9068         * po/hr.po: Likewise.
9069         * po/hu.po: Likewise.
9070         * po/ia.po: Likewise.
9071         * po/id.po: Likewise.
9072         * po/it.po: Likewise.
9073         * po/ja.po: Likewise.
9074         * po/ko.po: Likewise.
9075         * po/lt.po: Likewise.
9076         * po/nb.po: Likewise.
9077         * po/nl.po: Likewise.
9078         * po/pl.po: Likewise.
9079         * po/pt_BR.po: Likewise.
9080         * po/ru.po: Likewise.
9081         * po/rw.po: Likewise.
9082         * po/sk.po: Likewise.
9083         * po/sl.po: Likewise.
9084         * po/sv.po: Likewise.
9085         * po/tr.po: Likewise.
9086         * po/uk.po: Likewise.
9087         * po/vi.po: Likewise.
9088         * po/zh_CN.po: Likewise.
9089         * po/zh_TW.po: Likewise.
9091 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
9093         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
9094         -Wformat-truncation instead of -Wformat-length.
9095         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
9096         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
9097         GCC 7.
9098         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
9099         (do_test): Ignore -Wformat-truncation for GCC 7.
9101         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
9102         buffer used to print long int value.
9104         * elf/sotruss-lib.c (init): Increase space allocated for pid by
9105         one byte.  Print it with %ld, cast to long int.
9107 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9109         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
9110         (re.fullmatch, subprocess.run): Likewise.
9112 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9114         * po/libc.pot: Regenerate.
9116 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9118         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
9119         (min_strlen): Likewise.
9120         (disable_tunable): Likewise.
9121         (maybe_disable_malloc_check): Rename to
9122         maybe_enable_malloc_check.
9123         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
9124         if /etc/suid-debug file exists.
9125         (__tunables_init): Update caller.
9126         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
9127         secure.
9129 2016-01-10  Torvald Riegel  <triegel@redhat.com>
9131         * nptl/DESIGN-rwlock.txt: Remove.
9132         * nptl/lowlevelrwlock.sym: Remove.
9133         * nptl/Makefile: Add new tests.
9134         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
9135         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
9136         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
9137         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
9138         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
9139         PTHREAD_RWLOCK_FUTEX_USED): New.
9140         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
9141         implementation.
9142         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
9143         (__pthread_rwlock_rdlock): Adapt.
9144         * nptl/pthread_rwlock_timedrdlock.c
9145         (pthread_rwlock_timedrdlock): Adapt.
9146         * nptl/pthread_rwlock_timedwrlock.c
9147         (pthread_rwlock_timedwrlock): Adapt.
9148         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
9149         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
9150         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
9151         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
9152         (__pthread_rwlock_wrlock): Adapt.
9153         * nptl/tst-rwlock10.c: Adapt.
9154         * nptl/tst-rwlock11.c: Adapt.
9155         * nptl/tst-rwlock17.c: New file.
9156         * nptl/tst-rwlock18.c: New file.
9157         * nptl/tst-rwlock19.c: New file.
9158         * nptl/tst-rwlock2b.c: New file.
9159         * nptl/tst-rwlock8.c: Adapt.
9160         * nptl/tst-rwlock9.c: Adapt.
9161         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9162         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9163         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9164         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9165         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9166         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9167         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9168         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9169         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9170         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9171         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9172         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9173         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
9174         (pthread_rwlock_t): Adapt.
9175         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9176         (pthread_rwlock_t): Adapt.
9177         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9178         * nptl/nptl-printers.py (): Adapt.
9179         * nptl/nptl_lock_constants.pysym: Adapt.
9180         * nptl/test-rwlock-printers.py: Adapt.
9181         * nptl/test-rwlockattr-printers.c: Adapt.
9182         * nptl/test-rwlockattr-printers.py: Adapt.
9184 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
9186         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
9187         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
9188         (fma_test_data): Likewise.
9189         (hypot_test_data): Likewise.
9190         (log1p_test_data): Likewise.
9191         (modf_test_data): Likewise.
9192         (pow_test_data): Likewise.
9193         (remainder_test_data): Likewise.
9194         (remquo_test_data): Likewise.
9195         (scalb_test_data): Likewise.
9196         (scalbn_test_data): Likewise.
9197         (scalbln_test_data): Likewise.
9198         * math/gen-libm-test.pl (parse_args): Transform
9199         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
9200         on the rounding mode.
9202 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
9204         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
9205         xfail-rounding:ibm128-libgcc automatically to tests overflowing
9206         and those that can underflow to zero.
9207         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
9208         add others.
9209         * math/auto-libm-test-out: Regenerated.
9211         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
9212         supported.
9213         (feholdexcept_tests): Skip tests requiring exceptions or rounding
9214         modes support if not supported.
9216         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
9217         Add libc.so PLT entry.
9218         (__tls_get_addr): Make ld.so PLT entry optional.
9220 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9222         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
9223         * string/bits/string3.h: ... here.
9225 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
9227         [BZ #21028]
9228         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
9229         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
9230         if EXCEPTION_TESTS returns false.
9232 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9234         [BZ #20558]
9235         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
9236         strings_fortified.h.
9237         [__USE_MISC] (bzero): Likewise.
9238         [__USE_MISC] (explicit_bzero): Likewise.
9239         * string/strings.h: Include strings_fortified.h.
9240         * string/Makefile (headers): Add strings_fortified.h.
9241         * string/bits/strings_fortified.h: New file.
9242         * include/bits/strings_fortified.h: Likewise.
9244 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
9246         * elf/tst-tls13.c (TIMEOUT): Remove.
9247         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
9248         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
9249         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
9250         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
9251         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
9253         [BZ #21026]
9254         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
9255         (readahead): New syscall entry.
9257 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
9259         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
9260         around tests of strncat with large sizes.
9262         * malloc/tst-malloc.c: Include <libc-internal.h>.
9263         (do_test): Disable -Walloc-size-larger-than= around tests of
9264         malloc with negative sizes.
9265         * malloc/tst-mcheck.c: Include <libc-internal.h>.
9266         (do_test): Disable -Walloc-size-larger-than= around tests of
9267         malloc and realloc with negative sizes.
9268         * malloc/tst-realloc.c: Include <libc-internal.h>.
9269         (do_test): Disable -Walloc-size-larger-than= around tests of
9270         realloc with negative sizes.
9272         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
9273         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
9274         allowed to 16 ulps.
9275         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
9276         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
9277         * math/auto-libm-test-out: Regenerated.
9279 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9281         * math/Makefile (libm-calls): Move wrappers...
9282         (libm-compat-call-auto): Here.
9283         (libm-routines): Add items in libm-compat-calls-auto.
9284         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
9285         the filenames of the wrappers that have been renamed.
9286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
9287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9289         * math/w_acos.c: Add _compat suffix to filename.
9290         * math/w_acosf.c: Likewise.
9291         * math/w_acosh.c: Likewise.
9292         * math/w_acoshf.c: Likewise.
9293         * math/w_acoshl.c: Likewise.
9294         * math/w_acosl.c: Likewise.
9295         * math/w_asin.c: Likewise.
9296         * math/w_asinf.c: Likewise.
9297         * math/w_asinl.c: Likewise.
9298         * math/w_atan2.c: Likewise.
9299         * math/w_atan2f.c: Likewise.
9300         * math/w_atan2l.c: Likewise.
9301         * math/w_atanh.c: Likewise.
9302         * math/w_atanhf.c: Likewise.
9303         * math/w_atanhl.c: Likewise.
9304         * math/w_cosh.c: Likewise.
9305         * math/w_coshf.c: Likewise.
9306         * math/w_coshl.c: Likewise.
9307         * math/w_exp10.c: Likewise.
9308         * math/w_exp10f.c: Likewise.
9309         * math/w_exp10l.c: Likewise.
9310         * math/w_exp2.c: Likewise.
9311         * math/w_exp2f.c: Likewise.
9312         * math/w_exp2l.c: Likewise.
9313         * math/w_fmod.c: Likewise.
9314         * math/w_fmodf.c: Likewise.
9315         * math/w_fmodl.c: Likewise.
9316         * math/w_hypot.c: Likewise.
9317         * math/w_hypotf.c: Likewise.
9318         * math/w_hypotl.c: Likewise.
9319         * math/w_j0.c: Likewise.
9320         * math/w_j0f.c: Likewise.
9321         * math/w_j0l.c: Likewise.
9322         * math/w_j1.c: Likewise.
9323         * math/w_j1f.c: Likewise.
9324         * math/w_j1l.c: Likewise.
9325         * math/w_jn.c: Likewise.
9326         * math/w_jnf.c: Likewise.
9327         * math/w_jnl.c: Likewise.
9328         * math/w_log10.c: Likewise.
9329         * math/w_log10f.c: Likewise.
9330         * math/w_log10l.c: Likewise.
9331         * math/w_log2.c: Likewise.
9332         * math/w_log2f.c: Likewise.
9333         * math/w_log2l.c: Likewise.
9334         * math/w_log.c: Likewise.
9335         * math/w_logf.c: Likewise.
9336         * math/w_logl.c: Likewise.
9337         * math/w_pow.c: Likewise.
9338         * math/w_powf.c: Likewise.
9339         * math/w_powl.c: Likewise.
9340         * math/w_remainder.c: Likewise.
9341         * math/w_remainderf.c: Likewise.
9342         * math/w_remainderl.c: Likewise.
9343         * math/w_scalb.c: Likewise.
9344         * math/w_scalbf.c: Likewise.
9345         * math/w_scalbl.c: Likewise.
9346         * math/w_sinh.c: Likewise.
9347         * math/w_sinhf.c: Likewise.
9348         * math/w_sinhl.c: Likewise.
9349         * math/w_sqrt.c: Likewise.
9350         * math/w_sqrtf.c: Likewise.
9351         * math/w_sqrtl.c: Likewise.
9352         * math/w_tgamma.c: Likewise.
9353         * math/w_tgammaf.c: Likewise.
9354         * math/w_tgammal.c: Likewise.
9356         * math/w_acos_compat.c: New file copied from above and
9357         adjusted for new #includes path
9358         * math/w_acosf_compat.c: Likewise.
9359         * math/w_acosh_compat.c: Likewise.
9360         * math/w_acoshf_compat.c: Likewise.
9361         * math/w_acoshl_compat.c: Likewise.
9362         * math/w_acosl_compat.c: Likewise.
9363         * math/w_asin_compat.c: Likewise.
9364         * math/w_asinf_compat.c: Likewise.
9365         * math/w_asinl_compat.c: Likewise.
9366         * math/w_atan2_compat.c: Likewise.
9367         * math/w_atan2f_compat.c: Likewise.
9368         * math/w_atan2l_compat.c: Likewise.
9369         * math/w_atanh_compat.c: Likewise.
9370         * math/w_atanhf_compat.c: Likewise.
9371         * math/w_atanhl_compat.c: Likewise.
9372         * math/w_cosh_compat.c: Likewise.
9373         * math/w_coshf_compat.c: Likewise.
9374         * math/w_coshl_compat.c: Likewise.
9375         * math/w_exp10_compat.c: Likewise.
9376         * math/w_exp10f_compat.c: Likewise.
9377         * math/w_exp10l_compat.c: Likewise.
9378         * math/w_exp2_compat.c: Likewise.
9379         * math/w_exp2f_compat.c: Likewise.
9380         * math/w_exp2l_compat.c: Likewise.
9381         * math/w_fmod_compat.c: Likewise.
9382         * math/w_fmodf_compat.c: Likewise.
9383         * math/w_fmodl_compat.c: Likewise.
9384         * math/w_hypot_compat.c: Likewise.
9385         * math/w_hypotf_compat.c: Likewise.
9386         * math/w_hypotl_compat.c: Likewise.
9387         * math/w_j0_compat.c: Likewise.
9388         * math/w_j0f_compat.c: Likewise.
9389         * math/w_j0l_compat.c: Likewise.
9390         * math/w_j1_compat.c: Likewise.
9391         * math/w_j1f_compat.c: Likewise.
9392         * math/w_j1l_compat.c: Likewise.
9393         * math/w_jn_compat.c: Likewise.
9394         * math/w_jnf_compat.c: Likewise.
9395         * math/w_jnl_compat.c: Likewise.
9396         * math/w_log10_compat.c: Likewise.
9397         * math/w_log10f_compat.c: Likewise.
9398         * math/w_log10l_compat.c: Likewise.
9399         * math/w_log2_compat.c: Likewise.
9400         * math/w_log2f_compat.c: Likewise.
9401         * math/w_log2l_compat.c: Likewise.
9402         * math/w_log_compat.c: Likewise.
9403         * math/w_logf_compat.c: Likewise.
9404         * math/w_logl_compat.c: Likewise.
9405         * math/w_pow_compat.c: Likewise.
9406         * math/w_powf_compat.c: Likewise.
9407         * math/w_powl_compat.c: Likewise.
9408         * math/w_remainder_compat.c: Likewise.
9409         * math/w_remainderf_compat.c: Likewise.
9410         * math/w_remainderl_compat.c: Likewise.
9411         * math/w_scalb_compat.c: Likewise.
9412         * math/w_scalbf_compat.c: Likewise.
9413         * math/w_scalbl_compat.c: Likewise.
9414         * math/w_sinh_compat.c: Likewise.
9415         * math/w_sinhf_compat.c: Likewise.
9416         * math/w_sinhl_compat.c: Likewise.
9417         * math/w_sqrt_compat.c: Likewise.
9418         * math/w_sqrtf_compat.c: Likewise.
9419         * math/w_sqrtl_compat.c: Likewise.
9420         * math/w_tgamma_compat.c: Likewise.
9421         * math/w_tgammaf_compat.c: Likewise.
9422         * math/w_tgammal_compat.c: Likewise.
9424         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
9425         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
9426         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
9427         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
9428         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
9429         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
9430         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
9431         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
9432         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
9433         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
9434         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
9435         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
9436         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
9437         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
9438         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
9439         * sysdeps/ia64/fpu/w_powl.c: Likewise.
9440         * sysdeps/ia64/fpu/w_powf.c: Likewise.
9441         * sysdeps/ia64/fpu/w_pow.c: Likewise.
9442         * sysdeps/ia64/fpu/w_logl.c: Likewise.
9443         * sysdeps/ia64/fpu/w_logf.c: Likewise.
9444         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
9445         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
9446         * sysdeps/ia64/fpu/w_log2.c: Likewise.
9447         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
9448         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
9449         * sysdeps/ia64/fpu/w_log10.c: Likewise.
9450         * sysdeps/ia64/fpu/w_log.c: Likewise.
9451         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
9452         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
9453         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
9454         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
9455         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
9456         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
9457         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
9458         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
9459         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
9460         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
9461         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
9462         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
9463         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
9464         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
9465         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
9466         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
9467         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
9468         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
9469         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
9470         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
9471         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
9472         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
9473         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
9474         * sysdeps/ia64/fpu/w_asin.c: Likewise.
9475         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
9476         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
9477         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
9478         * sysdeps/ia64/fpu/w_acos.c: Likewise.
9479         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
9480         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
9481         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
9482         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
9483         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
9484         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
9485         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
9486         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
9487         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
9488         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
9489         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
9490         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
9491         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
9492         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
9493         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
9494         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
9495         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
9496         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
9497         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
9498         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
9499         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
9500         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
9501         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
9502         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
9503         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
9504         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
9505         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
9506         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
9507         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
9508         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
9509         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
9510         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
9511         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
9512         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
9513         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
9514         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
9515         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
9516         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
9517         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
9518         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
9519         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
9520         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
9521         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
9522         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
9523         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
9524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
9525         Likewise.
9526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
9527         Likewise.
9528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
9529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
9530         Likewise.
9531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
9532         Likewise.
9533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
9534         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9535         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9536         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9537         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9538         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9539         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
9541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
9543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9544         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9545         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9546         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9547         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9549         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
9550         and adjusted for new #includes path
9551         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
9552         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
9553         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
9554         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
9555         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
9556         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
9557         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
9558         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
9559         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
9560         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
9561         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
9562         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
9563         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
9564         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
9565         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
9566         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
9567         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
9568         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
9569         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
9570         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
9571         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
9572         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
9573         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
9574         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
9575         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
9576         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
9577         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
9578         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
9579         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
9580         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
9581         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
9582         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
9583         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
9584         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
9585         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
9586         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
9587         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
9588         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
9589         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
9590         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
9591         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
9592         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
9593         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
9594         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
9595         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
9596         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
9597         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
9598         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
9599         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
9600         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
9601         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
9602         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
9603         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
9604         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
9605         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
9606         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
9607         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
9608         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
9609         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
9610         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
9611         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
9612         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
9613         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
9614         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
9615         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
9616         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
9617         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
9618         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
9619         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
9620         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
9621         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
9622         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
9623         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
9624         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
9625         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
9626         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
9627         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
9628         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
9629         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
9630         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
9631         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
9632         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
9633         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
9634         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
9635         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
9636         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
9637         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
9638         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
9639         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
9640         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
9641         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
9642         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
9643         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
9644         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
9645         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
9646         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
9647         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
9648         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
9649         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
9650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
9651         Likewise.
9652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
9653         Likewise.
9654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
9655         Likewise.
9656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
9657         Likewise.
9658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
9659         Likewise.
9660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
9661         Likewise.
9662         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
9663         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
9664         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
9665         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
9666         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
9667         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
9668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
9669         Likewise.
9670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
9671         Likewise.
9672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
9673         Likewise.
9674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
9675         Likewise.
9676         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
9677         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
9678         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
9679         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
9681 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
9683         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
9684         __jmp_buf_internal_tag.
9686         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
9687         preserve NaN payload if [__mips_nan2008].
9688         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
9690         [BZ #21022]
9691         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
9693 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9695         * sysdeps/i386/fpu/libm-test-ulps: Update.
9697 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9699         * sysdeps/ia64/strcat.c: Remove file.
9700         * sysdeps/powerpc/strcat.c: Likewise.
9701         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
9702         C implementation.
9703         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
9704         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
9706 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9707             Steven Munroe  <sjmunroe@us.ibm.com>
9708             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9710         [BZ #20822]
9711         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9712         (__lll_lock_elision): Access adapt_count via C11 atomics.
9713         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9714         (__lll_trylock_elision): Likewise.
9715         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9716         (__lll_unlock_elision):  Update adapt_count variable inside the
9717         critical section using C11 atomics.
9719 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9721         * math/test-fenvinline.c (do_test): Disable tests of raised
9722         exceptions if !EXCEPTION_TESTS (FLOAT).
9724 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9726         [BZ #19390]
9727         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
9728         maximum string size.
9729         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
9730         in pointer addition.
9731         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
9732         Likewise.
9734 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9736         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
9737         passed to tst-ldconfig-X.sh.
9739 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
9741         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
9743 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9745         [BZ #21019]
9746         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
9747         New syscall entry.
9748         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
9749         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
9750         lseek.
9752         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9753         power4 glibc for powerpc-linux-gnu.
9755 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9757         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
9758         semctl.
9760 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9762         * math/test-nearbyint-except.c: Include <stdbool.h>.
9763         (any_supported): New variable.
9764         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
9765         set any_supported.
9766         (do_test): Return 77 if no floating-point type supported
9767         exceptions.
9769         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
9770         condition on [__mips_hard_float].
9772 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9774         [BZ #21014]
9775         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
9776         in pointer addition.
9777         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
9779 2017-01-02  Torvald Riegel  <triegel@redhat.com>
9781         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
9782         new condvar.
9784 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9786         * scripts/build-many-glibcs.py (Context.checkout): Default
9787         binutils version to 2.28 branch.
9789 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9791         * support/support_format_netent.c (support_format_netent): Work
9792         around alpha struct netent definition difference.
9794 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9796         * support/xwrite.c (xwrite): Use %td for pointer difference.
9798 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9800         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
9801         have-tunables only.
9802         (tests-static): Add tst-malloc-usable-static-tunables for
9803         have-tunables only.
9805 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
9807         * scripts/config.guess: Update to version 2017-01-01.
9808         * scripts/config.sub: Update to version 2017-01-01.
9810         * NEWS: Update copyright dates.
9811         * catgets/gencat.c (print_version): Likewise.
9812         * csu/version.c (banner): Likewise.
9813         * debug/catchsegv.sh: Likewise.
9814         * debug/pcprofiledump.c (print_version): Likewise.
9815         * debug/xtrace.sh (do_version): Likewise.
9816         * elf/ldconfig.c (print_version): Likewise.
9817         * elf/ldd.bash.in: Likewise.
9818         * elf/pldd.c (print_version): Likewise.
9819         * elf/sotruss.sh: Likewise.
9820         * elf/sprof.c (print_version): Likewise.
9821         * iconv/iconv_prog.c (print_version): Likewise.
9822         * iconv/iconvconfig.c (print_version): Likewise.
9823         * locale/programs/locale.c (print_version): Likewise.
9824         * locale/programs/localedef.c (print_version): Likewise.
9825         * login/programs/pt_chown.c (print_version): Likewise.
9826         * malloc/memusage.sh (do_version): Likewise.
9827         * malloc/memusagestat.c (print_version): Likewise.
9828         * malloc/mtrace.pl: Likewise.
9829         * manual/libc.texinfo: Likewise.
9830         * nptl/version.c (banner): Likewise.
9831         * nscd/nscd.c (print_version): Likewise.
9832         * nss/getent.c (print_version): Likewise.
9833         * nss/makedb.c (print_version): Likewise.
9834         * posix/getconf.c (main): Likewise.
9835         * scripts/test-installation.pl: Likewise.
9836         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9838         * All files with FSF copyright notices: Update copyright dates
9839         using scripts/update-copyrights.
9840         * intl/plural.c: Regenerated.
9841         * locale/programs/charmap-kw.h: Likewise.
9842         * locale/programs/locfile-kw.h: Likewise.
9844 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9846         [BZ #20593]
9847         Update DNS RR type definitions.
9848         * scripts/gen-rrtypes.py: New file.
9849         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
9850         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
9851         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
9852         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
9853         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
9854         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
9855         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
9856         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
9857         ns_t_ta, ns_t_dlv.
9858         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
9859         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
9860         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
9861         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
9862         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
9863         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
9864         Define.
9865         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
9866         entry for ns_t_zxfr.
9868 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9870         [BZ #18784]
9871         CVE-2015-5180
9872         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
9873         T_UNSPEC.  Adjust value.
9874         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
9875         * resolv/res_query.c (__libc_res_nquery): Likewise.
9876         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
9877         QTYPEs.
9878         * resolv/tst-resolv-qtypes.c: New file.
9879         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
9880         (tst-resolv-qtypes): Link against libresolv and libpthread.
9882 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9884         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
9886 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9888         * manual/tunables.texi: New chapter.
9889         * manual/Makefile (chapters): Add it.
9890         * manual/probes.texi (@node): Point to the Tunables chapter.
9892         * Makeconfig (have-tunables): Check for non-negative instead
9893         of positive.
9894         * configure.ac: Add 'valstring' as a valid value for
9895         --enable-tunables.
9896         * configure: Regenerate.
9897         * elf/Makefile (have-tunables): Check for non-negative instead
9898         of positive.
9899         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
9900         dl-tunables.c.
9901         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
9902         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9903         (tunables_strdup): Likewise.
9904         (disable_tunables): Likewise.
9905         (parse_tunables): Likewise.
9906         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
9907         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9908         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
9909         (TUNABLES_FRONTEND_yes): New macro, define as
9910         TUNABLES_FRONTEND_valstring by default.
9911         * manual/install.texi: Document new acceptable values for
9912         --enable-tunables.
9913         * INSTALL: Regenerate.
9915         * config.make.in (have-loop-to-function): Define.
9916         * elf/Makefile (CFLAGS-dl-tunables.c): Add
9917         -fno-tree-loop-distribute-patterns.
9918         * elf/dl-tunables.c: Include libc-internals.h.
9919         (GLIBC_TUNABLES): New macro.
9920         (tunables_strdup): New function.
9921         (parse_tunables): New function.
9922         (min_strlen): New function.
9923         (__tunables_init): Use the new functions and macro.
9924         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
9925         * malloc/tst-malloc-usable-tunables.c: New test case.
9926         * malloc/tst-malloc-usable-static-tunables.c: New test case.
9927         * malloc/Makefile (tests, tests-static): Add tests.
9929         * manual/install.texi: Add --enable-tunables option.
9930         * INSTALL: Regenerate.
9931         * README.tunables: New file.
9932         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
9933         (before-compile): Generate dl-tunable-list.h early.
9934         * config.h.in: Add HAVE_TUNABLES.
9935         * config.make.in: Add have-tunables.
9936         * configure.ac: Add --enable-tunables option.
9937         * configure: Regenerate.
9938         * csu/init-first.c (__libc_init_first): Move
9939         __libc_init_secure earlier...
9940         * csu/init-first.c (LIBC_START_MAIN):... to here.
9941         Include dl-tunables.h, libc-internal.h.
9942         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
9943         binaries.
9944         * elf/Makefile (dl-routines): Add dl-tunables.
9945         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
9946         namespace.
9947         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
9948         only when !HAVE_TUNABLES.
9949         * elf/rtld.c (process_envvars): Likewise.
9950         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
9951         (_dl_sysdep_start): Call __tunables_init.
9952         * elf/dl-tunable-types.h: New file.
9953         * elf/dl-tunables.c: New file.
9954         * elf/dl-tunables.h: New file.
9955         * elf/dl-tunables.list: New file.
9956         * malloc/tst-malloc-usable-static.c: New test case.
9957         * malloc/Makefile (tests-static): Add it.
9958         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
9959         Define TUNABLE_NAMESPACE.
9960         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
9961         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
9962         callback functions.
9963         (ptmalloc_init): Set tunable values.
9964         * scripts/gen-tunables.awk: New file.
9965         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
9966         (_dl_sysdep_start): Call __tunables_init.
9968 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9970         * resolv/resolv.h (RES_BLAST): Deprecate.
9971         * resolv/res_debug.c (p_option): Remove RES_BLAST.
9972         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
9973         to RES_BLAST.
9975 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9977         [BZ #19582]
9978         Deprecate RES_USE_INET6.
9979         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
9980         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
9981         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
9982         RES_USE_INET6.
9983         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
9984         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
9985         (_nss_nisplus_gethostbyaddr_r): Likewise.
9986         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
9987         of res_use_inet6.
9988         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
9989         instead of RES_USE_INET6.
9990         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
9991         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
9992         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
9993         Likewise.
9994         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
9995         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
9996         Likewise.
9997         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
9998         (_nss_dns_gethostbyname_r): Likewise.
9999         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
10000         alternate RES_USE_INET6 handling.
10001         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
10002         instead of RES_USE_INET6.
10003         * resolv/res_init.c (res_setoptions): Likewise.
10004         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
10005         * resolv/resolv-internal.h: New file.
10006         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
10007         make the deprecation warning non-fatal.
10008         * resolv/README (Using the resolver in multi-threaded code): Drop
10009         reference to RES_USE_INET6.
10010         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
10011         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
10013 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10015         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
10016         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
10017         tst-resolv-search.
10018         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
10019         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
10020         with libresolv and libpthread.
10021         * resolv/tst-bug18665.c: New file.
10022         * resolv/tst-bug18665-tcp: Likewise.
10023         * resolv/tst-res_use_inet6: Likewise.
10024         * resolv/tst-resolv-basic: Likewise.
10025         * resolv/tst-resolv-network: Likewise.
10026         * resolv/tst-resolv-search: Likewise.
10027         * support/Makefile (libsupport-routines): Add check_addrinfo,
10028         check_dns_packet, check_hostent, check_netent, resolv_test,
10029         support_format_address_family, support_format_addrinfo,
10030         support_format_dns_packet, support_format_herrno,
10031         support_format_hostent, support_format_netent, support_run_diff,
10032         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
10033         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
10034         xstrdup, xwrite.
10035         * support/check_addrinfo.c: New file.
10036         * support/check_dns_packet.c: Likewise.
10037         * support/check_hostent.c: Likewise.
10038         * support/check_netent.c: Likewise.
10039         * support/check_nss.h: Likewise.
10040         * support/format_nss.h: Likewise.
10041         * support/resolv_test.c: Likewise.
10042         * support/resolv_test.h: Likewise.
10043         * support/run_diff.h: Likewise.
10044         * support/support_format_address_family.c: Likewise.
10045         * support/support_format_addrinfo.c: Likewise.
10046         * support/support_format_dns_packet.c: Likewise.
10047         * support/support_format_herrno.c: Likewise.
10048         * support/support_format_hostent.c: Likewise.
10049         * support/support_format_netent.c: Likewise.
10050         * support/support_run_diff.c: Likewise.
10051         * support/xaccept.c: Likewise.
10052         * support/xbind.c: Likewise.
10053         * support/xconnect.c: Likewise.
10054         * support/xfclose.c: Likewise.
10055         * support/xfopen.c: Likewise.
10056         * support/xgetsockname.c: Likewise.
10057         * support/xlisten.c: Likewise.
10058         * support/xmemstream.c: Likewise.
10059         * support/xmemstream.h: Likewise.
10060         * support/xpoll.c: Likewise.
10061         * support/xpthread_once.c: Likewise.
10062         * support/xrecvfrom.c: Likewise.
10063         * support/xsendto.c: Likewise.
10064         * support/xsetsockopt.c: Likewise.
10065         * support/xstdio.h: Likewise.
10066         * support/xstrdup.c: Likewise.
10067         * support/support.h (xstrdup): Declare.
10068         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
10069         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
10070         * support/xthread.h (xpthread_once): Likwise.
10071         * support/xunistd.h (xwrite): Declare.
10073 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10075         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
10076         (test_verbose): Declare.
10077         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
10078         * support/support_test_main.c (default_options): Likewise.
10079         (usage, support_test_main): Handle 'v'.
10080         (test_verbose): Define.
10081         * support/tst-support_record_failure.c (do_test): Use
10082         test_verbose.
10083         * support/tst-support_record_failure-2.sh (different_status): Add
10084         --verbose test.
10086 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10088         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
10089         test failures are recorded.
10090         * support/check.c (support_print_failure_impl): Call
10091         support_record_failure.
10092         (support_exit_failure_impl): Call support_record_failure if status
10093         indicates failure.
10094         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
10095         * support/xasprintf.c (xasprintf): Likewise.
10096         * support/xfork.c (xfork): Likewise.
10097         * support/xpthread_check_return.c (xpthread_check_return):
10098         Likewise.
10099         * support/xsocket.c (xsocket): Likeweise.
10100         * support/xwaitpid.c (xwaitpid): Likewise.
10101         * support/support_record_failure.c (struct test_failures): Adjust
10102         to coding style.
10103         * support/support_test_verify_impl.c (support_test_verify_impl):
10104         Adjust error messages.
10105         * support/tst-support_record_failure-2.sh (different_status):
10106         Adjust error messages.
10108 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10110         * support/namespace.h: New file.
10111         * support/support_become_root.c: Likewise.
10112         * support/support_enter_network_namespace.c: Likewise.
10113         * support/tst-support-namespace.c: Likewise.
10114         * support/xsocket.c: Likewise.
10115         * support/xsocket.h: Likewise.
10116         * support/Makefile (libsupport-routines): Add support_become_root,
10117         support_enter_network_namespace, xsocket.
10118         (tests): Add tst-support-namespace.
10120 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10122         [BZ #17252]
10123         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
10124         __USE_GNU.
10126 2016-12-31  Torvald Riegel  <triegel@redhat.com>
10128         [BZ #13165]
10129         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
10130         use new algorithm.
10131         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10132         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10133         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10134         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10135         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
10136         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
10137         __condvar_cleanup_waiting, __condvar_dec_grefs,
10138         __pthread_cond_wait_common): New.
10139         (__condvar_cleanup): Remove.
10140         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
10141         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
10142         Likewise.
10143         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
10144         Likewise.
10145         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
10146         * nptl/tst-cond1.c: Add comment.
10147         * nptl/tst-cond20.c (do_test): Adapt.
10148         * nptl/tst-cond22.c (do_test): Likewise.
10149         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
10150         structure.
10151         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10152         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10153         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10154         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
10155         Likewise.
10156         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10157         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10158         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10159         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10160         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10161         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
10162         Likewise.
10163         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
10164         Likewise.
10165         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10166         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
10167         (COND_CLOCK_BITS): Adapt.
10168         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
10169         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
10170         __PTHREAD_COND_SHARED_MASK): New.
10171         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
10172         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
10173         * nptl/nptl_lock_constants.pysym: Adapt.
10174         * nptl/test-cond-printers.py: Adapt.
10175         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
10176         cond_compat_check_and_clear): Adapt.
10177         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
10178         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
10179         (__pthread_cond_timedwait): ... and move here.
10180         * nptl/DESIGN-condvar.txt: Remove file.
10181         * nptl/lowlevelcond.sym: Likewise.
10182         * nptl/pthread_cond_timedwait.c: Likewise.
10183         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
10184         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
10185         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
10186         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
10187         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
10188         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
10189         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
10190         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
10191         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
10192         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
10193         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
10194         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
10195         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
10196         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
10197         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
10198         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
10200 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
10202         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10203         (fromfp): New declaration.
10204         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
10205         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
10206         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
10207         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
10208         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
10209         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
10210         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
10211         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
10212         * math/math.h: Include <bits/types.h>.
10213         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
10214         constant and macro.
10215         (FP_INT_DOWNWARD): Likewise.
10216         (FP_INT_TOWARDZERO): Likewise.
10217         (FP_INT_TONEARESTFROMZERO): Likewise.
10218         (FP_INT_TONEAREST): Likewise.
10219         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
10220         (fromfpf): Likewise.
10221         (fromfpl): Likewise.
10222         (ufromfp): Likewise.
10223         (ufromfpf): Likewise.
10224         (ufromfpl): Likewise.
10225         (fromfpx): Likewise.
10226         (fromfpxf): Likewise.
10227         (fromfpxl): Likewise.
10228         (ufromfpx): Likewise.
10229         (ufromfpxf): Likewise.
10230         (ufromfpxl): Likewise.
10231         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
10232         s_fromfpxF and s_ufromfpxF.
10233         * math/gen-fromfp-tests.py: New file.
10234         * math/gen-fromfp-tests-inputs: Likewise.
10235         * math/libm-test.inc: Include <stdint.h>
10236         (check_intmax_t): New function.
10237         (check_uintmax_t): Likewise.
10238         (struct test_fiu_M_data): New type.
10239         (struct test_fiu_U_data): Likewise.
10240         (RUN_TEST_fiu_M): New macro.
10241         (RUN_TEST_LOOP_fiu_M): Likewise.
10242         (RUN_TEST_fiu_U): Likewise.
10243         (RUN_TEST_LOOP_fiu_U): Likewise.
10244         (fromfp_test_data): New array.
10245         (fromfp_test): New function.
10246         (fromfpx_test_data): New array.
10247         (fromfpx_test): New function.
10248         (ufromfp_test_data): New array.
10249         (ufromfp_test): New function.
10250         (ufromfpx_test_data): New array.
10251         (ufromfpx_test): New function.
10252         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
10253         ufromfpx_test.
10254         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
10255         characters.
10256         * math/test-tgmath-ret.c: Include <stdint.h>.
10257         (rm): New variable.
10258         (width): Likewise.
10259         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
10260         called function.
10261         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
10262         CHECK_RET_CONST_TYPE.
10263         (CHECK_RET_CONST_DOUBLE): Likewise.
10264         (CHECK_RET_CONST_LDOUBLE): Likewise.
10265         (CHECK_RET_CONST): Take extra arguments and pass them to calls
10266         macros.
10267         (fromfp): New CHECK_RET_CONST call.
10268         (ufromfp): Likewise.
10269         (fromfpx): Likewise.
10270         (ufromfpx): Likewise.
10271         (do_test): Call check_return_fromfp, check_return_ufromfp,
10272         check_return_fromfpx and check_return_ufromfpx.
10273         * math/test-tgmath.c: Include <stdint.h>
10274         (NCALLS): Increase to 138.
10275         (F(compile_test)): Initialize i.  Call fromfp functions.
10276         (F(fromfp)): New function.
10277         (F(fromfpx)): Likewise.
10278         (F(ufromfp)): Likewise.
10279         (F(ufromfpx)): Likewise.
10280         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
10281         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
10282         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
10283         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
10284         ufromfpxl.
10285         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
10286         ufromfp and ufromfpx.
10287         * math/fromfp.h: New file.
10288         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
10289         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
10290         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
10291         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
10292         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
10293         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
10294         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
10295         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
10296         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
10297         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
10298         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
10299         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
10300         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
10301         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
10302         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
10303         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
10304         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
10305         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
10306         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
10307         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
10308         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
10309         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
10310         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
10311         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
10312         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
10313         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
10314         ufromfp, fromfpx and ufromfpx.
10315         (CFLAGS-nldbl-fromfp.c): New variable.
10316         (CFLAGS-nldbl-fromfpx.c): Likewise.
10317         (CFLAGS-nldbl-ufromfp.c): Likewise.
10318         (CFLAGS-nldbl-ufromfpx.c): Likewise.
10319         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
10320         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
10321         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
10322         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
10323         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
10324         * sysdeps/nacl/libm.abilist: Update.
10325         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10326         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10327         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10328         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10329         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10330         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10331         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10332         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10333         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10334         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10335         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10336         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10338         Likewise.
10339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10340         Likewise.
10341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10342         Likewise.
10343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10344         Likewise.
10345         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10346         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10347         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10348         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10349         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10351         Likewise.
10352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10353         Likewise.
10354         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10355         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10356         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10358 2016-12-30  Florian Weimer  <fweimer@redhat.com>
10360         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
10361         compat-gethnamaddr.
10362         (CPPFLAGS): Remove.
10363         * resolv/gethnamaddr.c: Rename ...
10364         * resolv/compat-gethnamaddr.c: ... to this file.
10365         (_endhtent): Make static.
10366         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
10367         symbol.
10368         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
10369         compat symbol.
10370         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
10371         symbol.
10372         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
10373         Turn into compat symbol.
10374         * include/resolv.h (_endhtent): Remove declaration.
10376 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
10378         * bits/types.h (__intmax_t): New typedef.
10379         (__uintmax_t): Likewise.
10380         * sysdeps/generic/stdint.h: Include <bits/types.h>.
10381         (intmax_t): Define using __intmax_t.
10382         (uintmax_t): Define using __uintmax_t.
10384         * support/Makefile (tests-special): Make definition conditional on
10385         [$(run-built-tests) = yes].
10386         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
10387         on [$(run-built-tests) = yes].
10389 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10391         * Rules (tests): Add tests-printers-programs to tests to be
10392         built.
10394 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10396         * sysvipc/Makefile (tests): Add test-sysvshm.
10397         * sysvipc/test-sysvshm.c: New file.
10399         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
10400         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
10401         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
10402         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
10403         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
10404         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
10405         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
10406         Likewise.
10407         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
10408         Likewise.
10409         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
10410         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
10411         is defined.
10413         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
10414         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
10415         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
10416         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
10417         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
10418         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
10419         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
10420         Likewise.
10421         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
10422         Likewise.
10423         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
10424         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
10425         defined.
10427         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10428         oldshmctl.
10429         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
10430         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
10431         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
10432         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
10433         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
10434         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
10435         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
10436         Likewise.
10437         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
10438         Likewise.
10439         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
10440         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
10441         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
10442         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
10443         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
10444         implementation.
10445         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
10446         if it is defined.
10448         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
10449         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
10450         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
10451         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
10452         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
10453         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
10454         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
10455         Likewise.
10456         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
10457         Likewise.
10458         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
10459         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
10460         Define to __NR_osf_shmat.
10461         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
10462         defined.
10464         * sysvipc/Makefile (tests): Add test-sysvsem.
10465         * sysvipc/test-sysvsem.c: New file.
10467         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
10468         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
10469         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
10470         Likewise.
10471         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
10472         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
10473         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
10474         Likewise.
10475         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
10476         Likewise.
10477         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
10478         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
10479         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
10480         add a comment about s390 syscall difference from default one.
10481         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
10482         syscall if it is defined.
10484         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
10485         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
10486         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
10487         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
10488         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
10489         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
10490         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
10491         Likewise.
10492         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
10493         Likewise.
10494         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
10495         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
10496         defined.
10498         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
10499         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
10500         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
10501         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
10502         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
10503         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
10504         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
10505         Likewise.
10506         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
10507         Likewise.
10508         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
10509         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
10510         if it is defined.
10512         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10513         oldsemctl.
10514         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
10515         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
10516         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
10517         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
10518         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
10519         implementation.
10520         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
10521         syscall if it is defined.
10522         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
10523         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
10524         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
10525         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
10526         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
10527         Likewise.
10528         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
10530         * sysvipc/Makefile (tests): Add test-sysvmsg.
10531         * sysvipc/test-sysvmsg.c: New file.
10532         * support/check.h (FAIL_UNSUPPORTED): New define.
10534         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
10535         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
10536         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
10537         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
10538         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
10539         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
10540         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
10541         Likewise.
10542         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
10543         Likewise.
10544         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
10545         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
10546         define.
10548         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
10549         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
10550         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
10551         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
10552         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
10553         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
10554         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
10555         Likewise.
10556         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
10557         Likewise.
10558         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
10559         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
10560         if defined.
10562         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
10563         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
10564         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10565         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10566         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10567         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
10568         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10569         Likewise.
10570         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
10571         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
10572         Likewise.
10573         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
10574         if defined.
10575         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
10577         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10578         oldmsgctl.
10579         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
10580         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
10581         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
10582         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
10583         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10584         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10585         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10586         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10587         Likewise.
10588         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
10589         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
10590         implementation.
10591         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
10592         if defined.
10594         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
10595         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
10596         definition and define its own.
10597         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
10598         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
10599         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
10600         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
10601         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
10602         definitions to common header.
10603         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
10604         operation from ipc_ops.h.
10606         * sysdeps/unix/sysv/linux/kernel-features.h
10607         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
10608         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10609         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
10610         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10611         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10612         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10613         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10614         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10615         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10616         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10617         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10618         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10619         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10620         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10621         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10623 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10625         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
10626         overflow in pointer addition.
10628 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10630         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10631         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
10632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10633         (strchr): Add __strchr_power8 to list of strchr functions.
10634         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
10635         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
10636         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
10637         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
10638         (strchr): Add __strchr_power8 to ifunc list.
10639         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
10640         (__strchrnul): Add __strchrnul_power8 to ifunc list.
10641         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
10642         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
10644 2016-12-28  Florian Weimer  <fweimer@redhat.com>
10646         * support/Makefile (libsupport-routines): Add
10647         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
10648         (tests): Add tst-support_record_failure.
10649         (tests-special): tst-support_record_failure-2.
10650         (tst-support_record_failure-2.out): Depend on
10651         tst-support_record_failure-2.sh and tst-support_record_failure.
10652         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
10653         (support_test_verify_impl, support_record_failure)
10654         (support_report_failure, support_report_failure_reset): Declare.
10655         * support/support_test_main.c (adjust_exit_status): New function.
10656         (support_test_main): Call it to incorporate record test failures.
10657         * support/support_test_verify_impl.c: New file.
10658         * support/support_record_failure.c: Likewise.
10659         * support/tst-support_record_failure.c: Likewise.
10660         * support/tst-support_record_failure-2.sh: Likewise.
10661         * support/xunistd.h: Likewise.
10662         * support/xfork.c: Likewise.
10663         * support/xwaitpid.c: Likewise.
10665 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
10667         * scripts/check-c++-types.sh: Add comments.
10669 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
10671         [BZ #19514]
10672         * resolv/res_send.c: Fix typo in comment.
10673         * sysdeps/i386/i386-mcount.S: Likewise.
10674         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10675         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10676         * sysdeps/sparc/sparc-mcount.S: Likewise.
10678 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10680         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
10681         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
10682         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
10683         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
10684         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
10685         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
10686         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
10687         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
10689 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10691         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
10693 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10695         [BZ #17252]
10696         * posix/unistd.h (getentropy): Declare.
10698 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10700         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
10701         Remove.
10702         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
10703         (cmd): Remove spoof, nospoof, spoofalert.
10704         (parse_line): Ignore spoof-related lines.
10705         (do_init): Do not process RESOLV_SPOOF_CHECK.
10707 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10709         [BZ #20964]
10710         sunrpc: Always obtain AF_INET addresses from NSS.
10711         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
10712         * sunrpc/rpc_gethostbyname.c: New file.
10713         * sunrpc/Makefile (routines): Add it.
10714         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
10715         * sunrpc/clnt_simp.c (callrpc): Likewise.
10716         * sunrpc/getrpcport.c (getrpcport): Likewise.
10718 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10720         * sunrpc/rpcinfo.c: Remove.
10721         * sunrpc/Makefile: Remove comments referring to rpcinfo.
10723 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10725         [BZ #19387]
10726         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
10727         addition.
10728         * string/test-memchr.c (do_test): Remove alignment limitation.
10729         (test_main): Add test that trigger BZ #19387.
10731 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10733         [BZ #7065]
10734         Enable stack protectore if requested by ./configure.
10735         * Makeconfig (+stack-protector): New variable.
10736         (+cflags): Use it.
10738 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10740         [BZ #7065]
10741         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
10742         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
10743         (__rt_sigreturn_stub): Use inhibit_stack_protector.
10744         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10745         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
10747 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10749         [BZ #7065]
10750         * login/Makefile (pt_chown-cflags): Remove.
10751         * nscd/Makefile (CFLAGS-nscd): Likewise.
10752         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10754 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10756         [BZ #7065]
10757         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
10758         non-libc-linking testcase.
10760 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10761             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10762             Florian Weimer  <fweimer@redhat.com>
10764         [BZ #7065]
10765         PLT avoidance for __stack_chk_fail*.
10766         * debug/Makefile (CFLAGS-stack_chk_fail.c)
10767         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
10768         * debug/stack_chk_fail.c (__stack_chk_fail): Add
10769         __stack_chk_fail_local alias.
10770         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
10771         (__stack_chk_fail): Turn into hidden reference to
10772         __stack_chk_fail_local.
10774 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10776         [BZ #7065]
10777         * configure.ac: Add check for unsupported stack-protection level.
10778         (libc_cv_predef_stack_protector): Remove.
10779         (no_ssp): New variable.
10780         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
10781         (stack_protector): Set to -fno-stack-protector similarly.
10782         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
10783         (libc_cv_asm_set_directive): Likewise.
10784         (libc_cv_protected_data): Likewise.
10785         (libc_cv_z_combreloc): Likewise.
10786         (libc_cv_hashstyle): Likewise.
10787         (libc_cv_has_glob_dat): Likewise.
10788         (libc_cv_output_format): Likewise.
10789         (libc_cv_output_format): Likewise.
10790         (libc_cv_ehdr_start): Likewise.
10791         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
10792         (LIBC_LINKER_FEATURE): Likewise.
10793         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
10795 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10797         [BZ #7065]
10798         * elf/Makefile (dummy-stack-chk-fail): New.
10799         (librtld.map): Use it.
10801 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10803         [BZ #7065]
10804         Compile the dynamic linker without stack protection.
10805         * elf/Makefile (elide-stack-protector): New.
10806         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
10807         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
10808         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
10809         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
10811 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10813         [BZ #7065]
10814         * config.make.in (have-ssp, no-stack-protector): New.
10815         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
10816         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
10817         (CFLAGS-sbrk.op): Likewise.
10818         (CFLAGS-brk.o): Likewise.
10819         (CFLAGS-brk.op): Likewise.
10820         * string/Makefile (CFLAGS-memcpy.c): Likewise.
10821         (CFLAGS-wordcopy.c): Likewise.
10823 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10825         [BZ #7065]
10826         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
10827         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
10828         * include/libc-symbols.h (inhibit_stack_protector): New macro.
10829         (__ifunc_resolver): Use it.
10830         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
10831         inhibit_stack_protector.
10832         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
10833         * elf/ifuncmain7.c (foo_ifunc): Likewise.
10834         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
10835         (foo_protected_ifunc): Likewise.
10836         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
10837         (foo_protected_ifunc): Likewise.
10838         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10839         * sysdeps/nacl/nacl_interface_query.c
10840         (nacl_interface_query_ifunc): Likewise.
10841         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10842         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
10843         Likewise.
10844         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
10845         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
10846         the generated vDSO syscall resolver.
10848 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10849             Florian Weimer  <fweimer@redhat.com>
10851         [BZ #7065]
10852         Initialize the stack guard earlier when linking statically.
10853         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
10854         (__pthread_initialize_minimal): Declare.
10855         * csu/libc-start.c (__pthread_initialize_minimal): Remove
10856         declaration.
10857         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
10858         stack canary and apply_irel initialization up.  Call
10859         __pthread_initialize_minimal only if linked in.
10860         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
10861         constant values.
10862         (__pthread_initialize_minimal): Remove.
10863         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
10864         (__pthread_initialize_minimal_internal): Do not call
10865         __libc_setup_tls.
10867 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10869         [BZ #7065]
10870         * configure.ac (libc_cv_ssp): Move up.
10871         (libc_cv_ssp_strong): Likewise.
10872         (libc_cv_ssp_all): New.
10873         (stack_protector): Augment, adding -fstack-protector-all.
10874         (no_stack_protector): New.
10875         (STACK_PROTECTOR_LEVEL): New.
10876         (AC_ARG_ENABLE(stack-protector)): New configure flag.
10877         * manual/install.texi (--enable-stack-protector): Document it.
10878         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
10880 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
10882         * README.pretty-printers: Must specify CPPFLAGS-* also.
10883         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
10884         (CPPFLAGS-test-mutex-printers.c): Define.
10885         (CPPFLAGS-test-condattr-printers.c): Define.
10886         (CPPFLAGS-test-cond-printers.c): Define.
10887         (CPPFLAGS-test-rwlockattr-printers.c): Define.
10888         (CPPFLAGS-test-rwlock-printers.c): Define.
10890         * nss/Makefile [ifeq (yes,$(have-thread-library))]
10891         (tests): Add tst-cancel-getpwuid_r.
10892         * nss/tst-cancel-getpwuid_r.c: New file.
10894         [BZ #11941]
10895         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
10896         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
10897         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
10898         tst-nodelete-dlclose.
10899         (modules-names): Add tst-nodelete-dlclose-dso and
10900         tst-nodelete-dlclose-plugin.
10901         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
10902         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
10903         ($(objpfx)tst-nodelete-dlclose): Define.
10904         ($(objpfx)tst-nodelete-dlclose.out): Define.
10906 2016-12-23  Florian Weimer  <fweimer@redhat.com>
10908         * scripts/test_printers_common.py: Log GDB output in case of
10909         Python detection failure.
10911 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10913         * configure.ac: Check for python3 or python.
10914         * configure: Regenerated.
10915         * config.make.in (PYTHON): New variable.
10916         * benchtests/Makefile: Don't define PYTHON.
10917         (bench): Define target only if PYTHON was defined.
10918         * Rules: Don't define PYTHON.
10919         Define pretty printer targets only if PYTHON was defined.
10920         (tests-printers): Add to tests-unsupported if PYTHON is not
10921         found.
10922         (python-flags, python-invoke): Remove.
10923         (tests-printers-out): Use PYTHON instead of python-invoke.
10925 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
10927         [BZ #20978]
10928         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10929         Compare name == NULL, not name != NULL.
10931         * manual/texinfo.tex: Update to version 2016-09-18.18 with
10932         trailing whitespace removed.
10933         * scripts/config.guess: Update to version 2016-10-02.
10934         * scripts/config.sub: Update to version 2016-11-19.
10935         * scripts/install-sh: Update to version 2016-01-11.22.
10936         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
10937         * scripts/move-if-change: Update to version 2016-01-11 22:04.
10939 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
10941         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
10942         (do_one_test) Restore original string so iteration works.
10943         * string/string-inlines.c (do_test): Create better input strings.
10944         (test_main) Reduce number of testruns.
10945         * string/string-inlines.c (__old_strsep_1c): New function.
10946         (__old_strsep_2c): Likewise.
10947         (__old_strsep_3c): Likewise.
10948         * string/strsep.c (__strsep): Remove case of small delim string.
10949         Call strcspn directly rather than strpbrk.
10950         * string/bits/string2.h (__strsep): Remove define.
10951         (__strsep_1c): Remove.
10952         (__strsep_2c): Remove.
10953         (__strsep_3c): Remove.
10954         (strsep): Remove.
10955         * sysdeps/unix/sysv/linux/internal_statvfs.c
10956         (__statvfs_getflags): Rename to __strsep.
10958 2016-12-21  Florian Weimer  <fweimer@redhat.com>
10960         * csu/libc-tls.c (_dl_tls_setup): Remove.
10961         * elf/dl-tls.c (_dl_tls_setup): Likewise.
10962         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
10963         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
10965 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
10967         [BZ #7065]
10968         * sysdeps/x86_64/Makefile [$(subdir) = elf]
10969         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
10971 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
10972             Florian Weimer  <fweimer@redhat.com>
10974         [BZ #7065]
10975         * csu/Makefile (tests): Empty assignment and document it.
10976         (tests-static): Remove.
10977         * csu/tst-empty.c: Move to...
10978         * misc/tst-empty.c: ... here.  Switch to new test driver.
10979         * csu/tst-atomic.c: Move to...
10980         * misc/tst-atomic.c: ... here.  Switch to new test driver.
10981         * csu/tst-atomic-long.c: Move to...
10982         * misc/tst-atomic-long.c: ... here.
10983         * misc/Makefile (tests): Add tst-empty, tst-atomic,
10984         tst-atomic-long.
10985         (tests-static): Add tst-empty.
10987 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
10989         * manual/nss.texi: Change incorrect @vtable to @table.
10990         * manual/arith.texi: Convert @tables of variables to @vtables
10991         and remove unnecessary indexing.
10992         * manual/filesys.texi: Likewise.
10993         * manual/llio.texi: Likewise.
10994         * manual/memory.texi: Likewise.
10995         * manual/process.texi: Likewise.
10996         * manual/resource.texi: Likewise.
10997         * manual/search.texi: Likewise.
10998         * manual/signal.texi: Likewise.
10999         * manual/socket.texi: Likewise.
11000         * manual/stdio.texi: Likewise.
11001         * manual/sysinfo.texi: Likewise.
11002         * manual/syslog.texi: Likewise.
11003         * manual/terminal.texi: Likewise.
11004         * manual/time.texi: Likewise.
11005         * manual/users.texi: Likewise.
11007 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
11009         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11010         (roundeven): New declaration.
11011         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
11012         macro.
11013         * math/Versions (roundeven): New libm symbol at version
11014         GLIBC_2.25.
11015         (roundevenf): Likewise.
11016         (roundevenl): Likewise.
11017         * math/Makefile (libm-calls): Add s_roundevenF.
11018         * math/libm-test.inc (roundeven_test_data): New array.
11019         (roundeven_test): New function.
11020         (main): Call roundeven_test.
11021         * math/test-tgmath.c (NCALLS): Increase to 134.
11022         (F(compile_test)): Call roundeven.
11023         (F(roundeven)): New function.
11024         * manual/arith.texi (Rounding Functions): Document roundeven,
11025         roundevenf and roundevenl.
11026         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
11027         * include/math.h (roundeven): Use libm_hidden_proto.
11028         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
11029         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
11030         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
11031         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
11032         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
11033         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
11034         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11035         roundeven.
11036         (CFLAGS-nldbl-roundeven.c): New variable.
11037         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
11038         * sysdeps/nacl/libm.abilist: Update.
11039         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11040         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11041         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11042         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11043         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11044         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11045         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11046         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11047         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11048         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11049         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11050         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11052         Likewise.
11053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11054         Likewise.
11055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11056         Likewise.
11057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11058         Likewise.
11059         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11060         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11061         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11062         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11063         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11065         Likewise.
11066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11067         Likewise.
11068         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11069         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11070         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11072 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
11074         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
11075         preprocessor indentation inside #if.
11077 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11079         * math/libm-test.inc (fmt_ftostr): New function.
11080         (print_float, check_float_internal): Replace some uses of
11081         FTOSTR with uses of fmt_ftostr.
11082         (print_max_error, print_complex_max_error, print_function_ulps)
11083         (print_complex_function_ulps): Remove uses of the macros
11084         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
11085         * math/test-double.h (FTOSTR): Define to strfromd.
11086         (PRINTF_EXPR): Delete.
11087         (PRINTF_XEXPR): Likewise.
11088         (PRINTF_NEXPR): Likewise.
11089         * math/test-float.h (FTOSTR): Define to strfromf.
11090         (PRINTF_EXPR): Delete.
11091         (PRINTF_XEXPR): Likewise.
11092         (PRINTF_NEXPR): Likewise.
11093         * math/test-ldouble.h (FTOSTR): Define to strfroml.
11094         (PRINTF_EXPR): Delete.
11095         (PRINTF_XEXPR): Likewise.
11096         (PRINTF_NEXPR): Likewise.
11098 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11100         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
11101         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
11102         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
11103         (__lll_lock_elision): Decrement adapt_count while unlocking
11104         instead of before locking.
11105         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
11106         (__lll_trylock_elision): Likewise.
11107         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
11108         (__lll_unlock_elision): Likewise.
11110 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11112         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
11113         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
11114         Use __libc_tbegin_retry macro.
11116 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11118         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
11119         Add -msoft-float.
11120         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
11121         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
11122         Use __libc_t* transaction macros instead of __builtin_t*.
11123         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11124         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11126 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11128         * sysdeps/unix/sysv/linux/s390/elision-lock.c
11129         (__lll_lock_elision): Use atomics to load / store adapt_count.
11130         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
11131         (__lll_trylock_elision): Likewise.
11133 2016-12-20  Florian Weimer  <fweimer@redhat.com>
11135         Do not require memset elimination in explicit_bzero test.
11136         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
11137         (enum test_expectation): Add NO_EXPECTATIONS.
11138         (subtests): NO_EXPECTATIONS for ordinary clear.
11139         (check_test_buffer): Handle NO_EXPECTATIONS.
11140         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
11142 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
11144         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11145         (fmaxmag): New declaration.
11146         (fminmag): Likewise.
11147         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
11148         macro.
11149         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
11150         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
11151         (fmaxmagf): Likewise.
11152         (fmaxmagl): Likewise.
11153         (fminmag): Likewise.
11154         (fminmagf): Likewise.
11155         (fminmagl): Likewise.
11156         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
11157         * math/s_fmaxmag_template.c: New file.
11158         * math/s_fminmag_template.c: Likewise.
11159         * math/libm-test.inc (fmaxmag_test_data): New array.
11160         (fmaxmag_test): New function.
11161         (fminmag_test_data): New array.
11162         (fminmag_test): New function.
11163         (main): Call fmaxmag_test and fminmag_test.
11164         * math/test-tgmath.c (NCALLS): Increase to 132.
11165         (F(compile_test)): Call fmaxmag and fminmag.
11166         (F(fminmag)): New function.
11167         (F(fmaxmag)): Likewise.
11168         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
11169         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
11170         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
11171         fminmag.
11172         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
11173         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
11174         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
11175         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
11176         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
11177         and fminmag.
11178         (CFLAGS-nldbl-fmaxmag.c): New variable.
11179         (CFLAGS-nldbl-fminmag.c): Likewise.
11180         * sysdeps/nacl/libm.abilist: Update.
11181         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11182         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11183         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11184         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11185         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11186         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11187         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11188         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11189         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11190         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11191         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11192         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11194         Likewise.
11195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11196         Likewise.
11197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11198         Likewise.
11199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11200         Likewise.
11201         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11202         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11203         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11204         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11205         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11207         Likewise.
11208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11209         Likewise.
11210         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11211         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11212         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11214 2016-12-19  Torvald Riegel  <triegel@redhat.com>
11216         [BZ #20973]
11217         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
11218         wake-up in robust mutexes.
11219         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11221 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11223         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
11224         (CFLAGS-bench-fmaxf.c): New rule.
11225         (CFLAGS-bench-fminf.c): Likewise.
11226         * benchtests/fmaxf-inputs: New file.
11227         * benchtests/fminf-inputs: Likewise.
11229         * benchtests/Makefile (bench-math): Add fmin and fmax.
11230         (CFLAGS-bench-fmax.c): New rule.
11231         (CFLAGS-bench-fmin.c): Likewise.
11232         * benchtests/fmax-inputs: New file.
11233         * benchtests/fmin-inputs: Likewise.
11235         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
11236         parenthesis.
11237         (CMDLINE_PROCESS): Define using function instead of macro.
11238         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
11239         of test-skeleton.
11240         * benchtests/bench-memchr.c: Likewise.
11241         * benchtests/bench-memcmp.c: Likewise.
11242         * benchtests/bench-memcpy-large.c: Likewise.
11243         * benchtests/bench-memcpy.c: Likewise.
11244         * benchtests/bench-memmem.c: Likewise.
11245         * benchtests/bench-memmove-large.c: Likewise.
11246         * benchtests/bench-memmove.c: Likewise.
11247         * benchtests/bench-memset-large.c: Likewise.
11248         * benchtests/bench-memset.c: Likewise.
11249         * benchtests/bench-rawmemchr.c: Likewise.
11250         * benchtests/bench-strcasecmp.c: Likewise.
11251         * benchtests/bench-strcasestr.c: Likewise.
11252         * benchtests/bench-strcat.c: Likewise.
11253         * benchtests/bench-strchr.c: Likewise.
11254         * benchtests/bench-strcmp.c: Likewise.
11255         * benchtests/bench-strcpy.c: Likewise.
11256         * benchtests/bench-strcpy_chk.c: Likewise.
11257         * benchtests/bench-strlen.c: Likewise.
11258         * benchtests/bench-strncasecmp.c: Likewise.
11259         * benchtests/bench-strncmp.c: Likewise.
11260         * benchtests/bench-strncpy.c: Likewise.
11261         * benchtests/bench-strnlen.c: Likewise.
11262         * benchtests/bench-strpbrk.c: Likewise.
11263         * benchtests/bench-strrchr.c: Likewise.
11264         * benchtests/bench-strsep.c: Likewise.
11265         * benchtests/bench-strspn.c: Likewise.
11266         * benchtests/bench-strstr.c: Likewise.
11267         * benchtests/bench-strtok.c: Likewise.
11269 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11271         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
11272         stepping identification.
11273         (init_cpu_features): Add handle of Haswell.
11275 2016-11-25  Jim Meyering  <meyering@fb.com>
11277         [BZ #20386]
11278         Let gcc detect assert(a = 1) errors.
11279         * assert/assert.h (assert): Rewrite, retaining the old definintion
11280         when required, but otherwise putting the expression as-is in an "if"
11281         expression (hence, with no added parentheses) within a statement
11282         expression.
11284 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11286         * benchtests/Makefile (binaries-benchset): Depend on libsupport
11287         DSO.
11289 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
11291         * Rules (python-flags, python-invoke): New.
11292         ($(test-printers-out)): Use $(python-flags).
11294 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11296         * manual/arith.texi (Math Error Reporting): Document that sNaN
11297         arguments are not considered domain errors.
11299 2016-12-16  Zack Weinberg <zackw@panix.com>
11300             Florian Weimer <fweimer@redhat.com>
11301             Nick Mathewson <nickm@torproject.org>
11303         * string/explicit_bzero.c: New routine.
11304         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
11305         * string/Makefile (routines, strop-tests, tests): Add them.
11306         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
11307         * string/string.h [__USE_MISC]: Declare explicit_bzero.
11309         * debug/explicit_bzero_chk.c: New routine.
11310         * debug/Makefile (routines): Add it.
11311         * debug/tst-chk1.c: Test fortification of explicit_bzero.
11312         * string/bits/string3.h: Fortify explicit_bzero.
11314         * manual/string.texi: Document explicit_bzero.
11315         * NEWS: Mention addition of explicit_bzero.
11317         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
11318         data before returning, using explicit_bzero.
11319         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
11320         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11321         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11323         * include/string.h: Redirect internal uses of explicit_bzero
11324         to __explicit_bzero_chk[_internal].
11325         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
11326         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
11327         * sysdeps/arm/nacl/libc.abilist
11328         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11329         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11330         * sysdeps/unix/sysv/linux/arm/libc.abilist
11331         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11332         * sysdeps/unix/sysv/linux/i386/libc.abilist
11333         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11334         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11335         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11336         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11337         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11338         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11339         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11340         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11341         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11346         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11347         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11348         * sysdeps/unix/sysv/linux/sh/libc.abilist
11349         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11350         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11353         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11354         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11355         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11356         Add entries for explicit_bzero and __explicit_bzero_chk.
11358 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11360         * math/fenv.h
11361         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
11362         (FE_SNANS_ALWAYS_SIGNAL): New macro.
11363         * math/test-fe-snans-always-signal.c: New file.
11364         * math/Makefile (tests): Add test-fe-snans-always-signal.
11365         (CFLAGS-test-fe-snans-always-signal.c): New variable.
11366         * manual/arith.texi (Infinity and NaN): Document
11367         FE_SNANS_ALWAYS_SIGNAL.
11369 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11371         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
11372         bracket.
11374 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11376         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
11377         before calling execv.
11379 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11381         [BZ #20971]
11382         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
11383         overflow in pointer addition.
11384         * string/test-memchr.c (do_test): Add an argument to pass as
11385         the size on memchr.
11386         (test_main): Add check for SIZE_MAX.
11388 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11390         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
11391         (libm-calls): Add w_scalblnF.
11392         * math/w_scalbln.c: Remove.
11393         * math/w_scalblnf.c: Likewise.
11394         * math/w_scalblnl.c: Likewise.
11395         * math/w_scalbln_template.c: New file with type-generic
11396         implementation based on math/w_scalbln.c.
11397         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
11398         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
11400 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
11402         [BZ #20947]
11403         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
11404         either is a signaling NaN.
11405         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
11406         follow fmaxl more closely.
11407         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
11408         when either is a signaling NaN.
11409         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
11410         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
11411         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
11412         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
11413         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
11414         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
11415         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
11416         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
11417         (fmin_test_data): Likewise.
11419 2016-12-15  Andreas Schwab  <schwab@suse.de>
11421         * support/support_test_main.c (support_test_main): Don't shadow
11422         file-local variable test_pid.
11424 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
11426         [BZ #20947]
11427         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
11428         either is a signaling NaN.
11429         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
11431 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
11433         [BZ #20947]
11434         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
11435         when either is a signaling NaN.
11436         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
11438         * bits/long-double.h: New file.
11439         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
11440         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
11441         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
11442         * sysdeps/mips/bits/long-double.h: Likewise.
11443         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
11444         * math/Makefile (headers): Add bits/long-double.h.
11445         * misc/sys/cdefs.h: Include <bits/long-double.h>.
11446         * stdlib/strtold.c: Include <bits/long-double.h> instead of
11447         <bits/wordsize.h>.
11448         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
11449         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
11450         * math/math.h: Do not include <bits/mathdef.h>.
11451         * sysdeps/aarch64/bits/mathdef.h: Remove file.
11452         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
11453         inclusion.
11454         * sysdeps/ia64/bits/mathdef.h: Remove file.
11455         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
11456         * sysdeps/mips/bits/mathdef.h: Likewise.
11457         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11458         * sysdeps/s390/bits/mathdef.h: Likewise.
11459         * sysdeps/sparc/bits/mathdef.h: Likewise.
11460         * sysdeps/x86/bits/mathdef.h: Likewise.
11461         * sysdeps/s390/s390-32/bits/wordsize.h
11462         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
11463         conditional code.
11464         * sysdeps/s390/s390-64/bits/wordsize.h
11465         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11466         Likewise.
11467         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
11468         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11469         Likewise.
11470         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
11471         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11472         Likewise.
11473         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11474         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11475         Likewise.
11477         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
11478         <linux/falloc.h>.
11479         (FALLOC_FL_KEEP_SIZE): Remove.
11480         (FALLOC_FL_PUNCH_HOLE): Likewise.
11481         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
11482         (FALLOC_FL_ZERO_RANGE): Likewise.
11484 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11486         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
11488 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11490         * sysdeps/unix/sysv/linux/renameat.c: New file.
11491         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
11493         * sysdeps/unix/sysv/linux/rename.c: New file.
11494         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
11496 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
11498         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
11499         * string/strtok.c (strtok): Change to tailcall __strtok_r.
11500         * string/strtok_r.c (__strtok_r): Optimize for performance.
11501         * string/string-inlines.c (__old_strtok_r_1c): New function.
11502         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
11504 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11506         * math/Makefile (gen-libm-calls): Add w_log1pF.
11507         (libm-calls): Remove w_log1pF.
11508         * math/w_log1p.c: Remove.
11509         * math/w_log1pf.c: Likewise.
11510         * math/w_log1pl.c: Likewise.
11511         * math/w_log1p_template.c: New file with type-generic
11512         implementation based on math/w_log1p.c.
11513         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
11514         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
11516 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
11518         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
11520 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
11522         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11523         kernel version to 4.9.
11525 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
11527         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
11528         ($(inst_libdir)/libm.a): Fix rule to create the target only.
11530 2016-12-13  Andreas Schwab  <schwab@suse.de>
11532         * sysdeps/powerpc/dl-procinfo.c: Don't define
11533         _dl_powerpc_platforms.
11534         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
11535         constants instead of referencing _dl_powerpc_platforms.
11536         (_dl_platform_string): Remove.
11538 2016-12-13  Florian Weimer  <fweimer@redhat.com>
11540         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
11542 2016-12-13  Florian Weimer  <fweimer@redhat.com>
11544         * Rules (binaries-shared-tests, binaries-pie-tests)
11545         (binaries-static-tests): Link with $(link-extra-libs-tests).
11546         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
11547         Remove $(link-extra-libs-tests).
11549 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11551         * sysdeps/powerpc/powerpc64/multiarch/Makefile
11552         (sysdep_routines): Add strncmp_power9.
11553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11554         (strncmp): Add __strncmp_power9 to list of strncmp functions.
11555         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
11556         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11557         (strncmp): Add __strncmp_power9 to ifunc list.
11558         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
11560 2016-12-12  Florian Weimer  <fweimer@redhat.com>
11562         [BZ #17252]
11563         Add getentropy, getrandom.
11564         * stdlib/sys/random.h: New file.
11565         (headers): Add it.
11566         * stdlib/Makefile (routines): Add getentropy, getrandom.
11567         (tests): Add tst-getrandom.
11568         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
11569         * stdlib/getentropy.c: New file.
11570         * stdlib/getrandom.c: Likewise.
11571         * stdlib/tst-getrandom.c: Likewise.
11572         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
11573         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
11574         * manual/crypt.texi (Unpredictable Bytes): New section.
11575         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
11576         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
11577         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11578         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11579         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11580         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11581         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11582         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11583         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11584         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11585         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11586         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11587         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11588         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11589         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11590         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11592         Likewise.
11593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11594         Likewise.
11595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11597         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11598         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11599         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11600         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11601         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11604         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11605         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11606         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11608 2016-12-10  Florian Weimer  <fweimer@redhat.com>
11610         [BZ #20956]
11611         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
11612         as additional compiler barriers.
11613         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
11614         (fn2, do_test): Declare with external linkage.
11615         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
11616         (do_test): Declare with external linkage.
11617         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
11618         (do_test): Declare with external linkage.
11619         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
11620         (do_test): Declare with external linkage.
11622 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
11624         * support/support_test_main.c (support_test_main): Use correct
11625         timeout.
11627 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
11628             Florian Weimer  <fweimer@redhat.com>
11630         [BZ #16421]
11631         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
11632         and __u6_addr32 members.
11633         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
11634         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
11635         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
11636         Use __u6_addr32.
11637         * inet/tst-checks.c: Use <support/test-driver.c>
11638         * inet/tst-checks-posix.c: New file.
11639         * inet/Makefile (tests): Add it.
11640         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
11642 2016-12-09  Florian Weimer  <fweimer@redhat.com>
11644         New subdirectory support for build and test infrastructure.
11645         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
11646         setting install-lib.
11647         * Makeconfig (link-extra-libs-tests): Define.
11648         (+link-pie-tests, +link-static-tests, +link-tests): Use
11649         link-extra-libs-tests.
11650         (rpath-dirs, all-subdirs): Add support.
11651         (built-modules): Add libsupport.
11652         (libsupport): Define.
11653         * support: New directory.
11654         * support/Makefile: New file.
11655         * support/check.c: Likewise.
11656         * support/check.h: Likewise.
11657         * support/delayed_exit.c: Likewise.
11658         * support/ignore_stderr.c: Likewise.
11659         * support/oom_error.c: Likewise.
11660         * support/set_fortify_handler.c: Likewise.
11661         * support/support.h: Likewise.
11662         * support/temp_file-internal.h: Likewise.
11663         * support/temp_file.c: Likewise.
11664         * support/test-driver.c: Likewise.
11665         * support/test-driver.h: Likewise.
11666         * support/test_main.c: Likewise.
11667         * support/write_message.c: Likewise.
11668         * support/xasprintf.c: Likewise.
11669         * support/xcalloc.c: Likewise.
11670         * support/xmalloc.c: Likewise.
11671         * support/xpthread_barrier_destroy.c: Likewise.
11672         * support/xpthread_barrier_init.c: Likewise.
11673         * support/xpthread_barrier_wait.c: Likewise.
11674         * support/xpthread_cancel.c: Likewise.
11675         * support/xpthread_check_return.c: Likewise.
11676         * support/xpthread_cond_wait.c: Likewise.
11677         * support/xpthread_create.c: Likewise.
11678         * support/xpthread_detach.c: Likewise.
11679         * support/xpthread_join.c: Likewise.
11680         * support/xpthread_mutex_lock.c: Likewise.
11681         * support/xpthread_mutex_unlock.c: Likewise.
11682         * support/xpthread_sigmask.c: Likewise.
11683         * support/xpthread_spin_lock.c: Likewise.
11684         * support/xpthread_spin_unlock.c: Likewise.
11685         * support/xrealloc.c: Likewise.
11686         * support/xsignal.h: Likewise.
11687         * support/xthread.h: Likewise.
11688         * support_tempfile.h: Likewise.
11689         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
11690         (TEST_DATA_LIMIT): Remove unused macro.
11691         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
11692         <support/check.h>.
11693         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
11694         (ignore_stderr, set_fortify_handler): Remove.  Now in
11695         <support/support.h>.
11696         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
11697         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
11698         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
11699         (xpthread_join): Remove.  Now in <support/xthread.h>.
11700         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
11701         Introduce legacy wrappers.
11702         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
11703         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
11704         (write_message): Remove.
11705         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
11706         test-skeleton.c.
11707         * io/test-open-tmpfile: Likewise.
11708         * io/tst-posix_fallocate-common.c: Likewise.
11709         * libio/tst-fseek.c: Likewise.
11710         * malloc/tst-malloc-backtrace.c: Likewise.
11711         * malloc/tst-malloc-fork-deadlock.c: Likewise.
11712         * malloc/tst-malloc-thread-exit.c: Likewise.
11713         * nptl/tst-cancel7.c: Likewise.
11714         * nptl/tst-cleanup0.c: Likewise.
11715         * posix/tst-posix_fadvise-common.c: Likewise.
11716         * rt/tst-shm.c: Likewise.
11717         * time/bug-getdate1.c: Likewise.
11718         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11719         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
11720         * elf/Makefile (tst-piemod1.so): Link against libsupport.
11722 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
11724         * Rules [$(run-built-tests) != no] (tests-expected): Add
11725         $(tests-printers).
11726         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
11728 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11730         [BZ #20539]
11731         * math/Makefile (install-lib-ldscripts): Add libm.a.
11732         (install_subdir): Remove.
11733         (install-others): Add.
11734         ($(inst_libdir)/libm.a): Add rule for installation as
11735         linker script.
11736         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
11738 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
11740         * INSTALL: Regenerated.
11741         * Makeconfig: Add comments and whitespace to make the control flow
11742         clearer.
11743         (+link-printers-tests, +link-pie-printers-tests,
11744         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
11745         built-rtld-LDFLAGS, link-libc-rpath,
11746         link-libc-tests-after-rpath-link,
11747         link-libc-printers-tests): New.
11748         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
11749         link-libc-tests): Use the new variables as required.
11750         * Makerules ($(py-const)): New rule.
11751         generated: Add $(py-const).
11752         * README.pretty-printers: New file.
11753         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
11754         (others): Depend on $(py-const).
11755         (tests): Depend on $(tests-printers-programs) or
11756         $(tests-printers-out),
11757         as required.  Pass $(tests-printers) to merge-test-results.sh.
11758         * manual/install.texi: Add requirements for testing the pretty
11759         printers.
11760         * nptl/Makefile (gen-py-const-headers, pretty-printers,
11761         tests-printers, CFLAGS-test-mutexattr-printers.c
11762         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
11763         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
11764         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
11765         * nptl/nptl-printers.py: New file.
11766         * nptl/nptl_lock_constants.pysym: Likewise.
11767         * nptl/test-cond-printers.c: Likewise.
11768         * nptl/test-cond-printers.py: Likewise.
11769         * nptl/test-condattr-printers.c: Likewise.
11770         * nptl/test-condattr-printers.py: Likewise.
11771         * nptl/test-mutex-printers.c: Likewise.
11772         * nptl/test-mutex-printers.py: Likewise.
11773         * nptl/test-mutexattr-printers.c: Likewise.
11774         * nptl/test-mutexattr-printers.py: Likewise.
11775         * nptl/test-rwlock-printers.c: Likewise.
11776         * nptl/test-rwlock-printers.py: Likewise.
11777         * nptl/test-rwlockattr-printers.c: Likewise.
11778         * nptl/test-rwlockattr-printers.py: Likewise.
11779         * scripts/gen-py-const.awk: Likewise.
11780         * scripts/test_printers_common.py: Likewise.
11781         * scripts/test_printers_exceptions.py: Likewise.
11783 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11785         * scripts/build-many-glibcs.py (Context.__init__): Take strip
11786         argument.
11787         (Glibc.build_glibc): Strip installed shared libraries if
11788         requested.
11789         (get_parser): Add --strip option.
11790         (main): Update Context call.
11792 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11793             Dominik Vogt  <vogt@linux.vnet.ibm.com>
11795         [BZ #20847]
11796         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
11797         array bounds for else branch.
11798         (__execvpe): Style fixes.
11799         * posix/tst-vfork3.c (run_script): New function.
11800         (create_script): Likewise.
11801         (do_test): Use run_script internal function.
11802         (do_prepare): Use create_script internal function.
11804 2016-12-07  Andreas Schwab  <schwab@suse.de>
11806         * sysdeps/unix/sysv/linux/x86/elision-conf.h
11807         (__elision_available): Don't declare.
11808         * sysdeps/unix/sysv/linux/x86/elision-conf.c
11809         (__elision_available): Don't define.
11810         (elision_init): Don't set __elision_available.
11812 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11814         [BZ #20940]
11815         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
11816         return Inf for arguments Inf and sNaN.
11817         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
11818         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11819         Likewise.
11820         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11821         Likewise.
11822         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11823         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
11824         for arguments Inf and sNaN.  When returning a NaN, compute it by
11825         arithmetic on the arguments.
11826         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
11827         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
11828         arguments.
11830 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
11832         [BZ #20916]
11833         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
11834         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
11835         to compute result.
11836         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11837         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
11839 2016-12-05  Torvald Riegel  <triegel@redhat.com>
11841         * include/atomic.h (__atomic_check_size_ls): New.
11842         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
11843         atomic_store_release): Use it.
11844         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
11845         (elision_adapt, ELIDE_LOCK): Use atomics.
11846         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
11847         atomics and improve code comments.
11848         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
11849         (__lll_trylock_elision): Likewise.
11851 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11853         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
11854         programs.
11856 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
11858         [BZ #20916]
11859         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
11860         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
11861         arguments to compute result.
11862         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
11863         1 for arguments (sNaN, 0) or (1, sNaN).
11864         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11865         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11867         [BZ #20919]
11868         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
11869         NaN first argument when raised to power 0.
11870         * math/w_pow.c (__pow): Do not check for NaN or zero results from
11871         raising to power zero.
11872         * math/w_powf.c (__powf): Likewise.
11873         * math/w_powl.c (__powl): Likewise.
11874         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
11875         pow (0, 0) or pow (NaN, 0).
11877 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
11879         [BZ #20918]
11880         * configure.ac: Test for static NSS cryptographic libraries and set
11881         libc_cv_static_nss_crypt.
11882         * configure: Regenerate.
11883         * config.make.in (static-nss-crypt): Define.
11884         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
11885         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
11886         (CFLAGS-tst-linkall-static.c): Define.
11887         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
11888         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
11889         ($(objpfx)tst-linkall-static): Define.
11890         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
11891         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
11893 2016-12-02  Florian Weimer  <fweimer@redhat.com>
11895         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
11896         (one-hundred, tst-tls-many-dynamic-modules): Define.
11897         (modules-names): Add $(tst-tls-many-dynamic-modules).
11898         (tst-tls-manydynamic%mod.os): Build with special preprocessor
11899         macros.
11900         (tst-tls-manydynamic): Link against libdl, libpthread.
11901         (tst-tls-manydynamic.out): The test needs the test modules at run
11902         time.
11903         * elf/tst-tls-manydynamic.c: New file.
11904         * elf/tst-tls-manydynamic.h: Likewise.
11905         * elf/tst-tls-manydynamicmod.c: Likewise.
11907 2016-12-02  Florian Weimer  <fweimer@redhat.com>
11909         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
11910         (TLS_DTV_UNALLOCATED): Add.
11911         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
11912         offsets.
11914 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
11916         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11918 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
11920         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
11921         Add -fno-optimize-sibling-calls.
11923 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
11925         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
11926         New declaration.
11927         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
11928         macro.
11929         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
11930         New macro.
11931         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
11932         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
11933         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
11934         (llogbf): Likewise.
11935         (llogbl): Likewise.
11936         * math/Makefile (gen-libm-calls): Add w_llogbF.
11937         (tests): Add test-fp-llogb-constants.
11938         * math/w_llogb_template.c: New file.  Based on
11939         math/w_ilogb_template.c.
11940         * math/libm-test.inc (llogb_test_data): New array.
11941         (llogb_test): New function.
11942         (main): Call llogb_test.
11943         * math/test-fp-llogb-constants.c: New file.  Based on
11944         math/test-fp-ilogb-constants.c.
11945         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
11946         (do_test): Call check_return_llogb.
11947         * math/test-tgmath.c (NCALLS): Increase to 126.
11948         (F(compile_test)): Call llogb.
11949         (F(llogb)): New function.
11950         * manual/math.texi (Exponents and Logarithms): Document llogb,
11951         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
11952         * manual/libm-err-tab.pl (@all_functions): Add llogb.
11953         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
11954         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
11955         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
11956         (CFLAGS-nldbl-llogb.c): New variable.
11957         * sysdeps/nacl/libm.abilist: Update.
11958         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11959         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11960         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11961         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11962         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11963         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11964         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11965         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11966         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11967         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11968         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11969         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11971         Likewise.
11972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11973         Likewise.
11974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11975         Likewise.
11976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11977         Likewise.
11978         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11979         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11980         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11981         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11982         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11984         Likewise.
11985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11986         Likewise.
11987         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11988         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11989         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11991 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
11993         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
11994         _Float128 instead of long double.
11995         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
11997         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
11998         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
11999         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
12000         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
12001         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
12002         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
12003         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
12004         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
12005         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
12006         Likewise.
12008 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12010         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
12011         Remove redirection to __strrchr_ppc.
12013 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12015         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12016         (sysdep_routines): Add strcmp_power9.
12017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12018         (strcmp): Add __strcmp_power9 to list of strcmp functions.
12019         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
12020         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12021         (strcmp): Add __strcmp_power9 to ifunc list.
12022         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
12024 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
12026         * bits/fp-logb.h: New file.
12027         * sysdeps/ia64/bits/fp-logb.h: Likewise.
12028         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
12029         * sysdeps/x86/bits/fp-logb.h: Likewise.
12030         * math/Makefile (headers): Add bits/fp-logb.h.
12031         * math/math.h: Include <bits/fp-logb.h>.
12032         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
12033         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
12034         * bits/mathdef.h (FP_ILOGB0): Remove.
12035         (FP_ILOGBNAN): Likewise.
12036         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
12037         (FP_ILOGBNAN): Likewise.
12038         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
12039         (FP_ILOGBNAN): Likewise.
12040         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
12041         (FP_ILOGBNAN): Likewise.
12042         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
12043         (FP_ILOGBNAN): Likewise.
12044         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
12045         (FP_ILOGBNAN): Likewise.
12046         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
12047         (FP_ILOGBNAN): Likewise.
12048         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
12049         (FP_ILOGBNAN): Likewise.
12050         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
12051         (FP_ILOGBNAN): Likewise.
12052         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
12053         (FP_ILOGBNAN): Likewise.
12055         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
12056         time module.
12057         (Context.__init__): Initialize self.logsdir_old.
12058         (Context.run_builds): Handle bot action.
12059         (Context.bot_cycle): Copy logs directory before running builds.
12060         (Context.bot_run_self): Take argument for whether to check
12061         subprocess result.  Flush stdout before running subprocess.
12062         (Context.bot): New function.
12063         (get_parser): Allow bot action.
12065 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
12067         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
12068         Import email.mime.text, email.utils and smtplib modules.
12069         (Context.__init__): Initialize self.bot_config_json.
12070         (Context.run_builds): Handle bot-cycle action.
12071         (Context.load_bot_config_json): New function.
12072         (Context.part_build_old): Likewise.
12073         (Context.bot_cycle): Likewise.
12074         (Context.bot_build_mail): Likewise.
12075         (Context.bot_run_self): Likewise.
12076         (get_parser): Allow bot-cycle action.
12078 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12080         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
12081         Remove redirection to __stpcpy_ppc.
12083 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12085         Remove __libc_memalign from ld.so because it is unused.
12086         * elf/dl-minimal.c: Update comment on the malloc implementation.
12087         (malloc): Renamed from __libc_memalign, replacing the original
12088         malloc implementation.  Replace the align parameter with
12089         MALLOC_ALIGNMENT.
12090         * elf/Versions (ld): Update comment and remove __libc_memalign.
12091         * sysdeps/nacl/ld.abilist: Likewise.
12092         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12093         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12094         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12095         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12096         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12097         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12098         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12099         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12100         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12101         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12102         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12103         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12104         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12108         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12109         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12110         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12111         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12112         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
12114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
12115         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
12116         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12117         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12118         * sysdeps/generic/localplt.data (ld.so): Likewise.
12119         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
12120         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
12121         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
12122         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
12123         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
12124         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
12125         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
12126         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
12127         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
12128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
12129         (ld.so): Likewise.
12130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12131         (ld.so): Likewise.
12132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
12133         Likewise.
12134         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
12135         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
12136         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
12137         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
12138         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
12140 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12142         [BZ #16628]
12143         Implement _dl_catch_error, _dl_signal_error in libc.so.
12144         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
12145         (catch_hook): Define as thread-local or regular variable,
12146         depending on DL_ERROR_BOOTSTRAP.
12147         (CATCH_HOOK): Remove.
12148         (dl_signal_error, _dl_catch_error): Use
12149         catch_hook.  Add hidden definition for libc.
12150         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
12151         for DL_ERROR_BOOTSTRAP only.
12152         * elf/dl-error.c: New file.
12153         * elf/dl-error-minimal.c: Likewise.
12154         * elf/tst-latepthread.c: Likewise.
12155         * elf/tst-latepthreadmod.c: Likewise.
12156         * elf/Makefile (routines): Add dl-error.
12157         (dl-routines): Remove dl-error.
12158         (rtld-routines): Add dl-error-minimal.
12159         [build-shared] (tests): Add tst-latepthread.
12160         (module-names): Add tst-latepthreadmod.
12161         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
12162         symbol.
12163         (tst-latepthreadmod.so): Link against libpthread.
12164         (tst-latepthread): Link against libdbl.
12165         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
12166         _dl_catch_error.
12167         [ld] (GLIBC_PRIVATE): Likewise.
12168         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
12169         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
12170         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
12171         directly.
12172         * elf/dl-tsd.c: Remove file.
12173         * elf/rtld.c (_rtld_global_ro): Remove initializers for
12174         _dl_catch_error, _dl_signal_error.
12175         (_dl_initial_error_catch_tsd): Remove definition.
12176         (do_preload): Remove initialization of dl_error_catch_tsd.
12177         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
12178         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
12179         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12180         * dlfcn/dlopen.c (dlopen_doit): Likewise.
12181         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
12182         set dl_error_catch_tsd.
12183         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
12184         _dl_error_catch_tsd member.
12185         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
12186         members.
12187         (_dl_initial_error_catch_tsd): Remove declaration.
12188         (_dl_dprintf): Provide definition for use outside of ld.so.
12189         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
12190         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
12191         prototype for libc.
12192         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
12193         _dl_catch_error.
12194         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
12195         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
12196         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
12197         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
12198         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
12199         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
12200         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
12201         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
12202         Likewise.
12203         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
12204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
12205         (ld.so): Likewise.
12206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12207         (ld.so): Likewise.
12208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
12209         Likewise.
12210         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
12211         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
12212         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
12213         Likewise.
12214         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
12215         Likewise.
12216         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
12218 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12220         [BZ #4099]
12221         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
12222         _IO_BUFSIZ (8192).
12224 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
12226         * PROJECTS: Remove file.
12228 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12230         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
12232 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
12233             Steve Ellcey  <sellcey@caviumnetworks.com>
12235         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
12236         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
12237         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
12238         fxstatat.
12239         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
12240         lxstat.
12241         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
12242         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
12243         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
12244         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
12245         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
12246         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
12247         __xstat.
12249 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12251         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
12252         Define.
12253         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
12254         definition.
12256 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12258         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
12259         version and turn into strong alias.  Remove compat symbol.
12261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12262         (__longjmp): Remove.
12264 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
12266         * bits/fp-fast.h: New file.
12267         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
12268         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
12269         * math/Makefile (headers): Add bits/fp-fast.h.
12270         * math/math.h: Include <bits/fp-fast.h>.
12271         * bits/mathdef.h (FP_FAST_FMA): Remove.
12272         (FP_FAST_FMAF): Likewise.
12273         (FP_FAST_FMAL): Likewise.
12274         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
12275         (FP_FAST_FMAF): Likewise.
12276         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
12277         (FP_FAST_FMAF): Likewise.
12278         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
12279         (FP_FAST_FMAF): Likewise.
12280         (FP_FAST_FMAL): Likewise.
12281         * sysdeps/arm/bits/mathdef.h: Remove file.
12282         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
12283         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12284         * sysdeps/tile/bits/mathdef.h: Likewise.
12286 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
12288         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
12289         * math/w_ilogb.c: Remove.
12290         * math/w_ilogbf.c: Likewise.
12291         * math/w_ilogbl.c: Likewise.
12292         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
12293         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
12294         * math/Makefile (gen-libm-calls): Add w_ilogbF.
12295         (libm-calls): Remove w_ilogbF.
12296         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
12297         (LDOUBLE_ilogbl_libm_version): New macro.
12299         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
12301         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
12302         [!__STRICT_ANSI__ && !__cplusplus].
12304 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
12306         [BZ #20750]
12307         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
12308         of PIC.
12310 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
12311             Yury Norov  <ynorov@caviumnetworks.com>
12312             Steve Ellcey  <sellcey@caviumnetworks.com>
12314         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
12315         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
12316         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
12317         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
12318         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
12319         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
12320         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
12321         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
12322         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
12323         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
12324         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
12325         to get correct reg name for ILP32.
12326         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
12327         (RELA_SIZE): New Macro.
12328         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
12329         to support ILP32.
12330         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
12331         cast for ILP32 mode.
12332         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
12333         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
12334         * sysdeps/aarch64/memset.S (__memset): Ditto.
12335         * sysdeps/aarch64/strchr.S (strchr): Ditto.
12336         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
12337         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
12338         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
12339         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
12340         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
12341         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
12342         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
12343         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
12344         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
12345         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
12346         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
12347         change PTR_MANGLE call to use register numbers instead of names.
12348         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
12349         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
12350         ILP32 mode, change PTR_MANGLE calls to use register numbers.
12351         * sysdeps/aarch64/start.S (_start): Ditto.
12352         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
12353         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
12354         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
12355         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
12356         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
12357         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
12358         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
12359         Make defined values dependent on __ILP32__.
12360         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
12361         (sem_t): Change __align type.
12362         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
12363         PTR_SIZE): New Macros.
12364         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
12365         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
12366         Set when in ILP32 mode.
12367         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
12368         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
12369         Set elf flags for ILP32.
12370         (add_system_dir): Set ILP32 library directories.
12371         * sysdeps/unix/sysv/linux/aarch64/init-first.c
12372         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
12373         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
12374         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
12375         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
12376         New Macros.
12377         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
12379 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
12381         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
12382         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
12383         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
12385 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
12387         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
12388         <asm/cachectl.h>.
12390 2016-11-27  Zack Weinberg  <zackw@panix.com>
12392         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
12393         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
12395 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12397         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
12398         error_t to fix usage in C++ programs.
12400 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
12402         * scripts/build-many-glibcs.py: Import datetime module.
12403         (Context.__init__): Load JSON build state.  Initialize list of
12404         status logs.
12405         (Context.run_builds): Update saved build state.
12406         (Context.add_makefile_cmdlist): Update list of status logs.
12407         (Context.load_build_state_json): New function.
12408         (Context.store_build_state_json): Likewise.
12409         (Context.clear_last_build_state): Likewise.
12410         (Context.update_build_state): Likewise.
12411         (CommandList.status_logs): Likewise.
12413 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
12415         * scripts/build-many-glibcs.py (Context.__init__): Save text of
12416         script being executed.
12417         (Context.get_script_text): New function.
12418         (Context.exec_self): Likewise.
12419         (Context.checkout): Re-exec script if changed by checkout process.
12421 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
12423         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12424         (setpayloadsig): New declaration.
12425         * math/Versions (setpayloadsig): New libm symbol at version
12426         GLIBC_2.25.
12427         (setpayloadsigf): Likewise.
12428         (setpayloadsigl): Likewise.
12429         * math/Makefile (libm-calls): Add s_setpayloadsigF.
12430         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
12431         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
12432         (setpayloadsig_test_data): New array.
12433         (setpayloadsig_test): New function.
12434         (main): Call setpayloadsig_test.
12435         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
12436         setpayloadsigf and setpayloadsigl.
12437         * manual/libm-err-tab.pl: Update comment on interfaces without
12438         ulps tabulated.
12439         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
12440         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
12441         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
12442         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
12443         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
12444         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
12445         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12446         setpayloadsig.
12447         (CFLAGS-nldbl-setpayloadsig.c): New variable.
12448         * sysdeps/nacl/libm.abilist: Update.
12449         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12450         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12451         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12452         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12453         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12454         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12455         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12456         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12457         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12458         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12459         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12460         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12462         Likewise.
12463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12464         Likewise.
12465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12466         Likewise.
12467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12468         Likewise.
12469         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12470         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12471         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12472         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12473         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12475         Likewise.
12476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12477         Likewise.
12478         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12479         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12480         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12482         * scripts/build-many-glibcs.py: Import json module.
12483         (Context.__init__): Take replace_sources argument.  Load
12484         versions.json.
12485         (Context.load_versions_json): New function.
12486         (Context.store_json): Likewise.
12487         (Context.store_versions_json): Likewise.
12488         (Context.set_component_version): Likewise.
12489         (Context.checkout): Update versions.json.  Check for and handle
12490         changes of version.  Prefer previously explicitly specified
12491         version to default version.
12492         (Context.checkout_vcs): Return a revision identifier.
12493         (Context.git_checkout): Likewise.
12494         (Context.gcc_checkout): Likewise.
12495         (get_parser): Add --replace-sources option.
12496         (main): Pass replace_sources argument to Context call.
12498 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12500         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
12501         * nptl/allocatestack.c (allocate_stack): Likewise.
12502         (__reclaim_stacks): Likewise.
12503         (setxid_signal_thread): Obtain pid through syscall.
12504         * nptl/nptl-init.c (sigcancel_handler): Likewise.
12505         (sighandle_setxid): Likewise.
12506         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
12507         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
12508         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12509         Likewise.
12510         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
12511         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
12512         comment.
12513         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
12514         * nptl/descr.h (struct pthread): Change comment about pid value.
12515         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
12516         pid assert.
12517         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
12518         Do not set pid value.
12519         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
12520         pid cache check.
12521         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
12522         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
12523         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
12524         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
12525         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
12526         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12527         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
12528         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
12529         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
12530         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
12531         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
12532         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12533         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
12534         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12535         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
12536         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
12537         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12538         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
12539         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
12540         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
12541         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
12542         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12543         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
12544         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
12545         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
12546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12548         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12549         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12550         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12551         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
12552         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
12553         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
12554         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12555         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
12556         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12557         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
12558         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12559         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
12560         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
12561         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12562         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
12563         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
12564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12566         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12567         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12568         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12569         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12570         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12571         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
12572         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12573         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
12574         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
12575         struct access.
12576         (clone_test): Remove function.
12577         (do_test): Rewrite to take in consideration pid is not cached anymore.
12579 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
12581         * bits/flt-eval-method.h: New file.
12582         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
12583         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
12584         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
12585         * math/Makefile (headers): Add bits/flt-eval-method.h.
12586         * math/math.h: Include <bits/flt-eval-method.h>.
12587         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
12588         [__USE_ISOC99] (double_t): Likewise.
12589         * bits/mathdef.h (float_t): Remove.
12590         (double_t): Likewise.
12591         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
12592         (double_t): Likewise.
12593         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
12594         (double_t): Likewise.
12595         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
12596         (double_t): Likewise.
12597         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
12598         (double_t): Likewise.
12599         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
12600         (double_t): Likewise.
12601         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
12602         (double_t): Likewise.
12603         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
12604         (double_t): Likewise.
12605         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
12606         (double_t): Likewise.
12607         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
12608         (double_t): Likewise.
12609         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
12610         (double_t): Likewise.
12611         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
12612         (double_t): Likewise.
12613         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
12614         (double_t): Likewise.
12615         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
12616         (double_t): Likewise.
12618 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
12620         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
12621         instead of PIC.
12623 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12625         [BZ #20859]
12626         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
12627         (-0x7fffffff) instead of 0x80000001.
12628         * math/test-fp-ilogb-constants.c: New file.
12629         * math/Makefile (tests): Add test-fp-ilogb-constants.
12631 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
12633         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
12634         (_init): Use it in place of hardcoded R_MIPS_JALR.
12635         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
12636         (_init): Use it in place of hardcoded R_MIPS_JALR.
12637         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
12638         (_init): Use it in place of hardcoded R_MIPS_JALR.
12640 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12642         [BZ #20787]
12643         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
12644         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
12645         (double_t): Do not define to double if [__x86_64__] when
12646         __FLT_EVAL_METHOD__ is nonzero.
12647         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
12648         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
12649         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12650         test-flt-eval-method-387 and test-flt-eval-method-sse.
12651         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
12652         variable.
12653         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
12655 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
12657         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
12658         use of -fno-isolate-erroneous-paths options for tilepro.
12660 2016-11-23  Florian Weimer  <fweimer@redhat.com>
12662         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
12663         structure initialization is no longer needed.
12665 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12667         [BZ #20855]
12668         * bits/mathdef.h (float_t): Define to float.
12669         * math/test-flt-eval-method.c: New file.
12670         * math/Makefile (tests): Add test-flt-eval-method.
12671         (CFLAGS-test-flt-eval-method.c): New variable.
12673 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
12675         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
12676         and __fstatfs.  Make them aliases of __fstatfs64 if
12677         STATFS_IS_STATFS64 is set to non-zero.
12678         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
12679         and __statfs64.
12680         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
12681         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
12682         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
12683         for __statfs and statfs.
12684         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
12685         to 0.
12686         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
12687         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
12688         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
12689         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12690         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12691         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
12694         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
12695         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12696         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
12697         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
12699 2016-11-22  Andreas Schwab  <schwab@suse.de>
12701         * misc/mkstemp.c: Include <fcntl.h>.
12702         * misc/mkstemps.c: Likewise.
12703         * misc/mkostemp.c: Likewise.
12704         * misc/mkostemps.c: Likewise.
12706 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
12708         [BZ #20847]
12709         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12710         array bounds.
12711         (__execvpe): Likewise.
12713 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
12715         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
12716         -fno-isolate-erroneous-paths options for tilepro.
12718 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
12720         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
12721         to 0 when in 32 bit mode.
12722         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
12723         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12724         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12725         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12727         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12728         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
12729         XSTAT_IS_XSTAT64 test.
12730         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
12731         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
12732         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
12733         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
12734         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
12735         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
12736         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
12737         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
12738         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
12739         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
12740         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
12742 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
12744         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12745         (setpayload): New declaration.
12746         * math/Versions (setpayload): New libm symbol at version
12747         GLIBC_2.25.
12748         (setpayloadf): Likewise.
12749         (setpayloadl): Likewise.
12750         * math/Makefile (libm-calls): Add s_setpayloadF.
12751         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
12752         test_Ff_b1_data.
12753         (RUN_TEST_Ff_b1): New macro.
12754         (RUN_TEST_LOOP_Ff_b1): Likewise.
12755         (canonicalize_test_data): Update type.
12756         (setpayload_test_data): New array.
12757         (setpayload_test): New function.
12758         (main): Call setpayload_test.
12759         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
12760         setpayloadf and setpayloadl.
12761         * manual/libm-err-tab.pl: Update comment on interfaces without
12762         ulps tabulated.
12763         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
12764         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
12765         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
12766         Likewise.
12767         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
12768         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
12769         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
12770         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
12771         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
12772         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
12773         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
12774         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
12775         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
12776         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12777         setpayload.
12778         (CFLAGS-nldbl-setpayload.c): New variable.
12779         * sysdeps/nacl/libm.abilist: Update.
12780         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12781         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12782         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12783         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12784         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12785         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12786         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12787         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12788         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12789         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12790         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12791         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12793         Likewise.
12794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12795         Likewise.
12796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12797         Likewise.
12798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12799         Likewise.
12800         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12801         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12802         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12803         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12804         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12806         Likewise.
12807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12808         Likewise.
12809         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12810         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12811         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12813 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12815         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
12816         * include/unistd.h: Extend comment about __access_noerrno return
12817         semantics.
12818         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
12819         (access_common): Correct typo for EACCES.
12821 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
12823         * sysdeps/tile/math-tests.h: New file.
12825         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
12826         (__old_set_dataplane): Rename from set_dataplane and make a
12827         compatibility symbol.
12828         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
12829         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
12830         sys/dataplane.h.
12832 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
12834         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
12835         script quote words in command output to log suitably for input to
12836         the shell.
12838 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
12839             Maciej W. Rozycki  <macro@imgtec.com>
12841         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
12842         `.Lno_weak_fn' label.
12843         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
12844         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
12846 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12847             Yury Norov  <ynorov@caviumnetworks.com>
12849         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
12850         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
12851         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12852         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
12853         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12854         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
12855         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12856         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12857         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12858         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
12859         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12860         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
12861         (sysdep_routines): Remove oldgetrlimit64.
12862         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
12863         (sysdep_routines): Likewise.
12864         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
12865         (sysdep_routines): Likewise.
12866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12867         [$(subdir) = resource] (sysdep_routines): Likewise.
12868         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
12869         [$(subdir) = resource] (sysdep_routines): Likewise.
12870         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
12871         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
12872         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
12873         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
12874         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
12875         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12876         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
12877         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
12878         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
12879         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
12880         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
12881         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
12882         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
12883         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
12884         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
12885         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
12886         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
12887         setrlimit and getrlimit.
12888         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
12889         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12890         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
12891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
12893         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12894         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
12895         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12896         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12897         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
12898         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
12899         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
12900         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
12901         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
12902         (__old_getrlimit64): Add compatibility symbol.
12903         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
12905 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
12907         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
12908         newly built gmp, mpfr and mpc.
12910         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
12912 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
12914         * conform/Makefile (linknamespace-libs): Rename to
12915         linknamespace-libs-thr.
12916         (linknamespace-libs-posix): New variable.
12917         (linknamespace-libs-xsi): Likewise.
12918         (linknamespace-libs-XPG3): Include libcrypt.a.
12919         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
12920         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
12921         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
12922         (linknamespace-libs-XOPEN2K): Likewise.
12923         (linknamespace-libs-XOPEN2K8): Likewise.
12924         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
12926         [BZ #20829]
12927         * stdio-common/Versions (__snprintf): Add to version
12928         GLIBC_PRIVATE.
12929         * include/stdio.h (__snprintf): Use libc_hidden_proto.
12930         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
12931         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
12932         of snprintf.
12933         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12935 2016-11-16  Zack Weinberg  <zackw@panix.com>
12937         * string/string.h: Remove obsolete comment stating that
12938         strcoll_l and strxfrm_l have not yet been standardized.
12940 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12942         * hurd/hurd.h (__hurd_fail_noerrno): New function.
12943         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
12944         __access_noerrno.
12945         * io/access.c (__access_noerrno): New function.
12946         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
12947         (hurd_fail_seterrno): Likewise.
12948         (access_common): Likewise.
12949         (__access_noerrno): Likewise.
12950         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
12951         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
12952         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
12953         macro.
12955 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
12957         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
12958         Only declare fpregs if [__SH_FPU_ANY__].
12960 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
12962         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
12963         Make code unconditional.
12964         [!(__SH4__ || __SH4A__)]: Remove conditional code.
12966 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
12968         * manual/sysinfo.texi (S_APPEND): Delete.
12969         (S_IMMUTABLE): Likewise.
12971 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
12972             Magnus Granberg  <zorry@gentoo.org>
12973             Mike Frysinger  <vapier@gentoo.org>
12975         [BZ #20662]
12976         * configure.ac (libc_cv_predef_stack_protector): Also check for
12977         __stack_chk_fail_local symbols.
12978         * configure: Regenerated.
12980 2016-11-15  Florian Weimer  <fweimer@redhat.com>
12982         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12983         (libc_hidden_def): Remove redefinition.
12984         (__sigsetjmp): Add hidden definition.
12985         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12986         (libc_hidden_def): Remove redefinition.
12987         (__sigsetjmp): Add hidden definition.
12989 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
12991         * scripts/build-many-glibcs.py (os.path): Do not import.
12992         (Context): Inherit explicitly from object.  Remove blank line
12993         between class and docstring.
12994         (Config): Likewise.
12995         (Glibc): Likewise.
12996         (Command): Likewise.
12997         (CommandList): Likewise.
12998         (Context.write_files): Store chmod mode in a variable.
13000         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
13001         LIBC_SLIBDIR_RTLDDIR for tilegx32.
13002         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
13004 2016-11-14  Zack Weinberg  <zackw@panix.com>
13006         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
13007         creating or re-creating it.
13009         * string/bits/string2.h: Fix typo in comment.
13011 2016-11-14  Zack Weinberg  <zackw@panix.com>
13013         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
13014         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
13015         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
13016         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
13017         of redirected function names.
13019         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
13020         as well.  Document that MESSAGE must be a single string literal.
13022 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
13024         * scripts/build-many-glibcs.py: New file.
13026         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
13027         (do_test): Disable -Wmaybe-uninitialized around uses of
13028         except_mask.
13030         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
13032 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
13034         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
13035         (atomic_store_release): Provide tilepro-specific implementations.
13037 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
13039         * math/math.h (__MATH_TG): New macro.
13040         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
13041         [__USE_ISOC99] (signbit): Likewise.
13042         [__USE_ISOC99] (isfinite): Likewise.
13043         [__USE_ISOC99] (isnan): Likewise.
13044         [__USE_ISOC99] (isinf): Likewise.
13045         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
13046         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
13047         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
13048         __MATH_TG and __MATH_EVAL_FMT2.
13049         * sysdeps/generic/math_private.h (fabs_tg): Define using
13050         __MATH_TG.
13051         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
13052         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
13053         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
13054         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
13055         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
13056         macro.
13057         (__iscanonical): Likewise.
13058         (iscanonical): Define using __MATH_TG.
13060 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13062         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
13063         guards.
13065         * sysdeps/unix/sysv/linux/access.c: New file.
13066         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
13068 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
13070         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
13071         and __WORDSIZE32_PTRDIFF_LONG.
13073 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13075         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13077 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13079         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
13080         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
13081         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
13082         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
13083         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
13084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
13085         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
13086         * sysdeps/unix/sysv/linux/truncate.c: New file.
13087         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
13088         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
13089         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
13090         Remove.
13091         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
13092         Likewise.
13094         * posix/tst-truncate-common.c: New file.
13095         * posix/tst-truncate.c: Use tst-truncate-common.c.
13096         * posix/tst-truncate64.c: Likewise and add LFS tests.
13097         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
13098         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
13099         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
13100         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
13101         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
13102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
13103         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
13104         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
13105         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
13106         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
13107         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
13108         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
13109         Remove.
13110         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
13111         Likewise.
13113 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
13115         [BZ #20790]
13116         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
13117         to MAXLINESIZE.
13118         * sunrpc/bug20790.x: New file.
13119         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
13120         variable.
13121         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
13122         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
13124         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
13126         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
13128         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
13129         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
13130         calloc, realloc, free, memalign and __libc_memalign rather than
13131         making them optional.
13133         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
13134         for libc.so.
13136 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13138         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
13139         ptw-lseek64.
13140         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
13141         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
13142         Likewise.
13143         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
13144         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
13145         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
13146         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
13147         * sysdeps/unix/sysv/linux/lseek.c: New file.
13148         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
13149         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
13150         __libc_lseek64 from auto-generation.
13151         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13152         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
13154 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13156         * nptl/tst-basic1.c (tf, do_test): Use write_message.
13157         * nptl/tst-cleanup1.c (do_test): Likewise.
13158         * nptl/tst-cleanup3.c (do_test): Likewise.
13159         * nptl/tst-key1.c (do_test): Likewise.
13160         * nptl/tst-key2.c (tf, do_test): Likewise.
13161         * nptl/tst-key3.c (tf, do_test): Likewise.
13162         * nptl/tst-stdio1.c (do_test): Likewise.
13163         * nptl/tst-stdio2.c (do_test): Likewise.
13165         * nptl/tst-kill3.c (handler): Use write_message in place of write.
13166         * nptl/tst-kill6.c (handler): Likewise.
13167         * nptl/tst-tls2.c (CB): Likewise.
13168         * nptl/tst-tls3.c (CB): Likewise.
13170 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
13172         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
13174 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
13175             Steve Ellcey  <sellcey@caviumnetworks.com>
13177         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
13178           __ASSUME_ST_INO_64_BIT as 0
13179         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
13180         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
13181           over the code where __ASSUME_ST_INO_64_BIT is used.
13182         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
13183         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
13184         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13186 2016-11-07  Florian Weimer  <fweimer@redhat.com>
13188         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13189         Document ABI exposure of the __kind offset.
13190         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13191         Mention reason for the __kind offset exposure in the ABI.
13192         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13193         Likewise.
13194         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13195         Likewise.
13196         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13197         Likewise.
13198         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
13199         (struct __pthread_mutex_s): Likewise.
13200         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13201         Likewise.
13202         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13203         Likewise.
13204         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13205         Likewise.
13206         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13207         Likewise.
13208         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13209         Likewise.
13210         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13211         Likewise.
13212         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
13213         (struct __pthread_mutex_s): Likewise.
13214         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13215         (struct __pthread_mutex_s): Likewise.
13216         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
13217         Likewise.
13219 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
13221         * test-skeleton.c: Document do_test usage.
13223 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
13225         * iconv/gconv.h (__gconv_info): Define __data element using a
13226         zero-length array.
13228 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
13230         * math/test-tgmath2.c: Split up test function.
13232 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13234         * Rules (tests-expected): New variable, depending on
13235         $(run-built-tests).
13236         (tests): Pass $(tests-expected) to merge-test-results.sh, not
13237         $(tests).
13239         * Rules [$(run-built-tests) = no] (tests): Do not depend on
13240         $(tests-unsupported).
13242 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13244         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13245         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
13247 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13249         [BZ #20768]
13250         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
13251         __fegetenv instead of fegetenv.
13253         [BZ #14139]
13254         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
13255         (find_files): Obtain platform name from libm-test-ulps-name and
13256         store in %pplatforms.
13257         (canonicalize_platform): Remove.
13258         (print_platforms): Use $pplatforms directly.
13259         (by_platforms): Do not allow for platforms missing from
13260         %pplatforms.
13261         * sysdeps/aarch64/libm-test-ulps-name: New file.
13262         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
13263         * sysdeps/arm/libm-test-ulps-name: Likewise.
13264         * sysdeps/generic/libm-test-ulps-name: Likewise.
13265         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
13266         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
13267         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
13268         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
13269         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
13270         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
13271         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
13272         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
13273         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
13274         * sysdeps/nios2/libm-test-ulps-name: Likewise.
13275         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
13276         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
13277         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
13278         * sysdeps/sh/libm-test-ulps-name: Likewise.
13279         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
13280         * sysdeps/tile/libm-test-ulps-name: Likewise.
13281         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
13283         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
13285         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
13286         (test-xfail-check-execstack): New variable.
13288         * sysdeps/mips/localplt.data: New file.
13290 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
13291             Steve Ellcey  <sellcey@caviumnetworks.com>
13293         * bits/wordsize.h: Add documentation.
13294         * sysdeps/aarch64/bits/wordsize.h : New file
13295         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
13296         definitions.
13297         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
13298         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
13299         with #if instead of #ifdef.
13300         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
13301         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
13302         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
13303         Add or change defines.
13304         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
13305         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13306         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
13307         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
13308         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13309         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13310         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
13311         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
13312         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
13313         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13314         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
13315         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
13316         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
13317         * sysdeps/x86/bits/wordsize.h: Likewise.
13319 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
13320             Kevin Petit  <kevin.petit@arm.com>
13322         * sysdeps/aarch64/memchr.S (__memchr): New file.
13324 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13326         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
13328 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
13330         [BZ #19398]
13331         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
13332         $(linknamespace-symlists-tests).
13334 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
13336         * time/tst-strptime2.c: Ignore -Wformat-length warning.
13338 2016-11-02  Florian Weimer  <fweimer@redhat.com>
13339             Carlos O'Donell  <carlos@redhat.com>
13341         [Bug #20729]
13342         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
13343         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
13344         for -Os related change.
13346 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
13348         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
13350 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
13352         [BZ #19673]
13353         * manual/math.texi (Exponents and Logarithms): Correct description
13354         of clog10.
13356 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
13358         [Bz #20729]
13359         * locale/weight.h: Include libc-internal.h.
13360         * locale/weightwc.h: Likewise.
13361         * nptl/nptl_dbP.h: Likewise.
13363 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
13365         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
13366         when it is MACH_PORT_NULL.
13368 2016-10-31  Andreas Schwab  <schwab@suse.de>
13370         [BZ #20707]
13371         * posix/glob.c (glob): Initialize pglob before checking for
13372         GLOB_BRACE.  Don't call glob recursively if pattern contains no
13373         valid brace expression despite GLOB_BRACE.
13374         * posix/globtest.sh: Test it.
13376 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
13378         [BZ #20729]
13379         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
13380         Define.
13381         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
13382         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
13383         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
13384         for seq2.back_us and seq1.back_us only for -Os compiles.
13385         * locale/weightwc.h (findix): Likewise.
13386         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
13387         DB_GET_FIELD_ADDRESS only for -Os compiles.
13388         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
13389         for slen only for -Os compiles.
13390         * string/strcoll_l.c (get_next_seq): Ignore
13391         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
13392         for -Os compiles.
13394         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
13395         * include/crypt.h: New file.
13397 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13399         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
13400         from test-skeleton.c.
13401         (statclass): Replace calls to write with calls to write_message.
13403 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
13405         * math/math.h
13406         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
13407         New macro.
13408         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
13409         Likewise.
13410         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
13411         Likewise.
13412         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
13413         SNANL.
13414         * math/test-double.h (snan_value_MACRO): New macro.
13415         * math/test-float.h (snan_value_MACRO): Likewise.
13416         * math/test-ldouble.h (snan_value_MACRO): Likewise.
13417         * math/libm-test.inc (issignaling_test_data): Add tests of
13418         snan_value_MACRO.
13420 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13422         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
13423         behavior when eliding a lock not held by the current thread.
13424         * sysdeps/powerpc/nptl/elide.h: Likewise.
13426 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13428         [BZ #20728]
13429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
13430         branch to _exit() by a function call.
13432 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13434         * malloc/malloc.c: Update chunk layout comments.
13435         (chunk_main_arena): Update comment.
13437 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13439         * crypt/sha256.c, crypt/sha256-block.c,
13440         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
13441         sha256_process_block to __sha256_process_block.
13442         * crypt/sha512.c, crypt/sha512-block.c,
13443         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
13444         sha512_process_block to __sha512_process_block.
13446 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
13448         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
13450         * math/test-nan-overflow.c: Include stdlib.h for malloc.
13452 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
13454         [BZ #20019]
13455         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
13456         definition in unrelocated shared library.
13457         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13459 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13461         [BZ #20729]
13462         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
13463         * sysdeps/unix/sysv/linux/i386/Makefile
13464         (uses-6-syscall-arguments): Define.
13465         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
13466         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
13467         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
13468         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
13469         Likewise.
13470         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
13471         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
13472         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
13473         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
13474         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
13475         (CFLAGS-fallocate64.os): Likewise.
13476         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
13477         (CFLAGS-pthread_rwlock_timedrdlock.os)
13478         (CFLAGS-pthread_rwlock_timedwrlock.o)
13479         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
13480         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
13481         (CFLAGS-sem_timedwait.os): Likewise.
13483 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13485         * elf/tst-linkall-static.c: New file.
13486         * elf/Makefile (tests-static): Add tst-linkall-static.
13487         (tst-linkall-static): Link against static libraries.
13489 2016-10-27  Florian Weimer  <fweimer@redhat.com>
13491         * malloc/malloc.c (sysmalloc): Initialize previous size field of
13492         mmaped chunks.
13494 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13496         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
13497         members to mchunk_prev_size, mchunk_size.
13498         (chunk_main_arena): Reverse sense and rename from
13499         chunk_non_main_arena.
13500         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
13501         mchunk_size instead of size.
13502         (set_non_main_arena): Define.
13503         (chunksize): Use chunksize_nomask instead of direct member access.
13504         (chunksize_nomask): Define.
13505         (next_chunk): Use chunksize instead of direct member access.
13506         (prev_size, set_prev_size): Define.
13507         (prev_chunk): Use prev_size instead of direct member access.
13508         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
13509         (inuse_bit_at_offset, set_inuse_bit_at_offset)
13510         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
13511         (mchunk_prev_size, mchunk_size): Poison tokens.
13512         (unlink): Use chunksize_nomask, prev_size accessors.
13513         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
13514         (do_check_free_chunk): Use prev_size accessor.
13515         (sysmalloc): Use set_prev_size, set_head accessors.
13516         (munmap_chunk, mremap_chunk): Use prev_size accessor.
13517         (__libc_free): Use chunksize_nomask accessor.
13518         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
13519         chunk_main_arena accessors.
13520         (_int_free): Use chunksize_nomask, prev_size accessors.
13521         (malloc_consolidate): Use chunksize, prev_size accessors.
13522         (_int_realloc): Use chunksize_nomask accessor.
13523         (_int_memalign): Use set_prev_size accessor.
13524         (__malloc_info): Use chunksize_nomask accessor.
13525         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
13526         accessors.
13527         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
13528         (heap_trim): Use chunksize_nomask, prev_size accessors.
13530 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
13532         [BZ #19380]
13533         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
13534         for inexact results.
13535         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
13536         of inexact result where mpfr_subnormalize is the only inexact
13537         step.
13538         * stdlib/tst-strtod-round-data.h: Regenerated.
13539         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
13540         Define to 0.
13541         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
13543 2016-10-27  David S. Miller  <davem@davemloft.net>
13545         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
13547 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13549         * malloc/malloc.c (do_set_mallopt_check): New function.
13550         (do_set_mmap_threshold): Likewise.
13551         (do_set_mmaps_max): Likewise.
13552         (do_set_top_pad): Likewise.
13553         (do_set_perturb_byte): Likewise.
13554         (do_set_trim_threshold): Likewise.
13555         (do_set_arena_max): Likewise.
13556         (do_set_arena_test): Likewise.
13557         (__libc_mallopt): Use them.
13559 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
13561         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13562         (canonicalize): New declaration.
13563         * math/Versions (canonicalize): New libm symbol at version
13564         GLIBC_2.25.
13565         (canonicalizef): Likewise.
13566         (canonicalizel): Likewise.
13567         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
13568         * math/s_canonicalize_template.c: New file.
13569         * math/libm-test.inc: Update comment on functions tested and
13570         testing of NaN payloads.
13571         (TEST_NAN_PAYLOAD): New macro.
13572         (NO_TEST_INLINE): Update value.
13573         (XFAIL_TEST): Likewise.
13574         (ERRNO_UNCHANGED): Likewise.
13575         (ERRNO_EDOM): Likewise.
13576         (ERRNO_ERANGE): Likewise.
13577         (IGNORE_RESULT): Likewise.
13578         (NON_FINITE): Likewise.
13579         (TEST_SNAN): Likewise.
13580         (NO_TEST_MATHVEC): Likewise.
13581         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
13582         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
13583         (struct test_Ffp_b1_data): New type.
13584         (RUN_TEST_Ffp_b1): New macro.
13585         (RUN_TEST_LOOP_Ffp_b1): Likewise.
13586         (canonicalize_test_data): New array.
13587         (canonicalize_test): New function.
13588         (main): Call canonicalize_test.
13589         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
13590         canonicalizef and canonicalizel.
13591         * manual/libm-err-tab.pl: Update comment on interfaces without
13592         ulps tabulated.
13593         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
13594         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
13595         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13596         canonicalize.
13597         (CFLAGS-nldbl-canonicalize.c): New variable.
13598         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
13599         to ...
13600         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
13601         ... here.
13602         (do_test): Also test canonicalizel.
13603         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
13604         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
13605         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
13606         file.
13607         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
13608         Use libm_hidden_def.
13609         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
13610         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
13611         (do_test): Also test canonicalizel.
13612         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
13613         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
13614         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
13615         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
13616         libm_hidden_def.
13617         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
13618         macro.
13619         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
13620         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
13621         * sysdeps/nacl/libm.abilist: Update.
13622         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13623         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13624         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13625         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13626         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13627         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13628         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13629         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13630         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13631         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13632         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13633         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13635         Likewise.
13636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13637         Likewise.
13638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13639         Likewise.
13640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13641         Likewise.
13642         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13643         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13644         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13645         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13646         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13648         Likewise.
13649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13650         Likewise.
13651         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13652         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13653         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13655         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
13656         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13657         getpayload.
13658         (CFLAGS-nldbl-getpayload.c): New variable.
13660 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13662         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
13663         integer from the format string.
13665 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13667         [BZ #19473]
13668         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
13669         declarations.
13670         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
13671         weak aliases.
13672         * malloc/hooks.c (__malloc_get_state): Remove definition.
13673         (malloc_get_state): New stub implementation as
13674         compatibility symbol.
13675         (malloc_set_state): Rename from __malloc_set_state.  Turn into
13676         compat symbol.
13677         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
13678         malloc_set_state.
13679         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
13681 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13683         * iconvdata/iso646.c (enum variant): Drop illegal_var.
13684         (names): Turn into concatenation of strings.
13685         (gconv_init): Adapt iteration over names.
13687 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13689         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
13690         make const.
13691         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
13692         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
13693         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
13694         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
13695         character in sbconv.
13696         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
13697         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
13698         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
13700 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13702         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
13704         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
13705         (M_TRIM_THRESHOLD): Likewise.
13707         * manual/memory.texi (M_ARENA_TEST): Add documentation.
13708         (M_ARENA_MAX): Likewise.
13709         * malloc/malloc.c: Remove obsolete comment.
13711         * manual/memory.texi: Add environment variable alternatives to
13712         setting mallopt parameters.
13714 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
13716         * include/atomic.h
13717         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
13718         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
13720 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13722         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
13723         * stdlib/tst-strfrom.h: New file.
13724         * stdlib/tst-strfrom.c: New file.
13725         * stdlib/tst-strfrom-locale.c: New file.
13727         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
13728         * stdlib/bug-strtod2.c: Likewise.
13729         * stdlib/tst-strtod-round-skeleton.c: Likewise.
13730         * stdlib/tst-strtod6.c: Likewise.
13731         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
13733 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13735         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
13736         * manual/arith.texi: Document strfromd, strfromf, strfroml.
13737         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
13738         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
13739         * stdlib/stdlib.h (strfromd): New declaration.
13740         (strfromf): Likewise.
13741         (strfroml): Likewise.
13742         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
13743         strfrom.
13744         * stdlib/strfromd.c: New file.
13745         * stdlib/strfromf.c: Likewise.
13746         * stdlib/strfroml.c: Likewise.
13747         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
13748         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
13749         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
13750         * sysdeps/arm/nacl/libc.abilist: Update.
13751         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13752         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13753         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13754         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13755         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13756         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13757         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13758         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13759         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13760         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13761         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13762         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13763         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13764         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13769         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13770         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13771         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13772         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13773         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13776         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13777         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13778         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13780 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
13782         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
13783         instead of cmpli.
13784         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
13785         instead of cmpli.
13787 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
13789         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
13790         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
13791         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
13792         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13793         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13794         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13796 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13798         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
13799         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13800         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
13801         SYSCALL_LL64_PRW.
13802         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13803         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
13804         __ASSUME_PRW_DUMMY_ARG.
13805         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
13806         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13807         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13808         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13809         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
13810         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
13812 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
13814         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
13816 2016-10-22  Florian Weimer  <fweimer@redhat.com>
13818         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
13819         "C++", to override a potential extern "C" directive around the
13820         header file inclusion.
13822 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
13824         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
13826 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13828         * sysdeps/powerpc/fpu/fenv_private.h:
13829         (_FPU_MASK_ALL): Rename to...
13830         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
13831         XE FPSCR bits.
13833         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
13835         (_FPU_MASK_ROUNDING): Rename to...
13836         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
13837         NI bits.
13839         (_FPU_MASK_EXCEPT_ROUND): Rename to...
13840         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
13841         bits and rounding bits.
13843         (__libc_feholdbits_ppc): New inline function to mask, set,
13844         and pontentially clear FSPCR bits, and change MSR[FE] bits.
13845         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
13846         (libc_feholdexcept_setround_ppc): Likewise.
13848         (__libc_femergeenv_ppc): New function to dynamically mask both
13849         old and new FP environments and merge.
13850         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
13851         (libc_feresetround_ppc): Likewise.
13852         (libc_feupdateenv_test_ppc): Likewise.
13853         (libc_feupdateenv_ppc): Likewise.
13855         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
13856         of ISA RN bits, and update macro names.
13857         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
13858         effectively the same as the previously mentioned function.
13860         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
13861         usage with fe_resetround_ppc.
13863         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
13864         to be used.
13865         (libc_feholdexcept_setround_ctxf): Likewise.
13866         (libc_feholdexcept_setround_ctxl): Likewise.
13868 2016-10-21  Florian Weimer  <fweimer@redhat.com>
13870         [BZ #20715]
13871         * math/math.h [__cplusplus] (iszero): Define as function template.
13872         * math/Makefile [CXX] (tests): Add test-math-iszero.
13873         (CFLAGS-test-math-iszero.cc): Set.
13874         * math/test-math-iszero.cc: New file.
13876 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
13878         [BZ #20660]
13879         * sysdeps/arm/e_sqrt.c: New file.
13880         * sysdeps/arm/e_sqrtf.c: Likewise.
13882 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
13884         [BZ #20718]
13885         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
13886         not use floating-point comparisons to test sign.
13887         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
13888         Likewise.
13890         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13891         (getpayload): New declaration.
13892         * math/Versions (getpayload): New libm symbol at version
13893         GLIBC_2.25.
13894         (getpayloadf): Likewise.
13895         (getpayloadl): Likewise.
13896         * math/Makefile (libm-calls): Add s_getpayloadF.
13897         * math/libm-test.inc: Include <nan-high-order-bit.h>.
13898         (struct test_f_f_data): Add comment.
13899         (RUN_TEST_fp_f): New macro.
13900         (RUN_TEST_LOOP_fp_f): Likewise.
13901         (getpayload_test_data): New array.
13902         (getpayload_test): New function.
13903         (main): Call getpayload_test.
13904         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
13905         descriptor.
13906         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
13907         getpayloadf and getpayloadl.
13908         * manual/libm-err-tab.pl: Update comment on interfaces without
13909         ulps tabulated.
13910         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
13911         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
13912         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
13913         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
13914         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
13915         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
13916         * sysdeps/nacl/libm.abilist: Update.
13917         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13918         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13919         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13920         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13921         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13922         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13923         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13924         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13925         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13926         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13927         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13928         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13930         Likewise.
13931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13932         Likewise.
13933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13934         Likewise.
13935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13936         Likewise.
13937         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13938         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13939         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13940         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13941         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13943         Likewise.
13944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13945         Likewise.
13946         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13947         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13948         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13950 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13952         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
13953         tst-fallocate{64}.
13954         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
13955         on syscall return.
13957 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
13959         [BZ #20689]
13960         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
13961         usable.
13963 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
13965         * sysdeps/generic/nan-high-order-bit.h: New file.
13966         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
13967         * sysdeps/mips/nan-high-order-bit.h: Likewise.
13968         * sysdeps/hppa/math_private.h: Remove file.
13969         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
13970         not define here.
13971         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
13972         <nan-high-order-bit.h>.
13973         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13974         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
13975         <nan-high-order-bit.h>.
13976         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13977         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
13978         <nan-high-order-bit.h>.
13979         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13980         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
13981         <nan-high-order-bit.h>.
13982         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13983         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
13984         <nan-high-order-bit.h>.
13985         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13986         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
13987         <nan-high-order-bit.h>.
13988         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13989         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
13990         <nan-high-order-bit.h>.
13991         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13992         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
13993         <nan-high-order-bit.h>.
13994         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13995         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
13996         <nan-high-order-bit.h>.
13997         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13998         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
13999         <nan-high-order-bit.h>.
14000         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14001         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
14002         <nan-high-order-bit.h>.
14003         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14004         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
14005         <nan-high-order-bit.h>.
14006         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14007         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
14008         <nan-high-order-bit.h>.
14009         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14010         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
14011         <nan-high-order-bit.h>.
14012         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14013         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
14014         <nan-high-order-bit.h>.
14015         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14016         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
14017         <nan-high-order-bit.h>.
14018         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14019         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
14020         <nan-high-order-bit.h>.
14021         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14022         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
14023         <nan-high-order-bit.h>.
14024         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14026 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14028         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
14030 2016-09-22  John David Anglin  <dave.anglin@bell.net>
14032         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
14033         abort-instr.h.
14034         (EFAULT): Remove conditional define.
14035         (ENOSYS): Likewise.
14036         (atomic_compare_and_exchange_val_acq): Use instruction nullification
14037         instead of conditional branch instructions.
14039 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
14041         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14042         (totalordermag): New declaration.
14043         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
14044         New macro.
14045         * math/Versions (totalordermag): New libm symbol at version
14046         GLIBC_2.25.
14047         (totalordermagf): Likewise.
14048         (totalordermagl): Likewise.
14049         * math/Makefile (libm-calls): Add s_totalordermagF.
14050         * math/libm-test.inc (totalordermag_test_data): New array.
14051         (totalordermag_test): New function.
14052         (main): Call totalordermag_test.
14053         * math/test-tgmath.c (NCALLS): Increase to 125.
14054         (F(compile_test)): Call totalordermag.
14055         (F(totalordermag)): New function.
14056         * manual/arith.texi (FP Comparison Functions): Document
14057         totalordermag, totalordermagf and totalordermagl.
14058         * manual/libm-err-tab.pl: Update comment on interfaces without
14059         ulps tabulated.
14060         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
14061         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
14062         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
14063         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
14064         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
14065         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
14066         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
14067         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14068         totalordermag.
14069         (CFLAGS-nldbl-totalordermag.c): New variable.
14070         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
14071         (do_test): Also test totalordermagl.
14072         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
14073         Likewise.
14074         * sysdeps/nacl/libm.abilist: Update.
14075         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14076         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14077         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14078         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14079         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14080         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14081         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14082         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14083         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14084         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14085         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14086         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14088         Likewise.
14089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14090         Likewise.
14091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14092         Likewise.
14093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14094         Likewise.
14095         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14096         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14097         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14098         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14099         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14101         Likewise.
14102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14103         Likewise.
14104         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14105         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14106         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14108 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
14110         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
14111         boolean.
14113 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
14115         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
14116         raising FE_INVALID with feraisexcept in case where part of
14117         argument is infinite, subtract that part of argument from itself.
14118         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
14119         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
14120         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
14122 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
14124         * math/libm-test.inc (totalorder_test_data): Add more tests.
14126 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14128         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
14129         Undefine weak_alias and add a comment why mips64 require
14130         versioning.
14132 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
14134         [BZ #20647]
14135         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
14136         maximum CPUID level is less than 2.
14138 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
14140         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14141         (totalorder): New declaration.
14142         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
14143         New macro.
14144         * math/Versions (totalorder): New libm symbol at version
14145         GLIBC_2.25.
14146         (totalorderf): Likewise.
14147         (totalorderl): Likewise.
14148         * math/Makefile (libm-calls): Add s_totalorderF.
14149         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
14150         string.
14151         * math/libm-test.inc (PAYLOAD_DIG): New macro.
14152         (qnan_value_pl): Likewise.
14153         (snan_value_pl): Likewise.
14154         (qnan_value): Define using qnan_value_pl.
14155         (snan_value): Define using snan_value_pl.
14156         (struct test_ff_i_data): Add comment about which tests use this
14157         structure.
14158         (RUN_TEST_ff_b): New macro.
14159         (RUN_TEST_LOOP_ff_b): Likewise.
14160         (totalorder_test_data): New array.
14161         (totalorder_test): New function.
14162         (main): Call totalorder_test.
14163         * math/test-tgmath.c (NCALLS): Increase to 122.
14164         (F(compile_test)): Call totalorder.
14165         (F(totalorder)): New function.
14166         * manual/arith.texi (FP Comparison Functions): Document
14167         totalorder, totalorderf and totalorderl.
14168         * manual/libm-err-tab.pl: Update comment on interfaces without
14169         ulps tabulated.
14170         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
14171         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
14172         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
14173         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
14174         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
14175         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
14176         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
14177         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14178         totalorder.
14179         (CFLAGS-nldbl-totalorder.c): New variable.
14180         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
14181         file.
14182         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
14183         Add test-totalorderl-ldbl-128ibm.
14184         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
14185         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
14186         test-totalorderl-ldbl-96.
14187         * sysdeps/nacl/libm.abilist: Update.
14188         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14189         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14190         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14191         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14192         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14193         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14194         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14195         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14196         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14197         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14198         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14199         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14201         Likewise.
14202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14203         Likewise.
14204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14205         Likewise.
14206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14207         Likewise.
14208         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14209         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14210         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14211         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14212         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14214         Likewise.
14215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14216         Likewise.
14217         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14218         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14219         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14221 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14223         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
14224         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
14225         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
14226         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
14227         remove ENOSYS implementation.
14228         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
14229         Consolidate all Linux implementations.
14231 2016-10-11  Florian Weimer  <fweimer@redhat.com>
14233         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
14234         * resolv/herror.c (herror): Cast away const-ness.
14235         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
14236         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
14238 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
14240         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
14241         instead of M_NAN + M_NAN.
14242         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
14244 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14246         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
14247         unused variable 'p'.
14249 2016-10-09  Alan Modra  <amodra@gmail.com>
14250             Andreas Schwab  <schwab@linux-m68k.org>
14252         [BZ #20554]
14253         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
14254         [PIC && !SHARED]: Set up PIC register for PLT call.
14256 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
14258         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
14259         conditional on value of [__FLT_EVAL_METHOD__].
14260         * math/test-iseqsig-excess-precision.c: New file.
14261         * math/Makefile (tests): Add test-iseqsig-excess-precision.
14263 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14265         * math/s_iseqsig_template.c: Include math-private.h.
14267         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
14268         * posix/tst-posix_fadvise.c: New file.
14269         * posix/tst-posix_fadvise64.c: Likewise.
14270         * posix/tst-posix_fadvise-common.c: Likewise.
14271         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14272         (__ASSUME_FADVISE64_64_6ARG): Define.
14273         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14274         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
14275         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14276         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
14277         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
14278         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
14279         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
14280         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
14281         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
14282         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
14283         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
14284         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
14285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
14286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
14287         Likewise.
14288         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
14289         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
14290         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
14291         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14292         Alias to __posix_fadvise64_l32.
14293         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
14294         Add compat definition to posix_fadvise64.
14295         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14296         Add versioned definition to posix_fadvise64.
14297         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
14298         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
14299         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
14300         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
14301         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
14303         * io/Makefile (tests): Add tst-posix_fallocate and
14304         tst-posix_fallocate64.
14305         * io/tst-posix_fallocate-common.c: New file.
14306         * io/tst-posix_fallocate.c: Likewise.
14307         * io/tst-posix_fallocate64.c: Likewise.
14308         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
14309         file.
14310         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
14311         Likewise.
14312         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
14313         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
14314         Likewise.
14315         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
14316         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
14317         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
14318         SYSCALL_LL to pass both offset and len arguments.
14319         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
14320         Likewise.
14321         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
14322         __libc_pwrite64 alias used by posix_fallocate64.
14324         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14325         tst-fallocate64.
14326         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14327         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14328         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14329         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14330         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14331         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14332         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14333         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14334         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14335         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14336         macro on offset argument.
14337         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14338         SYSCALL_LL64 on offset argument.
14340         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14341         tst-fallocate64.
14342         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14343         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14344         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14345         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14346         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14347         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14348         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14349         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14350         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14351         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14352         macro on offset argument.
14353         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14354         SYSCALL_LL64 on offset argument.
14355         * test-skeleton.c (FAIL_RET): Add macro.
14356         (FAIL_EXIT): Likewise.
14357         (FAIL_EXIT1): Likewise.
14358         (_FAIL): Likewise.
14360 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14362         [BZ #20629]
14363         resolv: Remove RES_USEBSTRING and its implementation.
14364         * resolv/resolv.h (RES_USEBSTRING): Remove.
14365         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
14366         (digitvalue, encode_bitstring, decode_bitstring): Remove.
14367         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
14368         (labellen): Remove extended label types support.
14369         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
14370         * resolv/res_init.c (res_setoptions): Likewise.
14371         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
14373 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14375         resolv: Remove RES_NOIP6DOTINT and its implementation.
14376         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
14377         (RES_NOIP6DOTINT): Remove.
14378         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
14379         handling.
14380         * resolv/res_debug.c (p_option): Likewise.
14381         * resolv/res_init.c (res_setoptions): Likewise.
14382         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
14384 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14386         resolv: Deprecate unimplemented flags.
14387         * misc/sys/cdefs.h (__glibc_macro_warning1)
14388         (__glibc_macro_warning): Define.
14389         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
14390         (RES_KEEPTSIG): Mark as deprecated.
14391         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
14392         RES_NOCHECKNAME, RES_KEEPTSIG.
14393         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
14395 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14397         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
14398         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
14399         Use strong_alias to create symbols for glibc verison 2.19.
14401 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14403         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
14405 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14407         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
14409 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14411         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
14413 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14415         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14416         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
14417         in header for using it as type for ifunc function because __GI_* symbols
14418         for ppc32 do not target the ifunc symbols.
14419         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14421 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14423         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
14424         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
14425         libc_ifunc_hidden_def.
14426         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
14427         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
14428         Redirect ifunced function in header for using it as type of ifunc'ed
14429         function. Redefine libc_hidden_def to use fallback non ifunc'ed
14430         function for __GI_* symbol.
14431         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
14432         * include/libc-symbols.h
14433         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
14435 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14437         [BZ #20478]
14438         * sysdeps/s390/multiarch/ifunc-resolve.h
14439         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
14440         to create ifunc symbols.
14441         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
14442         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
14443         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
14444         for using it as type for ifunc function.
14445         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14446         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
14447         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14448         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14449         * sysdeps/s390/multiarch/strcat.c: Likewise.
14450         * sysdeps/s390/multiarch/strchr.c: Likewise.
14451         * sysdeps/s390/multiarch/strcmp.c: Likewise.
14452         * sysdeps/s390/multiarch/strcpy.c: Likewise.
14453         * sysdeps/s390/multiarch/strcspn.c: Likewise.
14454         * sysdeps/s390/multiarch/strlen.c: Likewise.
14455         * sysdeps/s390/multiarch/strncmp.c: Likewise.
14456         * sysdeps/s390/multiarch/strncpy.c: Likewise.
14457         * sysdeps/s390/multiarch/strnlen.c: Likewise.
14458         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
14459         * sysdeps/s390/multiarch/strrchr.c: Likewise.
14460         * sysdeps/s390/multiarch/strspn.c: Likewise.
14461         * sysdeps/s390/multiarch/wcschr.c: Likewise.
14462         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14463         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
14464         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14465         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
14466         * sysdeps/s390/multiarch/wmemset.c: Likewise.
14467         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
14468         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
14469         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
14470         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
14471         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
14472         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
14474 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14476         * include/libc-symbols.h (__ifunc_resolver):
14477         New macro is used by __ifunc* macros.
14478         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
14479         depending on HAVE_GCC_IFUNC.
14480         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
14481         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
14482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
14483         Redirect ifunced function in header for using as type for ifunc function.
14484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
14485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
14486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
14487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
14488         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
14489         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
14490         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
14491         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
14492         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
14493         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
14494         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
14495         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
14496         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
14497         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
14498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
14499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
14500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
14501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
14502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
14503         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
14504         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
14505         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
14506         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
14507         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
14508         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
14509         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
14510         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
14511         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
14512         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
14513         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
14514         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
14515         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
14516         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
14517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
14518         Add libc_hidden_def() and use libc_ifunc_hidden() macro
14519         instead of libc_ifunc() macro.
14520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
14521         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
14523 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14525         * config.h.in (HAVE_GCC_IFUNC): New undef.
14526         * configure.ac: Add check if gcc supports attribute ifunc feature.
14527         * configure: Regenerated.
14528         * manual/install.texi: Add recommendation for gcc with
14529         indirect-function support.
14530         * INSTALL: Regenerated.
14532 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
14534         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
14535         macro.
14536         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14537         (__iseqsig): New declaration.
14538         * math/s_iseqsig_template.c: New file.
14539         * math/Versions (__iseqsigf): New libm symbol at version
14540         GLIBC_2.25.
14541         (__iseqsig): Likewise.
14542         (__iseqsigl): Likewise.
14543         * math/libm-test.inc (iseqsig_test_data): New array.
14544         (iseqsig_test): New function.
14545         (main): Call iseqsig_test.
14546         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
14547         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
14548         * manual/libm-err-tab.pl: Update comment on interfaces without
14549         ulps tabulated.
14550         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
14551         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
14552         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
14553         * sysdeps/nacl/libm.abilist: Update.
14554         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14555         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14556         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14557         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14558         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14559         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14560         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14561         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14562         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14563         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14564         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14565         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14567         Likewise.
14568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14569         Likewise.
14570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14571         Likewise.
14572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14573         Likewise.
14574         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14575         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14576         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14577         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14578         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14580         Likewise.
14581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14582         Likewise.
14583         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14584         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14585         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14587 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14589         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
14590         do_sincos_2, sloww, sloww1): Update comments.
14592         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
14593         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
14595         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
14596         K boolean and rename it.
14597         (__sin): Adjust.
14598         (__cos): Adjust.
14600 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
14601             Siddhesh Poyarekar  <siddhesh@sourceware.org>
14603         * manual/nss.texi: Fix typos in the manual.
14605 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
14607         * manual/contrib.texi: Fix typos in the manual.
14609         * manual/maint.texi: Fix typos in the manual.
14611         * manual/install.texi: Fix typos in the manual.
14612         * INSTALL: Regenerated.
14614         * manual/lang.texi: Fix typos in the manual.
14616         * manual/probes.texi: Fix typos in the manual.
14618         * manual/threads.texi: Fix typos in the manual.
14620         * manual/debug.texi: Fix typos in the manual.
14622         * manual/crypt.texi: Fix typos in the manual.
14624         * manual/conf.texi: Fix typos in the manual.
14626         * manual/sysinfo.texi: Fix typos in the manual.
14628         * manual/users.texi: Fix typos in the manual.
14630         * manual/job.texi: Fix typos in the manual.
14632         * manual/process.texi: Fix typos in the manual.
14634         * manual/argp.texi: Fix typos in the manual.
14635         * manual/getopt.texi: Likewise.
14636         * manual/startup.texi: Likewise.
14638         * manual/signal.texi: Fix typos in the manual.
14640         * manual/setjmp.texi: Fix typos in the manual.
14642         * manual/resource.texi: Fix typos in the manual.
14644         * manual/time.texi: Fix typos in the manual.
14646         * manual/arith.texi: Fix typos in the manual.
14648         * manual/math.texi: Fix typos in the manual.
14650         * manual/syslog.texi: Fix typos in the manual.
14652         * manual/terminal.texi: Fix typos in the manual.
14654         * manual/socket.texi: Fix typos in the manual.
14656         * manual/filesys.texi: Fix typos in the manual.
14658         * manual/llio.texi: Fix typos in the manual.
14660         * manual/stdio.text: Fix typos in the manual.
14662 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14664         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
14665         instead of K1.
14667         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
14668         SHIFT_QUADRANT and make it bool.
14669         (do_sincos_2): Likewise.
14670         (sloww): Likewise.
14671         (sloww1): Likewise.
14672         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
14673         (__cos): Likewise.
14675 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14677         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14679 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
14681         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
14682         Define to __WORDSIZE, not conditional on [LONG_MAX ==
14683         0x7fffffffL].
14684         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14686 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14688         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
14689         inline by __inline__.
14690         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
14691         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
14692         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
14693         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
14694         sigset_t from signal.h.
14695         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
14696         which is already required.
14698 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
14700         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14702 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
14704         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
14705         (struct tcp_repair_window): New type.
14707 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14709         * libio/tst-memstream3.c: Include string.h.
14711 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14713         [BZ #18241]
14714         [BZ #20181]
14715         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
14716         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
14717         write position is at the end the buffer.
14718         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
14719         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
14720         (_IO_str_seekoff): Set correct offset from negative displacement and
14721         set EINVAL for invalid ones.
14722         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
14723         buffer length.
14724         (_IO_wstr_switch_to_get_mode): New function.
14725         (_IO_wstr_seekoff): Set correct offset from negative displacement and
14726         set EINVAL for invalid ones.
14727         * libio/tst-memstream3.c: New file.
14728         * libio/tst-wmemstream3.c: Likewise.
14729         * manual/examples/memstrm.c: Remove warning when priting size_t.
14731 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14733         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
14734         macro to use __builtin_fma.
14735         * sysdeps/x86_64/fpu/dla.h: Remove file.
14737         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14738         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
14739         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
14741 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
14743         [BZ #20292]
14744         * elf/Makefile (routines): Add dl-addr-obj.
14745         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
14746         tst-_dl_addr_inside_object.
14747         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
14748         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14749         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
14750         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14751         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
14752         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
14753         * elf/dl-open.c: Likewise.
14754         * elf/dl-addr-obj.c: New file.
14755         * elf/tst-_dl_addr_inside_object.c: New file.
14757 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14759         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
14760         <bits/iscanonical.h>.
14761         * bits/iscanonical.h: New file.
14762         * math/s_iscanonicall.c: Likewise.
14763         * math/Versions (__iscanonicall): New libm symbol at version
14764         GLIBC_2.25.
14765         * math/libm-test.inc (iscanonical_test_data): New array.
14766         (iscanonical_test): New function.
14767         (main): Call iscanonical_test.
14768         * math/Makefile (headers): Add bits/iscanonical.h.
14769         (type-ldouble-routines): Add s_iscanonicall.
14770         * manual/arith.texi (Floating Point Classes): Document
14771         iscanonical.
14772         * manual/libm-err-tab.pl: Update comment on interfaces without
14773         ulps tabulated.
14774         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
14775         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
14776         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
14777         Likewise.
14778         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
14779         test-iscanonical-ldbl-128ibm.
14780         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
14781         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
14782         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
14783         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
14784         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
14785         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14786         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14788         Likewise.
14789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14790         Likewise.
14791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14792         Likewise.
14793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14794         Likewise.
14795         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14796         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14798 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14800         * string/bits/string3.h: Remove C++ style comments.
14802 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14804         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
14805         instead of ternary condition.
14806         (do_sincos_2): Likewise.
14807         (__sin): Likewise.
14808         (__cos): Likewise.
14809         (slow): Likewise.
14810         (sloww): Likewise.
14811         (sloww1): Likewise.
14812         (bsloww): Likewise.
14813         (bsloww1): Likewise.
14815         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
14816         instead of ternary condition.
14817         (do_sin_slow): Likewise.
14818         (do_sincos_1): Likewise.
14819         (do_sincos_2): Likewise.
14820         (__cos): Likewise.
14821         (sloww): Likewise.
14822         (sloww1): Likewise.
14823         (sloww2): Likewise.
14824         (bsloww): Likewise.
14825         (bsloww1): Likewise.
14826         (bsloww2): Likewise.
14828         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
14829         check from here...
14830         (slow2): ... and here...
14831         (__sin): ... to here.
14833 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
14835         * math/math.h
14836         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
14837         Cast argument to its own type.
14838         * math/test-iszero-excess-precision.c: New file.
14839         * math/Makefile (tests): Add test-iszero-excess-precision.
14840         (CFLAGS-test-iszero-excess-precision.c): New variable.
14842 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
14844         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
14845         field, add err field.
14846         (__spawni_child): Report error through err member instead of pipe.
14847         (__spawnix): Likewise.
14849 2016-09-28  Zack Weinberg  <zackw@panix.com>
14851         * scripts/check-installed-headers.sh: Generalize treatment of
14852         sys/elf.h to all target architectures.
14854         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
14855         deleted typedef ucontext_t.
14857 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14859         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
14860         (__INTERNAL_SYSCALL1): Likewise.
14861         (__INTERNAL_SYSCALL2): Likewise.
14862         (__INTERNAL_SYSCALL3): Likewise.
14863         (__INTERNAL_SYSCALL4): Likewise.
14864         (__INTERNAL_SYSCALL5): Likewise.
14865         (__INTERNAL_SYSCALL6): Likewise.
14866         (__INTERNAL_SYSCALL7): Likewise.
14867         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
14868         (__INTERNAL_SYSCALL_NARGS): Likewise.
14869         (__INTERNAL_SYSCALL_DISP): Likewise.
14870         (INTERNAL_SYSCALL_CALL): Likewise.
14871         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
14872         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
14873         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
14874         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
14875         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
14876         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
14877         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
14878         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
14879         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
14880         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
14881         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
14882         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
14883         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
14885 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
14887         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
14888         macro.
14889         * math/libm-test.inc (iszero_test_data): New array.
14890         (iszero_test): New function.
14891         (main): Call iszero_test.
14892         * manual/arith.texi (Floating Point Classes): Document iszero.
14893         * manual/libm-err-tab.pl: Update comment on interfaces without
14894         ulps tabulated.
14896 2016-09-23  Zack Weinberg  <zackw@panix.com>
14898         * scripts/check-installed-headers.sh: New script.
14899         * Rules: In each directory that defines header files to be installed,
14900         run check-installed-headers.sh on them as a special test.
14901         * Makefile: Likewise for the headers installed at top level.
14903         * include/aliases.h, include/alloca.h, include/argz.h
14904         * include/arpa/nameser.h, include/arpa/nameser_compat.h
14905         * include/elf.h, include/envz.h, include/err.h
14906         * include/execinfo.h, include/fpu_control.h, include/getopt.h
14907         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
14908         * include/link.h, include/malloc.h, include/mcheck.h
14909         * include/mntent.h, include/netinet/ether.h
14910         * include/nss.h, include/obstack.h, include/printf.h
14911         * include/pty.h, include/resolv.h, include/rpc/auth.h
14912         * include/rpc/auth_des.h, include/rpc/auth_unix.h
14913         * include/rpc/clnt.h, include/rpc/des_crypt.h
14914         * include/rpc/key_prot.h, include/rpc/netdb.h
14915         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
14916         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
14917         * include/rpc/rpc_msg.h, include/rpc/svc.h
14918         * include/rpc/svc_auth.h, include/rpc/xdr.h
14919         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
14920         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
14921         * include/rpcsvc/ypupd.h, include/shadow.h
14922         * include/stdio_ext.h, include/sys/epoll.h
14923         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
14924         * include/sys/prctl.h, include/sys/profil.h
14925         * include/sys/statfs.h, include/sys/sysctl.h
14926         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
14927         * sysdeps/arm/nacl/include/bits/setjmp.h
14928         * sysdeps/mips/include/sys/asm.h
14929         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
14930         * sysdeps/unix/sysv/linux/include/sys/timex.h
14931         * sysdeps/x86/fpu/include/bits/fenv.h:
14932         Add #ifndef _ISOMAC guard around internal declarations.
14933         Add multiple-inclusion guard if not already present.
14935 2016-09-23  Zack Weinberg  <zackw@panix.com>
14937         * sysdeps/generic/sys/ucontext.h
14938         * sysdeps/arm/sys/ucontext.h
14939         * sysdeps/i386/sys/ucontext.h
14940         * sysdeps/m68k/sys/ucontext.h
14941         * sysdeps/mips/sys/ucontext.h
14942         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
14943         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
14944         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
14945         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
14946         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
14947         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
14948         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
14949         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
14950         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
14951         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
14952         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
14953         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
14954         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
14955         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
14956         Include both bits/sigcontext.h and bits/sigstack.h.
14957         Fix grammar error in comment, if present.
14959         * bits/sigstack.h
14960         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
14961         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
14962         * sysdeps/unix/sysv/linux/bits/sigstack.h
14963         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
14964         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
14965         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
14966         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
14967         * bits/sigcontext.h
14968         * sysdeps/mach/hurd/i386/bits/sigcontext.h
14969         * sysdeps/unix/sysv/linux/bits/sigcontext.h
14970         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
14971         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
14972         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
14973         as well as signal.h, if this was not already allowed.  Request
14974         definition of size_t if necessary.  Minimize semantically-null
14975         differences across files.
14977 2016-09-23  Zack Weinberg  <zackw@panix.com>
14979         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
14980         Remove all logic conditional on __need macros.  Move all the
14981         conditionally defined types to their own headers...
14982         * time/bits/types/clock_t.h: Define clock_t here.
14983         * time/bits/types/clockid_t.h: Define clockid_t here.
14984         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
14985         * time/bits/types/struct_timespec.h: Define struct timespec here.
14986         * time/bits/types/struct_timeval.h: Define struct timeval here.
14987         * time/bits/types/struct_tm.h: Define struct tm here.
14988         * time/bits/types/time_t.h: Define time_t here.
14989         * time/bits/types/timer_t.h: Define timer_t here.
14990         * time/Makefile: Install the new headers.
14992         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
14993         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
14994         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
14995         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
14996         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
14997         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
14998         * sysdeps/unix/sysv/linux/bits/resource.h
14999         * sysdeps/unix/sysv/linux/bits/timex.h
15000         * sysdeps/unix/sysv/linux/mips/bits/resource.h
15001         * sysdeps/unix/sysv/linux/net/ppp_defs.h
15002         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
15003         * sysdeps/unix/sysv/linux/sys/acct.h
15004         * sysdeps/unix/sysv/linux/sys/timerfd.h
15005         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
15006         * time/sys/time.h, time/sys/timeb.h
15007         Use the new bits/types headers.
15009         * include/time.h: Remove __need logic.
15010         * include/bits/time.h
15011         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
15012         * include/bits/types/time_t.h, include/bits/types/timer_t.h
15013         * include/bits/types/struct_itimerspec.h
15014         * include/bits/types/struct_timespec.h
15015         * include/bits/types/struct_timeval.h
15016         * include/bits/types/struct_tm.h:
15017         New wrapper headers.
15019 2016-09-23  Zack Weinberg  <zackw@panix.com>
15021         * sysdeps/mach/hurd/net/if_ppp.h
15022         * sysdeps/unix/sysv/linux/net/if_ppp.h:
15023         Only define struct ifpppstatsreq and struct ifpppcstatsreq
15024         if __USE_MISC is defined, to ensure struct ifreq is declared.
15026         * inet/netinet/ether.h: Condition all function prototypes
15027         on __USE_MISC, to ensure struct ether_addr is declared.
15029         * socket/bits/types/struct_osockaddr.h: New header.
15030         * include/bits/types/struct_osockaddr.h: New wrapper.
15031         * socket/Makefile: Install the new header.
15032         * socket/sys/socket.h, inet/protocols/talkd.h:
15033         Refer to bits/types/struct_osockaddr.h for the definition of
15034         struct osockaddr.
15036 2016-09-23  Zack Weinberg  <zackw@panix.com>
15038         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
15039         * inet/protocols/routed.h, inet/protocols/talkd.h
15040         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
15041         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
15042         * sysdeps/generic/netinet/if_ether.h
15043         * sysdeps/generic/netinet/in_systm.h
15044         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
15045         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15046         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
15047         * sysdeps/mach/hurd/net/if_arp.h
15048         * sysdeps/mach/hurd/net/if_ppp.h
15049         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
15050         * sysdeps/unix/sysv/linux/bits/in.h
15051         * sysdeps/unix/sysv/linux/net/ethernet.h
15052         * sysdeps/unix/sysv/linux/net/if_arp.h
15053         * sysdeps/unix/sysv/linux/net/if_ppp.h
15054         * sysdeps/unix/sysv/linux/net/if_shaper.h
15055         * sysdeps/unix/sysv/linux/net/route.h
15056         * sysdeps/unix/sysv/linux/netinet/if_ether.h
15057         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15058         * sysdeps/unix/sysv/linux/netinet/if_tr.h
15059         * sysdeps/unix/sysv/linux/netipx/ipx.h
15060         * sysdeps/unix/sysv/linux/sys/acct.h
15061         * include/arpa/nameser.h, include/resolv.h:
15062         Change all uses of u_char to unsigned char,
15063         u_short and ushort to unsigned short, u_int and uint to unsigned int,
15064         u_long and ulong to unsigned long, u_int8_t to uint8_t,
15065         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
15066         and u_int64_t and u_quad_t to uint64_t.
15068         * mach/sys/reboot.h: Remove two casts of integer literals
15069         to the types they already have.
15071         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
15072         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
15073         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
15074         from referring to 'unsigned char' to 'uint8_t' for consistency with
15075         the macro definition below.
15077         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
15078         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
15079         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
15080         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
15081         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
15082         * sysdeps/unix/sysv/linux/sys/acct.h
15083         * include/arpa/nameser.h, include/resolv.h:
15084         Fix indentation disrupted by mechanical edits.
15086         * inet/protocols/talkd.h, resolv/arpa/nameser.h
15087         * sysdeps/generic/netinet/in_systm.h
15088         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15089         * sysdeps/gnu/netinet/udp.h
15090         * sysdeps/unix/sysv/linux/net/ethernet.h
15091         * sysdeps/unix/sysv/linux/net/if_arp.h
15092         * sysdeps/unix/sysv/linux/net/if_ppp.h
15093         * sysdeps/unix/sysv/linux/net/if_shaper.h
15094         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15095         * sysdeps/unix/sysv/linux/netinet/if_tr.h
15096         * sysdeps/unix/sysv/linux/netipx/ipx.h
15097         * sysdeps/unix/sysv/linux/sys/acct.h
15098         Include stdint.h for uintNN_t definitions.
15099         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
15101 2016-09-23  Zack Weinberg  <zackw@panix.com>
15103         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
15104         * sysdeps/unix/sysv/linux/netrose/rose.h:
15105         Include sys/socket.h and netax25/ax25.h.
15107         * inet/netinet/icmp6.h, inet/netinet/ip6.h
15108         * resolv/arpa/nameser_compat.h:
15109         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
15111         * sysdeps/unix/sysv/linux/sys/quota.h:
15112         Use __caddr_t instead of caddr_t.
15113         * sysdeps/unix/sysv/linux/sys/timerfd.h:
15114         Use __clockid_t instead of clockid_t.
15116         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
15118         * argp/argp.h: Check whether _LIBC is defined before expanding it.
15119         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
15120         expanding it.
15122         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
15123         Define __glibc_c99_flexarr_available to 1 when the compiler
15124         supports C99-compatible flexible array members, 0 otherwise.
15125         * sysdeps/unix/sysv/linux/bits/socket.h
15126         * sysdeps/mach/hurd/bits/socket.h
15127         * bits/socket.h: Use __glibc_c99_flexarr_available in
15128         definitions of struct cmsghdr and CMSG_DATA.
15130 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15132         * manual/nss.texi (NSS Modules Interface): Adjust function return
15133         type to enum nss_status.  Document errnop argument.  Clarify
15134         h_errnop semantics.  Fix cross-reference formatting.
15135         (NSS Module Function Internals): Mention that *errnop needs to be
15136         set on failure, but not to zero.
15138 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15140         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
15141         (get_random_name): New functions.
15142         (check_wrapper_flags_mode): Use linkat to give the new file a name
15143         determined by get_random_name.
15144         (do_test): Add calls to test open64 and openat64.
15146 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15148         * test-skeleton.c: Remove #include <stdarg.h>.
15150 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
15152         [BZ #19826]
15153         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
15154         initialization of static TLS entries.
15155         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
15156         * nptl/allocatestack.c (init_one_static_tls): Likewise.
15158 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15160         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
15161         _hurd_malloc_fork_prepare.
15162         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
15163         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
15164         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
15165         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
15166         (_hurd_fork_child_hook): Drop malloc_fork_child.
15167         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
15168         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
15169         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
15170         after locking locks (notably hurd_dtable_lock). Call
15171         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
15172         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
15173         __malloc_fork_unlock_child.
15174         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
15176 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
15178         * soft-fp/extendhftf2.c: New.
15179         * soft-fp/fixhfti.c: Likewise.
15180         * soft-fp/fixunshfti.c: Likewise.
15181         * soft-fp/floattihf.c: Likewise.
15182         * soft-fp/floatuntihf.c: Likewise.
15183         * soft-fp/half.h: Likewise.
15184         * soft-fp/trunctfhf2.c: Likewise.
15186 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
15188         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
15189         macro.
15190         * math/libm-test.inc (issubnormal_test_data): New array.
15191         (issubnormal_test): New function.
15192         * manual/arith.texi (Floating Point Classes): Document
15193         issubnormal.
15194         * manual/libm-err-tab.pl: Update comment on interfaces without
15195         ulps tabulated.
15197         * sysdeps/generic/stdint.h: Define
15198         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15199         <bits/libc-header-start.h> instead of including <features.h>.
15200         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
15201         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
15202         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
15203         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
15204         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
15205         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
15206         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
15207         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
15208         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
15209         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
15210         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
15211         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
15212         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
15213         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
15214         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
15215         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
15216         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
15217         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
15218         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
15219         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
15220         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
15221         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
15222         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
15223         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
15224         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
15225         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
15226         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
15227         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
15228         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
15229         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
15230         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
15231         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
15232         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
15233         * manual/arith.texi (Integers): Document these macros for types
15234         specified by width properties.
15235         * manual/lang.texi (Width of Type): Document these macros for
15236         other standard typedefs.
15237         * stdlib/tst-width-stdint.c: New file.
15238         * stdlib/Makefile (tests): Add tst-width-stdint.
15240 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15242         [BZ #20016]
15243         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
15244         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
15245         Move ...
15246         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
15247         ... here, as compatibility symbols in a new file.
15248         * resolv/Makefile (libresolv-routines): Add compat-hooks.
15249         * resolv/res_init.c (__res_vinit): Adjust member names.
15250         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
15251         * resolv/resolv.h (res_sendhookact, res_send_qhook)
15252         (res_send_rhook): Remove.
15253         (struct __res_state): Rename qhook, rhook members.
15255 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15257         malloc: Use __libc_lock wrappers.
15258         * malloc/arena.c (list_lock, free_list_lock): Define using
15259         __libc_lock_define_initialized.
15260         (arena_lock): Adjust formatting.
15261         * malloc/malloc.c (struct malloc_state): Define mutex using
15262         __libc_lock_define.
15263         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
15264         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
15265         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
15266         (mutex_unlock, mutex_trylock): Remove.
15267         (__pthread_initialize): Remove unused macro.
15268         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
15269         (mutex_unlock, mutex_trylock): Remove.
15271 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15273         [BZ #20592]
15274         Remove RR type classification macros.
15275         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
15276         (ns_t_udp_p, ns_t_xfr_p): Remove.
15278 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15280         Remove misleading version information.
15281         * resolv/arpa/nameser.h (__NAMESER): Remove.
15282         * resolv/arpa/nameser_compat.h (__BIND): Remove.
15284 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15286         Remove the always-defined BIND_4_COMPAT macro.
15287         * resolv/arpa/nameser.h: Unconditionally include
15288         <arpa/nameser_compat.h>.
15289         (BIND_4_COMPAT): Remove.
15290         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
15292 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15294         [BZ #20591]
15295         Remove obsolete DNSSEC support.
15296         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
15297         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
15298         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
15299         (ns_verify_tcp, ns_verify_tcp_init): Remove.
15300         (ns_cert_types): Add comment.
15301         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
15302         separately.
15303         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
15304         (dst_s_dns_key_id): Remove.
15305         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
15306         variables.
15308 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15310         [BZ #20524]
15311         * manual/string.texi (String/Array Comparison): Clarify the
15312         strverscmp behavior.
15314 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15316         * test-skeleton.c (xasprintf): Add function.
15317         * io/tst-open-tmpfile.c: New test.
15318         * io/Makefile (tests): Add it.
15320 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15322         Avoid running $(CXX) during build to obtain header file paths.
15323         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
15324         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
15325         * Makerules (cstdlib, cmath): Remove variables.  Use
15326         $(c++-cstdlib-header), $(c++-cmath-header) instead.
15327         * configure: Regenerate.
15329 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15331         * Makeconfig (all-object-suffixes): Include .op only if
15332         $(build-profile).
15334 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15336         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
15337         conditionals.  Do not define PATH_MAX.
15339 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15341         * posix/Makefile (tests): Add tst-spawn3.
15342         * posix/tst-spawn3.c: New file.
15343         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
15344         if it is already opened for open action.
15346         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
15347         all signals when executing the clone vfork child.
15348         (SIGALL_SET): Remove macro.
15350         * nptl/Makefile (tests): Add tst-exec5.
15351         * nptl/tst-exec5.c: New file.
15352         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
15353         asynchronous cancellation.
15355 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15357         * hurd/exc2signal.c: #include <hurd/signal.h>
15358         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
15359         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
15360         accordingly.
15361         * mach/mach_error.c (mach_error): Fix old-style function definition.
15362         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
15364 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15366         * math/Makefile (libm-calls): Remove s_nanF.
15367         (gen-libm-calls): Add s_nanF.
15369         * math/s_nan.c: Refactor into ...
15370         * math/s_nan_template.c: New file.
15372         * math/s_nanf.c: Removed.
15373         * math/s_nanl.c: Removed.
15374         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
15375         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
15377         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15378         (LDOUBLE_nanl_libm_version): New macro.
15380         * sysdeps/generic/math-type-macros-double.h:
15381         (M_STRTO_NAN): New macro.
15382         * sysdeps/generic/math-type-macros-float.h: Likewise.
15383         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
15385         * sysdeps/generic/math-type-macros.h: Document
15386         M_STRTO_NAN.
15388 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15390         * math/s_nanf.c: Remove __nanf undef.
15391         * math/s_nan.c: Remove __nan undef.
15392         * math/s_nanl.c: Remove __nanl undef.
15394         * sysdeps/generic/math_private.h (__nan): Remove macro
15395         override.
15396         (__nanf): Likewise.
15397         (__nanl): Likewise.
15399 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15401         * math/Makefile (gen-all-calls): New variable.
15402         (generated): Replace gen-libm-calls with gen-all-calls.
15403         (gen-libm-templates.stmp): Likewise.  Also, ensure
15404         the output directory exists or is created and add
15405         dependency on the Makefile.
15406         (calls): Move s_ldexpF into gen-calls.
15407         (gen-calls): New variable.
15409         * math/s_ldexpf.c: Removed.
15410         * math/s_ldexpl.c: Removed.
15411         * math/s_ldexp.c: Refactored into ...
15412         * math/s_ldexp_template.c: New file.
15414         * sysdeps/generic/math-type-macros-double.h: Remove
15415         redundant fall-through definition of declare_mgen_alias.
15416         (declare_mgen_alias_2): New macro.
15418         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
15419         New macro for function aliased to two exported symbols.
15421         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
15422         new template file.
15423         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
15425 2016-09-20  Florian Weimer  <fweimer@redhat.com>
15427         * Makeconfig (all-object-suffixes): Remove .og.
15428         * Makerules (elide-routines.og): Remove.
15429         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
15430         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
15431         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
15433 2016-09-20  Florian Weimer  <fweimer@redhat.com>
15435         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
15436         .os objects.
15438 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15440         [BZ #20615]
15441         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
15442         fpu directory by non-fpu.
15443         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
15444         on non-fpu directory from a fpu directory.
15446 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
15448         * include/limits.h: Define
15449         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15450         <bits/libc-header-start.h> instead of including <features.h>.
15451         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
15452         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
15453         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
15454         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
15455         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
15456         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
15457         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
15458         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
15459         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
15460         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
15461         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
15462         * manual/lang.texi (Width of Type): Document these macros.
15463         * stdlib/tst-width.c: New file.
15464         * stdlib/Makefile (tests): Add tst-width.
15466 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15468         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
15469         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
15471 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15473         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
15474         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
15475         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
15477 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15479         [BZ #18243]
15480         * rt/Makefile (test): Add tst-shm-cancel.
15481         * rt/tst-shm-cancel.c: New file.
15482         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
15484         [BZ #18243]
15485         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
15486         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
15487         definition.
15488         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
15489         uncontended case.
15490         * nptl/sem_wait.c (__new_sem_wait): Likewise.
15491         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
15492         (tf): Fix check for uncontended case.
15493         (do_test): Likewise.
15494         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
15495         (tf): Fix check for uncontended case.
15496         (do_test): Likewise.
15497         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
15498         (tf): Fix check for uncontended case.
15499         (do_test): Likewise.
15500         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
15501         (tf): Fix check for uncontended case.
15502         (do_test): Likewise.
15504         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
15505         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
15507         [BZ #15765]
15508         * nptl/Makefile (tests): Add tst-sem16.
15509         * nptl/tst-sem16.c: New file.
15510         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
15512         * nptl/sem_open.c (sem_open): Init pad value to 0.
15513         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
15514         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
15516 2016-09-15  Florian Weimer  <fweimer@redhat.com>
15518         [BZ #20611]
15519         * inet/Makefile (routines): Add inet6_scopeid_pton.
15520         (tests): Add tst-inet6_scopeid_pton.
15521         * inet/inet6_scopeid_pton.c: New file.
15522         * inet/net-internal.h: Likewise.
15523         * inet/tst-inet6_scopeid_pton.c: New test.
15524         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
15525         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
15526         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15528 2016-09-14  Florian Weimer  <fweimer@redhat.com>
15530         Remove support for compiling wrappers with PTW.
15531         * sysdeps/nptl/Makeconfig: Drop ptw- support.
15532         * nptl/Makefile (pthread-compat-wrappers): Define.
15533         (libpthread-routines): Use pthread-compat-wrappers.
15534         * sysdeps/unix/sysv/linux/alpha/Makefile
15535         (libpthread-routines, libpthread-shared-only-routines): Remove
15536         ptw- prefix.
15537         * sysdeps/s390/nptl/Makefile
15538         (libpthread-routines, libpthread-shared-only-routines): Likewise.
15539         * sysdeps/ia64/nptl/Makefile
15540         (libpthread-routines, libpthread-shared-only-routines): Likewise.
15541         * sysdeps/nacl/Makefile (libpthread-routines): Use
15542         pthread-compat-wrappers to filter the routines list instead of the
15543         ptw- prefix.
15545 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15547         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
15548         with L() and remove explicit suffix, convert real literals
15549         which can be equivalentally substituted with integers, and
15550         transform -L(x) to L(-x).
15552         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15553         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15554         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15555         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15556         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15557         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15558         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15559         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15560         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15561         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15562         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15563         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15564         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15565         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15566         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15567         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15568         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15569         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15570         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15571         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15572         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15573         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15574         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15575         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15576         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15577         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15578         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15579         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15580         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15581         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15582         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15583         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15584         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15585         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15586         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15587         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15588         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15589         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15590         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15591         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15592         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15593         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15594         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15595         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15596         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15597         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15598         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15599         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
15600         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15601         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15603 2016-09-13  Florian Weimer  <fweimer@redhat.com>
15605         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
15607 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15609         * malloc/Makefile (tests): Remove individual static test names
15610         and just add all of tests-static.
15612         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
15614 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
15616         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
15617         file.
15619         * sysdeps/sparc/fpu/fegetmode.c: New file.
15620         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
15622         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
15623         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
15625         * sysdeps/s390/fpu/fegetmode.c: New file.
15626         * sysdeps/s390/fpu/fesetmode.c: Likewise.
15628         * sysdeps/powerpc/fpu/fegetmode.c: New file.
15629         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
15630         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
15631         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
15632         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
15633         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
15635         * sysdeps/mips/fpu/fegetmode.c: New file.
15636         * sysdeps/mips/fpu/fesetmode.c: Likewise.
15638         * sysdeps/m68k/fpu/fegetmode.c: New file.
15639         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
15641         * sysdeps/ia64/fpu/fegetmode.c: New file.
15642         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
15644         * sysdeps/hppa/fpu/fegetmode.c: New file.
15645         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
15647         * sysdeps/arm/fegetmode.c: New file.
15648         * sysdeps/arm/fesetmode.c: Likewise.
15650         * sysdeps/alpha/fpu/fegetmode.c: New file.
15651         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
15653         * sysdeps/aarch64/fpu/fegetmode.c: New file.
15654         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
15656         * math/fegetmode.c: New file.
15657         * math/fesetmode.c: Likewise.
15658         * sysdeps/i386/fpu/fegetmode.c: Likewise.
15659         * sysdeps/i386/fpu/fesetmode.c: Likewise.
15660         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
15661         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
15662         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
15663         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
15664         declaration.
15665         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
15666         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
15667         typedef.
15668         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15669         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15670         (femode_t): New typedef.
15671         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15672         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15673         (femode_t): New typedef.
15674         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15675         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15676         (femode_t): New typedef.
15677         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15678         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15679         (femode_t): New typedef.
15680         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15681         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15682         (femode_t): New typedef.
15683         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15684         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15685         (femode_t): New typedef.
15686         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15687         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15688         (femode_t): New typedef.
15689         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15690         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15691         (femode_t): New typedef.
15692         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15693         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15694         (femode_t): New typedef.
15695         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15696         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15697         (femode_t): New typedef.
15698         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
15699         declaration.
15700         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15701         * sysdeps/s390/fpu/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 macro.
15704         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15705         (femode_t): New typedef.
15706         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15707         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15708         (femode_t): New typedef.
15709         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15710         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15711         (femode_t): New typedef.
15712         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15713         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15714         (femode_t): New typedef.
15715         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15716         * manual/arith.texi (FE_DFL_MODE): Document macro.
15717         (fegetmode): Document function.
15718         (fesetmode): Likewise.
15719         * math/Versions (fegetmode): New libm symbol at version
15720         GLIBC_2.25.
15721         (fesetmode): Likewise.
15722         * math/Makefile (libm-support): Add fegetmode and fesetmode.
15723         (tests): Add test-femode and test-femode-traps.
15724         * math/test-femode-traps.c: New file.
15725         * math/test-femode.c: Likewise.
15726         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
15727         alias for __fe_dfl_env.
15728         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
15729         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
15730         (__fe_dfl_mode): Likewise.
15731         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
15732         version GLIBC_2.25.
15733         * sysdeps/nacl/libm.abilist: Update.
15734         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15735         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15736         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15737         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15738         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15739         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15740         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15741         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15742         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15743         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15744         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15745         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15747         Likewise.
15748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15749         Likewise.
15750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15751         Likewise.
15752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15753         Likewise.
15754         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15755         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15756         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15757         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15758         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15760         Likewise.
15761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15762         Likewise.
15763         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15764         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15765         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15767 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15769         [BZ #20495]
15770         [BZ #20508]
15771         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
15772         processors, set Use_dl_runtime_resolve_slow and set
15773         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
15774         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
15775         New.
15776         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
15777         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
15778         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
15779         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
15780         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
15781         if Use_dl_runtime_resolve_opt is set.  Use
15782         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
15783         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
15784         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
15785         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
15786         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
15787         New.
15788         (_dl_runtime_resolve_opt): Likewise.
15789         (_dl_runtime_profile): Define only if _dl_runtime_profile is
15790         defined.
15792 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15794         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
15795         __libc_memalign with "+ RELA R_390_GLOB_DAT".
15797 2016-09-06  Florian Weimer  <fweimer@redhat.com>
15799         Convert malloc to __libc_lock.  Automated part, using this Perl
15800         s/// command:
15801           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
15802             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
15803         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
15804         conversion.
15806 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
15808         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
15809         (linknamespace-symlists-tests): Likewise.
15810         (linknamespace-header-tests): Likewise.
15812 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
15814         [BZ #19810]
15815         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
15816         * elf/tst-noload.c: New test case.
15817         * elf/Makefile (tests): Add tst-noload.
15819 2016-09-02  Roland McGrath  <roland@hack.frob.com>
15821         * sysdeps/nacl/dup.c: Add libc_hidden_def.
15823         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
15824         not any more.
15826         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
15828 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15830         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
15831         (do_cos_slow): Likewise.
15832         (do_sin): Likewise.
15833         (do_sin_slow): Likewise.
15834         (slow): Likewise.
15835         (slow1): Likewise.
15836         (slow2): Likewise.
15837         (sloww): Likewise.
15838         (sloww1): Likewise.
15839         (sloww2): Likewise.
15840         (bsloww): Likewise.
15841         (bsloww1): Likewise.
15842         (bsloww2): Likewise.
15843         (cslow2): Likewise.
15845         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
15847         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
15848         arguments.  Consolidate input partitioning from callers here.
15849         (do_cos_slow): Likewise.
15850         (do_sin): Likewise.
15851         (do_sin_slow): Likewise.
15852         (do_sincos_1): Remove the no longer necessary input partitioning.
15853         (do_sincos_2): Likewise.
15854         (__sin): Likewise.
15855         (__cos): Likewise.
15856         (slow1): Likewise.
15857         (slow2): Likewise.
15858         (sloww1): Likewise.
15859         (sloww2): Likewise.
15860         (bsloww1): Likewise.
15861         (bsloww2): Likewise.
15862         (cslow2): Likewise.
15864 2016-09-02  Florian Weimer  <fweimer@redhat.com>
15866         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
15867         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
15868         outside of allocated array.
15870 2016-09-02  Florian Weimer  <fweimer@redhat.com>
15872         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
15873         instead of MB_CUR_MAX to avoid variable-length array.
15875 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15877         * math/Makefile (libm-calls): Remove k_rem_pio2F.
15878         (type-double-routines): Add k_rem_pio2.
15879         (type-float-routines): Add k_rem_pio2f.
15881         * sysdeps/generic/math_private.h:
15882         (__kernel_rem_pio2l): Removed.
15884         * math/k_rem_pio2l.c: Removed.
15885         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
15886         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
15887         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
15888         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
15890 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15892         * math/Makefile (gen-libm-calls): Add s_fmin
15893         (libm-calls): Remove above.
15895         * math/s_fmin.c: Refactor into ...
15896         * math/s_fmin_template.c: New file.
15898         * math/s_fminf.c: Removed.
15899         * math/s_fminl.c: Removed.
15900         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15901         (LDOUBLE_fmin_libm_version): New macro.
15903         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
15904         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
15906 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15908         * math/Makefile: (gen-libm-calls): Add s_fmax.
15909         (libm-calls): Remove above.
15911         * math/s_fmax.c: Refactor into ...
15912         * math/s_fmax_template.c: New file.
15913         * math/s_fmaxf.c: Removed.
15914         * math/s_fmaxl.c: Removed.
15916         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15917         (LDOUBLE_fmaxl_libm_version): New macro.
15919         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
15920         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
15922         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
15923         s_fmin.c to pick the aarch64 version of the file.
15924         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
15925         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
15927 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15929         * math/Makefile: (gen-libm-calls): Add s_nextdown.
15930         (libm-calls): Remove above.
15932         * math/s_nextdown.c: Refactor into ...
15933         * math/s_nextdown_template.c: New file.
15934         * math/s_nextdownf.c: Removed.
15935         * math/s_nextdownl.c: Removed.
15937         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
15939 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15941         * math/Makefile (gen-libm-calls): Add s_fdim.
15942         (libm-calls): Move to above.
15944         * math/s_fdim.c: Renamed and refactored into to ...
15945         * math/s_fdim_template.c: New file.
15946         * math/s_fdiml.c: Removed.
15947         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
15948         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
15950         * sysdeps/generic/math-type-macros-double.h:
15951         (declare_mgen_alias): Don't declare if already declared.
15952         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
15953         Likewise.
15955         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15956         (declare_mgen_alias): Don't declare if already declared.
15957         (M_LIBM_NEED_COMPAT): Likewise.
15958         (declare_mgen_libm_compat): Likewise.
15959         (LDOUBLE_fdiml_libm_version): New macro.
15961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
15962         Include math/s_fdim.c now that ldbl-opt version is not needed.
15963         (declare_mgen_alias): New macro to disable aliasing.
15965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
15966         (declare_mgen_alias): Likewise.
15967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
15968         (declare_mgen_alias): Likewise.
15969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
15970         (declare_mgen_alias): Likewise.
15971         (M_LIBM_NEED_COMPAT): Likewise.
15973 2016-09-01  Florian Weimer  <fweimer@redhat.com>
15975         [BZ #20525]
15976         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
15977         Include <linux/quota.h>.
15978         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
15979         and btodb.
15980         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
15981         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
15982         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
15983         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
15984         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
15985         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
15986         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
15987         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
15988         types.
15989         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
15990         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
15992 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15994         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
15995         (gammal_positive): Fix spacing.
15996         (__ieee754_gammal_r): Likewise.
15998 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16000         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
16001         (_Float128): Define as long double, always.
16002         (L): Apply long double type suffix, always.
16004         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
16005         _Float128, excepting comments.
16007         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16008         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16009         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16010         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16011         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16012         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16013         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16014         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16015         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16016         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
16017         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16018         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16019         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16020         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16021         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16022         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16023         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16024         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16025         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16026         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16027         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16028         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16029         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16030         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16031         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16032         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16033         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16034         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16035         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16036         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16037         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16038         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16039         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16040         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16041         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16042         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16043         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16044         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16045         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16046         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16047         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16048         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16049         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16050         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16051         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16052         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16053         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16054         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16055         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16056         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16057         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16058         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16059         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16060         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16061         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16062         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16063         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16064         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16065         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16066         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16067         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16068         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16069         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16070         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16071         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16072         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16073         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16074         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16076         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
16077         _Float128, and include math_private.h.
16078         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16080         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
16081         long double semantics.
16082         (_Float128): Likewise.
16083         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
16084         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16085         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
16086         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
16088 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16090         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
16091         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
16092         * sysdeps/s390/configure: Regenerated.
16093         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
16094         instruction for raising over-/underflow if z196 zarch is supported
16095         by default.
16096         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
16098 2016-08-30  Svante Signell  <svante.signell@gmail.com>
16100         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
16101         it point to a dumb buffer for RPC to fill it.
16103 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16105         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
16106         instead of if/else.
16107         (do_sin_slow): Likewise.
16108         (do_sincos_1): Use fabs instead of if/else.
16109         (do_sincos_2): Likewise.
16110         (__sin): Likewise.
16111         (__cos): Likewise.
16112         (slow2): Likewise.
16113         (sloww): Likewise.
16114         (sloww1): Likewise.  Drop argument M.
16115         (sloww2): Use fabs instead of if/else.
16116         (bsloww): Likewise.
16117         (bsloww1): Likewise.
16118         (bsloww2): Likewise.
16120         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
16121         fall through comment.
16122         (do_sincos_1): Likewise.
16124         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
16125         Consolidate switch cases 0 and 2.
16127 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16129         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
16130         (libm-calls): Remove the above.
16132         * math/s_cexp_template.c: Update using type-generic macros.
16133         * math/s_clog10_template.c: Likewise.
16134         * math/s_cpow_template.c: Likewise.
16135         * math/s_clog_template.c: Likewise.
16136         * math/s_cproj_template.c: Likewise.
16137         * math/s_csqrt_template.c: Likewise.
16139         * math/s_cexp.c: Removed.
16140         * math/s_cexpf.c: Removed.
16141         * math/s_cexpl.c: Removed.
16142         * math/s_clog10.c: Removed.
16143         * math/s_clog10f.c: Removed.
16144         * math/s_clog10l.c: Removed.
16145         * math/s_cpow.c: Removed.
16146         * math/s_cpowf.c: Removed.
16147         * math/s_cpowl.c: Removed.
16148         * math/s_clog.c: Removed.
16149         * math/s_clogf.c: Removed.
16150         * math/s_clogl.c: Removed.
16151         * math/s_cproj.c: Removed.
16152         * math/s_cprojf.c: Removed.
16153         * math/s_cprojl.c: Removed.
16154         * math/s_csqrt.c: Removed.
16155         * math/s_csqrtf.c: Removed.
16156         * math/s_csqrtl.c: Removed.
16158         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
16159         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
16160         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
16161         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
16162         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
16163         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
16165         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
16166         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
16167         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
16168         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
16169         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
16170         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
16171         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
16172         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
16173         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
16174         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
16175         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
16177         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
16178         version.
16180         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
16181         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
16182         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
16183         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
16185 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16187         * s_cexp_template.c: Copy of s_cexp.c.
16188         * s_clog_template.c: Copy of s_clog.c.
16189         * s_clog10_template.c: Copy of s_clog10.c.
16190         * s_cpow_template.c: Copy of s_cpow.c.
16191         * s_cproj_template.c: Copy of s_cproj.c.
16192         * s_csqrt_template.c: Copy of s_csqrt.c.
16194 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16196         [BZ #20517]
16197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
16198         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
16199         exported.
16201 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
16203         * math/fetestexceptflag.c: New file.
16204         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
16205         Stefan Liebler.
16206         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16207         (fetestexceptflag): New function declaration.
16208         * manual/arith.texi (fetestexceptflag): Document function.
16209         * math/Versions (fetestexceptflag): New libm symbol at version
16210         GLIBC_2.25.
16211         * math/Makefile (libm-support): Add fetestexceptflag.
16212         (tests): Add test-fetestexceptflag.
16213         * math/test-fetestexceptflag.c: New file.
16214         * sysdeps/nacl/libm.abilist: Update.
16215         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16216         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16217         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16218         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16219         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16220         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16221         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16222         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16223         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16224         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16225         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16226         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16228         Likewise.
16229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16230         Likewise.
16231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16232         Likewise.
16233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16234         Likewise.
16235         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16236         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16237         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16238         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16239         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16241         Likewise.
16242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16243         Likewise.
16244         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16245         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16246         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16248 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16250         [BZ #20432]
16251         Avoid strong references to malloc-internal symbols when linking
16252         statically, to support statically interposed mallocs.
16253         * include/libc-symbols.h (call_function_static_weak): New macro.
16254         * malloc/Makefile (tests): Add tst-interpose-nothread,
16255         tst-interpose-thread, tst-interpose-static-nothread,
16256         tst-interpose-static-thread.
16257         (tests-static): Add tst-interpose-static-nothread,
16258         tst-interpose-static-thread.
16259         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
16260         tst-interpose-aux-thread.o.
16261         (test-extras): Add tst-interpose-aux-nothread,
16262         tst-interpose-aux-thread.
16263         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
16264         tst-interpose-aux-nothread.o.
16265         (tst-interpose-thread, tst-interpose-static-thread): Link with
16266         tst-interpose-aux-thread.o and libthread.
16267         * malloc/tst-interpose-aux-nothread.c: New file.
16268         * malloc/tst-interpose-aux-thread.c: Likewise.
16269         * malloc/tst-interpose-aux.c: Likewise.
16270         * malloc/tst-interpose-aux.h: Likewise.
16271         * malloc/tst-interpose-nothread.c: Likewise.
16272         * malloc/tst-interpose-skeleton.c: Likewise.
16273         * malloc/tst-interpose-static-nothread.c: Likewise.
16274         * malloc/tst-interpose-static-thread.c: Likewise.
16275         * malloc/tst-interpose-thread.c: Likewise.
16276         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
16277         * sysdeps/mach/hurd/fork.c (__fork): Only call
16278         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16279         __malloc_fork_unlock_child if defined.
16280         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16282 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16284         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
16285         timespec C99 designated initialization.
16287 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16289         [BZ #19946]
16290         Avoid expected SIGALRM signals.
16291         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
16292         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
16293         (xpthread_create, xpthread_detach, xpthread_join)
16294         (delayed_exit_thread, delayed_exit): New functions.
16295         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
16296         (tf): Use xpthread_cond_wait.
16297         (do_test): Likewise.  Replace alarm with delayed_exit.
16298         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16299         (do_test): Call delayed_exit.  Report failure.
16300         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16301         (do_test): Call delayed_exit.
16302         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16303         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
16304         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16305         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
16306         error.
16307         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16308         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
16309         error.
16310         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
16311         (do_test): Call delayed_exit.
16312         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
16313         (do_test): Call delayed_exit.
16314         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
16315         (do_test): Call delayed_exit instead of alarm.  Use
16316         xpthread_mutex_lock.
16317         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
16318         (do_test): Call delayed_exit instead of alarm.  Use
16319         xpthread_mutex_lock.
16320         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
16321         (do_test): Call delayed_exit instead of alarm.
16322         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
16323         (do_test): Call delayed_exit instead of alarm.  Use
16324         xpthread_spin_lock.
16325         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
16326         (do_test): Call delayed_exit instead of alarm.  Use
16327         xpthread_join.
16329 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16331         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
16332         adjust CFA when allocating register save area on re-aligned
16333         stack.
16335 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16337         * string/tst-cmp.c: New test.
16338         * string/Makefile (tests): Add it.
16340 2016-08-25  Mark Wielaard  <mark@klomp.org>
16342         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
16343         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
16344         (check_tree_recurse): Use newly defined accessors.
16345         (check_tree): Likewise.
16346         (maybe_split_for_insert): Likewise.
16347         (__tfind): Likewise.
16348         (__tdelete): Likewise.
16349         (trecurse): Likewise.
16350         (tdestroy_recurse): Likewise.
16351         (__tsearch): Likewise. And add asserts for malloc alignment.
16352         (__twalk): Cast root to node in case CHECK_TREE is defined.
16354 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16356         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
16358 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16360         * math/Makefile (libm-gen-calls): Add
16361         catan, catanh, ctan, ctanh.
16362         (libm-calls): Remove the above.
16364         * math/s_catan_template.c: Update using type-generic macros.
16365         * math/s_catanh_template.c: Likewise.
16366         * math/s_ctan_template.c: Likewise.
16367         * math/s_ctanh_template.c: Likewise.
16369         * math/s_catanf.c: Removed.
16370         * math/s_catan.c: Removed.
16371         * math/s_catanl.c: Removed.
16372         * math/s_catanhf.c: Removed.
16373         * math/s_catanh.c: Removed.
16374         * math/s_catanhl.c: Removed.
16375         * math/s_ctanf.c: Removed.
16376         * math/s_ctan.c: Removed.
16377         * math/s_ctanl.c: Removed.
16378         * math/s_ctanhf.c: Removed.
16379         * math/s_ctanh.c: Removed.
16380         * math/s_ctanhl.c: Removed.
16382         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
16383         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
16384         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
16385         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
16386         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
16387         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
16389         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
16390         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
16391         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
16392         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
16394 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16396         * s_catan_template.c: Copy of s_catan.c.
16397         * s_catanh_template.c: Copy of s_catanh.c.
16398         * s_ctan_template.c: Copy of s_ctan.c.
16399         * s_ctanh_template.c: Copy of s_ctanh.c.
16401 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16403         * math/Makefile (gen-libm-calls): Move
16404         casin, casinh, csin, csinh here.
16405         (libm-calls): Remove the above.
16407         * math/s_casin_template.c: Update using type-generic macros.
16408         * math/s_casinh_template.c: Likewise.
16409         * math/s_csin_template.c: Likewise.
16410         * math/s_csinh_template.c: Likewise.
16411         * math/k_casinh_template.c: Likewise.
16413         * math/s_casinf.c: Removed.
16414         * math/s_casin.c: Removed.
16415         * math/s_casinl.c: Removed.
16416         * math/s_casinh.c: Removed.
16417         * math/s_casinhf.c: Removed.
16418         * math/s_casinhl.c: Removed.
16419         * math/s_csin.c: Removed.
16420         * math/s_csinf.c: Removed.
16421         * math/s_csinl.c: Removed.
16422         * math/s_csinh.c: Removed.
16423         * math/s_csinhf.c: Removed.
16424         * math/s_csinhl.c: Removed.
16425         * math/k_casinh.c: Removed.
16426         * math/k_casinhf.c: Removed.
16427         * math/k_casinhl.c: Removed.
16429         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
16430         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
16431         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
16432         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
16434         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
16435         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
16436         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
16437         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
16438         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
16439         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
16440         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
16441         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
16443         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
16444         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
16445         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
16446         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
16448         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
16449         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
16450         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
16451         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
16453 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16455         * s_casin_template.c: Copy of s_casin.c.
16456         * s_casinh_template.c: Copy of s_casinh.c.
16457         * s_csin_template.c: Copy of s_csin.c.
16458         * s_csinh_template.c: Copy of s_csinh.c.
16459         * k_casinh_template.c: Copy of k_casinh.c.
16461 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16463         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
16465 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16467         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
16468         (mul_split) Remove, rename as mul_splitl, remove
16469         redundant float.h include, and include via mul_splitl.h
16471         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16472         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16473         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16474         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16475         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16477         * math/mul_splitl.h: New file.
16479         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
16480         Move into mul_split.h, and remove redundant float.h include.
16482         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16483         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
16484         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16485         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
16487         * math/mul_split.h: New file.
16489 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16491         * math/Makefile (libm-gen-calls): Move
16492         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
16493         (libm-calls): Remove above.
16495         * math/s_cacos_template.c: Update using type-generic macros.
16496         * math/s_cacosh_template.c: Likewise.
16497         * math/s_ccos_template.c: Likewise.
16498         * math/s_ccosh_template.c: Likewise.
16500         * math/s_cacosf.c: Removed.
16501         * math/s_cacos.c: Removed.
16502         * math/s_cacosl.c: Removed.
16503         * math/s_cacoshf.c: Removed.
16504         * math/s_cacosh.c: Removed.
16505         * math/s_cacoshl.c: Removed.
16506         * math/s_ccosf.c: Removed.
16507         * math/s_ccos.c: Removed.
16508         * math/s_ccosl.c: Removed.
16509         * math/s_ccoshf.c: Removed.
16510         * math/s_ccosh.c: Removed.
16511         * math/s_ccoshl.c: Removed.
16513         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
16514         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
16515         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
16516         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
16517         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
16518         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
16520         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
16521         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
16522         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
16523         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
16525         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
16526         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
16527         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
16528         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
16530 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16532         * s_cacos_template.c: Copy of s_cacos.c.
16533         * s_cacosh_template.c: Copy of s_cacosh.c.
16534         * s_ccos_template.c: Copy of s_ccos.c.
16535         * s_ccosh_template.c: Copy of s_ccosh.c.
16537 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16539         * stdlib/tst-strtod-round-skeleton.c:
16540         Refactored from tst-strtod-round.c.
16542         (L_): New macro to apply literal modifier.
16543         (FNPFX): New macro to select str or wcs prefix.
16544         (CHAR): New macro to choose wchar_t or char.
16545         (STRM): New macro to choose printf for tested character type.
16547         (STRTO): New macro to choose appropriate string -> real function.
16548         (FNPFXS): Stringitized version of FNPFX.
16549         (STR): Support for above macro.
16550         (STRX): Likewise.
16552         (TEST): Update with above macros.
16553         (test): Likewise.
16554         (GEN_ONE_TEST): Likewise.
16555         (test_in_one_mode): Likewise.
16557         * stdlib/tst-strtod-round.c: New file.
16558         * wcsmbs/tst-wcstod-round.c: New file.
16560         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
16561         (tst-wcstod-round): Add libm depencency for fesetround.
16563 2016-08-19  Zack Weinberg  <zackw@panix.com>
16565         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
16567 2016-08-18  Torvald Riegel  <triegel@redhat.com>
16569         [BZ #20477]
16570         * resolv/res_hconf.c (do_init): Use atomic access.
16571         * resolv/res_hconf.h: Add comments.
16572         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
16573         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
16574         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16576 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
16578         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16579         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
16580         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16581         Likewise.
16583 2016-08-18  Florian Weimer  <fweimer@redhat.com>
16585         [BZ #16907]
16586         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
16587         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
16588         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
16589         (__attribute__): Remove definition.
16591 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16593         * sysdeps/ieee754/ldbl-128/e_asinl.c:
16594         Remove unused sqrtl declaration.
16596 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16598         * math/Makefile: (gen-libm-templates.stmp): New rule.
16599         (libm-calls): Move carg conj cimag and cabs into ...
16600         (gen-libm-calls): New variable.
16601         (generated): Inform Make objects from gen-libm-calls
16602         may be generated.
16604         * sysdeps/generic/math-type-macros.h: New file.
16605         * sysdeps/generic/math-type-macros-float.h: Likewise.
16606         * sysdeps/generic/math-type-macros-double.h: Likewise.
16607         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16608         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
16609         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
16611         * math/cabs.c: Refactor into
16612         * math/cabs_template.c: new file.
16613         * math/cabsf.c: Removed.
16614         * math/cabsl.c: Removed.
16615         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
16616         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
16618         * math/carg.c: Refactor into
16619         * math/carg_template.c: new file.
16620         * math/cargf.c: Removed.
16621         * math/cargl.c: Removed.
16622         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
16623         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
16625         * math/conj.c: Refactor into
16626         * math/conj_template.c: new file.
16627         * math/conjf.c: Removed.
16628         * math/conjl.c: Removed.
16629         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
16630         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
16632         * math/cimag.c: Refactor into
16633         * math/cimag_template.c: new file.
16634         * math/cimagf.c: Removed.
16635         * math/cimagl.c: Removed.
16636         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16637         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16639         * math/cimag.c: Refactor into
16640         * math/cimag_template.c: new file.
16641         * math/cimagf.c: Removed.
16642         * math/cimagl.c: Removed.
16643         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16644         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16646 2016-08-17  Florian Weimer  <fweimer@redhat.com>
16648         Reduce time to expected nptl/tst-once5 failure.
16649         * nptl/tst-once5.cc (TIMEOUT): Define.
16651 2016-08-17  Florian Weimer  <fweimer@redhat.com>
16653         [BZ #20452]
16654         Avoid additional copies of objects in libc.a in static libraries.
16655         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
16656         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
16657         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
16658         rt-sysdep.
16659         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
16660         Add nptl-sysdep.
16661         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
16662         Add ptw-sysdep.
16663         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
16664         rt-sysdep.
16665         * sysdeps/unix/sysv/linux/alpha/Makefile
16666         (libpthread-shared-only-routines): Add ptw-sysdep,
16667         ptw-sigprocmask, ptw-rt_sigaction.
16668         * sysdeps/unix/sysv/linux/ia64/Makefile
16669         (librt-shared-only-routines): Add rt-sysdep.
16670         * sysdeps/unix/sysv/linux/i386/Makefile
16671         (libpthread-shared-only-routines): Add libc-do-syscall.
16672         * sysdeps/unix/sysv/linux/microblaze/Makefile
16673         (libpthread-shared-only-routines): Add sysdep.
16674         * sysdeps/unix/sysv/linux/powerpc/Makefile
16675         (librt-shared-only-routines): Add rt-sysdep.
16676         (libpthread-shared-only-routines): Add sysdep.
16677         * sysdeps/unix/sysv/linux/s390/Makefile
16678         (librt-shared-only-routines): Add rt-sysdep.
16679         * sysdeps/unix/sysv/linux/sparc/Makefile
16680         (librt-shared-only-routines): Add rt-sysdep.
16681         (libpthread-shared-only-routines): Add sysdep.
16682         * sysdeps/unix/sysv/linux/tile/Makefile
16683         (libpthread-shared-only-routines): Likewise.
16685 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
16687         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
16688         Mask implicit bit out of unpacked value.
16689         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
16690         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
16691         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
16693         * sysdeps/sparc/fpu/fesetexcept.c: New file.
16695         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
16697         * sysdeps/s390/fpu/fesetexcept.c: New file.
16699         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
16700         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
16701         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
16703         * sysdeps/mips/fpu/fesetexcept.c: New file.
16705         * sysdeps/m68k/fpu/fesetexcept.c: New file.
16707         * sysdeps/ia64/fpu/fesetexcept.c: New file.
16709         * sysdeps/hppa/fpu/fesetexcept.c: New file.
16711         * sysdeps/arm/fesetexcept.c: New file.
16713         * sysdeps/alpha/fpu/fesetexcept.c: New file.
16715         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
16717         * math/fesetexcept.c: New file.
16718         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
16719         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
16720         * math/fenv.h: Define
16721         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16722         <bits/libc-header-start.h> instead of including <features.h>.
16723         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
16724         declaration.
16725         * manual/arith.texi (fesetexcept): Document function.
16726         * math/Versions (fesetexcept): New libm symbol at version
16727         GLIBC_2.25.
16728         * math/Makefile (libm-support): Add fesetexcept.
16729         (tests): Add test-fesetexcept and test-fesetexcept-traps.
16730         * math/test-fesetexcept.c: New file.
16731         * math/test-fesetexcept-traps.c: Likewise.
16732         * sysdeps/nacl/libm.abilist: Update.
16733         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16734         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16735         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16736         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16737         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16738         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16739         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16740         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16741         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16742         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16743         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16744         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16746         Likewise.
16747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16748         Likewise.
16749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16750         Likewise.
16751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16752         Likewise.
16753         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16754         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16755         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16756         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16757         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16759         Likewise.
16760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16761         Likewise.
16762         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16763         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16764         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16766 2016-08-16  Florian Weimer  <fweimer@redhat.com>
16768         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
16769         New.
16770         (do_test): Apply default_stack_size_in_mb if not set.
16771         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
16773 2016-08-15  Andreas Schwab  <schwab@suse.de>
16775         [BZ #20435]
16776         CVE-2016-6323
16777         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
16778         as .cantunwind.
16780 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
16782         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
16783         comment from fraiseexcpt.c.
16785         * math/test-fexcept.c (feraiseexcept_exact): New function.
16786         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
16787         (test_except): Likewise.
16789 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
16791         [BZ #20455]
16792         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
16793         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
16794         to be restored.
16796         * math/test-fexcept-traps.c: New file.
16797         * math/test-fexcept.c: Likewise.
16798         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
16799         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
16800         macro.
16801         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
16802         (EXCEPTION_SET_FORCES_TRAP): Likewise.
16804 2016-08-09  Torvald Riegel  <triegel@redhat.com>
16806         * include/atomic.h (atomic_fetch_and_relaxed,
16807         atomic_fetch_and_release, atomic_fetch_or_release,
16808         atomic_fetch_xor_release): New.
16810 2016-08-06  Christian Seiler  <christian@iwakd.de>
16812         [BZ #20444]
16813         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
16814         MACH_PORT_NULL.
16816 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16818         * math/s_fdim.c: Avoid alias renamed.
16819         * math/s_fdimf.c: Likewise.
16820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16821         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16822         Add s_fdimf-vis3, s_fdim-vis3.
16823         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
16824         (CFLAGS-s_fdim-vis3.c): Likewise.
16825         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
16826         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
16828 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16831         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16832         Remove s_fdimf-vis3, s_fdim-vis3.
16833         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
16834         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
16835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
16836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
16837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
16838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
16839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
16840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
16841         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
16842         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
16844 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16846         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
16847         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
16848         -Wa,-Av9a -mvis.
16850 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16852         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
16853         LIT() to individual constants in simple expressions
16854         after splitting on spaces.
16855         (_apply_lit): Rename replaced version, and use it to
16856         apply to what appears to be a token.
16858         * math/libm-test.inc: Fix many, many issues with
16859         spacing.
16861 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
16863         * math/math.h: Move comment about <bits/mathdef.h> definitions
16864         above inclusion of <bits/mathdef.h>.  Do not mention
16865         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
16867 2016-08-05  Torvald Riegel  <triegel@redhat.com>
16869         * include/atomic.h (atomic_exchange_relaxed): New.
16871 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
16873         * math/e_scalb.c: Do not include <fenv.h>.
16874         (invalid_fn): Do calculation resulting in NaN instead of raising
16875         FE_INVALID and returning a NaN explicitly.
16876         * math/e_scalbf.c: Do not include <fenv.h>.
16877         (invalid_fn): Do calculation resulting in NaN instead of raising
16878         FE_INVALID and returning a NaN explicitly.
16879         * math/e_scalbl.c: Do not include <fenv.h>.
16880         (invalid_fn): Do calculation resulting in NaN instead of raising
16881         FE_INVALID and returning a NaN explicitly.
16883 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
16885         * po/de.po: Updated from Translation Project.
16886         * po/fi.po: Likewise.
16887         * po/sv.po: Likewise.
16889 2016-08-04  Florian Weimer  <fweimer@redhat.com>
16891         [BZ #20452]
16892         Use sysdep.o from libc.a in static libraries.
16893         * sysdeps/unix/sysv/linux/i386/Makefile
16894         (libpthread-shared-only-routines): Add sysdep.
16895         (librt-shared-only-routines): Likewise.
16897 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16899         * math/tgmath.h (nextdown): Define if
16900         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
16901         (nextup): Likewise.
16903         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
16904         macro.
16905         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16906         Document.
16907         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16908         Document macro.
16909         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
16910         (exp10f): Likewise.
16911         (exp10l): Likewise.
16912         * math/bits/mathcalls.h (exp10): Declare if
16913         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
16915         * manual/arith.texi (nextup): Fix typo in last change.
16917 2016-08-03  Zack Weinberg  <zackw@panix.com>
16919         [BZ #19239]
16920         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
16921         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
16922         define major, minor, and makedev to issue deprecation warnings on use.
16923         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
16924         previously-activated deprecation warnings for these macros and prevent
16925         subsequent inclusions of this header from having any effect.
16926         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
16927         including <sys/sysmacros.h>, and undefine it again afterward.
16929 2016-08-03  Zack Weinberg  <zackw@panix.com>
16931         * sysdeps/generic/sys/sysmacros.h: Delete file.
16932         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
16933         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
16934         * bits/sysmacros.h: ... here; this encoding is now the generic
16935         encoding.  Now defines only the following macros:
16936         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
16937         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
16938         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
16940         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
16941         bits/sysmacros.h and the above new macros to generate the
16942         public implementations of major, minor, and makedev.
16943         * misc/tst-makedev.c: New test.
16944         * include/sys/sysmacros.h: New wrapper.
16946         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
16947         (routines): Add makedev.
16948         (tests): Add tst-makedev.
16949         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
16950         gnu_dev_makedev.
16951         * posix/Makefile (headers): Remove sys/sysmacros.h.
16952         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
16954         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
16955         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
16956         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
16957         * sysdeps/unix/sysv/linux/alpha/libc.abilist
16958         * sysdeps/unix/sysv/linux/arm/libc.abilist
16959         * sysdeps/unix/sysv/linux/hppa/libc.abilist
16960         * sysdeps/unix/sysv/linux/i386/libc.abilist
16961         * sysdeps/unix/sysv/linux/ia64/libc.abilist
16962         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16963         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
16964         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
16965         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16966         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16967         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16968         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16969         * sysdeps/unix/sysv/linux/nios2/libc.abilist
16970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16974         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
16975         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
16976         * sysdeps/unix/sysv/linux/sh/libc.abilist
16977         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16978         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16981         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
16982         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
16983         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
16984         Add GLIBC_2.25.
16986         * include/features.h (__glibc_clang_prereq): New macro.
16987         * misc/sys/cdefs.h (__glibc_clang_has_extension)
16988         (__attribute_deprecated_msg__): New macros.
16990 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16992         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
16993         macro.
16994         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
16995         * manual/arith.texi (issignaling): Document as ISO from TS
16996         18661-1:2014.
16997         (nextup): Likewise.
16998         (nextupf): Likewise.
16999         (nextupl): Likewise.
17000         (nextdown): Likewise.
17001         (nextdownf): Likewise.
17002         (nextdownl): Likewise.
17003         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
17004         macro.
17005         * math/math.h: Define
17006         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17007         <bits/libc-header-start.h> instead of including <features.h>.
17008         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
17009         [__USE_GNU].
17010         * math/bits/mathcalls.h (nextdown): Declare if
17011         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
17012         (nextup): Likewise.
17013         (__issignaling): Likewise.
17015 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17017         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
17018         check, and remove __glibc_likely hint
17019         from FP_INFINITE check.
17020         * s_csinhf.c (__csinhf): Likewise.
17022         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
17023         hint from FP_INFINITE check.
17024         * s_csinhl.c (__csinhl): Likewise.
17026 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17028         * math/Makefile (libm-calls): Insert F placeholder into
17029         object names.  Move w_lgamma_compat* routines into
17030         (libm-compat-calls): New variable.
17031         (libm-compat-calls-ldouble-yes): New variable.
17032         (calls): Insert F placeholder.
17033         (generated): Redefine using new type-foreach macro call.
17034         (routines): Likewise.
17036         (types): New variable to hold a list of symbolic names
17037         for each type supported by the target machine.
17038         (libm-routines): Redefine using new types variable.
17039         (type-foreach): macro to replace fooF with the
17040         appropriately suffixed foo for each types.
17042         (type-ldouble-suffix): New variable.
17043         (type-ldouble-routines): Likewise.
17044         (type-ldouble-yes): Likewise.
17045         (type-double-suffix): Likewise.
17046         (type-double-routines): Likewise.
17047         (type-float-suffix): Likewise.
17048         (type-float-routines): Likewise.
17050         (dbl-only-routines): Remove.
17051         (long-c-yes): Likewise.
17052         (long-m-routines): Likewise.
17053         (long-m-support): Likewise.
17054         (long-m-yes): Likewise.
17055         (test-longdouble-yes): Likewise.
17057         (test-float.o): Simplify by increasing the scope of the
17058         recipe which adds libm-test.stmp to the vector types.
17059         (test-ifloat.o): Likewise.
17060         (test-float-finite.o): Likewise.
17061         (test-double.o): Likewise
17062         (test-idouble.o): Likewise.
17063         (test-double-finite.o): Likewise.
17064         (test-ldouble.o): Likewise
17065         (test-ildoubl.o): Likewise.
17066         (test-ldouble-finite.o): Likewise.
17068         (libm-tests): Redefine type tests using foreach and the
17069         list of types in types.
17071         (CPPFLAGS-test-ildoubl.c): Rename to
17072         (CPPFLAGS-test-ildouble.c): New variable
17074         * math/test-ildoubl.c: Rename to
17075         * math/test-ildouble.c: New file.
17077 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17079         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
17080         Use fabsl instead of fabs.
17081         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
17082         Likewise.
17083         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
17084         Add long double suffix to constant to ensure proper
17085         promotion to long double.
17087 2016-08-03  Tom Tromey  <tom@tromey.com>
17089         [BZ #20311]
17090         * nptl_db/Makefile (headers): Add proc_service.h.
17091         * nptl_db/proc_service.h: Add include guard.  Use
17092         __BEGIN/__END_DECLS.
17093         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
17094         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
17095         arguments.
17098 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17100         [BZ #17730]
17101         Avoid using memalign for TCB allocations.
17102         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
17103         (_dl_allocate_tls_storage): Use malloc and manual alignment.
17104         Avoid alignment gap in the TLS_DTV_AT_TP case.
17105         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
17106         determine the pointer to free.
17107         * nptl/tst-tls3-malloc.c: New test.
17108         * nptl/Makefile (tests): Add it.
17109         (tst-tls3-malloc): Link with libdl, libpthread.
17110         (LDFLAGS-tst-tls3-malloc): Set.
17111         (tst-tls3-malloc.out): Depend on DSO used in test.
17113 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17115         [BZ #17730]
17116         Avoid using memalign for TLS allocations.
17117         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
17118         is_static member with to_free member.
17119         (union dtv): Use struct dtv_pointer.
17120         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
17121         dtv_pointer instead of is_static.
17122         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
17123         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
17124         instead of val.
17125         (allocate_dtv_entry): New function.
17126         (allocate_and_init): Return struct dtv_pointer.  Call
17127         allocate_dtv_entry instead of __libc_memalign.
17128         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
17129         instead of val.
17130         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
17131         instead of is_static.  Adjust call to allocate_and_init.
17132         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
17133         struct dtv_pointer instead of val.
17135 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17137         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
17138         (MALLOC_ALIGN_MASK): Move ...
17139         * malloc/malloc-internal.h: ... to here.
17140         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
17142 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
17144         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
17145         (UDP_ENCAP_GTP1U): Likewise.
17147         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
17148         (PF_MAX): Update value.
17149         (AF_QIPCRTR): New macro.
17151 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
17153         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
17154         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17155         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17156         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17157         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17158         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
17159         s_truncf-vis3, s_trunc-vis3.
17160         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
17161         (CFLAGS-s_ceil-vis3.c): Likewise.
17162         (CFLAGS-s_floorf-vis3.c): Likewise.
17163         (CFLAGS-s_floor-vis3.c): Likewise.
17164         (CFLAGS-s_truncf-vis3.c): Likewise.
17165         (CFLAGS-s_trunc-vis3.c): Likewise.
17166         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
17167         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
17168         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
17169         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
17170         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
17171         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
17172         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
17173         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
17174         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
17175         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
17176         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
17177         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
17179 2016-08-02  David S. Miller  <davem@davemloft.net>
17181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17182         (__nearbyint_vis3): Don't check for sNaN before float register is
17183         loaded with the incoming argument.
17184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17185         (__nearbyintf_vis3): Likewise.
17186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
17187         Likewise.
17188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
17189         Likewise.
17191         * string/test-strncmp.c (do_test_limit): Make sure the test data
17192         stream is aligned as required for the type "CHAR".
17193         (do_test): Likewise.
17195 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
17197         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
17198         by beq instructions jumping to the end of the function.
17199         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
17200         clobber list. Use "i" constraint instead of "X".
17201         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
17202         of "X".
17204 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
17206         * bits/libc-header-start.h: New file.
17207         * Makefile (headers): Add bits/libc-header-start.h.
17208         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
17209         (__GLIBC_USE): New macro.
17210         * libio/stdio.h: Define
17211         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17212         <bits/libc-header-start.h> instead of including <features.h>.
17213         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
17214         (open_memstream): Likewise.
17215         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
17216         (__asprintf): Likewise.
17217         (asprintf): Likewise.
17218         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
17219         (getdelim): Likewise.
17220         (getline): Likewise.
17221         * string/string.h: Define
17222         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17223         <bits/libc-header-start.h> instead of including <features.h>.
17224         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
17225         (strndup): Likewise.
17226         * wcsmbs/wchar.h: Define
17227         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17228         <bits/libc-header-start.h> instead of including <features.h>.
17229         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
17230         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
17232 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17234         Support linking against compatibility symbols, for use in tests.
17235         * include/libc-symbols.h (symbol_version_reference): New macro.
17236         (symbol_version): Use it.
17237         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
17238         (compat_symbol): Use compat_symbol_reference.
17239         (compat_symbol_1, compat_symbol_2): Remove.
17240         (compat_symbol_reference, compat_symbol_reference_1)
17241         (compat_symbol_reference_2): New macro.  Use
17242         symbol_version_reference.
17244 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17246         [BZ #19469]
17247         * malloc/Makefile (CPPFLAGS): Compile tests with
17248         -DTEST_NO_MALLOPT.
17249         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
17251 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
17253         [BZ #20033]
17254         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
17255         finite version.
17256         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
17257         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
17258         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
17259         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
17260         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
17261         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
17262         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
17263         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
17264         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
17265         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
17266         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
17267         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
17268         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
17269         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
17270         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
17271         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
17272         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
17273         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
17274         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
17275         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
17276         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
17277         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
17278         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
17279         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
17280         in zero power.
17282 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17284         [BZ #20370]
17285         * malloc/arena.c (get_free_list): Update comment.  Assert that
17286         arenas on the free list have no attached threads.
17287         (remove_from_free_list): New function.
17288         (reused_arena): Call it.
17290 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
17292         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
17293         when it is a NaN.
17294         [_IEEE_FP_INEXACT] Remove.
17295         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
17296         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
17297         when it is a NaN.
17298         [_IEEE_FP_INEXACT] Remove.
17299         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
17300         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
17301         when it is a NaN.
17302         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
17303         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
17304         when its absolute value is greater than 0x1.0p52.
17305         [_IEEE_FP_INEXACT] Remove.
17306         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
17307         when its absolute value is greater than 0x1.0p23.
17308         [_IEEE_FP_INEXACT] Remove.
17310 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
17312         * version.h (RELEASE): Set to "development"
17313         (VERSION): Set to 2.24.90.
17314         * NEWS: Add 2.25 section.
17316         * version.h (RELEASE): Set to "stable"
17317         (VERSION): Set to 2.24.
17318         * include/features.h (__GLIBC_MINOR__): Set to 24.
17320         * NEWS: Add 2.24 fixed bugs.
17321         * po/libc.pot: Regenerate.
17323 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
17325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17326         [$(subdir) = math] (libm-sysdep_routines): Remove.
17327         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17328         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
17329         s_truncf-vis3, s_trunc-vis3.
17330         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
17332         file.
17333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
17334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
17335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
17339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
17340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
17342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
17343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
17344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
17345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
17346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
17347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
17348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
17352         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
17353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
17354         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
17355         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17356         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17357         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17358         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17359         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17360         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
17361         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17362         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17363         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
17364         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17365         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17366         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
17367         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
17368         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
17369         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
17370         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17371         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17372         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
17373         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
17374         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
17375         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
17377 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
17379         [BZ #20384]
17380         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
17381         test-double-libmvec-sincos-avx-main.o,
17382         test-double-libmvec-sincos-avx2-main.o,
17383         test-double-libmvec-sincos-main.o,
17384         test-float-libmvec-sincosf-avx-main.o,
17385         test-float-libmvec-sincosf-avx2-main.o and
17386         test-float-libmvec-sincosf-main.o.
17387         test-float-libmvec-sincosf-avx512-main.o.
17388         ($(objpfx)test-double-libmvec-sincos): Also link with
17389         $(objpfx)test-double-libmvec-sincos-main.o.
17390         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
17391         $(objpfx)test-double-libmvec-sincos-avx-main.o.
17392         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
17393         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
17394         ($(objpfx)test-float-libmvec-sincosf): Also link with
17395         $(objpfx)test-float-libmvec-sincosf-main.o.
17396         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
17397         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
17398         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
17399         test-double-libmvec-sincos-avx512-main.o and
17400         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
17401         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
17402         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
17403         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
17404         (CFLAGS-test-double-libmvec-sincos.c): Removed.
17405         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
17406         (CFLAGS-test-double-libmvec-sincos-main.c): New.
17407         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
17408         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
17409         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
17410         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
17411         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
17412         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
17413         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
17414         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
17415         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
17416         -DREQUIRE_AVX2.
17417         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
17418         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
17419         -DREQUIRE_AVX512F.
17420         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
17421         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
17422         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17423         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
17424         file.
17425         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
17426         Likewise.
17427         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
17428         Likewise.
17429         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
17430         Likewise.
17431         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
17432         Likewise.
17433         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
17434         Likewise.
17435         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
17436         Likewise.
17437         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
17438         Likewise.
17440 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
17442         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
17444 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
17446         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
17447         and typo in a comment about AT_HWCAP entry.
17449 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17451         * sysdeps/aarch64/libm-test-ulps: Updated.
17453 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17455         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
17456         of r13 as it is not restored in mvcle case.
17458 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
17460         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
17461         Rename "ret" to "__ret".
17462         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
17463         inline_syscall5, inline_syscall6): Likewise.
17465 2016-07-19   Will Newton  <will.newton@gmail.com>
17467         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
17468         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
17469         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
17470         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
17471         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
17473 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
17475         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
17476         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
17477         -mfpmath=387 with $(rtld-CFLAGS).
17478         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
17479         $(rtld-CFLAGS).
17481 2016-07-18   Ross Burton  <ross.burton@intel.com>
17482              Khem Raj  <raj.khem@gmail.com>
17484         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
17485         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
17486         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
17487         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
17488         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
17489         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
17490         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
17491         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
17492         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
17493         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
17494         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
17495         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
17496         R_METAG_TLS_DTPOFF): New.
17498 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17499             Matt Clay  <mclay@lycos.com>
17501         [BZ #20357]
17502         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
17503         to call __mpsin/__mpcos and to negate values.
17504         * math/auto-libm-test-in: Add test.
17505         * math/auto-libm-test-out: Regenerate.
17507 2016-07-18  Zack Weinberg  <zackw@panix.com>
17509         * grp/Makefile: Don't install the internal header grp-merge.h.
17511 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17513         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17515 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17517         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
17519 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17521         [BZ #15368]
17522         * sysdeps/unix/sysv/linux/nptl-signals.h
17523         (__nptl_clear_internal_signals): New function.
17524         (__libc_signal_block_all): Likewise.
17525         (__libc_signal_block_app): Likewise.
17526         (__libc_signal_restore_set): Likewise.
17527         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
17528         implementation.
17529         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
17530         the cached pid/tid value in pthread structure.
17532 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
17534         [BZ #20347]
17535         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17537 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17539         [BZ #20348]
17540         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
17541         preadv64, pwrite64 and pwritev64.
17543 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17545         [BZ #20350]
17546         * posix/tst-preadwrite.c: Renamed to ...
17547         * posix/tst-preadwrite-common.c: This.
17548         (PREAD): Removed.
17549         (PWRITE): Likewise.
17550         (STRINGIFY): Likewise.
17551         (STRINGIFY2): Likewise.
17552         (do_prepare): Make it static and remove function arguments.
17553         (do_test): Likewise.
17554         (PREPARE): Updated.
17555         (TEST_FUNCTION): New.
17556         (name): Make it static.
17557         (fd): Likewise.
17558         (do_prepare): Use create_temp_file.
17559         (do_test): Renamed to ...
17560         (do_test_with_offset): This.  Make it static and accept offset.
17561         Properly check return value of PWRITE and PREAD.  Return bytes
17562         read.  Don't close fd nor unlink name.
17563         * posix/tst-preadwrite.c: Rewrite.
17564         * posix/tst-preadwrite64.c: Likewise.
17566 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17568         [BZ #20309]
17569         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
17570         -mtls-dialect=gnu2 works.
17571         * configure: Regenerated.
17572         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
17573         (tests): Add tst-gnu2-tls1.
17574         (modules-names): Add tst-gnu2-tls1mod.
17575         ($(objpfx)tst-gnu2-tls1): New.
17576         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
17577         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
17578         * elf/tst-gnu2-tls1.c: New file.
17579         * elf/tst-gnu2-tls1mod.c: Likewise.
17580         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
17581         bytes for push in the PLT entry to align the stack.
17583 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17585         [BZ #20349]
17586         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
17588 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17590         [BZ #18707]
17591         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
17592         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
17594 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17596         * sysdeps/unix/sysv/linux/sysdep.h
17597         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
17598         guards.
17599         * misc/tst-preadvwritev-common.c: New file.
17600         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
17601         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
17602         a check for files larger than 2GB.
17604         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17605         (__ASSUME_OFF_DIFF_OFF64): Remove define.
17606         * sysdeps/unix/sysv/linux/pread.c
17607         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
17608         __OFF_T_MATCHES_OFF64_T.
17609         * sysdeps/unix/sysv/linux/pread64.c
17610         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
17611         * sysdeps/unix/sysv/linux/preadv.c
17612         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
17613         * sysdeps/unix/sysv/linux/preadv64.c
17614         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
17615         * sysdeps/unix/sysv/linux/pwrite.c
17616         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
17617         * sysdeps/unix/sysv/linux/pwrite64.c
17618         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
17619         * sysdeps/unix/sysv/linux/pwritev.c
17620         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
17621         * sysdeps/unix/sysv/linux/pwritev64.c
17622         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
17624 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
17626         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17627         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
17629 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
17631         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
17633 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
17635         [BZ #20240]
17636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
17637         (CFLAGS-s_modf-ppc32.c): New variable.
17638         (CFLAGS-s_modff-ppc32.c): Likewise.
17639         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17640         (CFLAGS-s_modf-ppc64.c): Likewise.
17641         (CFLAGS-s_modff-ppc64.c): Likewise.
17643 2016-07-07  Andreas Schwab  <schwab@suse.de>
17645         [BZ #20263]
17646         * nptl/tst-robust10.c: New test.
17647         * nptl/Makefile (tests): Add tst-robust10.
17649 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
17651         [BZ #20263]
17652         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
17654 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17656         * sysdeps/s390/linkmap.h (struct link_map_machine):
17657         Remove member gotplt and add member jmprel.
17658         * sysdeps/s390/s390-32/dl-machine.h
17659         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
17660         instead of gotplt with &got[3].
17661         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
17662         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17664 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
17666         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
17668 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17670         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
17671         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
17672         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17673         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
17674         * libio/vtables.c (_IO_vtable_check)
17675         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17676         * libio/libioP.h (IO_set_accept_foreign_vtables)
17677         [!PTR_MANGLE]: Do not call PTR_MANGLE.
17679 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
17681         [BZ #20314]
17682         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
17683         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
17684         $(common-objpfx)cmath.
17685         ($(common-objpfx)cstdlib): New target.
17686         ($(common-objpfx)cmath): Likewise.
17688 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
17690         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
17692 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17694         [BZ #20327]
17695         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
17696         are not part of the string.
17698 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17700         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
17701         * nptl/tst-cancel4-common.h (fifoname): New variable.
17702         (fifofd): Likewise.
17703         (cl_fifo): New function.
17704         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
17705         SIGINT.
17706         (tf_open): Add early cancel test.
17708 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
17710         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
17712 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
17714         * sysdeps/generic/ldsodefs.h
17715         (dl_symbol_visibility_binds_local_p): New inline function.
17716         * elf/dl-addr.c (determine_info): Treat hidden and internal
17717         symbols as local.
17718         * elf/dl-lookup.c (do_lookup_x): Likewise.
17719         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
17721 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
17723         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
17724         invalid exception for a sNaN input.
17725         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17726         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17727         (__nearbyint_vis3): Likewise
17728         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17729         (__nearbyintf_vis3): Likewise
17730         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
17731         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17732         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
17733         Likewise.
17734         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
17735         Likewise.
17737 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
17739         [BZ #20139]
17740         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
17741         (HAVE_AVX512DQ_ASM_SUPPORT): This.
17742         * sysdeps/x86_64/configure.ac: Require assembler from binutils
17743         2.24 or above.
17744         (HAVE_AVX512_ASM_SUPPORT): Removed.
17745         (HAVE_AVX512DQ_ASM_SUPPORT): New.
17746         * sysdeps/x86_64/configure: Regenerated.
17747         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
17748         check unconditional.
17749         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17750         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17751         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17752         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
17753         Likewise.
17754         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17755         Likewise.
17756         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17757         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17758         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17759         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17760         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17761         Likewise.
17762         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17763         Likewise.
17764         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17765         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17766         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
17767         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
17768         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
17769         Likewise.
17770         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
17771         Likewise.
17772         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
17773         Likewise.
17774         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
17775         Likewise.
17776         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
17777         Likewise.
17778         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
17779         Likewise.
17780         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
17781         Likewise.
17782         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
17783         Likewise.
17784         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
17785         Likewise.
17786         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
17787         Likewise.
17788         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
17789         Likewise.
17791 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
17793         [BZ #20024]
17794         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
17795         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
17796         of this implementation of vector function.
17797         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17798         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17799         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
17800         Likewise.
17801         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17802         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17803         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
17804         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
17805         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
17806         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
17807         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
17808         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
17809         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
17810         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
17811         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
17812         for testing vector sincos with fixed ABI.
17813         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17814         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17815         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17816         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17817         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17818         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17819         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17820         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
17821         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
17822         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
17823         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
17824         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
17825         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
17826         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
17827         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17828         * sysdeps/x86_64/fpu/Makefile: Added new tests.
17830 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17832         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
17834 2016-06-30  Anton Blanchard  <anton@samba.org>
17836         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17837         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
17838         s_sinf-ppc64.
17839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
17840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
17841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
17842         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
17844 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17847         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17848         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
17849         e_expf-ppc64.
17850         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
17851         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
17852         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
17853         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
17855 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
17857         [BZ #20277]
17858         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
17859         when SHARED is defined.
17861 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
17863         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
17864         (index_arch_Prefer_ERMS): Likewise.
17865         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
17866         __memcpy_erms for Prefer_ERMS.
17867         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17868         (__memmove_erms): Enabled for libc.a.
17869         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
17870         __memmove_erms or Prefer_ERMS.
17871         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
17872         __mempcpy_erms for Prefer_ERMS.
17873         * sysdeps/x86_64/multiarch/memset.S (memset): Return
17874         __memset_erms for Prefer_ERMS.
17876 2016-06-30  Andreas Schwab  <schwab@suse.de>
17878         [BZ #20262]
17879         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
17880         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
17881         of memory.
17883 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
17885         [BZ #18645]
17886         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
17887         (test-extras): Add tst-cleanupx4aux.
17888         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
17889         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
17890         tst-cleanupx4aux.o.
17891         * nptl/tst-cleanupx4aux.c: New file.
17893 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17895         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17897 2016-06-29  Andreas Schwab  <schwab@suse.de>
17899         [BZ #20260]
17900         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
17901         address before the beginning of the string as an integer to avoid
17902         array-bounds warning.
17904 2016-06-28  Richard Henderson  <rth@redhat.com>
17906         * elf/elf.h (EM_BPF): New.
17907         (EM_NUM): Update.
17908         (R_BPF_NONE, R_BPF_MAP_FD): New.
17910         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
17911         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
17912         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
17913         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
17914         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
17915         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
17916         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
17917         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
17918         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
17919         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
17920         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
17921         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
17922         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
17923         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
17924         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
17925         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
17926         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
17927         (EM_NUM): Update.
17929 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
17931         [BZ #18960]
17932         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
17933         Set _nl_current_LC_CATEGORY_used to two instead of one.
17935 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
17937         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
17938         (do_test): ... this.
17939         (TEST_FUNCTION): New macro.
17940          Include test-skeleton.c.
17941         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
17942         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
17944 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
17946         [BZ #15479]
17947         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
17948         floating-point environment rather than just control word.
17949         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17950         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
17951         floating-point environment, with "invalid" exceptions merged in,
17952         rather than just control word.
17953         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
17954         * math/libm-test.inc (trunc_test_data): Do not allow spurious
17955         "inexact" exceptions.
17957         [BZ #15479]
17958         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
17959         floating-point environment rather than just control word.
17960         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17961         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
17962         floating-point environment, with "invalid" exceptions merged in,
17963         rather than just control word.
17964         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
17965         * math/libm-test.inc (floor_test_data): Do not allow spurious
17966         "inexact" exceptions.
17968         [BZ #15479]
17969         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
17970         floating-point environment rather than just control word.
17971         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17972         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
17973         floating-point environment, with "invalid" exceptions merged in,
17974         rather than just control word.
17975         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
17976         * math/libm-test.inc (ceil_test_data): Do not allow spurious
17977         "inexact" exceptions.
17979 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
17981         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
17982         __libc_vfork.
17983         (__vfork) [IS_IN (libc)]: Remove alias.
17984         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
17985         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
17986         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
17988 2016-06-24  Torvald Riegel  <triegel@redhat.com>
17990         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
17991         of atomic_compare_and_exchange_bool_rel.
17992         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17993         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
17994         catomic_compare_and_exchange_bool_rel): Remove.
17995         * sysdeps/aarch64/atomic-machine.h
17996         (atomic_compare_and_exchange_bool_rel): Likewise.
17997         * sysdeps/alpha/atomic-machine.h
17998         (atomic_compare_and_exchange_bool_rel): Likewise.
17999         * sysdeps/arm/atomic-machine.h
18000         (atomic_compare_and_exchange_bool_rel): Likewise.
18001         * sysdeps/mips/atomic-machine.h
18002         (atomic_compare_and_exchange_bool_rel): Likewise.
18003         * sysdeps/microblaze/atomic-machine.h
18004         ( __arch_compare_and_exchange_bool_8_rel,
18005         __arch_compare_and_exchange_bool_16_rel): Likewise.
18006         * sysdeps/powerpc/atomic-machine.h
18007         ( __arch_compare_and_exchange_bool_8_rel,
18008         __arch_compare_and_exchange_bool_16_rel): Likewise.
18009         * sysdeps/powerpc/powerpc32/atomic-machine.h
18010         ( __arch_compare_and_exchange_bool_32_rel,
18011         __arch_compare_and_exchange_bool_64_rel): Likewise.
18012         * sysdeps/powerpc/powerpc64/atomic-machine.h
18013         ( __arch_compare_and_exchange_bool_32_rel,
18014         __arch_compare_and_exchange_bool_64_rel): Likewise.
18015         * sysdeps/tile/atomic-machine.h
18016         (atomic_compare_and_exchange_bool_rel): Likewise.
18018 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
18020         [BZ #20296]
18021         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
18022         when either argument is a NaN.
18023         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18024         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
18026         * math/libm-test.inc (snan_value_ld): New macro.
18027         (isgreater_test_data): Add sNaN tests.
18028         (isgreaterequal_test_data): Likewise.
18029         (isless_test_data): Likewise.
18030         (islessequal_test_data): Likewise.
18031         (islessgreater_test_data): Likewise.
18032         (isunordered_test_data): Likewise.
18033         (nextafter_test_data): Likewise.
18034         (nexttoward_test_data): Likewise.
18035         (remainder_test_data): Likewise.
18036         (remquo_test_data): Likewise.
18037         (significand_test_data): Likewise.
18038         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
18040 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
18042         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
18043         environment macros are defined.
18044         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
18046 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18048         [BZ #20191]
18049         Implement vtable verification in libio.
18050         * Makerules (shlib.lds): Place __libc_IO_vtables section.
18051         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
18052         * debug/vdprintf_chk.c (__vdprintf_chk): Call
18053         _IO_new_file_init_internal instead of _IO_file_init.
18054         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
18055         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
18056         * libio/Makefile (routines): Add vtables.
18057         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
18058         (_IO_init): Remove, not for internal use.
18059         (_IO_init_internal): Declare, internal replacement for _IO_init.
18060         (_IO_file_init): Remove, not for internal use.
18061         (_IO_new_file_init): Remove, not for internal use.
18062         (_IO_new_file_init_internal): Declare, internal replacement for
18063         _IO_new_file_init.
18064         (_IO_old_file_init): Remove, not for internal use.
18065         (_IO_old_file_init_internal): Declare, internal replacement for
18066         _IO_old_file_init.
18067         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
18068         internal use.
18069         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
18070         Declare.
18071         (libio_vtable): New macro.
18072         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
18073         functions.
18074         * libio/fileops.c (_IO_new_file_init_internal): Rename from
18075         _IO_new_file_init.
18076         (_IO_new_file_init): New externally visible wrapper which disables
18077         vtable verification.
18078         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
18079         Define as vtables.
18080         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
18081         (_IO_init): New externally visible wrapper which disables
18082         vtable verification.
18083         * libio/iofdopen.c (_IO_new_fdopen): Call
18084         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
18085         comment.
18086         * libio/iofopen.c (__fopen_internal): Call
18087         _IO_new_file_init_internal instead of _IO_file_init.
18088         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
18089         Define as vtables.
18090         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
18091         _IO_new_file_init_internal instead of _IO_file_init.
18092         * libio/iopopen.c (_IO_new_popen): Likewise.
18093         (_IO_proc_jumps): Define as vtable.
18094         * libio/iovdprintf.c (_IO_vdprintf): Call
18095         _IO_new_file_init_internal instead of _IO_file_init.
18096         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
18097         (__open_memstream): Call _IO_init_internal instead of _IO_init.
18098         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
18099         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
18100         _IO_old_file_init.
18101         (_IO_old_file_init): New externally visible wrapper which disables
18102         vtable verification.
18103         (_IO_old_file_jumps): Define as vtable.
18104         * libio/oldiofdopen.c (_IO_old_fdopen): Call
18105         _IO_old_file_init_internal instead of _IO_old_file_init.
18106         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18107         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18108         (_IO_old_proc_jumps): Define as vtable.
18109         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
18110         Define as vtables.
18111         * libio/vtables.c: New file.
18112         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
18113         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
18114         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
18115         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
18116         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
18117         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
18118         instead of _IO_init.
18120 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18122         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
18124 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18126         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
18127         potentially unused.
18129 2016-06-22  Florian Weimer  <fweimer@redhat.com>
18131         * test-skeleton.c (write_message): New function.
18132         * malloc/tst-mallocfork2.c (write_message): Remove.
18133         * debug/tst-longjmp_chk2.c (write_indented): New function.
18134         (write_message): Remove.
18135         (stackoverflow_handler): Call write_indented.
18137 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
18139         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
18140         "inexact" exceptions after fnstenv.
18141         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18142         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18143         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18145 2015-06-22  Zack Weinberg  <zackw@panix.com>
18147         * sysdeps/generic/bits/hwcap.h: Moved to ...
18148         * bits/hwcap.h: Here.
18150 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
18152         * sysdeps/aarch64/memcpy.S (memcpy):
18153         Further tuning for performance.
18155 2016-06-21  Florian Weimer  <fweimer@redhat.com>
18157         [BZ #20284]
18158         * malloc/arena.c (reused_arena): Do not return NULL if we start
18159         out with a non-corrupted arena.
18161 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18163         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
18164         * misc/tst-preadvwritev.c: New file.
18165         * misc/tst-preadvwritev64.c: Likewise.
18166         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
18167         usage.
18168         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
18169         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
18170         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
18171         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
18173 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
18175         [BZ #19654]
18176         * sysdeps/x86_64/fpu/Makefile: Added new tests.
18177         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
18178         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
18179         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
18180         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
18181         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
18182         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
18183         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
18184         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
18185         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
18186         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
18187         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
18188         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
18189         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
18190         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
18191         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
18192         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
18193         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
18194         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
18195         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
18196         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
18197         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
18198         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
18199         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
18200         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
18201         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
18203 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
18205         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
18206         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
18208 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
18210         * sysdeps/aarch64/memcpy.S (memcpy):
18211         Rewrite of optimized memcpy and memmove.
18212         * sysdeps/aarch64/memmove.S (memmove): Remove
18213         memmove code (merged into memcpy.S).
18215 2016-06-20  Florian Weimer  <fweimer@redhat.com>
18217         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
18218         * sysdeps/generic/dl-dtv.h: New file.
18219         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18220         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
18221         (dtv_t): Remove.
18222         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18223         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
18224         (dtv_t): Remove.
18225         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18226         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
18227         (dtv_t): Remove.
18228         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18229         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
18230         (dtv_t): Remove.
18231         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18232         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
18233         (dtv_t): Remove.
18234         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18235         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
18236         (dtv_t): Remove.
18237         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18238         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
18239         (dtv_t): Remove.
18240         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
18241         (dtv_t): Remove.
18242         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18243         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
18244         (dtv_t): Remove.
18245         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18246         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
18247         (dtv_t): Remove.
18248         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18249         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
18250         (dtv_t): Remove.
18251         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18252         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
18253         (dtv_t): Remove.
18254         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18255         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
18256         (dtv_t): Remove.
18257         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18258         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
18259         (dtv_t): Remove.
18260         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18261         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
18262         (dtv_t): Remove.
18263         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18264         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
18265         (dtv_t): Remove.
18267 2016-06-20  Florian Weimer  <fweimer@redhat.com>
18269         Revert symbol poisoning of  __malloc_initialize_hook.
18270         * include/stdc-predef.h (__malloc_initialize_hook): Remove
18271         poisoning.
18272         * malloc/Makefile: Remove un-poisoning.
18273         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
18274         instead of old__malloc_initialize_hook.
18275         * malloc/malloc-hooks.h: Likewise.
18276         * malloc/malloc.c: Likewise.
18277         * malloc/mcheck-init.c: Likewise.
18279 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
18281         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
18283 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
18285         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
18286         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
18287         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
18288         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
18290 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18292         * NEWS: Mention addition of nextup and nextdown.
18293         * manual/arith.texi: Document nextup and nextdown.
18294         * manual/libm-err-tab.pl: Add nextup and nextdown.
18295         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
18296         * math/Versions (libm): Add GLIBC_2.24.
18297         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
18298         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
18299         Add new test.
18300         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
18301         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
18302         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
18303         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
18304         (nextup_test_data): Likewise.
18305         (nextdown_test_data): Likewise.
18306         * math/s_nextdown.c: New file.
18307         * math/s_nextdownf.c: Likewise.
18308         * math/s_nextdownl.c: Likewise.
18309         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
18310         F(nextup): New function.
18311         F(nextdown): Likewise.
18312         * math/tgmath.h: Add nextup and nextdown.
18313         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
18314         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
18315         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
18316         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
18317         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
18318         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
18319         Add nextup and nextdown.
18320         (CFLAGS-nldbl-nextup.c): New variable.
18321         (CFLAGS-nldbl-nextdown.c): Likewise.
18322         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
18323         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
18324         * sysdeps/nacl/libm.abilist: Update.
18325         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18326         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18327         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18328         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18329         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18330         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18331         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18332         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18333         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18334         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18335         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18336         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18339         Likewise.
18340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18342         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18343         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18344         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18345         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18346         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
18348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
18349         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18350         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18351         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18352         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18354 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18356         * manual/pattern.texi: Fix typos & grammar errors.
18358 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18360         * manual/search.texi: Fix typos & grammar errors.
18362 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18364         * manual/message.texi: Fix typos & grammar errors.
18366 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
18368         * manual/contrib.texi: Fix spelling typos.
18369         * manual/crypt.texi: Likewise.
18370         * manual/filesys.texi: Likewise.
18371         * manual/locale.texi: Likewise.
18372         * manual/message.texi: Likewise.
18373         * manual/nss.texi: Likewise.
18374         * manual/string.texi: Likewise.
18376 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18378         * manual/locale.texi: Fix typos & grammar errors.
18380 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18382         * manual/charset.texi: Fix typos & grammar errors.
18384 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18386         * manual/string.texi: Fix typos.
18388 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18390         * manual/ctype.texi: Fix typos.
18392 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18394         * manual/memory.texi: Fix various typos & grammar errors.
18396 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
18398         [BZ #20255]
18399         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
18400         * math/libm-test.inc (fdim_test_data): Add another test.
18402         [BZ #6796]
18403         [BZ #20255]
18404         [BZ #20256]
18405         * math/s_fdim.c: Include <math_private.h>.
18406         (__fdim): Use math_narrow_eval on result.
18407         * math/s_fdimf.c: Include <math_private.h>.
18408         (__fdimf): Use math_narrow_eval on result.
18409         * sysdeps/i386/fpu/s_fdim.S: Remove file.
18410         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
18411         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
18412         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
18413         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
18414         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
18415         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
18416         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
18417         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
18418         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
18419         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
18420         * math/libm-test.inc (fdim_test_data): Expect errno setting on
18421         overflow.  Add sNaN tests.
18423         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
18424         fpclassify.
18425         * math/s_fdimf.c (__fdimf): Likewise.
18426         * math/s_fdiml.c (__fdiml): Likewise.
18428 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18430         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18431         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
18432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18433         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
18434         ifunc'ed strcasecmp/strncasecmp.
18435         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
18436         [EALIGN]: Removed.
18437         [END]: Likewise.
18438         [__strcasecmp]: Define instead of the above to control symbol name.
18439         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
18440         for __strcasecmp_power8.
18441         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
18442         for __strncasecmp_power8.
18443         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
18444         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
18445         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
18446         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
18447         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
18448         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
18450 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
18452         [BZ #20252]
18453         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
18454         arguments when second argument is a NaN.
18455         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
18456         qNaN tests.
18458         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
18459         (conj_test_data): Likewise.
18460         (copysign_test_data): Likewise.
18461         (creal_test_data): Likewise.
18462         (fma_test_data): Likewise.
18463         (fmod_test_data): Likewise.
18465         [BZ #20250]
18466         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
18467         itself.
18468         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
18469         zero input to itself.
18470         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
18471         Likewise.
18472         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
18473         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
18474         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18475         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
18476         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
18478 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18480         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
18481         * nptl/tst-cancel4-common.c: New file.
18482         * nptl/tst-cancel4-common.h: Likewise.
18483         * nptl/tst-cancel4.c: Move common definitions to
18484         tst-cancel4-common.{c,h} file.
18485         * nptl/tst-cancel4_1.c: New test.
18486         * nptl/tst-cancel4_2.c: New test.
18488 2016-06-13  Florian Weimer  <fweimer@redhat.com>
18490         [BZ #20248]
18491         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
18492         (write_message): New function.
18493         (stackoverflow_handler): Call it instead of printf, to avoid
18494         excessive stack usage by printf.
18495         (do_test): Restore SIGSEGV, SIGBUS default handlers.
18497 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18499         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
18500         (prio_inherit_missing): Remove define.
18501         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18502         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18503         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
18504         Likewise.
18505         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18506         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18507         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18508         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18509         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18510         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18512 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18514         [BZ #19670]
18515         [BZ #19672]
18517         * io/test-lfs.c (do_prepare): Use xmalloc.
18518         * io/tst-fcntl.c (do_prepare): Likewise.
18519         * libio/tst-fopenloc.c (do_bz17916): Likewise.
18520         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
18521         * login/tst-utmp.c (do_prepare): Likewise.
18522         * posix/tst-exec.c (do_prepare): Likewise.
18523         * posix/tst-pathconf.c (prepare): Likewise.
18524         * posix/tst-spawn.c (do_prepare): Likewise.
18525         * posix/tst-truncate.c (do_prepare): Likewise.
18526         * rt/tst-aio.c (do_prepare): Likewise.
18527         * rt/tst-aio64.c (do_prepare): Likewise.
18529 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18531         [BZ #20237]
18532         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
18533         (get*ent): Set entidx to NULL during initialization.  If entidx is
18534         NULL, start iteration from the beginning.
18536 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18538         * malloc/malloc.c (musable): Return correct size for dumped fake
18539         mmapped chunk.
18541 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18543         [BZ #20222]
18544         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
18545         (_IO_cookie_write): Likewise.
18546         (_IO_cookie_seek): Likewise.
18547         (_IO_cookie_close): Likewise.
18548         (_IO_old_cookie_seek): Likewise.
18549         (set_callbacks): New function.
18550         (_IO_cookie_init): Call set_callbacks to copy callbacks.
18552 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
18554         * locale/programs/localedef.c (oldstyle_tables): Remove.
18555         * locale/programs/localedef.h (oldstyle_tables): Likewise.
18557 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
18559         [BZ #20240]
18560         * math/Makefile (CFLAGS-s_modf.c): New variable.
18561         (CFLAGS-s_modff.c): Likewise.
18562         (CFLAGS-s_modfl.c): Likewise.
18563         * math/libm-test.inc (modf_test_data): Add sNaN tests.
18565 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
18567         [BZ #20215]
18568         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
18569         [!__GNUC_PREREQ (3,2)]: Likewise.
18571 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
18573         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
18574         (msghdr.msg_controllen): Likewise.
18575         (cmsghdr.cmsg_len): Likewise.
18576         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
18577         ptw-oldsendmsg.
18578         (CFLAGS-oldrecvmsg.c): Remove rule.
18579         (CFLAGS-oldsendmsg.c): Likewise.
18580         (CFLAGS-recvmsg.c): Add rule.
18581         (CFLAGS-sendmsg.c): Likewise.
18582         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
18583         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
18584         (CFLAGS-recvmsg.c): Remove rule.
18585         (CFLAGS-sendmsg.c): Likewise.
18586         (CFLAGS-oldrecvmsg.c): Likewise.
18587         (CFLAGS-oldsendmsg.c): Likewise.
18588         (CFLAGS-recvmmsg.c): Likewise.
18589         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
18590         to kernel defined interfaces.
18591         (msghdr.msg_controllen): Likewise.
18592         (cmsghdr.cmsg_len): Likewise.
18593         (msghdr.__glibc_reserved1): Remove member.
18594         (msghdr.__glibc_reserved2): Likewise.
18595         (cmsghdr.__glibc_reserved1): Likewise.
18596         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
18597         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
18598         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18599         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
18600         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
18601         version.
18602         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18603         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
18604         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18605         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
18606         Remove recvmsg and sendmsg.
18607         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
18608         Likewise.
18609         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18610         Likewise.
18611         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18612         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18613         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18614         Likewise.
18615         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18616         Likewise.
18617         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
18618         [libc] (GLIBC_2.24): Likewise.
18619         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18620         Likewise.
18621         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18622         Likewise.
18623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18624         [libc] (GLIBC_2.24): Likewise.
18625         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
18626         Likewise.
18627         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
18628         Likewise.
18629         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
18630         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
18631         Likewise.
18632         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
18633         Likewise.
18634         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
18635         Likewise.
18636         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
18637         Likewise.
18638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
18639         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
18640         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
18641         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
18642         version for {recv,send,recm,sendm}msg.
18643         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18644         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18645         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18646         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18647         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18648         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18649         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18650         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18651         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18652         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18653         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18654         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18656         Likewise.
18657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18658         Likewise.
18659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18661         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18662         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18663         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18664         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18665         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18666         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18669         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18670         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18671         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18673 2016-06-10  Florian Weimer  <fweimer@redhat.com>
18675         [BZ #19564]
18676         Remove __malloc_initialize_hook from the API.
18677         * malloc/malloc.h (__malloc_initialize_hook): Remove.
18678         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
18679         #pragma GCC poison.
18680         * malloc/malloc-hooks.h: New file.
18681         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
18682         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
18683         (old__malloc_initialize_hook): Rename from
18684         __malloc_initialize_hook to evade poisoning.  Turn into compat
18685         symbol.
18686         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
18687         __malloc_initialize_hook.
18688         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
18689         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
18690         * manual/memory.texi (Hooks for Malloc): Remove
18691         __malloc_initialize_hook.  Adjust hook example.
18693 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
18695         [BZ #20235]
18696         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
18697         itself.
18698         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18699         * math/libm-test.inc (log2_test_data): Add sNaN tests.
18701         [BZ #20234]
18702         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
18703         infinity or NaN input to itself.
18705         [BZ #20233]
18706         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
18707         to itself.
18709         [BZ #20232]
18710         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
18711         itself.
18713 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18715         * sysdeps/x86_64/start.S (_start): Always indirect branch to
18716         __libc_start_main via GOT.
18718 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18720         * sysdeps/x86_64/memcopy.h: New file.
18721         * sysdeps/x86_64/wordcopy.c: Likewise.
18723 2016-06-09  Florian Weimer  <fweimer@redhat.com>
18725         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
18726         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
18727         <cstdlib>.
18728         (optimization_barrier): New.
18729         (do_test): Use it.  Call quick_exit in the global namespace.
18730         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
18731         instead of <cstdlib>, <thread>.
18732         (optimization_barrier): New.
18733         (non_main_thread): Adjust declaration.  Call optimization_barrier.
18734         Call quick_exit in the global namespace.
18735         (do_test): Call optimization_barrier.  Use pthread_create,
18736         pthread_join instead of std::thread.
18738 2016-06-09  Andreas Schwab  <schwab@suse.de>
18740         [BZ #19755]
18741         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
18742         new entries in auto-propagate mode.
18743         * nscd/grpcache.c (cache_addgr): Likewise.
18745 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18747         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
18748         New functions.
18749         (add_temp_file): Use them.
18751 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
18753         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
18755 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
18757         [BZ #20229]
18758         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
18759         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
18760         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
18762         [BZ #20228]
18763         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
18764         itself.
18765         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18766         * math/libm-test.inc (log10_test_data): Add sNaN tests.
18768         [BZ #20227]
18769         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
18770         itself.
18771         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18772         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18773         * math/libm-test.inc (log_test_data): Add sNaN tests.
18775         [BZ #20226]
18776         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
18777         itself.
18778         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18779         * math/libm-test.inc (exp_test_data): Add sNaN tests.
18780         (exp10_test_data): Likewise.
18781         (expm1_test_data): Likewise.
18783         [BZ #20225]
18784         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
18785         itself.
18786         * math/s_ldexpf.c (__ldexpf): Likewise.
18787         * math/s_ldexpl.c (__ldexpl): Likewise.
18788         * math/w_scalbln.c (__w_scalbln): Likewise.
18789         * math/w_scalblnf.c (__w_scalblnf): Likewise.
18790         * math/w_scalblnl.c (__w_scalblnl): Likewise.
18791         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
18792         (scalbln_test_data): Likewise.
18794         [BZ #20224]
18795         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
18796         argument to itself.
18797         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
18799 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
18801         [BZ #19776]
18802         * sysdeps/x86_64/memcpy.S: Make it dummy.
18803         * sysdeps/x86_64/mempcpy.S: Likewise.
18804         * sysdeps/x86_64/memmove.S: New file.
18805         * sysdeps/x86_64/memmove_chk.S: Likewise.
18806         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
18807         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
18808         * sysdeps/x86_64/memmove.c: Removed.
18809         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18810         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18811         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
18812         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
18813         Likewise.
18814         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18815         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18816         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18817         memcpy-sse2-unaligned, memmove-avx-unaligned,
18818         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
18819         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18820         (__libc_ifunc_impl_list): Replace
18821         __memmove_chk_avx512_unaligned_2 with
18822         __memmove_chk_avx512_unaligned.  Remove
18823         __memmove_chk_avx_unaligned_2.  Replace
18824         __memmove_chk_sse2_unaligned_2 with
18825         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
18826         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
18827         with __memmove_avx512_unaligned.  Replace
18828         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
18829         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
18830         with __memcpy_chk_avx512_unaligned.  Remove
18831         __memcpy_chk_avx_unaligned_2.  Replace
18832         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
18833         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
18834         Replace __memcpy_avx512_unaligned_2 with
18835         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
18836         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
18837         with __mempcpy_chk_avx512_unaligned.  Remove
18838         __mempcpy_chk_avx_unaligned_2.  Replace
18839         __mempcpy_chk_sse2_unaligned_2 with
18840         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
18841         Replace __mempcpy_avx512_unaligned_2 with
18842         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
18843         Replace __mempcpy_sse2_unaligned_2 with
18844         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
18845         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
18846         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
18847         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
18848         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
18849         (ENTRY): Removed.
18850         (END): Likewise.
18851         (ENTRY_CHK): Likewise.
18852         (libc_hidden_builtin_def): Likewise.
18853         Don't include ../memcpy.S.
18854         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
18855         __memcpy_chk_avx512_unaligned_erms and
18856         __memcpy_chk_avx512_unaligned.  Use
18857         __memcpy_chk_avx_unaligned_erms and
18858         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18859         Default to __memcpy_chk_sse2_unaligned.
18860         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18861         Change function suffix from unaligned_2 to unaligned.
18862         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
18863         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
18864         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
18865         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
18866         (ENTRY): Removed.
18867         (END): Likewise.
18868         (ENTRY_CHK): Likewise.
18869         (libc_hidden_builtin_def): Likewise.
18870         Don't include ../mempcpy.S.
18871         (mempcpy): New.  Add a weak alias.
18872         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
18873         __mempcpy_chk_avx512_unaligned_erms and
18874         __mempcpy_chk_avx512_unaligned.  Use
18875         __mempcpy_chk_avx_unaligned_erms and
18876         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18877         Default to __mempcpy_chk_sse2_unaligned.
18879 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
18881         [BZ #19881]
18882         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
18883         into ...
18884         * sysdeps/x86_64/memset.S: This.
18885         (__bzero): Removed.
18886         (__memset_tail): Likewise.
18887         (__memset_chk): Likewise.
18888         (memset): Likewise.
18889         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
18890         defined.
18891         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
18892         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
18893         (__memset_zero_constant_len_parameter): Check SHARED instead of
18894         PIC.
18895         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18896         memset-avx2 and memset-sse2-unaligned-erms.
18897         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18898         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
18899         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
18900         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18901         (__bzero): Enabled.
18902         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
18903         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
18904         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
18905         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
18906         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
18907         (memset): Removed.
18908         (__memset_chk): Likewise.
18909         (MEMSET_SYMBOL): New.
18910         (libc_hidden_builtin_def): Replace __memset_sse2 with
18911         __memset_sse2_unaligned.
18912         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
18913         __memset_chk_sse2 and __memset_chk_avx2 with
18914         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
18915         Use __memset_chk_sse2_unaligned_erms or
18916         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
18917         __memset_chk_avx512_unaligned_erms and
18918         __memset_chk_avx512_unaligned.
18920 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18922         * math/gen-auto-libm-test.c (fp_format_desc): remove
18923         suffix member.
18924         (output_generic_value): Remove usage of suffix member,
18925         and the resulting unuse of the fp_format argument.
18926         (output_for_one_input_case): Remove unused fp_format
18927         parameter.
18929         * math/auto-libm-test-out: Regenerate.
18931         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
18932         usage with TEST_COND_ibm128.
18933         (TEST_COND_flt_32): Remove.
18934         (TEST_COND_dbl_64): Remove.
18935         (TEST_COND_ldbl_96_intel): Remove.
18936         (TEST_COND_ldbl_96_m68k): Remove.
18937         (TEST_COND_ldbl_128): Remove.
18939 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18941         * auto-libm-test-in:
18942         Replace flt-32 usage with binary32.
18943         Replace dbl-64 usage with binary64.
18944         Replace ldbl-intel-96 usage with intel96.
18945         Replace ldbl-m68k-96 usage with m68k96.
18946         Replace ldbl-128ibm usage with ibm128.
18947         Replace ldbl-128 usage with binary128.
18949         * auto-libm-test-out: Regenerate.
18951 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18953         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
18954         (parse_ulps): Dynamically generate type name matching
18955         string from all_floats.
18956         (get_ulps): Generate the ulps as an array instead.
18957         (output_ulps): Dynamically compose the type based
18958         on the number of supported formats, and print
18959         the indices as type specific helper macros.
18961         * math/libm-test.inc: Remove comment about CHOOSE.
18962         (ulp_data): Generate the type in libm-test-ulps.h.
18963         (ULP_IDX): New macro.
18964         (find_ulps): Update usage of max_ulp.
18966         * math/test-double-vlen2.h (CHOOSE): Remove.
18967         * math/test-double-vlen4.h (CHOOSE): Likewise.
18968         * math/test-double-vlen8.h (CHOOSE): Likewise.
18969         * math/test-float.c (CHOOSE): Likewise.
18970         * math/test-float-finite.c (CHOOSE): Likewise.
18971         * math/test-double.c (CHOOSE): Likewise.
18972         * math/test-double-finite.c (CHOOSE): Likewise.
18973         * math/test-idouble.c (CHOOSE): Likewise.
18974         * math/test-ifloat.c (CHOOSE): Likewise.
18975         * math/test-ildoubl.c (CHOOSE): Likewise.
18976         * math/test-ldouble-finite.c (CHOOSE): Likewise.
18977         * math/test-ldouble.c (CHOOSE): Likewise.
18979         * math/test-float.h (TEST_FLOAT): Remove.
18980         * math/test-double.h (TEST_DOUBLE): Likewise.
18981         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
18983 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18985         * math/gen-libm-test.pl: (apply_lit): New subroutine.
18986         (parse_args): Strip C suffix from floating point literals
18987         typed with 'f' and wrap them with LIT().
18989         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
18990         (test_ff_f_data_nexttoward): Rename to
18991         (test_fj_f_data): New struct.
18992         (nexttoward_test_data): Relabel tests as
18993         TEST_fj_f instead of TEST_ff_f.
18995 2016-06-08  Florian Weimer  <fweimer@redhat.com>
18997         Emacs bug 23726.
18998         * malloc/malloc.c (dumped_main_arena_start): Update comment.
18999         (__libc_realloc): Correct size computation for dumped fake mmapped
19000         chunks.
19002 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
19004         [BZ #20219]
19005         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
19006         to itself.
19007         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
19009         [BZ #20218]
19010         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
19011         to itself.
19012         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
19014 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
19016         [BZ #20195]
19017         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
19018         check to ...
19019         (init_cpu_features): Here.
19021 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
19023         [BZ #20214]
19024         * sysdeps/unix/sysv/linux/bits/in.h
19025         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19026          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
19027         Define to 1.
19028         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19029          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
19030         Define to 0.
19031         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
19032         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
19034 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
19036         [BZ #20198]
19037         * stdlib/Makefile (tests): Add tst-quick_exit, and
19038         tst-thread-quick_exit.
19039         [ifeq ($(have-cxx-thread_local),yes)]
19040         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
19041         (CFLAGS-tst-thread-quick_exit.o): Likewise.
19042         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
19043         (LDLIBS-tst-thread-quick_exit): Likewise.
19044         [ifneq ($(have-cxx-thread_local),yes)]
19045         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
19046         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
19047         If run_dtors is true call __call_tls_dtors.
19048         (exit): Call __run_exit_handlers with run_dtors set to true.
19049         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
19050         definition.
19051         * stdlib/quick_exit.c (quick_exit): Remove function.
19052         (__new_quick_exit): New function.
19053         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
19054         function.
19055         * stdlib/tst-quick_exit.cc: New file.
19056         * stdlib/tst-thread-quick_exit.cc: New file.
19057         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
19058         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
19059         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
19060         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
19061         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
19062         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
19063         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
19064         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
19065         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
19066         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
19067         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
19068         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
19069         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
19070         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
19071         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
19072         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
19074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
19075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
19076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
19077         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
19078         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
19079         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
19080         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
19081         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
19082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
19083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
19084         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
19085         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
19086         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
19088 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
19090         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
19091         a typo in comments.
19093 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
19095         [BZ #20213]
19096         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
19097         argument to itself.
19098         * math/libm-test.inc (asin_test_data): Add sNaN tests.
19100 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19102         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
19103         required flags.
19104         (CFLAGS-pwritev64.c): Likewise.
19105         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
19106         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
19107         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
19108         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19109         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
19110         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
19111         syscall from auto-generation.
19112         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
19113         [WORDSIZE == 64] (pwritev64): Remove macro.
19114         [!PWRITEV] (PWRITEV): Likewise.
19115         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
19116         [!PWRITEV] (PWRITE): Likewise.
19117         [!PWRITEV] (OFF_T): Likewise.
19118         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
19119         (LO_HI_LONG): Remove macro.
19120         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
19121         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
19122         (PWRITEV): Remove macro.
19123         (PWRITEV_REPLACEMENTE): Likewise.
19124         (PWRITE): Likewise.
19125         (OFF_T): Likewise.
19126         (pwritev64): New function.
19127         * nptl/tst-cancel4.c (tf_writev): Add test.
19129         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
19130         required flags.
19131         (CFLAGS-preadv64.c): Likewise.
19132         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
19133         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
19134         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
19135         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
19136         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
19137         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
19138         syscall from auto-generation.
19139         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
19140         [WORDSIZE == 64] (preadv64): Remove macro.
19141         [!PREADV] (PREADV): Likewise.
19142         [!PREADV] (PREADV_REPLACEMENT): Likewise.
19143         [!PREADV] (PREAD): Likewise.
19144         [!PREADV] (OFF_T): Likewise.
19145         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
19146         (LO_HI_LONG): Remove macro.
19147         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
19148         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
19149         (PREADV): Remove macro.
19150         (PREADV_REPLACEMENTE): Likewise.
19151         (PREAD): Likewise.
19152         (OFF_T): Likewise.
19153         (preadv64): New function.
19154         * nptl/tst-cancel4.c (tf_preadv): Add test.
19156 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
19158         [BZ #20212]
19159         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
19160         argument to itself.
19161         * math/libm-test.inc (acos_test_data): Add sNaN tests.
19163 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19165         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
19166         New symbol defined as libc_hidden_def.
19167         (strcasestr): Became a weak alias to __strcasestr.
19168         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
19169         according to multi-arch support.  Move __stpncpy hidden
19170         definition from here to...
19171         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
19172         symbol stpncpy.
19173         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
19174         libc_hidden_builtin_def.
19175         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
19176         memset symbol to use when multi-arch support is available.
19178 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
19180         * dlfcn/tst-rec-dlopen.c: Include string.h.
19182 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19184         * manual/install.texi: Remove mention of --without-tls
19185         * INSTALL: Regenerate.
19187 2016-06-05  Florian Weimer  <fweimer@redhat.com>
19189         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
19190         Remove.
19191         (call_function, interposed_malloc_called): New variables.
19192         (malloc): New function.
19193         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
19194         and clear call_function as needed.
19196 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
19198         * include/wchar.h (__wmemset): Use __typeof.
19200 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
19202         * include/wchar.h (__wmemset): Declare function without typeof.
19204 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
19206         [BZ #20205]
19207         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
19208         exponent when incrementing negative subnormal with low mantissa
19209         word zero.
19210         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19211         Add another test.
19213 2016-06-03  Florian Weimer  <fweimer@redhat.com>
19215         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
19216         __wmemset instead of wmemset.
19218 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
19220         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
19221         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
19222         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
19223         __USE_KERNEL_IPV6_DEFS to 0.
19224         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
19225         Update comment.
19227 2016-06-01  Florian Weimer  <fweimer@redhat.com>
19229         [BZ #19861]
19230         Do not use IFUNC resolver with potentially unrelocated symbol.
19231         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
19232         (DEFINE_FORK): Remove macro and inline definition.
19233         (fork_alias): Renamed from fork_ifunc.
19234         (__fork_alias): Renamed from __fork_ifunc.
19236 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
19238         [BZ 19653]
19239         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
19240         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
19242 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19244         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
19245         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
19246         i386-linux-gnu).
19247         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
19248         Set to no.
19249         * sysdeps/mach/hurd/configure: Refresh.
19251 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19253         [BZ #20178]
19254         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
19255         on failure instead of exit.
19257 2016-05-30  Roland McGrath  <roland@hack.frob.com>
19259         [BZ #3629]
19260         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
19261         of POSIX.1-2008.
19263 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19265         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
19266           Use PLT entry for calling _hurd_self_sigstate.
19268 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
19270         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
19271         available logical processors with SMT level type sharing L2
19272         cache for Intel processors.
19274 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19276         [BZ #20160]
19277         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
19278         argument to itself before returning the result.
19279         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19280         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19281         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19282         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19283         Likewise.
19284         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19285         Likewise.
19286         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
19287         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
19288         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19289         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19290         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19291         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19293         [BZ #20160]
19294         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
19295         argument to itself before returning the result.
19296         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19297         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19298         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19299         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
19300         Likewise.
19301         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19302         Likewise.
19303         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
19304         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
19305         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
19306         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19307         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19308         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19310 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19312         * libm-test.inc: Replace usage of M_El with
19313         (lit_e): New macro.
19315 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19317         * libm-test.inc: Replace usage of M_PI_4l with
19318         (lit_pi_4_d): New macro.
19320 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19322         * libm-test.inc: Replace usage of M_PIl with
19323         (lit_pi): New macro.
19325 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19327         * libm-test.inc: Replace usage of M_PI2l with
19328         (lit_pi_2_d): New macro.
19330         * math/test-double.h (LITM): New macro.
19331         * math/test-float.h (LITM): Likewise.
19332         * math/test-ldouble.h (LITM): Likewise.
19334 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19336         * libm-test.inc (M_PI_34l): Rename to
19337         (lit_pi_3_m_4_d): New Macro.
19338         (M_PI_34_LOG10El): Rename to
19339         (lit_pi_3_m_4_ln10_m_d): New Macro.
19340         (M_PI2_LOG10El): Rename to
19341         (lit_pi_2_ln10_m_d):  New Macro.
19342         (M_PI4_LOG10El): Rename to
19343         (lit_pi_4_ln10_m_d):  New Macro.
19344         (M_PI_LOG10El): Rename to
19345         (lit_pi_ln10_d):  New Macro.
19347 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19349         [BZ #20157]
19350         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
19351         determine whether to negate low half if [_ARCH_PPCGR], and integer
19352         comparison otherwise.
19353         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
19354         determine whether to negate low half.
19356         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
19357         (NO_TEST_INLINE_DOUBLE): Likewise.
19358         (TEST_COND_x86_64): Likewise.
19359         (TEST_COND_x86): Likewise.
19360         (M_PI_6l): Likewise.
19362 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19364         * math/libm-test.inc:
19365         (TEST_FLOAT): Change usage to TEST_COND_binary32.
19366         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
19367         (TEST_LDOUBLE): Update usage to evaluate as true if
19368         the guarded tests match the property being tested.
19369         (LDBL_MAX_EXP): Change to MAX_EXP.
19370         (LDBL_MIN_EXP): Change to MIN_EXP.
19371         (LDBL_MANT_DIG): Change to MANT_DIG, except for
19372         nexttoward tests.
19374 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19376         * math/libm-test.inc:
19377         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
19378         (TYPE_MIN): Likewise.
19379         (TYPE_TRUE_MIN): Likewise.
19380         (TYPE_MAX): Likewise.
19381         (MIN_EXP): Likewise.
19382         (MAX_EXP): Likewise.
19383         (MANT_DIG): Likewise.
19385         (FSTR_MAX): New macro.
19386         (__CONCATX): Likewise.
19387         (QTYPE_STR): Likewise.
19388         (TEST_COND_binary32): Likewise.
19389         (TEST_COND_binary64): Likewise.
19390         (TEST_COND_binary128): Likewise.
19391         (TEST_COND_ibm128): Likewise.
19392         (TEST_COND_intel96): Likewise.
19393         (TEST_COND_m68k96): Likewise.
19395         (TEST_COND_flt_32): Redefine as equivalent format test macro.
19396         (TEST_COND_dbl_64): Likewise.
19397         (TEST_COND_ldbl_96_intel): Likewise.
19398         (TEST_COND_ldbl_96_m68k): Likewise.
19399         (TEST_COND_ldbl_128): Likewise.
19400         (TEST_COND_ldbl_128ibm): Likewise.
19402         (plus_zero): Redefine using LIT macro.
19403         (minus_zero): Likewise.
19404         (plus_infty): Redefine as (INF).
19405         (minux_infty): Redefine as (-INF).
19406         (max_value): Redefine as TYPE_MAX.
19407         (min_value): Redefine as TYPE_MIN.
19408         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
19410         (print_float): Refactor to use snprintf to convert FLOAT values
19411         to string. This brings it closer to dropin replacement of strtof
19412         for the TS 18661 defined types.
19413         (update_stats): Likewise.
19414         (print_complex_function_ulps): Likewise.
19415         (print_max_error): Likewise.
19416         (print_complex_max_error): Likewise.
19417         (check_float_internal): Likewise.
19419         * math/test-float.h (PREFIX): New macro.
19420         (LIT): Likewise.
19421         (TYPE_STR): Likewise.
19422         (FTOSTR): Likewise.
19424         * math/test-double.h (PREFIX): New macro.
19425         (LIT): Likewise.
19426         (TYPE_STR): Likewise.
19427         (FTOSTR): Likewise.
19429         * math/test-ldouble.h (PREFIX): New macro.
19430         (LIT): Likewise.
19431         (TYPE_STR): Likewise.
19432         (FTOSTR): Likewise.
19434 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19436         [BZ #20156]
19437         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
19438         to itself when zero or not finite.
19439         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
19440         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19441         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
19442         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
19444 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
19446         [BZ #20153]
19447         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
19448         x * x + x for infinities and NaNs.
19450         [BZ #20151]
19451         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
19452         argument to itself before returning result.
19453         (__ieee754_y0l): Likewise.
19454         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19455         (__ieee754_y1l).
19457         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
19458         (atan_test_data): Likewise.
19459         (ceil_test_data): Likewise.
19460         (cos_test_data): Likewise.
19461         (cosh_test_data): Likewise.
19462         (erf_test_data): Likewise.
19463         (exp2_test_data): Likewise.
19464         (fabs_test_data): Likewise.
19465         (floor_test_data): Likewise.
19466         (ilogb_test_data): Likewise.
19467         (j0_test_data): Likewise.
19468         (j1_test_data): Likewise.
19469         (jn_test_data): Likewise.
19470         (lgamma_test_data): Likewise.
19471         (lrint_test_data): Likewise.
19472         (llrint_test_data): Likewise.
19473         (logb_test_data): Likewise.
19474         (lround_test_data): Likewise.
19475         (llround_test_data): Likewise.
19476         (nearbyint_test_data): Likewise.
19477         (rint_test_data): Likewise.
19478         (round_test_data): Likewise.
19479         (sin_test_data): Likewise.
19480         (sincos_test_data): Likewise.
19481         (sinh_test_data): Likewise.
19482         (sqrt_test_data): Likewise.
19483         (tan_test_data): Likewise.
19484         (tanh_test_data): Likewise.
19485         (tgamma_test_data): Likewise.
19486         (trunc_test_data): Likewise.
19487         (y0_test_data): Likewise.
19488         (y1_test_data): Likewise.
19489         (yn_test_data): Likewise.
19491         * math/libm-test.inc: Update comment about NaN testing.
19492         (TEST_SNAN): New macro.
19493         (snan_value): Likewise.
19494         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
19495         (fpclassify_test_data): Add sNaN tests.
19496         (isfinite_test_data): Likewise.
19497         (isinf_test_data): Likewise.
19498         (isnan_test_data): Likewise.
19499         (isnormal_test_data): Likewise.
19500         (issignaling_test_data): Likewise.
19501         (signbit_test_data): Likewise.
19502         * math/gen-libm-test.pl (%beautify): Add snan_value.
19503         (show_exceptions): Add argument $test_snan.
19504         (parse_args): Handle snan_value as non-finite.  Update call to
19505         show_exceptions.
19506         * math/Makefile (libm-test-no-inline-cflags): Add
19507         -fsignaling-nans.
19509 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19511         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
19512         (CFLAGS-oldsendmsg.c): Add rule.
19513         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19514         Correct recvmsg symbol name.
19515         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
19516         Likewise.
19518 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19520         * sysdeps/unix/sysv/linux/Makefile
19521         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
19522         oldsendmmsg.
19523         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
19524         sendmmsg.
19525         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19526         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19527         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19528         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19530         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19531         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19533         Likewise.
19534         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19535         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
19536         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19537         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
19538         iovlen and controllen fields to adjust to POSIX specification.
19539         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19541         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
19542         and change to correct expected type.
19543         (msghdr.msg_controllen): Likewise.
19544         (cmsghdr.cmsg_len): Likewise.
19545         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
19546         expected POSIX assumption about the size.
19547         (msghdr.msg_controllen): Likewise.
19548         (msghdr.__glibc_reserved1): Likewise.
19549         (msghdr.__glibc_reserved2): Likewise.
19550         (cmsghdr.cmsg_len): Likewise.
19551         (cmsghdr.__glibc_reserved1): Likewise.
19552         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
19553         Add ptw-oldrecvmsg and ptw-oldsendmsg.
19554         (CFLAGS-sendmsg.c): Remove rule.
19555         (CFLAGS-recvmsg.c): Likewise.
19556         (CFLAGS-oldsendmsg.c): Add rule.
19557         (CFLAGS-oldrecvmsg.c): Likewise.
19558         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
19559         recvmsg and sendmsg.
19560         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
19561         Likewise.
19562         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
19563         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
19564         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19565         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
19566         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19567         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19568         Likewise.
19569         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19570         Likewise.
19571         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
19572         Likewise.
19573         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
19574         Likewise.
19575         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19576         Likewise.
19577         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19578         Likewise.
19579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
19580         (GLIBC_2.24): Likewise.
19581         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19582         Likewise.
19583         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19584         Likewise.
19585         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19586         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19587         Likewise.
19588         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19589         Likewise.
19590         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19591         Likewise.
19592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
19593         (GLIBC_2.24): Likewise.
19594         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
19595         Likewise.
19596         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
19597         Likewise.
19598         * sysdeps/unix/sysv/linux/Makefile
19599         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
19600         (CFLAGS-sendmsg.c): Add rule.
19601         (CFLAGS-recvmsg.c): Likewise.
19602         (CFLAGS-oldsendmsg.c): Likewise.
19603         (CFLAGS-oldrecvmsg.c): Likewise.
19604         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
19605         initialization.
19606         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19607         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19608         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
19609         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19610         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
19611         iovlen and controllen fields to adjust to POSIX specification.
19612         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
19613         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
19614         added recvmsg and sendmsg.
19615         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19616         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19617         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19618         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19619         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19620         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19621         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19622         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19623         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19624         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19625         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19626         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19628         Likewise.
19629         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
19630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19631         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19632         Likewise.
19633         Likewise.
19634         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19635         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19636         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19637         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19638         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19639         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19641         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19643         Likewise.
19644         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19645         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19647         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
19648         from auto-generation.
19649         (sendmsg): Likewise.
19650         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
19651         (sendmsg): Likewise.
19652         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
19653         (sendmsg): Likewise.
19654         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
19655         (sendmsg): Likewise.
19656         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
19657         (sendmsg): Likewise.
19658         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
19659         (sendmsg): Likewise.
19660         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
19661         Likewise.
19662         (sendmsg): Likewise.
19663         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
19664         (sendmsg): Likewise.
19665         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19666         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19667         Remove.
19668         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19669         Likewise.
19670         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19671         Undefine.
19672         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19673         Likewise.
19674         * sysdeps/unix/sysv/linux/kernel-features.h
19675         (__ASSUME_SENDMSG_SYSCALL): Define.
19676         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19677         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19678         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19679         Remove.
19680         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19681         Likewise.
19682         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19683         Undefine.
19684         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19685         Likewise.
19686         * sysdeps/unix/sysv/linux/s390/kernel-features.h
19687         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19688         Remove.
19689         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19690         Likewise.
19691         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19692         Undefine.
19693         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19694         Likewise.
19695         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19696         (__ASSUME_SENDMSG_SYSCALL): Undefine.
19697         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19698         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19699         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19700         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19701         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19702         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19703         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19705 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19707         * stdlib/gen-tst-strtod-round.c: Add backslash to
19708         compile command in comment.
19709         (printfp): Remove the literal suffix, and define an infinite
19710         value as INF to avoid expansion clash with INFINITY.
19711         (round_str): Remove the literal suffix.
19712         (round_for_all): Likewise, remove the now duplicate ldbl-64
19713         entry, and remove some magic constants.
19715         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
19716         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
19717         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
19718         (_CONCAT): New macro.
19719         (CONCAT): Likewise.
19720         (CHOOSE_ld): Likewise.
19721         (CHOOSE_f): Likewise.
19722         (CHOOSE_d): Likewise.
19723         (FTYPE_MEMBER): Likewise.
19724         (BOOL_MEMBER): Likewise.
19725         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
19726         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
19727         (_XNTRY): Likewise.
19728         (XNTRY): Likewise.
19729         (_ENTRY): Likewise.
19730         (ENTRY): Likewise.
19731         (test_exactness): Generate members via macro.
19732         (test_results): Likewise.
19733         (test): Update members.
19734         (TEST): Redefine using new macros.
19735         (INF): New macro.
19736         (fetestmodes): New structure.
19737         (do_test): Refactor to be type generic.
19738         (test_in_one_mode): Refactor duplicate code into
19739         (GEN_ONE_TEST): New macro.
19741         * stdlib/tst-strtod-round-data.h: Regenerate.
19743         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
19744         Extend to pass additional arbitrary parameters to
19745         generators.
19747 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
19749         [BZ #15479]
19750         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
19751         floating-point state after first floating-point operation on
19752         input.  Restore full floating-point state instead of just rounding
19753         mode.
19754         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19755         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19756         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19757         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19758         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19760         [BZ #15479]
19761         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
19762         floating-point state after first floating-point operation on
19763         input.  Restore full floating-point state instead of just rounding
19764         mode.
19765         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19766         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19767         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19768         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19769         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19771 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19773         [BZ #19727]
19774         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
19775         valid high surrogate.
19776         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
19777         of an utf16 surrogate.
19778         * iconv/gconv_simple.c (BODY): Likewise.
19779         * iconvdata/bug-iconv12.c: New file.
19780         * iconvdata/Makefile (tests): Add bug-iconv12.
19782 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19784         [BZ #19726]
19785         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
19786         outptrp in case of an illegal input.
19787         * iconv/tst-iconv6.c: New file.
19788         * iconv/Makefile (tests): Add tst-iconv6.
19790 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19792         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
19793         an error in case of a value in range of an utf16 low surrogate.
19795 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19797         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 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/s390-64/Makefile (iconvdata-subdirectory):
19803         Move to ...
19804         * sysdeps/s390/Makefile: ... here.
19805         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
19806         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
19807         (BRANCH_ON_COUNT): New define.
19808         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
19809         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
19810         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
19811         run on s390-32, too.
19812         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
19813         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
19814         run on s390-32, too.
19815         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
19816         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
19817         run on s390-32, too.
19819 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19821         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
19822         etf3eh or new vector loop-variant.
19824 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19826         * sysdeps/s390/s390-64/utf8-utf16-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-utf32-z9.c: Use ifunc to select c, etf3eh
19832         or new vector loop-variant.
19834 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19836         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
19837         Rename to TR_LOOP and usage of tr instead of troo instruction.
19839 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19841         * sysdeps/s390/multiarch/gconv_simple.c: New File.
19842         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
19844 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19846         * sysdeps/s390/multiarch/8bit-generic.c: New File.
19847         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
19848         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
19849         New override define.
19850         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
19852 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19854         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
19855         * sysdeps/s390/configure.ac: Add test for S390 vector register
19856         support in gcc.
19857         * sysdeps/s390/configure: Regenerated.
19859 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19861         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
19862         Install file from $(objpfx)gconv-modules.
19863         ($(objpfx)gconv-modules): Concatenate architecture specific file
19864         in variable sysdeps-gconv-modules and gconv-modules in src dir.
19865         * sysdeps/s390/gconv-modules: New file.
19866         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
19867         Deleted.
19868         ($(objpfx)gconv-modules-s390): Deleted.
19869         (sysdeps-gconv-modules): New variable.
19871 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
19873         [BZ #15479]
19874         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
19875         of immediate operand to rounding instruction.
19876         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
19877         Likewise.
19878         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
19879         Likewise.
19880         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
19881         Likewise.
19883 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19885         * math/libm-test.inc (MIN_EXP): Directly define as
19886         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
19888 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19890         * math/libm-test.inc (MANT_DIG): Directly define as
19891         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
19893 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19895         * stdlib/gen-tst-strtod-round.c (main):
19896           Change usage to more closely match the generated
19897           output.  Add usage and compilation instructions.
19898           (string_to_fp): Add and use FILE* parameter as
19899           output target.
19900           (print_fp): Likewise.
19901           (round_str): Likewise.
19902           (round_for_all): Likewise.
19903         * stdlib/tst-strtod-round.c (tests): Move into
19904         * stdlib/tst-strtod-round-data.h: New file.
19906 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
19908         [BZ #15479]
19909         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
19910         (__round): Do not force "inexact" exception.
19911         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
19912         variable.
19913         (__round): Do not force "inexact" exception.
19914         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
19915         (__roundf): Do not force "inexact" exception.
19916         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
19917         (__roundl): Do not force "inexact" exception.
19918         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
19919         (__roundl): Do not force "inexact" exception.
19920         * math/libm-test.inc (round_test_data): Do not allow spurious
19921         "inexact" exceptions.
19923         [BZ #15479]
19924         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
19925         exception in comment.
19926         (huge): Remove variable.
19927         (__floor): Do not force "inexact" exception.
19928         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
19929         "inexact" exception in comment.
19930         (huge): Remove variable.
19931         (__floor): Do not force "inexact" exception.
19932         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
19933         exception in comment.
19934         (huge): Remove variable.
19935         (__floorf): Do not force "inexact" exception.
19936         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
19937         exception in comment.
19938         (huge): Remove variable.
19939         (__floorl): Do not force "inexact" exception.
19941         [BZ #15479]
19942         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
19943         exception in comment.
19944         (huge): Remove variable.
19945         (__ceil): Do not force "inexact" exception.
19946         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
19947         "inexact" exception in comment.
19948         (huge): Remove variable.
19949         (__ceil): Do not force "inexact" exception.
19950         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
19951         (__ceilf): Do not force "inexact" exception.
19952         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
19953         exception in comment.
19954         (huge): Remove variable.
19955         (__ceill): Do not force "inexact" exception.
19957 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19959         * config.h.in (BIND_NOW): New.
19960         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
19961         * configure: Regenerated.
19962         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
19963         indirect branch via the GOT slot.
19965 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19967         [BZ #19765]
19968         * sysdeps/s390/mempcpy.S: New File.
19969         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
19970         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
19971         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19972         Add mempcpy variants.
19973         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
19974         (memcpy): Adjust to be usable from mempcpy entry point.
19975         (__memcpy_mvcle): Likewise.
19976         * sysdeps/s390/s390-64/memcpy.S: Likewise.
19977         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
19978         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
19979         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
19980         (__memcpy_z10): Likewise.
19981         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19983 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19985         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
19986         Remove __GI_ symbol.
19987         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
19988         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
19989         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
19990         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19991         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
19992         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
19994 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19996         * sysdeps/s390/s390-64/memcpy.S (memcpy):
19997         Use cghi instead of chi to compare 64bit value.
19999 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20001         * sysdeps/s390/s390-32/memcpy.S (memcpy):
20002         Jump to 1MB check before executing mvc-loop.
20004 2016-05-24  Florian Weimer  <fweimer@redhat.com>
20006         [BZ #6527]
20007         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
20008         unconditionally.
20009         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
20011 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20013         * stdlib/tst-strtod6.c (do_test): Use new type generic
20014         invocation of the test function.
20015         (test): Refactor into ...
20016         (TEST_STRTOD): New macro base function.
20018 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20020         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
20021         (TEST_STRTOD): New macro.
20022         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
20024 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20026         * stdlib/tst-strtod6.c (do_test): Use new type generic
20027         invocation of the test function.
20028         (test): Refactor into ...
20029         (TEST_STRTOD): New macro base function.
20031 2016-05-23  Florian Weimer  <fweimer@redhat.com>
20033         CVE-2016-4429
20034         [BZ #20112]
20035         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
20036         payload.
20038 2016-05-23  Florian Weimer  <fweimer@redhat.com>
20040         [BZ #20111]
20041         * bits/sockaddr.h (_SS_SIZE): Define.
20042         * bits/socket.h (_SS_SIZE): Remove.
20043         (_SS_PADSIZE): Adjust to account for all padding.
20044         (struct sockaddr_storage): Update comment.  Avoid implicit
20045         padding.
20046         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
20047         (_SS_PADSIZE): Adjust to account for all padding.
20048         (struct sockaddr_storage): Update comment.  Avoid implicit
20049         padding.
20050         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
20051         * sysdeps/unix/sysv/linux/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/sysv/linux/m68k/bits/sockaddr.h: New file.
20056         __SS_SIZE is 126 in this version.
20057         * inet/tst-sockaddr.c: New file.
20058         * inet/Makefile (tests): Add tst-sockaddr.c
20059         (tst-sockaddr.c): Compile with non-strict aliasing.
20061 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
20063         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
20064         [XPG3 || XPG4].
20065         (NL_ARGMAX): Also expect for [XPG3].
20066         (NL_LANGMAX): Likewise.
20067         (NL_MSGMAX): Likewise.
20068         (NL_NMAX): Likewise.
20069         (NL_SETMAX): Likewise.
20070         (NL_TEXTMAX): Likewise.
20071         (NZERO): Likewise.
20072         (TMP_MAX): Likewise.
20073         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
20074         variable.
20076         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
20077         (PF_MAX): Update value.
20078         (AF_KCM): New macro.
20079         (SOL_NETBEUI): Likewise.
20080         (SOL_LLC): Likewise.
20081         (SOL_DCCP): Likewise.
20082         (SOL_NETLINK): Likewise.
20083         (SOL_TIPC): Likewise.
20084         (SOL_RXRPC): Likewise.
20085         (SOL_PPPOL2TP): Likewise.
20086         (SOL_BLUETOOTH): Likewise.
20087         (SOL_PNPIPE): Likewise.
20088         (SOL_RDS): Likewise.
20089         (SOL_IUCV): Likewise.
20090         (SOL_CAIF): Likewise.
20091         (SOL_ALG): Likewise.
20092         (SOL_NFC): Likewise.
20093         (SOL_KCM): Likewise.
20094         (MSG_BATCH): New enum value and macro.
20096 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
20098         [BZ #18185]
20099         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
20100         sharing L2 cache to 2 for Knights Landing.
20102 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
20104         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
20105         (FTW_DP): Do not expect for [XPG3 || XPG4].
20106         (FTW_SL): Do not expect for [XPG3].
20107         (FTW_SLN): Likewise.
20108         (FTW_PHYS): Likewise.
20109         (FTW_MOUNT): Likewise.
20110         (FTW_DEPTH): Likewise.
20111         (FTW_CHDIR): Likewise.
20112         (nftw): Likewise.
20113         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
20114         variable.
20116 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
20118         * manual/errno.texi: Fix various typos & grammar errors.
20120 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
20122         * manual/intro.texi: Fix duplicated typo.
20124 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
20126         [BZ #13304]
20127         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
20128         <float.h>, <math_private.h> and <stdlib.h>.
20129         (add_split): New function.
20130         (mul_split): Likewise.
20131         (ext_val): New typedef.
20132         (store_ext_val): New function.
20133         (mul_ext_val): New function.
20134         (compare): New function.
20135         (add_split_ext): New function.
20136         (__fmal): After checking for Inf, NaN and zero, compute result as
20137         an exact sum of scaled double values in round-to-nearest before
20138         adding those up and adjusting for other rounding modes.
20139         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
20140         tests of fma.
20141         * math/auto-libm-test-out: Regenerated.
20143 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20145         [BZ #20119]
20146         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
20147         processor level type mask for CPUID with EAX == 11.
20149 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20151         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
20152         logical threads if the HTT bit is 0.
20153         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
20154         (index_cpu_HTT): Likewise.
20155         (reg_HTT): Likewise.
20157 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20159         [BZ #20115]
20160         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
20161         Remove alignments on jump targets.
20163 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
20165         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
20166         (getpwent): Likewise.
20167         (setpwent): Likewise.
20168         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
20169         variable.
20171         * conform/data/search.h-data (insque): Do not expect for [XPG3].
20172         (remque): Likewise.
20173         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
20174         variable.
20176 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
20178         * math/libm-test.inc: Update comment not to refer to signs of NaNs
20179         not being tested.
20181 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20183         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20184         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
20185         call.
20186         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20187         (__condvar_cleanup1): Likewise.
20189 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20191         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
20192         New
20193         (__pthread_unwind): Renamed to ...
20194         (PTHREAD_UNWIND): This.
20195         (__pthread_enable_asynccancel): Replace
20196         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
20198 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
20200         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
20201         (CLONE_NEWCGROUP): New macro.
20203         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
20204         (Q_GETNEXTQUOTA): New macro.
20206 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20208         [BZ #19907]
20209         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
20210         buffer updated by the previous run.
20211         * string/test-memcpy.c (do_one_test): Likewise.
20212         * benchtests/bench-memmove.c (do_one_test): Add a comment.
20213         * string/test-memmove.c (do_one_test): Likewise.
20215 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
20217         [BZ #20094]
20218         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
20219         not [__USE_XOPEN].
20220         (unlockpt): Likewise.
20221         (ptsname): Likewise.
20222         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
20223         variable.
20225         [BZ #20076]
20226         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
20227         instead of [__USE_UNIX98].
20228         (S_ISSOCK): Likewise.
20229         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
20230         variable.
20232         [BZ #20074]
20233         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
20234         [__USE_POSIX].
20235         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
20236         variable.
20238         [BZ #20051]
20239         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
20240         (ttyslot): Do not declare.
20241         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
20242         (ttyslot): New prototype.
20243         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
20244         variable.
20245         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20247 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20249         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
20251 2016-05-13  Florian Weimer  <fweimer@redhat.com>
20253         Fix race condition in tst-mallocfork2, use fewer resources.
20254         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
20255         to current process group.
20256         (signal_sender): Yield in the non-sleeping case.
20258 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
20260         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
20261         (ecvt): Likewise.
20262         (fcvt): Likewise.
20263         (gcvt): Likewise.
20264         (getsubopt): Likewise.
20265         (grantpt): Likewise.
20266         (initstate): Likewise.
20267         (l64a): Likewise.
20268         (mktemp): Likewise.
20269         (mkstemp): Likewise.
20270         (ptsname): Likewise.
20271         (random): Likewise.
20272         (realpath): Likewise.
20273         (setstate): Likewise.
20274         (srandom): Likewise.
20275         (ttyslot): Likewise.
20276         (unlockpt): Likewise.
20277         (valloc): Likewise.
20279         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
20280         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
20281         variable.
20283 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20285         [BZ #20072]
20286         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
20287         init_cpu_features only if SHARED is defined.
20288         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
20290 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20292         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
20293         non-inclusive caches on Intel processors.
20295 2016-05-13  Florian Weimer  <fweimer@redhat.com>
20297         * malloc/malloc.c (dumped_main_arena_start)
20298         (dumped_main_arena_end): New variables.
20299         (DUMPED_MAIN_ARENA_CHUNK): New macro.
20300         (do_check_chunk): Skip dumped fake mmapped chunks.
20301         (munmap_chunk): Likewise.
20302         (__libc_free): Do not adjust statistics for fake mmapped chunks.
20303         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
20304         mmapped chunks.
20305         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
20306         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
20307         and dumped_main_arena_end to cover the dumped heap.
20309 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
20311         * conform/data/time.h-data (getdate_err): Do not expect for
20312         [XPG3].
20313         (getdate): Likewise.
20314         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
20315         variable.
20317         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
20318         (F_ULOCK): Likewise.
20319         (F_TEST): Likewise.
20320         (F_TLOCK): Likewise.
20321         (useconds_t): Likewise.
20322         (intptr_t): Do not expect for [XPG3] or [XPG4].
20323         (brk): Do not expect for [XPG3]
20324         (fchown): Likewise.
20325         (fchdir): Likewise.
20326         (ftruncate): Likewise.
20327         (getdtablesize): Likewise.
20328         (gethostid): Likewise.
20329         (getpagesize): Likewise.
20330         (getpgid): Likewise.
20331         (getsid): Likewise.
20332         (getwd): Likewise.
20333         (lchown): Likewise.
20334         (lockf): Likewise.
20335         (readlink): Likewise.
20336         (sbrk): Likewise.
20337         (setpgrp): Likewise.
20338         (setregid): Likewise.
20339         (setreuid): Likewise.
20340         (symlink): Likewise.
20341         (sync): Likewise.
20342         (truncate): Likewise.
20343         (ualarm): Likewise.
20344         (usleep): Likewise.
20345         (vfork): Likewise.
20346         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
20347         variable.
20349         [BZ #20054]
20350         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
20351         not [__USE_UNIX98].
20352         * conform/data/unistd.h-data (gethostname): Do not expect for
20353         [XPG3].
20355         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
20356         [!POSIX] (S_IFBLK): Likewise.
20357         [!POSIX] (S_IFCHR): Likewise.
20358         [!POSIX] (S_IFIFO): Likewise.
20359         [!POSIX] (S_IFREG): Likewise.
20360         [!POSIX] (S_IFDIR): Likewise.
20361         [!POSIX] (S_IFLNK): Likewise.
20362         [!POSIX] (S_IFSOCK): Likewise.
20363         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
20364         variable.
20365         (test-xfail-XPG4/fcntl.h/conform): Likewise.
20367 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
20369         * sysdeps/aarch64/memset.S (__memset):
20370         Rewrite of optimized memset.
20372 2016-05-12  Florian Weimer  <fweimer@redhat.com>
20374         [BZ #19703]
20375         Partially async-signal-safe fork for single-threaded processes.
20376         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
20377         variable.  Do not acquire and reset/release malloc and libio locks
20378         in single-threaded processes.
20379         * malloc/tst-mallocfork2.c: New file.
20380         * malloc/Makefile (tests): Add it.
20382 2016-05-12  Florian Weimer  <fweimer@redhat.com>
20384         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
20385         argument.  Use scratch buffer instead of extend_alloca.
20386         (gethosts): Use scratch buffer instead of extend_alloca.
20387         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
20388         extend_alloca.
20389         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
20391 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
20393         [BZ #20055]
20394         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
20395         instead of [__USE_UNIX98].
20396         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
20397         [__USE_UNIX98].
20398         * conform/data/termios.h-data (tcgetsid): Do not expect for
20399         [XPG3].
20400         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
20401         variable.
20402         (test-xfail-XPG4/termios.h/conform): Likewise.
20404 2016-05-11  Florian Weimer  <fweimer@redhat.com>
20406         Do not use mcheck in localedef.
20407         * locale/programs/localedef.c (turn_on_mcheck)
20408         (__malloc_initialize_hook): Remove.
20410 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20412         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
20413         * sysdeps/s390/s390-64/Makefile: Likewise.
20415 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20417         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
20418         Remove ifunc-defines.sym.
20419         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
20420         Likewise.
20421         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
20422         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20423         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
20424         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
20425         rtld-global-offsets.sym.
20426         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
20427         * sysdeps/x86/cpu-features-offsets.sym: This.
20428         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
20429         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
20431 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
20433         [BZ #20073]
20434         * io/sys/stat.h (fchmod): Declare for
20435         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
20436         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
20437         variable.
20439         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
20440         [XPG3] (S_IFSOCK): Likewise.
20441         [XPG3] (S_ISVTX): Likewise.
20442         [XPG3] (S_ISLNK): Likewise.
20443         [XPG3] (S_ISSOCK): Likewise.
20444         [XPG3] (fchmod): Likewise.
20445         [XPG3] (lstat): Likewise.
20446         [XPG3] (mknod): Likewise.
20448         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
20449         [XPG3].  Expect type long and XFAIL for [XPG4].
20450         (st_blocks): Likewise.
20452         [BZ #20044]
20453         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
20454         (pthread_atfork): New prototype.
20455         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
20456         variable.
20458         [BZ #20043]
20459         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
20460         prototype.
20462 2016-05-10  Florian Weimer  <fweimer@redhat.com>
20464         [BZ #20017]
20465         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
20466         gmtime.
20468 2016-05-10  Florian Weimer  <fweimer@redhat.com>
20470         [BZ #19994]
20471         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
20472         flag in _res.options.
20474 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
20476         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
20477         [XPG3 || XPG4].
20478         (blksize_t): Likewise.
20479         (clockid_t): Likewise.
20480         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
20481         variable.
20482         (test-xfail-XPG4/sys/types.h/conform): Likewise.
20484 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20486         * sysdeps/unix/sysv/linux/s390/init-first.c:
20487         Add VDSO_SYMBOL(getcpu).
20488         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
20489         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
20490         Add VDSO_SYMBOL(getcpu).
20491         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
20492         New define HAVE_GETCPU_VSYSCALL.
20493         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20495 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
20497         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
20498         instead of <sysdeps/x86_64/cacheinfo.c>.
20499         * sysdeps/x86_64/cacheinfo.c: Moved to ...
20500         * sysdeps/x86/cacheinfo.c: Here.
20502 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20504         * malloc/malloc-internal.h: Adjust header file guard.
20506 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20508         [BZ #19787]
20509         * inet/getnameinfo.c (check_sprintf_result): New function.
20510         (CHECKED_SNPRINTF): New macro.
20511         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
20512         to the host buffer.
20513         (gni_host_local): Use checked_copy to copy the host name.
20514         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
20515         (gni_serv_local): Use checked_copy to copy the service name.
20516         (getnameinfo): Remove unnecessary truncation of result buffers.
20518 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20520         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
20521         in case of inet_ntop failure.
20523 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20525         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
20526         avoid long lines.
20527         (gni_host_inet_numeric): Likewise.  Reduce scope of local
20528         variables.
20529         (gni_host_inet, gni_host_local): Add comment.
20530         (gni_host): Add comment.  Use temporary to avoid long lines.
20532 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20534         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
20535         registers specifiers where general purpose registers specifiers should
20536         have been used.
20538 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20540         [BZ #19779]
20541         CVE-2016-1234
20542         Avoid copying names of directory entries.
20543         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
20544         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
20545         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
20546         (struct readdir_result): New type.
20547         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
20548         (GL_READDIR): New macros.
20549         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
20550         (convert_dirent, convert_dirent64): New functions.
20551         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
20552         convert_dirent64.  Adjust references to the readdir result.
20553         * sysdeps/unix/sysv/linux/i386/glob64.c:
20554         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
20555         * posix/bug-glob2.c (LONG_NAME): Define.
20556         (filesystem): Add LONG_NAME.
20557         (my_DIR): Increase the size of room_for_dirent.
20559 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
20561         [BZ #20041]
20562         * misc/sys/select.h (__need_timespec): Only define if
20563         [__USE_XOPEN2K].
20564         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
20565         variable.
20566         (test-xfail-XPG4/utmpx.h/conform): Likewise.
20567         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20568         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20570 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20571             Segher Boessenkool  <segher@gcc.gnu.org>
20573         [BZ #20004]
20574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
20575         (__novec_swapcontext): Add missing load.
20577 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
20579         [BZ #20023]
20580         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
20581         <time.h>.
20582         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
20583         variable.
20584         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20586 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
20589         flags CLONE_VM compare.
20591 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20593         [BZ #20031]
20594         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
20595         completely empty.
20597 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20599         [BZ #19573]
20600         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
20601         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
20602         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
20603         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
20604         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
20605         (hesiod_free_list): Mark as hidden.
20606         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
20607         res_set, res_get.
20608         * hesiod/hesiod.c: Remove unnecessary forward declarations.
20609         (init, __hesiod_res_get, __hesiod_res_set): Remove.
20610         (hesiod_init): Remove obsolete res_ninit call.
20611         (hesiod_end): Do not free resolver state.  Do not invoke callback.
20612         (hesiod_bind): Do not call init.
20613         (get_txt_records): Use res_mkquery, res_send instead of
20614         res_nmkquery, res_nsend.
20615         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
20616         instead of _nss_hesiod_init.
20617         (_nss_hesiod_initgroups_dyn): Likewise.
20618         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
20619         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
20620         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
20622 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20624         * hesiod/hesiod_p.h (DEF_RHS): Remove.
20625         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
20627 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20629         * hesiod/hesiod.h: Remove RCS keyword.
20630         * hesiod/hesiod_p.h: Likewise.
20632         * hesiod/hesiod.c: Likewise.
20634 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
20636         [BZ #12450]
20637         * locale/iso-639.def: Add Samogitian/sgs.
20639 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
20641         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
20643         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
20645 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
20646             Carlos O'Donell  <carlos@redhat.com>
20648         [BZ #19072]
20649         * grp/Makefile (headers): Add grp-merge.h
20650         (routines): Add grp-merge.
20651         * grp/getgrgid_r.c: Include grp-merge.h.
20652         (DEEPCOPY_FN): Define.
20653         (MERGE_FN): Define.
20654         * grp/getgrname_r.c: Include grp-merge.h.
20655         (DEEPCOPY_FN): Define.
20656         (MERGE_FN): Define.
20657         * grp/grp-merge.c: New file.
20658         * grp/grp-merge.h: New file.
20659         * include/grp-merge.h: New file.
20660         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
20661         __copy_grp@GLIBC_PRIVATE.
20662         * manual/nss.texi (Actions in the NSS configuration): Describe
20663         return, continue, and merge.
20664         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
20665         (DEEPCOPY_FN): Define.
20666         (MERGE_FN): Define.
20667         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
20668         (DEEPCOPY_FN): Define.
20669         (MERGE_FN): Define.
20670         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
20671         [!MERGE_FN]: Define __merge_einval.
20672         (CHECK_MERGE): Define.
20673         (REENTRANT_NAME): Process merge if do_merge is true.
20674         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
20675         (__nss_getent_r): Likewise.
20676         * nss/nsswitch.c (nss_parse_service_list): Likewise.
20677         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
20679 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20681         [BZ #20012]
20682         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
20683         length to calculate the buffer to read.
20684         (fmemopen_write): Set the buffer position based on bytes written.
20685         (fmemopen_seek): Return EINVAL for invalid whence modes.
20687         [BZ #19957]
20688         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
20689         tst-getpid2.
20690         (test): Add tst-clone2.
20691         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
20692         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
20693         pid/tid fields for CLONE_VM.
20694         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20695         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20696         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20697         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
20698         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20699         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20700         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20701         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20703         Likewise.
20704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20705         Likewise.
20706         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20707         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20708         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20709         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20710         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20711         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20712         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20713         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
20715 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20717         [BZ #19642]
20718         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
20719         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
20720         (gni_serv_local, gni_serv): New functions extracted from
20721         getnameinfo.
20722         (getnameinfo): Call gni_host and gni_serv to perform the
20723         processing.  Always free scratch buffer.
20725 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20727         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
20728         remaining bytes in the dest string, with zeros.
20730 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20732         [BZ #20010]
20733         CVE-2016-3706
20734         * sysdeps/posix/getaddrinfo.c
20735         (convert_hostent_to_gaih_addrtuple): New function.
20736         (gethosts): Call convert_hostent_to_gaih_addrtuple.
20737         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
20738         AF_INET data.
20740 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20742         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
20743         callback function gl_readdir.
20744         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
20745         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
20746         (glob_in_dir): Remove len.  Use strdup instead of malloc and
20747         memcpy to copy the name.
20748         * manual/pattern.texi (Calling Glob): Document requirements for
20749         implementations of the gl_readdir callback function.
20750         * manual/examples/mkdirent.c: New example.
20751         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
20752         per the manual guidance.
20753         * posix/tst-gnuglob.c (my_readdir): Likewise.
20755 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
20757         [BZ #20014]
20758         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
20759         not [__USE_POSIX].
20760         (getchar_unlocked): Likewise.
20761         (putc_unlocked): Likewise.
20762         (putchar_unlocked): Likewise.
20763         (flockfile): Likewise.
20764         (ftrylockfile): Likewise.
20765         (funlockfile): Likewise.
20766         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
20767         variable.
20768         (test-xfail-XPG4/stdio.h/conform): Likewise.
20770         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
20771         Expect constant.
20772         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
20773         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
20774         variable.
20775         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20776         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20778         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
20779         [__USE_LARGEFILE64] (off64_t): Likewise.
20780         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
20781         variable.
20783 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20785         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
20787 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20789         * resolv/inet_addr.c: Reindent preprocessor conditionals.
20790         * resolv/res_init.c: Likewise.
20791         * resolv/res_mkquery.c: Likewise.
20793 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20795         * resolv/res_init.c (isascii): Do not define.  Use definition in
20796         <ctype.h>.
20797         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
20798         (LOG_AUTH): Remove.
20799         (SPRINTF): Remove, adjust caller.
20800         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
20802 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20804         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
20805         SUNSECURITY conditional.
20806         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
20808 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20810         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
20811         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
20812         Remove BSD-related preprocessor conditionals.
20813         * conf/portability.h: Remove.
20815 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20817         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
20818         * resolv/res_data.c: Likewise.
20820 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20822         * resolv/res_comp.c: Remove code conditional on __ultrix__.
20823         * resolv/res_data.c: Remove code conditional on ultrix.
20825 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20827         * resolv/res_init.c (RFC1535): Do not define.  Remove
20828         RFC1535 preprocessor conditionals.
20829         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
20830         because there configuration options which make the resolver
20831         behavior different.
20833 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20835         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
20836         RESOLVSORT preprocessor conditionals.
20837         * resolv/nss_dns/dns-host.c: Likewise.
20838         * resolv/res_init.c: Likewise.
20840 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20842         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
20843         is never defined.
20845 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20847         * inet/inet_lnaof.c: Remove SCSS keyword.
20848         * inet/inet_mkadr.c: Likewise.
20849         * inet/inet_net.c: Likewise.
20850         * inet/inet_netof.c: Likewise.
20851         * inet/rcmd.c: Likewise.
20852         * inet/rexec.c: Likewise.
20853         * inet/ruserpass.c: Likewise.
20855 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20857         * resolv/inet_addr.c: Remove _LIBC conditionals.
20858         * resolv/res_data.c: Likewise.
20859         * resolv/res_init.c: Likewise.
20860         * resolv/res_mkquery.c: Likewise.
20861         * resolv/res_libc.c: Update comment.
20862         * resolv/README: Update.
20864 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20866         * resolv/gethnamaddr.c: Remove SCSS keyword.
20867         * resolv/herror.c: Likewise.
20868         * resolv/inet_addr.c: Likewise.
20869         * resolv/inet_net_ntop.c: Likewise.
20870         * resolv/inet_net_pton.c: Likewise.
20871         * resolv/inet_neta.c: Likewise.
20872         * resolv/inet_ntop.c: Likewise.
20873         * resolv/inet_pton.c: Likewise.
20874         * resolv/ns_date.c: Remove RCS keyword.
20875         * resolv/ns_name.c: Likewise.
20876         * resolv/ns_netint.c: Likewise.
20877         * resolv/ns_parse.c: Likewise.
20878         * resolv/ns_print.c: Likewise.
20879         * resolv/ns_samedomain.c: Likewise.
20880         * resolv/ns_ttl.c: Likewise.
20881         * resolv/nsap_addr.c: Likewise.
20882         * resolv/res_comp.c: Remove SCSS and RCS keyword.
20883         * resolv/res_data.c: Remove RCS keyword.
20884         * resolv/res_debug.c: Remove SCSS and RCS keyword.
20885         * resolv/res_init.c: Likewise.
20886         * resolv/res_mkquery.c: Likewise.
20887         * resolv/res_query.c: Likewise.
20888         * resolv/res_send.c: Likewise.
20890 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
20892         * conform/data/stdio.h-data (fdopen): Expect also for
20893         [XPG3 || XPG4].
20895         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
20896         (fseeko): Likewise.
20897         (ftello): Likewise.
20898         (ftrylockfile): Likewise.
20899         (funlockfile): Likewise.
20900         (getc_unlocked): Likewise.
20901         (getchar_unlocked): Likewise.
20902         (putc_unlocked): Likewise.
20903         (putchar_unlocked): Likewise.
20905 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20907         [BZ #19868]
20908         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
20909         DNS packet syntax checks (which were not needed before).  Skip
20910         over non-PTR records.
20912 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20914         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
20915         definition.  Include <stddef.h> instead.
20917 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20919         [BZ #19831]
20920         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
20921         function.
20922         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
20923         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
20925 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20927         [BZ #19862]
20928         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
20929         (getanswer_r): Do not call syslog.
20930         (gaih_getanswer_slice): Likewise.
20931         * resolv/gethnamaddr.c (AskedForGot): Remove.
20932         (getanswer): Do not call syslog.
20933         (gethostbyaddr): Likewise.
20935 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
20937         * conform/data/signal.h-data (union sigval): Expect also if
20938         [XOPEN2K].
20939         (struct sigevent): Likewise.
20940         (SIGEV_NONE): Likewise.
20941         (SIGEV_SIGNAL): Likewise.
20942         (SIGEV_THREAD): Likewise.
20943         (SIGRTMIN): Likewise.
20944         (SIGRTMAX): Likewise.
20945         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
20946         variable.
20947         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20949 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20951         [BZ #19830]
20952         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
20953         (gaih_getanswer_slice): Likewise.
20954         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
20955         Also check for availability of RR metadata.
20957 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20959         [BZ #19825]
20960         * resolv/res_send.c (send_vc): Remove early *resplen2
20961         initialization.  Set *resplen2 on socket error.  Call
20962         close_and_return_error for other errors.
20964 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
20966         * sysdeps/unix/sysv/linux/netiucv/iucv.h
20967         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
20968         (SCM_IUCV_TRGCLS): New define.
20970 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20972         [BZ #20005]
20973         * libio/fmemopen.c (fmemopen_write): Update internal position after
20974         write.
20975         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
20976         * stdio-common/tst-fmemopen4.c: New file..
20978 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
20980         [BZ #19996]
20981         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
20982         not [__USE_XOPEN2K].
20983         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
20984         variable.
20986         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
20987         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
20988         variable.
20990         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
20991         [__USE_XOPEN2K8].
20992         [__USE_LARGEFILE64] (off64_t): Likewise.
20993         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
20994         variable.
20996 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
20998         [BZ #19989]
20999         * libio/stdio.h (cuserid): Do not declare if
21000         [__USE_XOPEN2K && !__USE_GNU].
21001         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
21002         variable.
21004 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21006         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21007         (sysdep_routines): Add P8 and PPC64 strcspn targets.
21008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21009         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
21010         ifunc'ed strcspn.
21011         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21012         [EALIGN]: Removed.
21013         [END]: Likewise
21014         [STRSPN]: Define instead of the above to control symbol name.
21015         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
21016         New file.
21017         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
21018         Likewise.
21019         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
21020         Likewise.
21021         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
21022         Likewise.
21023         * sysdeps/powerpc/powerpc64/power8/strspn.S:
21024         [INITIAL_MASK]: New macro.
21025         [STRCSPN]: Likewise.
21026         [UPDATE_MASK]: Likewise.
21027         [USE_AS_STRCSPN]: Likewise.
21029 2016-04-25  Florian Weimer  <fweimer@redhat.com>
21031         [BZ #19931]
21032         * stdio-common/tst-vfprintf-width-prec.c: New file.
21033         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
21034         (tests-special): Add tst-vfprintf-width-prec-mem.out.
21035         (generated): Add mtrace-related files.
21036         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
21037         (tst-%-mem.out): New pattern rule, replaces
21038         tst-printf-bz18872-mem.out.
21039         * stdio-common/vfprintf.c (vfprintf): When handling a precision
21040         specifier, deallocate any previously allocated work buffer.
21042 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
21044         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
21045         Add nop before __startcontext, add explaining comments.
21047 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
21049         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
21050         any more. Notably since IPV6_PKTINFO has been reintroduced with a
21051         completely different API.
21053         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
21054         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
21055         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
21056         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
21057         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
21058         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
21059         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
21060         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
21061         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
21062         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
21064 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
21066         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
21068 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
21070         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
21071         when it is the default of 0.
21073 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21075         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
21076         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21077         (sysdep_routines): Add new strcasestr targets.
21078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21079         (__libc_ifunc_impl_list): Likewise.
21080         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
21081         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
21082         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
21083         * sysdeps/powerpc/powerpc64/power8/Makefile:
21084         New file to add strcasestr-ppc64 to sysdep_routines.
21085         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
21086         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
21088 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
21090         * benchtests/Makefile (wcsmbs-benchset): Include only for
21091         native builds and runs.
21092         (LOCALES): Likewise.
21093         (bench-build): Build timing-type here instead of the bench
21094         target.  Generate locale only for native builds.
21095         * benchtests/README: Add note for cross-building.
21097         * benchtests/Makefile (bench-clean): Clean up extra-objs.
21099         * benchtests/README: Update README to include instructions on
21100         using bench-build.
21102         * Makefile.in (bench-build): New target.
21103         * Rules (PHONY): Add bench-build target.
21104         * benchtests/Makefile (bench): Depend on bench-build.
21105         (bench-build): New target.
21107 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21109         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
21110         profil_reply_port.
21111         (profile_waiter): Do not initialize profil_reply_port.
21112         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
21113         frequency instead of tick length in us.
21115 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
21117         [BZ #18712]
21118         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
21119         (__old_mempcpy_small): Likewise.
21120         (__old_strcpy_small): Likewise.
21121         (__old_stpcpy_small): Likewise.
21122         (__old_strpbrk_c2): Fix compat symbol name.
21123         (__old_strpbrk_c3): Likewise.
21124         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
21125         (__mempcpy_small): Remove.
21126         (__strcpy_small): Remove.
21127         (__stpcpy_small): Remove.
21129 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
21131         [BZ #19400]
21132         * locale/iso-639.def: Add the Talossan/tzl language.
21134 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
21136         [BZ #16983]
21137         * locale/programs/ld-address.c (address_finish): Update postal_fmt
21138         comment.  Add "ln" to strchr check on postal_fmt.
21140 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
21142         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
21143         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
21144         tel_dom_fmt.
21146 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21148         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21149         (sysdep_routines): Added __strlen_power8.
21150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
21151         __strlen_power8 entry.
21152         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
21153         Implementation for POWER8.
21154         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
21155         for __strlen_power8.
21156         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
21157         Implementation for POWER8.
21159 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
21161         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
21163 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
21165         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
21166         Goldmont and Airmont processors.
21168 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
21170         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
21171         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
21172         (__STRING2_SMALL_GET32): Remove.
21173         (memset): Remove.
21174         (__memset_1): Remove.
21175         (__memset_gc): Remove.
21176         (__mempcpy): Remove.
21177         (mempcpy): Remove.
21178         (__mempcpy_args): Remove.
21179         (strchr): Remove.
21180         (strcpy): Remove.
21181         (strcpy_args): Remove.
21182         (__stpcpy_args): Remove.
21183         (__strcmp_cc): Remove.
21184         (__strcmp_gc): Remove.
21185         (strstr): Remove.
21187 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
21189         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
21190         * nis/nis_call.c (nis_server_cache_add): Likewise.
21192 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21194         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
21196 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21198         * malloc/arena.c (__malloc_fork_lock_parent)
21199         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
21200         internal_function attribute.
21202 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
21204         * stdio-common/printf_fp.c (__printf_fp_l):
21205         Rename ___printf_fp_l to __printf_fp_l and
21206         remove strong alias. Use libc_hidden_def instead
21207         of ldbl_hidden_def macro.
21209 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21211         Remove malloc hooks from fork handler.  They are no longer needed
21212         because malloc runs right before fork, and no malloc calls from
21213         other fork handlers are not possible anymore.
21214         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
21215         declarations.
21216         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
21217         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
21218         (atfork_recursive_cntr): Remove.
21219         (__malloc_fork_lock_parent): Do not override malloc hooks and
21220         thread_arena.
21221         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
21222         thread_arena.
21223         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
21224         thread_arena instead of save_arena.
21226 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21228         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
21229         (thread_atfork, thread_atfork_static): Remove.
21230         * sysdeps/mach/hurd/malloc-machine.h:
21231         (thread_atfork, thread_atfork_static): Remove.
21233 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21235         [BZ #19431]
21236         Run the malloc fork handler as late as possible to avoid deadlocks.
21237         * malloc/malloc-internal.h: New file.
21238         * malloc/malloc.c: Include it.
21239         * malloc/arena.c (ATFORK_MEM): Remove.
21240         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
21241         Update comment.
21242         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
21243         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
21244         Remove outdated comment.
21245         (ptmalloc_init): Do not call thread_atfork.  Remove
21246         thread_atfork_static.
21247         * malloc/tst-malloc-fork-deadlock.c: New file.
21248         * Makefile (tests): Add tst-malloc-fork-deadlock.
21249         (tst-malloc-fork-deadlock): Link against libpthread.
21250         * manual/memory.texi (Aligned Memory Blocks): Update safety
21251         annotation comments.
21252         * sysdeps/nptl/fork.c (__libc_fork): Call
21253         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
21254         __malloc_fork_unlock_child.
21255         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
21257 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21259         [BZ #19613]
21260         Remove union wait.
21261         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
21262         (w_stopsig, w_stopval): Remove.
21263         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
21264         stat_loc argument.
21265         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
21266         (__WAIT_STATUS_DEFN): Remove.
21267         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
21268         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
21269         (wait, wait3, wait4): Use int * for the stat_loc argument.
21270         * posix/wait.c (__wait): Likewise.
21271         * posix/wait3.c (__wait3): Likewise.
21272         * posix/wait4.c (__wait4): Likewise.
21273         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
21274         (__WAIT_STATUS_DEFN): Remove.
21275         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
21276         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
21277         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
21278         argument.
21279         * sysdeps/posix/wait.c (__libc_wait): Likewise.
21280         * sysdeps/posix/wait3.c (__wait3): Likewise.
21281         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
21282         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
21283         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
21284         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
21285         stat_loc argument.
21286         * manual/process.texi (BSD Wait Functions): Remove union wait.
21288 2016-04-13  Andreas Schwab  <schwab@suse.de>
21290         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
21291         (test-extras): Add tst-tlsalign-vars.
21292         * math/Makefile: Wrap long lines.
21293         (libm-vec-test-wrappers): Define.
21294         (test-extras): Add $(libm-vec-test-wrappers).
21295         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
21296         * nss/Makefile (extra-test-objs): Add nss_test1.os.
21297         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
21298         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
21299         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
21300         (extra-test-objs): Add corresponding objects.
21302 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
21304         [BZ #19928]
21305         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
21306         New.
21307         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
21308         times of shared cache size.
21309         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
21310         (VMOVNT): New.
21311         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
21312         (VMOVNT): Likewise.
21313         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
21314         (VMOVNT): Likewise.
21315         (VMOVU): Changed to movups for smaller code sizes.
21316         (VMOVA): Changed to movaps for smaller code sizes.
21317         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
21318         comments.
21319         (PREFETCH): New.
21320         (PREFETCH_SIZE): Likewise.
21321         (PREFETCHED_LOAD_SIZE): Likewise.
21322         (PREFETCH_ONE_SET): Likewise.
21323         Rewrite to use forward and backward loops, which move 4 vector
21324         registers at a time, to support overlapping addresses and use
21325         non temporal store if size is above the threshold and there is
21326         no overlap between destination and source.
21328 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
21330         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
21331         Include dl-vdso.
21332         * sysdeps/unix/sysv/linux/mips/Versions: Add
21333         __vdso_clock_gettime.
21334         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
21335         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
21336         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
21337         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
21338         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
21339         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
21340         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21341         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
21342         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
21344 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21346         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
21347         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
21348         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
21349         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
21350         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21351         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21354         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
21355         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
21356         syscalls generation.
21357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21358         [__NR_pwrite64] (__NR_write): Remove define.
21359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21360         [__NR_pwrite64] (__NR_write): Remove define.
21361         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
21362         Remove define.
21363         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
21364         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
21365         Remove define.
21366         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
21367         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
21368         Linux implementation as base.
21369         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21371         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
21372         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
21373         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
21374         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
21375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
21376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21377         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
21378         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
21379         syscall generation.
21380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21381         [__NR_pread64] (__NR_pread): Remove define.
21382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21383         [__NR_pread64] (__NR_pread): Likewise.
21384         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
21385         define.
21386         (__libc_pread): Use SYSCALL_LL macro on offset argument.
21387         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
21388         Remove define.
21389         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
21390         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
21391         Linux implementation as base.
21392         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21393         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
21394         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
21396         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
21397         definition.
21398         (__ALIGNMENT_COUNT): Likewise.
21399         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
21400         (__ALIGNMENT_COUNT): Likewise.
21401         (SYSCALL_LL): New define.
21402         (SYSCALL_LL64): Likewise.
21403         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
21404         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
21405         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
21406         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
21408         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21409         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
21410         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21411         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
21412         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21413         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
21415 2016-04-11  Florian Weimer  <fweimer@redhat.com>
21417         [BZ #19865]
21418         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
21419         original buffer before retry.
21421 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21423         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
21424         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
21425         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
21426         GLRO(dl_auxv) list.
21427         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
21428         including <ldsodefs.h>.
21429         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
21431 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
21433         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
21434         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
21435         $(CPPFLAGS).
21437 2016-04-09  Khem Raj  <raj.khem@gmail.com>
21439         [BZ #17950]
21440         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
21441         Add -mfpmath=387.
21443 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
21445         * sysdeps/i386/configure.ac: Change == to = when calling test.
21446         * sysdeps/x86_64/configure.ac: Likewise.
21447         * sysdeps/i386/configure: Regenerated.
21448         * sysdeps/x86_64/configure: Likewise.
21450 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
21452         [BZ #16137]
21453         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
21454         * benchtests/bench-strcoll.c (input_files): Likewise.
21455         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21456         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
21457         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
21459 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
21461         [BZ #19929]
21462         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
21463         [__USE_XOPEN2K8 && !__USE_GNU].
21464         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
21465         variable.
21467         [BZ #19925]
21468         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
21469         define if [!__USE_MISC && __USE_XOPEN2K].
21470         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
21471         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
21472         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
21473         Likewise.
21474         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
21475         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
21476         variable.
21477         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21479 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21481         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21482         (sysdep_routines): Add new strspn targets.
21483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21484         (__libc_ifunc_impl_list): Add strspn.
21485         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21486         New file.
21487         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
21488         Likewise.
21489         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
21490         Likewise.
21491         * sysdeps/powerpc/powerpc64/power8/strspn.S:
21492         Likewise.
21494 2016-04-07  Florian Weimer  <fweimer@redhat.com>
21496         * misc/hsearch_r.c: Include <limits.h>.
21498 2016-04-07  Florian Weimer  <fweimer@redhat.com>
21500         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
21502 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21504         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
21505         (MEMCPY_SYMBOL): New.
21506         (MEMPCPY_SYMBOL): Likewise.
21507         (MEMMOVE_CHK_SYMBOL): Likewise.
21508         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
21509         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
21510         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
21511         Provide alias for memcpy in libc.a and ld.so.
21513 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21515         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
21516         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
21517         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
21518         Disabled fro now.
21519         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
21520         symbols.  Properly check USE_MULTIARCH on __memset symbols.
21522 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21524         * benchtests/Makefile (string-benchset): Add memcpy-large,
21525         memmove-large and memset-large.
21526         * benchtests/bench-memcpy-large.c: New file.
21527         * benchtests/bench-memmove-large.c: Likewise.
21528         * benchtests/bench-memmove-large.c: Likewise.
21529         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
21531 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
21533         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
21534         32-bit displacement to avoid long nop between instructions.
21536 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
21538         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
21539         a comment on VMOVU and VMOVA.
21541 2016-04-04  Florian Weimer  <fweimer@redhat.com>
21543         [BZ #19633]
21544         Use specified locale for number formatting in strfmon_l.
21545         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
21546         (__nl_lookup_word): New inline functions.
21547         * include/printf.h (__print_fp_l): Declare.
21548         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
21549         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
21550         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
21551         (___printf_fp): New function.
21552         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
21553         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
21554         * stdlib/tst-strfmon_l.c (do_test): New test.
21555         * stdlib/Makefile (tests): Add kt.
21556         (LOCALES): Build additional locales.
21557         (tst-strfmon_l.out): Require locales.
21559 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
21561         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
21562         if not in libc.
21563         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21564         Likewise.
21565         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
21566         Likewise.
21567         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21568         Likewise.
21570 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
21572         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21573         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
21574         with unaligned_erms.
21575         (__memmove_erms): Skip if source == destination.
21576         (__memmove_unaligned_erms): Don't check source == destination
21577         first.
21579 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21581         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
21582         bit_arch_Fast_Copy_Backward for Intel Core proessors.
21584 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21586         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
21587         * string/strspn.c (strspn): Likewise.
21589 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21591         * benchtests/bench-memset.c (do_test): Support 64-byte
21592         alignment.
21593         (test_main): Test 64-byte alignment.
21595 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21597         * benchtests/bench-memmove.c (test_main): Test 64-byte
21598         alignment.
21600 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21602         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
21604 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21606         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
21607         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
21608         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
21610         * string/strpbrk.c (strpbrk): Rewrite function.
21611         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
21612         (__strpbrk_c2): Likewise.
21613         (__strpbrk_c3): Likewise.
21614         * string/string-inlines.c
21615         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
21616         Likewise.
21617         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
21618         Likewise.
21620         * string/strspn.c (strcspn): Rewrite function.
21621         * string/bits/string2.h (strspn): Use __builtin_strcspn.
21622         (__strspn_c1): Remove inline function.
21623         (__strspn_c2): Likewise.
21624         (__strspn_c3): Likewise.
21625         * string/string-inlines.c
21626         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
21627         compatibility symbol.
21628         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
21629         Likewise.
21630         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
21631         Likewise.
21632         * string/string-inlines.c: Include generic version.
21634 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
21635             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21637         * string/Version (libc): Add GLIBC_2.24.
21638         * string/strcspn.c (strcspn): Rewrite function.
21639         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
21640         (__strcspn_c1): Remove inline function.
21641         (__strcspn_c2): Likewise.
21642         (__strcspn_c3): Likewise.
21643         * string/string-inline.c
21644         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
21645         compatibility symbol.
21646         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
21647         Likewise.
21648         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
21649         Likewise.
21650         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
21652 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21654         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21655         Use ahi instead of aghi to adjust stack pointer.
21657 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21659         [BZ #19853]
21660         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
21661         TEST to take significant digits as second parameter.
21662         [TEST]: Redefine in terms of TEST_N taking 30
21663         significant digits.
21664         (do_test): Add test case to demonstrate precision
21665         failure in the ldbl-128ibm printf.
21666         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
21667         (__mpn_extract_long_double): Carry 7 extra intermediate
21668         bits of precision to aide computing difference when
21669         signs differ.
21671 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21673         [BZ #19881]
21674         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21675         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
21676         memset-avx512-unaligned-erms.
21677         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21678         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
21679         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
21680         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
21681         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
21682         __memset_sse2_unaligned_erms, __memset_erms,
21683         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
21684         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
21685         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
21686         file.
21687         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21688         Likewise.
21689         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
21690         Likewise.
21691         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
21692         Likewise.
21694 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21696         [BZ #19776]
21697         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21698         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
21699         memmove-avx512-unaligned-erms.
21700         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21701         (__libc_ifunc_impl_list): Test
21702         __memmove_chk_avx512_unaligned_2,
21703         __memmove_chk_avx512_unaligned_erms,
21704         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
21705         __memmove_chk_sse2_unaligned_2,
21706         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
21707         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
21708         __memmove_avx512_unaligned_erms, __memmove_erms,
21709         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
21710         __memcpy_chk_avx512_unaligned_2,
21711         __memcpy_chk_avx512_unaligned_erms,
21712         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
21713         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
21714         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
21715         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
21716         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
21717         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
21718         __mempcpy_chk_avx512_unaligned_erms,
21719         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
21720         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
21721         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
21722         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
21723         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
21724         __mempcpy_erms.
21725         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
21726         file.
21727         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21728         Likewise.
21729         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
21730         Likewise.
21731         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21732         Likewise.
21734 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21736         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
21737         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
21738         (La_s390_64_regs): Likewise.
21739         (La_s390_32_retval): Append vector register lrv_v24.
21740         (La_s390_64_retval): Likeweise.
21741         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
21742         Handle extended structs La_s390_32_regs and La_s390_32_retval.
21743         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
21744         Handle extended structs La_s390_64_regs and La_s390_64_retval.
21746 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21748         [BZ #19916]
21749         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
21750         to create a non-vector/vector version for _dl_runtime_resolve and
21751         _dl_runtime_profile. Move implementation to ...
21752         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
21753         (_dl_runtime_resolve) Save and restore fpr/vrs.
21754         (_dl_runtime_profile) Save and restore vrs and fix some issues
21755         if _dl_call_pltexit is called.
21756         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
21757         Choose the correct resolver function if running on a machine with vx.
21758         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
21759         to create a non-vector/vector version for _dl_runtime_resolve and
21760         _dl_runtime_profile. Move implementation to ...
21761         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
21762         (_dl_runtime_resolve) Save and restore fpr/vrs.
21763         (_dl_runtime_profile) Save and restore vrs and fix some issues
21764         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
21765         Choose the correct resolver function if running on a machine with vx.
21767 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21769         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
21771 2016-03-31  Florian Weimer  <fweimer@redhat.com>
21773         [BZ #19509]
21774         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
21775         skip_map != NULL.
21776         * elf/tst-dlsym-error.c: New file.
21777         * elf/Makefile (tests): Add tst-dlsym-error.
21778         (tst-dlsym-error): Link against libdl.
21780 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
21782         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21783         (__ASSUME_FUTIMESAT): Remove macro.
21784         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
21786 2016-03-29  Florian Weimer  <fweimer@redhat.com>
21788         [BZ #19879]
21789         CVE-2016-3075
21790         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
21791         copy name.
21793 2016-03-29  Florian Weimer  <fweimer@redhat.com>
21795         [BZ #19837]
21796         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
21797         error if parse_line fails.
21799 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21801         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
21802         (index_cpu_ERMS): Likewise.
21803         (reg_ERMS): Likewise.
21805 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
21807         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
21808         PER_LINUX_FDPIC): Add.
21810 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21812         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21813         memcpy-avx512-no-vzeroupper.
21814         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
21815         to ...
21816         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
21817         (MEMCPY): Don't define.
21818         (MEMCPY_CHK): Likewise.
21819         (MEMPCPY): Likewise.
21820         (MEMPCPY_CHK): Likewise.
21821         (MEMPCPY_CHK): Renamed to ...
21822         (__mempcpy_chk_avx512_no_vzeroupper): This.
21823         (MEMPCPY_CHK): Renamed to ...
21824         (__mempcpy_chk_avx512_no_vzeroupper): This.
21825         (MEMCPY_CHK): Renamed to ...
21826         (__memmove_chk_avx512_no_vzeroupper): This.
21827         (MEMCPY): Renamed to ...
21828         (__memmove_avx512_no_vzeroupper): This.
21829         (__memcpy_avx512_no_vzeroupper): New alias.
21830         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
21832 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21834         [BZ #18858]
21835         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21836         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
21837         and mempcpy-avx512-no-vzeroupper.
21838         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
21839         New.
21840         (MEMPCPY): Likewise.
21841         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
21842         (MEMPCPY_CHK): New.
21843         (MEMPCPY): Likewise.
21844         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
21845         (MEMPCPY): Likewise.
21846         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
21847         (MEMPCPY): Likewise.
21848         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
21849         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
21850         Likewise.
21851         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
21852         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
21854 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21855              Amit Pawar  <Amit.Pawar@amd.com>
21857         [BZ #19583]
21858         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21859         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
21860         processors.  Set Fast_Copy_Backward for AMD Excavator
21861         processors.
21862         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
21863         New.
21864         (index_arch_Fast_Unaligned_Copy): Likewise.
21865         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
21866         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
21868 2016-03-25  Florian Weimer  <fweimer@redhat.com>
21870         [BZ #19791]
21871         * resolv/res_send.c (close_and_return_error): New function.
21872         (send_dg): Initialize *resplen2 after reopen failure.  Call
21873         close_and_return_error for error returns.  On error paths without
21874         __res_iclose, initialze *resplen2 explicitly.  Update comment for
21875         successful return.
21877 2016-03-25  Florian Weimer  <fweimer@redhat.com>
21879         [BZ #19860]
21880         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
21881         zero if the compiler does not provide the AVX512F bit.
21883 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
21885         [BZ #19848]
21886         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
21887         from 8 to 4.
21888         (__ieee754_powl): Compare integer exponent against 4 not 8.
21889         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
21890         from 8 to 4.
21891         (__ieee754_powl): Compare integer exponent against 4 not 8.
21892         * math/auto-libm-test-in: Add more tests of pow.
21893         * math/auto-libm-test-out: Regenerated.
21894         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
21895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21897 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
21899         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
21900         Make code unconditional.
21901         [!__NR_utimensat]: Remove conditional code.
21902         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
21903         Make code unconditional.
21904         [!__NR_utimensat]: Remove conditional code.
21905         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
21906         Make code unconditional.
21907         [!__NR_utimensat]: Remove conditional code.
21909 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
21911         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
21912         Make code unconditional.
21914 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
21916         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
21917         call-clobbered %eax on retry path.
21918         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
21920 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21922         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
21923         Don't set %rcx twice before "rep movsb".
21925 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21927         [BZ #19583]
21928         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
21929         inline.  Check family before setting family, model and
21930         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
21931         bits here.
21932         (init_cpu_features): Replace HAS_CPU_FEATURE and
21933         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
21934         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
21935         for Intel processors with usable AVX2.  Call get_common_indeces
21936         for other processors with family == NULL.
21937         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
21938         (CPU_FEATURES_ARCH_P): Likewise.
21939         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
21940         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
21942 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21944         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
21945         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
21946         $(shared-thread-library) instead of hardcoding the path to libpthread.
21948 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
21950         * sysdeps/unix/sysv/linux/kernel-features.h
21951         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
21952         * sysdeps/unix/sysv/linux/getdents.c
21953         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
21954         [!have_no_getdents64_defined]: Likewise.
21955         (__GETDENTS): Remove __have_no_getdents64 conditional.
21957 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
21959         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
21960         Remove macro.
21961         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
21962         <kernel-features.h>.
21963         (signalfd) [__NR_signalfd4]: Make code unconditional.
21964         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
21966 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21968         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
21969         style.
21971 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21973         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
21974         (__pthread_enable_asynccancel): Use JUMPTARGET to call
21975         __pthread_unwind.
21976         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21977         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
21978         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21979         (__condvar_cleanup1): Likewise.
21981 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
21983         [BZ #19822]
21984         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
21985         move it to the final $@ location.
21987 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21989         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
21990         access where posix_spawn success and pid argument is null.
21991         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
21992         success case.
21994 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
21996         * sysdeps/mach/hurd/i386/c++-types.data: New file.
21998         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
22000         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
22001         and __fcntl.
22002         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
22003         __fcntl only.
22004         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
22005         adding attribute_hidden to __open and __fcntl.
22007         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
22008         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
22009         depend on libc-modules.h,
22010         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
22012 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
22014         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
22015         Remove macro.
22016         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
22017         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
22018         entry.
22020         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
22021         Remove macro.
22022         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
22023         include <kernel-features.h>.
22024         [!__ASSUME_FALLOCATE]: Remove conditional code.
22025         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
22027 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22029         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
22030         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
22031         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
22032         (_ZGVdN4v_cos_avx2): Likewise.
22033         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
22034         (_ZGVdN4v_cos): Likewise.
22035         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
22036         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
22037         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
22038         (_ZGVdN4v_exp_avx2): Likewise.
22039         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
22040         (_ZGVdN4v_exp): Likewise.
22041         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
22042         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
22043         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
22044         (_ZGVdN4v_log_avx2): Likewise.
22045         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
22046         (_ZGVdN4v_log): Likewise.
22047         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
22048         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
22049         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
22050         (_ZGVdN4vv_pow_avx2): Likewise.
22051         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
22052         (_ZGVdN4vv_pow): Likewise.
22053         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
22054         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
22055         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
22056         (_ZGVdN4v_sin_avx2): Likewise.
22057         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
22058         (_ZGVdN4v_sin): Likewise.
22059         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
22060         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
22061         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
22062         (_ZGVdN4vvv_sincos_avx2): Likewise.
22063         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
22064         (_ZGVdN4vvv_sincos): Likewise.
22065         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
22066         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
22067         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
22068         (_ZGVbN4v_cosf_sse4): Likewise.
22069         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
22070         (_ZGVdN8v_cosf_avx2): Likewise.
22071         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
22072         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
22073         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
22074         (_ZGVbN4v_expf_sse4): Likewise.
22075         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
22076         (_ZGVdN8v_expf_avx2): Likewise.
22077         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
22078         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
22079         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
22080         (_ZGVbN4v_logf_sse4): Likewise.
22081         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
22082         (_ZGVdN8v_logf_avx2): Likewise.
22083         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
22084         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
22085         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
22086         (_ZGVbN4vv_powf_sse4): Likewise.
22087         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
22088         (_ZGVdN8vv_powf_avx2): Likewise.
22089         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22090         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
22091         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22092         (_ZGVbN4vvv_sincosf_sse4): Likewise.
22093         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22094         (_ZGVdN8vvv_sincosf_avx2): Likewise.
22095         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
22096         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
22097         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
22098         (_ZGVbN4v_sinf_sse4): Likewise.
22099         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
22100         (_ZGVdN8v_sinf_avx2): Likewise.
22101         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
22102         Use JUMPTARGET to call callee.
22103         (WRAPPER_IMPL_SSE2_ff): Likewise.
22104         (WRAPPER_IMPL_SSE2_fFF): Likewise.
22105         (WRAPPER_IMPL_AVX): Likewise.
22106         (WRAPPER_IMPL_AVX_ff): Likewise.
22107         (WRAPPER_IMPL_AVX_fFF): Likewise.
22108         (WRAPPER_IMPL_AVX512): Likewise.
22109         (WRAPPER_IMPL_AVX512_ff): Likewise.
22110         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
22111         Likewise.
22112         (WRAPPER_IMPL_SSE2_ff): Likewise.
22113         (WRAPPER_IMPL_SSE2_fFF): Likewise.
22114         (WRAPPER_IMPL_AVX): Likewise.
22115         (WRAPPER_IMPL_AVX_ff): Likewise.
22116         (WRAPPER_IMPL_AVX_fFF): Likewise.
22117         (WRAPPER_IMPL_AVX512): Likewise.
22118         (WRAPPER_IMPL_AVX512_ff): Likewise.
22119         (WRAPPER_IMPL_AVX512_fFF): Likewise.
22121 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22123         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
22124         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
22125         qualifier.
22126         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
22127         internal_function qualifiers.
22129 2016-03-15  Carlos O'Donell <carlos@redhat.com>
22131         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
22132         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
22133         * math/atest-exp.c (exp_mpn): Mark chk unused.
22134         * math/atest-exp2.c (exp_mpn): Likewise.
22135         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
22136         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
22138 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
22140         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
22141         Remove macro.
22142         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
22143         <kernel-features.h>.
22144         [__NR_ppoll]: Make code unconditional.
22145         [!__ASSUME_PPOLL]: Remove conditional code.
22147         * sysdeps/unix/sysv/linux/kernel-features.h
22148         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
22149         (__ASSUME_ACCEPT4): Likewise.
22150         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22151         Define.
22152         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
22153         Likewise.
22154         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22155         Likewise.
22156         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
22157         Likewise.
22158         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
22159         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
22160         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22161         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22162         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22163         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22164         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22165         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22166         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22167         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22168         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22169         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22170         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22171         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22172         * sysdeps/unix/sysv/linux/i386/kernel-features.h
22173         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22174         Likewise.
22175         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22176         Likewise.
22177         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22178         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22179         0x040300].
22180         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22181         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22182         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22183         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22184         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
22185         0x030300].
22186         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
22187         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22188         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22189         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22190         0x040300].
22191         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22192         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22193         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22194         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22195         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22196         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22197         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
22198         0x030300].
22199         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22200         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22201         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22202         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22203         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22204         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22205         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22206         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22207         * sysdeps/unix/sysv/linux/s390/kernel-features.h
22208         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22209         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22210         0x040300].
22211         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22212         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22213         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22214         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22215         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22216         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22217         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
22218         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22219         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22220         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22221         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22222         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22223         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22224         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22225         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
22226         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22227         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22228         Likewise.
22229         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22230         Likewise.
22232 2016-03-15  Andreas Schwab  <schwab@suse.de>
22234         [BZ #19257]
22235         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
22236         statp->_u._ext.nscount as loop count.
22238 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22240         * math/test-signgam-finite-c99.c: Also #undef
22241         __LIBC_INTERNAL_MATH_INLINES.
22242         * math/test-signgam-main.c: Likewise.
22244 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
22246         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
22247         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22248         (MADV_FREE): Likewise.
22249         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
22250         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
22251         EPOLLEXCLUSIVE.
22253 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
22255         * timezone/README: Remove mention of checktab.awk. Mention wiki
22256         SharedSourceFiles.
22258 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
22260         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
22261         WUNTRACED.
22263 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22265         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
22266         order to match the type of p when calling atomic_exchange_acq().
22268 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22270         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
22271         cfi_offset calls.
22272         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
22273         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
22274         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
22275         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
22276         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
22278 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
22280         * timezone/checktab.awk: Removed.
22282 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
22284         * manual/math.texi (Errors in Math Functions): Document relaxed
22285         accuracy goals for IBM long double.
22286         * math/libm-test.inc (test_exceptions): Always allow spurious
22287         "underflow" and "inexact" exceptions for IBM long double.
22289 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
22291         [BZ #19762]
22292         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22293         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
22294         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
22295         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
22296         (bit_arch_*): This for feature array.
22297         (bit_*): Renamed to ...
22298         (bit_cpu_*): This for cpu array.
22299         (index_*): Renamed to ...
22300         (index_arch_*): This for feature array.
22301         (index_*): Renamed to ...
22302         (index_cpu_*): This for cpu array.
22303         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
22304         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
22305         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
22306         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
22307         bit_##name with index_cpu_##name and bit_cpu_##name.
22308         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
22309         bit_##name with index_arch_##name and bit_arch_##name.
22311 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
22313         [BZ #19792]
22314         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
22315         Terminate FDE before return label.
22317 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
22319         [BZ #19790]
22320         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
22321         (rintl): Define as macro.
22322         [USE_AS_NEARBYINTL] (__rintl): Likewise.
22323         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
22324         of fesetround.  Ensure results are evaluated before end of scope.
22325         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
22326         USE_AS_NEARBYINTL and include s_rintl.c.
22327         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
22328         Disable exception traps in new environment.
22329         (libc_feholdsetround_ppc_ctx): Likewise.
22331 2016-03-08  Roland McGrath  <roland@hack.frob.com>
22333         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
22334         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
22335         (tst_audit10_aux) [__AVX512F__]: ... here.
22337 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
22339         * include/sys/auxv.h: New file.
22341 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
22343         [BZ #19759]
22344         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
22346 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22348         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
22349         operand modifier.
22350         (feclearexcept): Likewise.
22352 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22354         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
22355         to reflect the entire 32-bit HWCAP.
22356         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
22357         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
22359 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
22361         [BZ #19783]
22362         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
22363         $(test-via-rtld-prefix).
22364         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
22366 2016-03-08  Florian Weimer  <fweimer@redhat.com>
22368         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
22369         union wait.  Report any non-zero exit status as error.
22371 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22373         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
22374         configured with --enable-hardcoded-path-in-tests.
22376 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
22378         [BZ #19677]
22379         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22380         (__ieee754_remainderl): Put zero low parts in canonical form.
22381         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
22382         file.  Based on
22383         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
22384         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
22385         with wrapper round test-fmodrem-ldbl-128ibm.c.
22386         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
22387         file.
22388         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
22389         Likewise.
22390         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
22391         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
22393 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22395         [BZ #19610]
22396         * elf/ldconfig.c (opt_link): Update comment.
22397         (options): Update help string for option -X.
22398         (search_dir): Unlink stale symbolic link only if updating symbolic
22399         links.
22400         * elf/tst-ldconfig-X.sh: New file.
22401         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
22402         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
22404 2016-03-07  Andreas Schwab  <schwab@suse.de>
22406         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
22407         needed arguments.
22409 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
22411         [BZ #15333]
22412         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
22413         to lstat64.
22415 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22417         * libio/filedoalloc.c (isatty): Remove.
22418         (local_isatty): Add comment.  Call __isatty directly.
22419         (_IO_file_doallocate): Update comment.  Assume _LIBC.
22420         * libio/wfiledoalloc.c (isatty): Remove.
22421         (_IO_wfile_doallocate): Update comment.
22423 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22425         [BZ #19269]
22426         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
22427         tst-audit4-aux.o.
22428         (tst-audit10): Depend on tst-audit10-aux.o.
22429         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
22430         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
22431         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
22432         instead of inline AVX code.
22433         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
22434         instead of inline AVX512 code.
22435         * sysdeps/x86_64/tst-audit4-aux.c: New file
22436         * sysdeps/x86_64/tst-audit10-aux.c: New file
22438         [BZ #19648]
22439         * test-skeleton.c (main): Do not set RLIMIT_DATA.
22441 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22443         [BZ #14750]
22444         [BZ #10354]
22445         [BZ #18433]
22446         * include/sched.h (__clone): Add hidden prototype.
22447         (__clone2): Likewise.
22448         * include/unistd.h (__dup): Likewise.
22449         * posix/Makefile (tests): Add tst-spawn2.
22450         * posix/tst-spawn2.c: New file.
22451         * sysdeps/posix/dup.c (__dup): Add hidden definition.
22452         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
22453         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22454         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22455         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22456         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22457         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
22458         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22459         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
22460         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22461         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22463         Likewise.
22464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22465         Likewise.
22466         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22467         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22468         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22469         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22470         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22471         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22472         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22473         * sysdeps/unix/sysv/linux/nptl-signals.h
22474         (____nptl_is_internal_signal): New function.
22475         * sysdeps/unix/sysv/linux/spawni.c: New file.
22477         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
22478         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
22479         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
22480         * posix/tst-execvp2.c (do_test): Likewise.
22481         * posix/tst-execvp3.c (do_test): Likewise.
22482         * posix/tst-execvp4.c (do_test): Likewise.
22483         * posix/tst-execvpe1.c: New file.
22484         * posix/tst-execvpe2.c: Likewise.
22485         * posix/tst-execvpe3.c: Likewise.
22486         * posix/tst-execvpe4.c: Likewise.
22487         * posix/tst-execvpe5.c: Likewise.
22488         * posix/tst-execvpe6.c: Likewise.
22490         [BZ #19534]
22491         * posix/execl.c (execl): Remove dynamic memory allocation.
22492         * posix/execle.c (execle): Likewise.
22493         * posix/execlp.c (execlp): Likewise.
22495 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22497         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
22498         Replace .text with .text.avx512.
22499         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
22500         Likewise.
22502 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
22504         * sysdeps/generic/libnsl.abilist: New file.
22505         * sysdeps/generic/libutil.abilist: New file.
22507 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22509         [BZ #19762]
22510         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
22511         HAS_ARCH_FEATURE with Fast_Rep_String.
22512         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
22513         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
22514         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
22515         Likewise.
22516         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
22517         Likewise.
22518         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
22519         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
22520         Likewise.
22521         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
22522         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
22523         Likewise.
22525 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22527         [BZ #19745]
22528         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
22529         with *%rax in call.
22531 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22533         [BZ #19745]
22534         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
22535         with *__libc_start_main@GOTPCREL(%rip) in call.
22537 2016-03-04  Roland McGrath  <roland@hack.frob.com>
22539         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
22540         inside conditional for nonempty $(CXX).
22542         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
22543         nonempty.
22545         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
22546         to test for empty $(CXX) rather than $(CXX) of "no".
22548 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22550         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
22552 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
22553             H.J. Lu  <hongjiu.lu@intel.com>
22555         [BZ #18880]
22556         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
22557         instead of Slow_BSF, and also check for Fast_Copy_Backward to
22558         enable __memcpy_ssse3_back.
22560 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
22562         [BZ #19758]
22563         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22564         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
22566 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
22568         [BZ #19490]
22569         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
22570         (__fentry__): Likewise.
22572 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
22574         * gmon/Makefile (noprof): Add $(sysdep_noprof).
22575         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
22577 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
22579         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
22580         __mcount_internal directly.
22581         (C_LABEL(__fentry__)): Likewise.
22582         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
22583         directly.
22585 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
22587         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22588         (__start_context): Call __setcontext directly.
22590 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
22592         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22593         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22594         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
22595         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22596         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22597         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22598         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
22599         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22600         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22601         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
22602         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22603         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22604         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22605         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22606         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22607         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22608         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
22609         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22610         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22611         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22612         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
22613         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22614         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22615         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22616         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
22617         Remove conditional code.
22618         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22619         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
22620         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22621         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22622         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
22623         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22624         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22625         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
22626         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22627         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22628         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22629         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22631 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
22633         * NEWS (2.23): Fix typo in bug 19048 text.
22635 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
22637         [BZ #14259]
22638         * Makeconfig: Rename msgcatdir to localedir.
22639         Rename inst_msgcatdir to inst_localedir.
22640         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
22641         * config.make.in: Add localedir.
22642         * elf/Makefile ($(objpfx)sotruss): Use localedir.
22643         (ldd-rewrite): Likewise.
22644         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
22645         (install-others): Use inst_localedir.
22646         (CPPFLAGS): Use localedir.
22647         * locale/Makefile (locale-CPPFLAGS): Likewise.
22648         * po/Makefile (mo-installed): Use inst_localedir.
22650         [BZ #19575]
22651         * localedata/charmaps/GB18030: Update comments regarding PAU to
22652         non-PUA mappings.
22654 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
22656         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
22657         test for header.
22658         * sysdeps/unix/sysv/linux/configure: Regenerated.
22659         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
22660         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
22661         Remove conditional code.
22662         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
22664         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22665         Define to 3.2.0.
22666         (arch_minimum_kernel): Likewise.
22667         * sysdeps/unix/sysv/linux/configure: Regenerated.
22668         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
22669         Define to 2.6.32.
22670         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
22671         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
22672         (arch_minimum_kernel): Define to 2.6.32.
22673         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
22674         * README: Document Linux 3.2 requirement.
22675         * manual/install.texi (Linux): Document Linux 3.2 headers
22676         requirement.
22677         * INSTALL: Regenerated.
22679 2016-02-24  Andreas Schwab  <schwab@suse.de>
22681         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
22682         if !NO_LONG_DOUBLE.
22684 2016-02-22  Roland McGrath  <roland@hack.frob.com>
22686         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
22687         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
22689 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
22691         [BZ #19512]
22692         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
22694 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
22696         * posix/tst-dir.c: Include libc-internal.h.
22698 2016-02-20  Florian Weimer  <fweimer@redhat.com>
22700         [BZ #19056]
22701         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
22702         * manual/filesys.texi (Reading/Closing Directory): Mention
22703         deprecaion.
22704         * posix/tst-dir.c (main): Disable deprecation warning in test.
22706 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
22708         [BZ #19679]
22709         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
22710         Renamed to ...
22711         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
22712         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22713         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
22714         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22715         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22716         * sysdeps/x86_64/dl-trampoline.h
22717         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22718         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22720 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22722         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
22724 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22726         * elf/elf.h (R_386_GOT32X): New.
22727         (R_386_NUM): Update.
22728         (R_X86_64_GOTPCRELX: New.
22729         (R_X86_64_REX_GOTPCRELX): New.
22730         (R_X86_64_NUM): Update.
22732 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
22734         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
22736 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
22738         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
22739         assign attr->stackaddr to it, and adjust it down when
22740         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
22741         [_STACK_GROWS_UP]: Delete assert.
22742         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
22743         Implement stack grows up logic.
22744         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
22745         stack grows up logic.
22747 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22749         * NEWS: Update with 2.24 template.
22751 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22753         [BZ #19678]
22754         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22755         Ensure +0.0 is returned when taking the next value below the least
22756         positive value.
22758 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22760         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
22761         available.  Do not define NO_THREADS.
22762         * malloc/malloc.c: Do not check NO_THREADS.
22763         * malloc/arena.c: Likewise.
22765 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22767         * malloc/malloc.c (__libc_mallinfo): Update comment.
22768         (struct malloc_par): Remove max_total_mem member, it was always 0.
22769         (int_mallinfo): Store 0 into usmblks (no functional change).
22770         * malloc/hooks.c (struct malloc_state): Document that
22771         max_total_mem is always 0.
22772         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
22773         always 0.
22774         * manual/memory.texi (Statistics of Malloc): Likewise.
22776 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22778         * malloc/malloc.c (sysmalloc): Do not update arena_max.
22779         * malloc/arena.c (arena_max): Remove.
22780         (heap_trim, _int_new_arena): Do not update arena_max.
22782 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22784         * resolv/res_init.c (res_ninit): Update comment.
22786 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22788         [BZ #19505]
22789         * posix/spawn_int.h: Add headers and include guard.
22790         (__spawn_valid_fd): New function.
22791         * posix/spawn_faction_addopen.c
22792         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
22793         * posix/spawn_faction_addclose.c
22794         (posix_spawn_file_actions_addclose): Likewise.
22795         * posix/spawn_faction_adddup2.c
22796         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
22797         second file descriptor.
22798         * posix/spawn_valid_fd.c: New file.
22799         * posix/tst-posix_spawn-fd.c: New file.
22800         * posix/Makefile (routines): Add spawn_valid_fd.
22801         (tests): Add tst-posix_spawn-fd.
22803 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22805         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
22806         (do_test): Limit the number of arenas, so that we can use fewer
22807         outer threads.  Limit timeout to 3 seconds, in preparation for a
22808         larger TIMEOUT value.
22810 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22812         [BZ #19674]
22813         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
22814         sign in overflowing and underflowing results when overflow or
22815         underflow is detected early.  Include sign in result before rather
22816         than after scaling.
22818         [BZ #19603]
22819         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22820         (__ieee754_remainderl): Adjust sign of integer version of low part
22821         when taking absolute value of high part.
22822         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22823         * math/libm-test.inc (remainder_test_data): Add another test.
22824         (remquo_test_data): Likewise.
22826 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
22828         [BZ #19602]
22829         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
22830         equal high parts and both low parts zero specially.
22831         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
22832         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
22833         Add test-fmodl-ldbl-128ibm.
22835         [BZ #19595]
22836         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
22837         common logic for all cases of shifting subnormal results.  Do not
22838         insert sign bit in shifted mantissa.  Always pass -1023 as biased
22839         exponent to ldbl_insert_mantissa in subnormal case.
22841         [BZ #19594]
22842         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
22843         on high and low parts then adjust result and use
22844         ldbl_canonicalize_int if needed.
22846         [BZ #19593]
22847         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
22848         on high part and __floor or __ceil on low part then use
22849         ldbl_canonicalize_int if needed.
22851         [BZ #19592]
22852         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
22853         high and low parts then use ldbl_canonicalize_int if needed.
22855         [BZ #17899]
22856         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
22857         New function.
22858         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
22859         on high and low parts then use ldbl_canonicalize_int if needed.
22861 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22863         * configure: Regenerated.
22865         * po/libc.pot: Regenerated.
22867         * po/be.po: Updated translation.
22868         * po/bg.po: Likewise.
22869         * po/ca.po: Likewise.
22870         * po/cs.po: Likewise.
22871         * po/da.po: Likewise.
22872         * po/el.po: Likewise.
22873         * po/eo.po: Likewise.
22874         * po/es.po: Likewise.
22875         * po/fi.po: Likewise.
22876         * po/fr.po: Likewise.
22877         * po/gl.po: Likewise.
22878         * po/hr.po: Likewise.
22879         * po/hu.po: Likewise.
22880         * po/ia.po: Likewise.
22881         * po/id.po: Likewise.
22882         * po/it.po: Likewise.
22883         * po/ja.po: Likewise.
22884         * po/lt.po: Likewise.
22885         * po/nb.po: Likewise.
22886         * po/nl.po: Likewise.
22887         * po/pt_BR.po: Likewise.
22888         * po/rw.po: Likewise.
22889         * po/sk.po: Likewise.
22890         * po/sl.po: Likewise.
22891         * po/sv.po: Likewise.
22892         * po/tr.po: Likewise.
22893         * po/zh_CN.po: Likewise.
22894         * po/zh_TW.po: Likewise.
22896         * version.h (RELEAES): Set to "development".
22897         (VERSION): Set to 2.23.90.
22899         * version.h (RELEASE): Set to "stable".
22900         (VERSION): Set to 2.23.
22901         * include/feature.h (__GLIBC_MINOR__): Set to 23.
22903         * NEWS: Updated fixed bugs.
22905 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
22906             Wilco Dijkstra  <wdijkstr@arm.com>
22908         [BZ #19462]
22909         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
22910         (_STRING_INLINE_unaligned): This.
22911         * include/string.h: Include <string_private.h>.
22912         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
22913         _STRING_INLINE_unaligned.
22914         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
22915         (_STRING_INLINE_unaligned): New.
22916         * sysdeps/aarch64/string_private.h: New file.
22917         * sysdeps/generic/string_private.h: Likewise.
22918         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
22919         * sysdeps/s390/string_private.h: Likewise.
22920         * sysdeps/x86/string_private.h: Likewise.
22921         * sysdeps/m68k/m680x0/m68020/bits/string.h
22922         (_STRING_ARCH_unaligned): Renamed to ...
22923         (_STRING_INLINE_unaligned): This.
22924         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
22925         to ...
22926         (_STRING_INLINE_unaligned): This.
22927         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
22928         to ...
22929         (_STRING_INLINE_unaligned): This.
22930         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
22931         to ...
22932         (_STRING_INLINE_unaligned): This.
22934 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22935             H.J. Lu  <hongjiu.lu@intel.com>
22937         [BZ #19590]
22938         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
22939         relocation.
22941 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
22943         [BZ #18665]
22944         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
22945         *herrno_p.
22946         (gaih_getanswer): Document functional behviour. Return tryagain
22947         if any result is tryagain.
22948         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
22949         when freed.
22950         * resolv/res_send.c: Add copyright text.
22951         (__libc_res_nsend): Document that MAXPACKET is expected.
22952         (send_vc): Document. Remove buffer reuse.
22953         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
22954         size of the buffer. Add Dprint for truncated UDP buffer.
22956 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
22958         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
22959         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
22960         * INSTALL: Regenerate.
22962 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
22963             Jonathan Wakely  <jwakely@redhat.com>
22964             Carlos O'Donell  <carlos@redhat.com>
22966         [BZ 19439]
22967         * math/Makefile (tests): Add test-math-isinff.
22968         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
22969         * math/bits/mathcalls.h [__USE_MISC]: Use
22970         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
22971         functions not in C++11 and which don't conflict e.g. isinff,
22972         isinfl etc.
22973         * math/test-math-isinff.cc: New file.
22975 2016-02-12  Florian Weimer  <fweimer@redhat.com>
22977         * misc/bug18240.c (do_test): Set RLIMIT_AS.
22979 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22981         [BZ #19529]
22982         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
22984 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22986         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22988 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
22990         [BZ #19550]
22991         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
22992         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
22993         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
22994         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
22995         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
22996         New syscall entry.
22997         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
22998         New syscall entry.
22999         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
23000         syscall entry.
23002 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
23004         [BZ #18240]
23005         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
23006         unsigned int wraparound.
23008 2016-01-27  Florian Weimer  <fweimer@redhat.com>
23010         [BZ #18240]
23011         * misc/bug18240.c: New test.
23012         * misc/Makefile (tests): Add it.
23014 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
23015             Joseph Myers  <joseph@codesourcery.com>
23017         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
23018         load in branch delay slot when less than a word of input left.
23020 2016-01-27  Andreas Schwab  <schwab@suse.de>
23022         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
23023         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
23024         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
23025         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
23027 2016-01-26  David S. Miller  <davem@davemloft.net>
23029         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
23031 2016-01-25  David S. Miller  <davem@davemloft.net>
23033         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
23034         __sqrtl_finite.
23035         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
23036         instead using versioned_symbol.
23037         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
23038         of entries.
23040         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
23041         __sqrtl_finite to GLIBC_2.23
23043 2016-01-25  Ricchard Henderson  <rth@redhat.com>
23045         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23047 2016-01-25  Andreas Schwab  <schwab@suse.de>
23049         [BZ #17514]
23050         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
23051         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
23052         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
23053         * nptl/tst-mutex-errorcheck.c: New file.
23055 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23057         [BZ #18560]
23058         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
23059         (IPCOP_semop): Likewise.
23060         (IPCOP_semget): Likewise.
23061         (IPCOP_semctl): Likewise.
23062         (IPCOP_msgsnd): Likewise.
23063         (IPCOP_msgrcv): Likewise.
23064         (IPCOP_msgget): Likewise.
23065         (IPCOP_msgctl): Likewise.
23066         (IPCOP_shmat): Likewise.
23067         (IPCOP_shmdt): Likewise.
23068         (IPCOP_shmget): Likewise.
23069         (IPCOP_shmctl): Likewise.
23071 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
23073         * string/tst-endian.c: Include <libc-internal.h>.
23074         (do_test): Ignore tautological-compare warnings around
23075         "htobeXX (beXXtoh (i)) != i" and
23076         "htoleXX (leXXtoh (i)) != i" if-statements.
23078 2016-01-24  David S. Miller  <davem@davemloft.net>
23080         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
23081         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
23082         alias.
23083         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
23084         __sqrtl_finite.
23086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23088 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
23090         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
23091         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
23092         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23094 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23096         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
23097         (thread_func): Use new function to simplify barrier check.
23098         (do_test): Use new function to simplify checking barrier exit
23099         code, and actually join the child thread.
23101 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23103         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
23104         semicolon.
23105         (__libc_tend): Likewise.
23106         (__libc_tabort): Likewise.
23108 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
23110         * sysdeps/nios2/libm-test-ulps: Update.
23111         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
23112         (__gtsf2): Likewise.
23113         (__unorddf2): Likewise.
23114         (__unordsf2): Likewise.
23115         (__ledf2): Likewise.
23117 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
23119         * nis/nis_table.c (__follow_path): Disable diagnostic for
23120         uninitialized variable that is a false positive for gcc 4.7.
23121         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
23123 2016-01-20  Roland McGrath  <roland@hack.frob.com>
23125         * sysdeps/nacl/lowlevellock-futex.h
23126         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
23127         Always evaluate PRIVATE argument.
23129 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
23131         [BZ #19490]
23132         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
23133         (pthread_cond_broadcast): Use ENTRY/END
23134         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
23135         (pthread_cond_signal): Likewise.
23136         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
23137         Likewise.
23138         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
23139         Likewise.
23140         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
23141         Likewise.
23143 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
23145         * sysdeps/ieee754/dbl-64/s_finite.c
23146         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
23147         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
23148         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
23149         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
23150         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
23152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
23153         (__gtsf2): Add as optional for libc.so.
23154         (__unordsf2): Likewise.
23155         (__signbit): Remove for libc.so.
23156         (__signbitl): Likewise.
23158 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
23160         * iconvdata/bug-iconv11.c (test_ibm93x):
23161         Use %zu printf format specifier for size_t argument.
23163 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
23165         * math/gen-libm-test.pl (parse_ulps): Do not reduce
23166         already-recorded ulps.
23167         * sysdeps/arm/libm-test-ulps: Regenerated.
23168         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23169         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23170         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23172 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23173             Paul Pluzhnikov  <ppluzhnikov@google.com>
23175         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
23176         assembler not supporting AVX-512.
23178 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
23180         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23182 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
23184         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23185         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23187         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23189         * sysdeps/arm/libm-test-ulps: Regenerated.
23191 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23193         [BZ #19451]
23194         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
23196 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23198         [BZ #19486]
23199         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
23200         * sysdeps/generic/fix-fp-int-convert-overflow.h
23201         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
23202         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
23203         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
23204         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
23205         Likewise.
23206         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
23207         Avoid conversions to long int where inexact exceptions
23208         could be raised.
23209         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
23210         Likewise.
23211         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
23212         Avoid conversions to long long int where inexact exceptions
23213         could be raised.
23214         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
23215         Likewise.
23217 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
23219         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
23220         * configure: Regenerated.
23222 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
23224         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
23226 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
23228         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
23229         outside of comment.
23231 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23233         * nptl/tst-barrier1.c: Add description on first line.
23234         * nptl/tst-barrier2.c: Likewise.
23235         * nptl/tst-barrier3.c: Likewise.
23236         * nptl/tst-barrier4.c: Likewise.
23237         * nptl/tst-barrier5.c: Likewise.
23239 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23241         [BZ #18868]
23242         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
23244 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
23246         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
23247         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23248         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
23249         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
23250         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
23251         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
23252         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23253         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23254         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23255         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23256         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23258 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23260         [BZ #13065]
23261         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
23262         new implementation.
23263         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
23264         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
23265         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
23266         (BARRIER_IN_THRESHOLD): New macro.
23267         * nptl/pthread_barrierattr_setpshared.c
23268         (pthread_barrierattr_setpshared): Clean up.
23269         * nptl/tst-barrier4.c: Correct comment.
23270         * nptl/tst-barrier5.c: New file.
23271         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
23272         (gen-as-const-headers): Remove lowlevelbarrier.sym.
23273         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
23274         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
23275         * nptl/lowlevelbarrier.sym: Remove.
23276         * nptl/DESIGN-barrier.txt: Remove.
23277         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
23278         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
23279         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
23280         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
23281         error.
23282         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
23283         implementation.
23285 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23287         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
23288         (do_child): Mask SIGRTMIN while thr is running.
23290 2016-01-15  Martin Sebor  <msebor@redhat.com>
23292         [BZ #19432]
23293         * iconvdata/Makefile: Add bug-iconv11.
23294         * iconvdata/bug-iconv11.c: New test.
23295         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
23296         * iconvdata/ibm933.c: Same.
23297         * iconvdata/ibm935.c: Same.
23298         * iconvdata/ibm937.c: Same.
23299         * iconvdata/ibm939.c: Same.
23301 2016-01-15  Martin Sebor  <msebor@redhat.com>
23303         [BZ #19443]
23304         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
23305         [DEBUG] (_ufc_set_bits): Declare used.
23306         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
23307         [DEBUG] (print_all): Declare used.
23308         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
23309         operands of the ternary ?: expression to target type.
23310         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
23311         calling the undeclared abort.
23312         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
23314 2016-01-15  Martin Sebor  <msebor@redhat.com>
23316         [BZ #18755]
23317         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
23318         warnings.
23319         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
23320         (__gai_create_helper_thread): Same.
23321         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
23322         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
23323         to suppress -Wmaybe-uninitialized warnings.
23325 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
23327         [BZ #19465]
23328         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
23329         inside if.
23330         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23331         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23332         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23334 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
23336         [BZ #19466]
23337         * time/tst-mktime2.c (time_t_max): Removed.
23338         (time_t_min): Likewise.
23339         (TYPE_SIGNED): New.
23340         (TYPE_MINIMUM): Likewise.
23341         (TYPE_MAXIMUM): Likewise.
23342         (TIME_T_MIN): Likewise.
23343         (TIME_T_MAX): Likewise.
23344         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
23345         and TIME_T_MIN.
23346         (do_test): Likewise.
23348 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
23350         [BZ #19467]
23351         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23352         index_Fast_Unaligned_Load flag for Excavator family CPUs.
23354 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
23356         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
23358 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
23360         * benchtests/Makefile (PYTHON): Define.
23361         (bench-func): Use $(PYTHON) to run python scripts.
23362         ($(objpfx)bench-%.c): Likewise.
23364 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
23366         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
23367         leading slash when `file_name' is "/".
23369 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
23371         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
23372         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
23373         Likewise.
23374         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
23375         Likewise.
23376         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
23377         Likewise.
23378         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
23379         enum constant and macro.
23380         (PTRACE_SETSIGMASK): Likewise.
23381         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23382         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
23383         (PTRACE_GETSIGMASK): Likewise.
23384         (PTRACE_SETSIGMASK): Likewise.
23385         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23386         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
23387         Likewise.
23388         (PTRACE_SETSIGMASK): Likewise.
23389         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23390         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
23391         (PTRACE_GETSIGMASK): Likewise.
23392         (PTRACE_SETSIGMASK): Likewise.
23393         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23394         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
23395         Likewise.
23396         (PTRACE_SETSIGMASK): Likewise.
23397         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23398         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
23399         Likewise.
23400         (PTRACE_SETSIGMASK): Likewise.
23401         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23402         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
23403         Likewise.
23404         (PTRACE_SETSIGMASK): Likewise.
23405         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23407 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
23408             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23410         [BZ #19439]
23411         * math/bits/mathcalls.h
23412         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
23413         prototype.
23414         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
23416 2016-01-11  Andreas Schwab  <schwab@suse.de>
23418         [BZ #19253]
23419         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
23420         cache when TZDEFRULES was used.
23421         * time/tst-tzname.c: New file.
23422         * time/Makefile (test): Add tst-tzname.
23423         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
23424         * timezone/Makefile (test-zones): Add $(posixrules-file).
23425         ($(testdata)/$(posixrules-file)): New rule.
23427 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
23429         Fix doc quoting problems with Texinfo 5
23430         Without this change, in the info file output, Texinfo 5 quotes code
23431         in text with undirected single quotes 'like this' and generates
23432         code examples that with many PDF readers cannot be cut out of PDFs
23433         and pasted into code.
23434         * manual/libc.texinfo: Configure the libc manual like the GNU
23435         Emacs manual, by using @documentencoding and setting
23436         txicodequoteundirected and txicodequotebacktick.  This way,
23437         Texinfo 5 quotes code in text with directed single quotes ‘like
23438         this’ and produces examples that can be cut out of PDFs.  This
23439         change causes Texinfo 5 to generate info files that contain UTF-8
23440         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
23441         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
23443 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23445         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
23446         __libc_tabort, __libc_tend): New wrappers that enforce compiler
23447         barriers to their respective compiler built-ins.
23448         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
23449         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
23450         * sysdeps/powerpc/sysdep.h: Likewise.
23451         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
23452         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
23453         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
23455 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
23457         * scripts/config.guess: Revert previous shebang change.
23458         * scripts/config.sub: Likewise.
23459         * scripts/mkinstalldirs: Likewise.
23461 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23463         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
23464         PPC_FEATURE2_HAS_IEEE128.
23465         * sysdeps/powerpc/dl-procinfo.c:
23466         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
23468 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
23470         [BZ #19415]
23471         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
23472         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
23473         (_dl_lookup_address): Rewrite using function resolver trampoline.
23474         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
23475         two bits in address.
23477 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
23479         * longlong.h: Change !__SHMEDIA__ to
23480         (!defined (__SHMEDIA__) || !__SHMEDIA__).
23481         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
23483 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
23484             Joseph Myers  <joseph@codesourcery.com>
23485             Mark Shinwell  <shinwell@codesourcery.com>
23486             Andrew Stubbs  <ams@codesourcery.com>
23487             Rich Felker <dalias@libc.org>
23489         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
23491 2016-01-07  Richard Henderson  <rth@redhat.com>
23493         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
23495 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
23497         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
23498         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
23499         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23500         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23501         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
23503 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
23504             Joseph Myers  <joseph@codesourcery.com>
23506         * timezone/private.h: Update from tzcode 2015g.
23507         * timezone/tzfile.h: Likewise.
23508         * timezone/tzselect.ksh: Likewise.
23509         * timezone/zdump.c: Likewise.
23510         * timezone/zic.c: Likewise.
23511         * timezone/ialloc.c: Remove file.
23512         * timezone/scheck.c: Likewise.
23513         * timezone/Makefile (extra-objs): Remove variable.
23514         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
23515         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
23516         -Wno-maybe-uninitialized.
23517         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
23518         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
23519         (CFLAGS-ialloc.c): Remove variable.
23520         (CFLAGS-scheck.c): Likewise.
23521         * timezone/README: Update list of files from tzcode.
23523 2016-01-07  Khem Raj  <raj.khem@gmail.com>
23525         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
23526         instead of __fxprintf when _LIBC is undefined.
23528 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
23530         * catgets/test-gencat.sh: Remove space after shebang.
23531         * conform/GlibcConform.pm: Likewise.
23532         * conform/check-header-lists.sh: Likewise.
23533         * conform/conformtest.pl: Likewise.
23534         * conform/linknamespace.pl: Likewise.
23535         * conform/list-header-symbols.pl: Likewise.
23536         * debug/catchsegv.sh: Likewise.
23537         * elf/genrtldtbl.awk: Likewise.
23538         * elf/tst-pathopt.sh: Likewise.
23539         * elf/tst-rtld-load-self.sh: Likewise.
23540         * grp/tst_fgetgrent.sh: Likewise.
23541         * iconvdata/gen-8bit-gap-1.sh: Likewise.
23542         * iconvdata/gen-8bit-gap.sh: Likewise.
23543         * iconvdata/gen-8bit.sh: Likewise.
23544         * iconvdata/run-iconv-test.sh: Likewise.
23545         * intl/tst-gettext.sh: Likewise.
23546         * intl/tst-gettext2.sh: Likewise.
23547         * intl/tst-gettext4.sh: Likewise.
23548         * intl/tst-gettext6.sh: Likewise.
23549         * intl/tst-translit.sh: Likewise.
23550         * io/ftwtest-sh: Likewise.
23551         * libio/test-freopen.sh: Likewise.
23552         * locale/gen-translit.pl: Likewise.
23553         * malloc/tst-mtrace.sh: Likewise.
23554         * manual/check-safety.sh: Likewise.
23555         * manual/libc-texinfo.sh: Likewise.
23556         * manual/tsort.awk: Likewise.
23557         * manual/xtract-typefun.awk: Likewise.
23558         * nptl/tst-cancel-wrappers.sh: Likewise.
23559         * nptl/tst-tls6.sh: Likewise.
23560         * posix/globtest.sh: Likewise.
23561         * posix/tst-getconf.sh: Likewise.
23562         * posix/wordexp-tst.sh: Likewise.
23563         * scripts/check-c++-types.sh: Likewise.
23564         * scripts/check-local-headers.sh: Likewise.
23565         * scripts/config.guess: Likewise.
23566         * scripts/config.sub: Likewise.
23567         * scripts/cpp: Likewise.
23568         * scripts/cross-test-ssh.sh: Likewise.
23569         * scripts/documented.sh: Likewise.
23570         * scripts/evaluate-test.sh: Likewise.
23571         * scripts/gen-libc-abis: Likewise.
23572         * scripts/gen-sorted.awk: Likewise.
23573         * scripts/list-fixed-bugs.py: Likewise.
23574         * scripts/merge-test-results.sh: Likewise.
23575         * scripts/mkinstalldirs: Likewise.
23576         * scripts/rellns-sh: Likewise.
23577         * scripts/test-installation.pl: Likewise.
23578         * scripts/update-copyrights: Likewise.
23579         * stdio-common/tst-printf.sh: Likewise.
23580         * stdio-common/tst-unbputc.sh: Likewise.
23581         * stdlib/tst-fmtmsg.sh: Likewise.
23582         * stdlib/tst-setcontext3.sh: Likewise.
23583         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
23584         * sysdeps/unix/make-syscalls.sh: Likewise.
23586 2016-01-06  John David Anglin  <dave.anglin@bell.net>
23588         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
23589         asm stw with atomic_exchange_rel.  Add explanatory comment.
23590         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23591         Likewise.
23593 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
23595         [BZ #19122]
23596         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
23597         * sysdeps/generic/dl-unistd.h: New file.
23598         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
23600 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
23602          [BZ #19122]
23603          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
23604          * sysdeps/generic/dl-mman.h: New file.
23605          * sysdeps/mach/hurd/dl-mman.h: Likewise.
23607 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
23609         * manual/texinfo.tex: Update to version 2016-01-04.21 with
23610         trailing whitespace removed.
23611         * scripts/config.guess: Update to version 2016-01-01.
23612         * scripts/config.sub: Update to version 2016-01-01.
23613         * scripts/move-if-change: Update from gnulib.
23615 2016-01-04  Anton Blanchard  <anton@samba.org>
23617         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
23618         for array indices.
23619         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
23621 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
23623         * NEWS: Update copyright dates.
23624         * catgets/gencat.c (print_version): Likewise.
23625         * csu/version.c (banner): Likewise.
23626         * debug/catchsegv.sh: Likewise.
23627         * debug/pcprofiledump.c (print_version): Likewise.
23628         * debug/xtrace.sh (do_version): Likewise.
23629         * elf/ldconfig.c (print_version): Likewise.
23630         * elf/ldd.bash.in: Likewise.
23631         * elf/pldd.c (print_version): Likewise.
23632         * elf/sotruss.sh: Likewise.
23633         * elf/sprof.c (print_version): Likewise.
23634         * iconv/iconv_prog.c (print_version): Likewise.
23635         * iconv/iconvconfig.c (print_version): Likewise.
23636         * locale/programs/locale.c (print_version): Likewise.
23637         * locale/programs/localedef.c (print_version): Likewise.
23638         * login/programs/pt_chown.c (print_version): Likewise.
23639         * malloc/memusage.sh (do_version): Likewise.
23640         * malloc/memusagestat.c (print_version): Likewise.
23641         * malloc/mtrace.pl: Likewise.
23642         * manual/libc.texinfo: Likewise.
23643         * nptl/version.c (banner): Likewise.
23644         * nscd/nscd.c (print_version): Likewise.
23645         * nss/getent.c (print_version): Likewise.
23646         * nss/makedb.c (print_version): Likewise.
23647         * posix/getconf.c (main): Likewise.
23648         * scripts/test-installation.pl: Likewise.
23649         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23651         * All files with FSF copyright notices: Update copyright dates
23652         using scripts/update-copyrights.
23653         * intl/plural.c: Regenerated.
23654         * locale/programs/charmap-kw.h: Likewise.
23655         * locale/programs/locfile-kw.h: Likewise.
23657 2016-01-02  Helge Deller  <deller@gmx.de>
23659         [BZ #19285]
23660         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
23661         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
23662         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
23663         (MADV_xxK_PAGES): Remove.
23665 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
23667         [BZ #15421]
23668         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
23669         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
23670         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
23671         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
23673 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
23675         [BZ #19408]
23676         * sysdeps/unix/sysv/linux/personality.c: New file.
23677         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
23678         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
23679         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
23680         (sysdep_routines): Add personality.
23681         (tests): Add tst-personality.
23682         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
23683         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
23684         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
23685         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
23686         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
23687         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
23688         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
23689         Likewise.
23690         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
23691         Likewise.
23692         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
23693         Likewise.
23694         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
23695         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
23696         Likewise.
23698 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
23700         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
23701         (PATH_ARM_SYSTYPE): Remove.
23702         (PATH_CPUINFO): Likewise.
23703         (IO_BASE_FOOTBRIDGE): Likewise.
23704         (IO_SHIFT_FOOTBRIDGE): Likewise.
23705         (struct platform): Likewise.
23706         (init_iosys): Remove compatibility code for 2.4 kernels.
23707         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
23709 2015-12-29  Florian Weimer  <fweimer@redhat.com>
23711         * malloc/tst-malloc-thread-fail.c: New file.
23712         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
23713         (tst-malloc-thread-fail): Link against libpthread.
23715 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
23717         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
23718         (get_parser): New function.
23719         (main): New function.
23721 2015-12-29  Rob Wu  <rob@robwu.nl>
23723         [BZ #19369]
23724         * resolv/res_init.c (__res_vinit): Reset defdname before use.
23726 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
23728         [BZ #19270]
23729         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23731 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
23733         [BZ #15421]
23734         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
23736 2015-12-23  Torvald Riegel  <triegel@redhat.com>
23738         [BZ #13690]
23739         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
23740         after releasing it.
23741         (__lll_robust_unlock): Likewise.
23742         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23743         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
23744         (lll_robust_unlock): Likewise.
23745         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
23746         Prevent warnings in callers.
23748 2015-12-23  Florian Weimer  <fweimer@redhat.com>
23750         * malloc/arena.c (list_lock): Update comment.
23752 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23754         * sysdeps/powerpc/hwcapinfo.c: Export symbol
23755         __parse_hwcap_and_convert_at_platform to libc.a.
23757 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23759         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
23760         platform and feature support for POWER9.
23761         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23762         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
23763         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
23764         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
23765         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
23766         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
23767         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
23768         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
23770 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23772         Harmonize generic stdio-lock support with nptl
23774         This fixes build when _IO_funlockfile is a macro, fixes build where
23775         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
23776         stack unwind.
23778         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
23779         _IO_release_lock ): Use cleanup attribute on new
23780         _IO_acquire_lock_file variable instead of assuming that
23781         _IO_release_lock will be called.
23782         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
23783         _IO_acquire_lock_needs_exceptions_enabled.
23784         (_IO_acquire_lock_clear_flags2): New macro.
23786 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23788         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
23790 2015-12-21  Florian Weimer  <fweimer@redhat.com>
23792         [BZ #19182]
23793         * malloc/arena.c (list_lock): Document lock ordering requirements.
23794         (free_list_lock): New lock.
23795         (ptmalloc_lock_all): Comment on free_list_lock.
23796         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
23797         (detach_arena): Update comment.  free_list_lock is now needed.
23798         (_int_new_arena): Use free_list_lock around detach_arena call.
23799         Acquire arena lock after list_lock.  Add comment, including FIXME
23800         about incorrect synchronization.
23801         (get_free_list): Switch to free_list_lock.
23802         (reused_arena): Acquire free_list_lock around detach_arena call
23803         and attached threads counter update.  Add two FIXMEs about
23804         incorrect synchronization.
23805         (arena_thread_freeres): Switch to free_list_lock.
23806         * malloc/malloc.c (struct malloc_state): Update comments to
23807         mention free_list_lock.
23809 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
23811         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
23812         Remove functions.
23813         (sloww, sloww1): Accept argument to offset quadrant.
23814         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
23815         quadrant.
23816         (__sin, __cos): Consolidate common code into new functions.
23817         (reduce_sincos_1, do_sincos_1): New functions.
23818         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23820         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
23821         code to new functions.
23822         (reduce_sincos_2, do_sincos_2): New functions.
23823         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23825         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
23826         common code for sincos.
23827         (__cos) [!IN_SINCOS]: Likewise.
23828         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
23829         New function.
23830         (__sincos): Use it.
23832 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
23834         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
23835         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
23836         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23838 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23840         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
23841         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
23842         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23843         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
23844         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23845         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
23846         index_Prefer_No_VZEROUPPER): New feature.
23847         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
23848         Prefer_No_VZEROUPPER for Knights Landing.
23850 015-12-18  Torvald Riegel  <triegel@redhat.com>
23852         * math/atest-exp2.c (mp_exp_m1): Remove.
23854 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23856         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
23857         syscalls.
23858         (__SYSCALL0): New macro.
23859         (__SYSCALL1): Likewise.
23860         (__SYSCALL2): Likewise.
23861         (__SYSCALL3): Likewise.
23862         (__SYSCALL4): Likewise.
23863         (__SYSCALL5): Likewise.
23864         (__SYSCALL6): Likewise.
23865         (__SYSCALL_CONCAT_X): Likewise.
23866         (__SYSCALL_CONCAT): Likewise.
23867         (__SYSCALL_DIST): Likewise.
23868         (__SYSCALL_CALL): Likewise.
23870 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
23872         [BZ #19363]
23873         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
23875 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23877         [BZ #19375]
23878         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
23879         negative subnormals.
23881 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
23883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23884         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
23885         (INTERNAL_SYSCALL_NCS): Use it.
23886         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23888 2015-12-16  Florian Weimer  <fweimer@redhat.com>
23890         [BZ #19243]
23891         * malloc/arena.c (get_free_list): Remove assert and adjust
23892         reference count handling.  Add comment about reused_arena
23893         interaction.
23894         (reused_arena): Add comments abount get_free_list interaction.
23895         * malloc/tst-malloc-thread-exit.c: New file.
23896         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
23897         (tst-malloc-thread-exit): Link against libpthread.
23899 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23901         [BZ #19367]
23902         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
23903         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
23904         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
23905         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
23906         (index_Prefer_MAP_32BIT_EXEC): Likewise.
23908 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23910         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
23911         Silvermont optimizations for Knights Landing.
23913 2015-12-15  Andreas Schwab  <schwab@suse.de>
23915         [BZ #17197]
23916         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
23917         immediately after emitting SI.
23918         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
23919         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
23920         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
23921         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
23922         * iconvdata/bug-iconv10.c: New file.
23923         * iconvdata/Makefile (tests): Add bug-iconv10.
23924         ($(objpfx)bug-iconv10.out): New rule.
23926 2015-12-15  Florian Weimer  <fweimer@redhat.com>
23928         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
23929         aliasing violation.
23931 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
23933         [BZ #18472]
23934         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
23935         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
23936         conditionals for them.
23937         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
23938         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
23939         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
23940         sys/kdaemon.h.
23941         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
23942         compat-only syscall, obsoleted in glibc 2.23.
23943         (create_module): Likewise.
23944         (get_kernel_syms): Likewise.
23945         (query_module): Likewise.
23946         (uselib): Likewise.
23947         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
23949 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
23951         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
23952         <linux/version.h>.
23953         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
23954         conditional code.
23955         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
23956         and ioshift_name initialization.
23958 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23960         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23961         Fix indentation.
23963 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23965         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
23967 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23969         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
23971 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
23972             Jakub Wilk  <jwilk@debian.org>
23974         [BZ #19347]
23975         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
23976         to change the group of the device to the tty group.
23978 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
23980         Split large string section; add truncation advice
23981         * manual/examples/strncat.c: Remove.
23982         This example was misleading, as the code would have undefined
23983         behavior if "hello" was longer than SIZE.  Anyway, the manual
23984         shouldn't encourage strncpy+strncat for this sort of thing.
23985         * manual/string.texi (Copying Strings and Arrays): Split into
23986         three sections Copying Strings and Arrays, Concatenating Strings,
23987         and Truncating Strings, as this section was way too long.  All
23988         cross-referenced changed.  Add advice about string-truncation
23989         functions.  Remove misleading strncat example.
23991 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
23993         * manual/nss.texi (NSS Modules Interface): Document
23994         NSS_STATUS_NOTFOUND and SUCCESS.
23996 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
23998         [BZ 18568]
23999         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24000         201505L, for Unicode 8.
24002 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
24004         * locale/C-translit.h: Regenerate.
24006 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
24008         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
24009         and U+0153.
24011 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
24013         [BZ #19351]
24014         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
24015         expanding log(1+z), compare z rather than its square with epsilon
24016         to determine when to avoid evaluating the expansion.
24018         [BZ #19350]
24019         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24020         Increase overflow threshold.
24022         [BZ #19349]
24023         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
24024         when small.
24026         * sysdeps/unix/sysv/linux/i386/kernel-features.h
24027         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24028         New macro.
24029         [__LINUX_KERNEL_VERSION >= 0x040300]
24030         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24031         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24032         Likewise.
24033         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24034         Likewise.
24035         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24036         Likewise.
24037         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24038         Likewise.
24039         [__LINUX_KERNEL_VERSION >= 0x040300]
24040         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24041         [__LINUX_KERNEL_VERSION >= 0x040300]
24042         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24043         [__LINUX_KERNEL_VERSION >= 0x040300]
24044         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24045         [__LINUX_KERNEL_VERSION >= 0x040300]
24046         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24047         [__LINUX_KERNEL_VERSION >= 0x040300]
24048         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24049         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24050         Likewise.
24051         [__LINUX_KERNEL_VERSION >= 0x040300]
24052         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24053         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24054         Likewise.
24055         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24056         Likewise.
24057         [__LINUX_KERNEL_VERSION >= 0x040300]
24058         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24059         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
24060         Likewise.
24061         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
24062         Likewise.
24063         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24064         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
24065         Likewise.
24066         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
24067         Likewise.
24068         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24069         Likewise.
24070         [__LINUX_KERNEL_VERSION >= 0x040300]
24071         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24072         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24073         Likewise.
24074         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24075         Likewise.
24076         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24077         Likewise.
24078         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24079         Likewise.
24080         [__LINUX_KERNEL_VERSION >= 0x040300]
24081         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24082         [__LINUX_KERNEL_VERSION >= 0x040300]
24083         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24084         [__LINUX_KERNEL_VERSION >= 0x040300]
24085         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24086         [__LINUX_KERNEL_VERSION >= 0x040300]
24087         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24088         [__LINUX_KERNEL_VERSION >= 0x040300]
24089         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24090         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24091         Likewise.
24092         [__LINUX_KERNEL_VERSION >= 0x040300]
24093         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24094         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24095         Likewise.
24096         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24097         Likewise.
24098         [__LINUX_KERNEL_VERSION >= 0x040300]
24099         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24100         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
24101         Likewise.
24102         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
24103         Likewise.
24104         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24105         (__ASSUME_SOCKET_SYSCALL): Likewise.
24106         (__ASSUME_BIND_SYSCALL): Likewise.
24107         (__ASSUME_CONNECT_SYSCALL): Likewise.
24108         (__ASSUME_LISTEN_SYSCALL): Likewise.
24109         (__ASSUME_ACCEPT_SYSCALL): Likewise.
24110         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24111         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24112         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24113         (__ASSUME_SEND_SYSCALL): Likewise.
24114         (__ASSUME_SENDTO_SYSCALL): Likewise.
24115         (__ASSUME_RECV_SYSCALL): Likewise.
24116         (__ASSUME_RECVFROM_SYSCALL): Likewise.
24117         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
24118         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24119         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24120         (__ASSUME_SENDMSG_SYSCALL): Likewise.
24121         (__ASSUME_RECVMSG_SYSCALL): Likewise.
24122         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24123         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
24124         Likewise.
24125         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
24126         Likewise.
24127         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
24128         Likewise.
24129         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
24130         Likewise.
24131         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
24132         Likewise.
24133         [__LINUX_KERNEL_VERSION >= 0x020625]
24134         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24135         [__LINUX_KERNEL_VERSION >= 0x020625]
24136         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24137         [__LINUX_KERNEL_VERSION >= 0x020625]
24138         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24139         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
24140         Likewise.
24141         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
24142         Likewise.
24143         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
24144         Likewise.
24145         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
24146         Likewise.
24147         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
24148         Likewise.
24149         [__LINUX_KERNEL_VERSION >= 0x020625]
24150         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24151         [__LINUX_KERNEL_VERSION >= 0x020625]
24152         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24153         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
24154         Likewise.
24155         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
24156         Likewise.
24158 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
24160         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
24161         record the current if the current ABI and CPU support the FP64
24162         extension.
24163         (has-modd-spreg): Define to record the current if the current ABI and
24164         CPU support 32-bit floating point values in odd FPU registers.
24165         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24166         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
24167         $(has-modd-spreg) equals yes.
24168         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
24169         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
24170         $(has-modd-spreg) equal yes.
24172 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
24174         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
24175         basename.
24177 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
24179         * benchtests/Makefile (bench-math): Move ffs and ffsll...
24180         (bench-string): ... here.
24181         (bench): Add bench-string.
24182         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
24183         to *-benchset to reflect what they are.
24184         (benchset): Adjust.
24186         * benchtests/sincos-inputs: Add inputs from sin-inputs and
24187         cos-inputs.
24189 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
24191         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
24192         __attribute__ ((__simd__)) for vector math function declarations.
24194 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24196         Fix typo in strncat, wcsncat manual entries
24197         * manual/string.texi (Copying and Concatenation): Fix typos in
24198         sample implementations of strncat and wcsncat, by having them use
24199         the old value of the destination length, not the new one.
24201 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
24203         [BZ #16961]
24204         [BZ #16962]
24205         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
24206         string on the stack for strtod.
24207         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
24208         a string on the stack for strtof.
24209         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
24210         constructing a string on the stack for strtold.
24211         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
24212         __strtold_nan to GLIBC_PRIVATE.
24213         * math/test-nan-overflow.c: New file.
24214         * math/test-nan-payload.c: Likewise.
24215         * math/Makefile (tests): Add test-nan-overflow and
24216         test-nan-payload.
24218 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24220         Consistency about byte vs character in string.texi
24221         * manual/string.texi (String and Array Utilities):
24222         Distinguish more carefully among bytes, multibyte characters,
24223         and wide characters.  Use "byte" when talking about C 'char',
24224         to distinguish it more clearly from multibyte characters.
24225         Say "wide character" or "multibyte character" instead of
24226         "character", when a wide or multibyte character is intended.
24227         Similarly for "multibyte string" versus "string".
24228         Define these terms more carefully.
24230 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
24232         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
24233         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
24234         Likewise.
24235         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
24236         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
24237         * sysdeps/sh/math_private.h: New file.
24238         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
24239         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
24240         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
24241         long double function name.
24242         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24243         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24244         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24245         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24246         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24248         Remove __finitel, __isinfl, and __isnanl.
24249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24250         Likewise.
24251         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24253         Remove __finitel.
24254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24255         Likewise.
24256         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24258 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
24260         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
24261         installed libmvec_nonshared.a.
24263 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24265         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
24266         (sysdep_routines): Likewise.
24267         (sysdep-rtld-routines): Likewise.
24268         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
24269         [$(subdir) = nptl](tests-static): test-get_hwcap-static
24270         * sysdeps/powerpc/Versions: Added new
24271         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
24272         * sysdeps/powerpc/hwcapinfo.c: New file.
24273         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
24274         and parse hwcap, hwcap2 and platform number information.
24275         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
24276         to store HWCAP+HWCAP2 and platform number.
24277         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
24278         for HWCAP+HWCAP2 and platform number in the TCB.
24279         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
24280         the HWCAP, HWCAP2 and platform number in the TCB.
24281         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
24282         (TLS_INIT_TP): Included calls to add the hwcap and
24283         at_platform values in the TCB in TP initialization.
24284         (TLS_DEFINE_INIT_TP): Likewise.
24285         (THREAD_GET_HWCAP): New macro.
24286         (THREAD_SET_HWCAP): Likewise.
24287         (THREAD_GET_AT_PLATFORM): Likewise.
24288         (THREAD_SET_AT_PLATFORM): Likewise.
24289         * sysdeps/powerpc/powerpc32/dl-machine.h:
24290         (dl_platform_init): New function that calls
24291         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
24292         powerpc32.
24293         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
24294         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
24295         this functionality, static linking case.
24296         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
24297         linking case.
24298         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
24299         __parse_hwcap_and_convert_at_platform for the static linking case.
24300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
24301         Included the new __parse_hwcap_and_convert_at_platform symbol in the
24302         ABI list for GLIBC 2.23.
24303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
24304         Likewise.
24305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
24306         Likewise.
24308 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
24310         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
24311         * configure: Regenerate.
24312         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
24313         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
24315 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
24317         * iconvdata/ibm930.c: Add comment explaining encoding uses.
24318         * iconvdata/ibm933.c: Likewise.
24319         * iconvdata/ibm935.c: Likewise.
24320         * iconvdata/ibm937.c: Likewise.
24321         * iconvdata/ibm939.c: Likewise.
24323 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24325         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
24326         pthread_join.
24327         * nptl/tst-cancel21.c (tf): Likewise.
24329 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
24331         [BZ #19313]
24332         * bits/typesizes.h (__CPU_MASK_TYPE): New.
24333         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24334         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24335         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
24336         Likewise.
24337         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
24338         Likewise.
24339         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
24340         Likewise.
24341         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
24342         Likewise.
24343         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
24344         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
24345         unsigned long int with __CPU_MASK_TYPE.
24347 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24349         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24351 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
24353         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
24354         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
24355         t512.x.
24356         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
24358 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
24360         [BZ #19214]
24361         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
24362         argument to return extended model.  Update family and model
24363         with extended family and model when family == 0x0f.
24364         (init_cpu_features): Updated.
24366 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24368         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
24369         signed off_t, so 32bit bigger than 2GiB values are fine actually.
24371         * sysdeps/mach/hurd/mmap64.c: New file.
24373 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
24375         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
24376         rights for its main user thread in NEWTASK.
24378 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
24380         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
24381         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
24383 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
24385         [BZ #14259]
24386         * Makeconfig: Rename localedir to complocaledir.
24387         Rename inst_localedir to inst_complocaledir.
24388         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
24389         * config.make.in: Use complocaledir and libc_cv_complocaledir.
24390         * configure.ac: Use libc_cv_complocaledir.
24391         * configure: Regenerate.
24392         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
24393         -DCOMPLOCALEDIR.
24394         * locale/findlocale.c: Use COMPLOCALEDIR.
24395         * locale/loadarchive.c: Likewise.
24396         * locale/programs/locale.c: Likewise.
24397         * locale/programs/localedef.c: Likewise.
24398         * locale/programs/locarchive.c: Likewise.
24399         * localedata/Makefile: Use inst_complocaledir.
24400         * sysdeps/gnu/configure: Regenerate.
24401         * sysdeps/hppa/configure: Regenerate.
24402         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
24403         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
24405         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
24406         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
24407         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
24408         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
24410 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
24412         [BZ #19058]
24413         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
24414         AS_NEEDED.
24415         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
24416         workaround.
24417         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
24418         libmvec-static-only-routines): Added new file.
24419         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
24421 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24423         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
24424         of interrupted RPC instead of restoring it.
24426         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
24427         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
24428         libc_hidden_def.
24429         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
24430         into initialized data instead of common. Define rtld_hidden_data_def.
24431         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
24432         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
24433         libc_hidden_def.
24434         (if_freenameindex): Add libc_hidden_weak.
24435         (if_nameindex): Add libc_hidden_weak.
24436         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
24437         __open64.
24438         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
24439         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
24440         * sysdeps/mach/nanosleep.c: Include <time.h>
24441         (__nanosleep): Rename to __libc_nanosleep.
24442         (__nanosleep): Add weak_alias.
24443         (nanosleep): Update alias.
24445 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
24447         * stdlib/strtod_nan.c: New file.
24448         * stdlib/strtod_nan_double.h: Likewise.
24449         * stdlib/strtod_nan_float.h: Likewise.
24450         * stdlib/strtod_nan_main.c: Likewise.
24451         * stdlib/strtod_nan_narrow.h: Likewise.
24452         * stdlib/strtod_nan_wide.h: Likewise.
24453         * stdlib/strtof_nan.c: Likewise.
24454         * stdlib/strtold_nan.c: Likewise.
24455         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
24456         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
24457         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
24458         * wcsmbs/wcstod_nan.c: Likewise.
24459         * wcsmbs/wcstof_nan.c: Likewise.
24460         * wcsmbs/wcstold_nan.c: Likewise.
24461         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
24462         strtold_nan.
24463         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
24464         wcstof_nan.
24465         * include/stdlib.h (__strtof_nan): Declare and use
24466         libc_hidden_proto.
24467         (__strtod_nan): Likewise.
24468         (__strtold_nan): Likewise.
24469         (__wcstof_nan): Likewise.
24470         (__wcstod_nan): Likewise.
24471         (__wcstold_nan): Likewise.
24472         * include/wchar.h (____wcstoull_l_internal): Declare.
24473         * stdlib/strtod_l.c: Do not include <ieee754.h>.
24474         (____strtoull_l_internal): Remove declaration.
24475         (STRTOF_NAN): Define macro.
24476         (SET_MANTISSA): Remove macro.
24477         (STRTOULL): Likewise.
24478         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
24479         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
24480         (STRTOF_NAN): Define macro.
24481         (SET_MANTISSA): Remove macro.
24482         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
24483         (SET_MANTISSA): Remove macro.
24484         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
24485         macro.
24486         (SET_MANTISSA): Remove macro.
24487         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
24488         macro.
24489         (SET_MANTISSA): Remove macro.
24490         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
24491         (SET_MANTISSA): Remove macro.
24492         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
24493         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
24494         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
24496         [BZ #19266]
24497         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
24498         upper case and lower case letters inside NAN(), not using TOLOWER.
24499         * stdlib/tst-strtod-nan-locale-main.c: New file.
24500         * stdlib/tst-strtod-nan-locale.c: Likewise.
24501         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
24502         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
24503         Depend on $(gen-locales).
24504         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
24505         * wcsmbs/tst-wcstod-nan-locale.c: New file.
24506         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
24507         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
24508         Depend on $(gen-locales).
24509         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
24511 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
24513         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
24515         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
24516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
24517         __finitel, __isinfl, and __isnanl.
24518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24519         Likewise.
24520         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
24522         __finitel.
24523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24524         Likewise.
24525         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24527 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24529         * malloc/memusage.c (me): Remove redundant getenv call.
24531 2015-10-24  Florian Weimer  <fweimer@redhat.com>
24533         [BZ #19143]
24534         [BZ #19164]
24535         * nptl/check-cpuset.h: Remove.
24536         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24537         Remove CPU set size check.
24538         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24539         Likewise.
24540         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
24541         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
24542         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
24543         (__pthread_setaffinity_new): Remove CPU set size check.
24544         * sysdeps/unix/sysv/linux/sched_setaffinity.c
24545         (__kernel_cpumask_size): Remove.
24546         (__sched_setaffinity_new): Remove CPU set size check.
24547         * manual/threads.texi (Default Thread Attributes): Remove stale
24548         reference to check_cpuset_attr, determine_cpumask_size in comment.
24549         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
24550         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
24551         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
24552         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
24553         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
24554         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
24555         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
24556         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
24557         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
24558         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
24559         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
24560         skeleton test file.
24561         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
24562         tst-affinity-pid.
24564 2015-11-24  Florian Weimer  <fweimer@redhat.com>
24566         * scripts/update-abilist.sh: New file.
24567         * Makefile (+subdir_targets): Add subdir_update-all-abi.
24568         * Makerules (update-all-abi-%, update-all-abi)
24569         (subdir_update-all-abi): New targets.
24570         * elf/Makefile (update-all-abi): New target.
24572 2015-11-24  Florian Weimer  <fweimer@redhat.com>
24574         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
24575         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
24576         (__libc_lock_define_initialized): Use it.
24577         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
24578         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
24579         * malloc/malloc.c (main_arena): Likewise.
24580         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24581         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24583 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
24585         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24586         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
24587         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24588         (PTRACE_O_MASK): Update value.
24589         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
24590         New value in enum __ptrace_setoptions.
24591         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24592         (PTRACE_O_MASK): Update value.
24593         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24594         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24595         (PTRACE_O_MASK): Update value.
24596         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
24597         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24598         (PTRACE_O_MASK): Update value.
24599         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
24600         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24601         (PTRACE_O_MASK): Update value.
24602         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
24603         New value in enum __ptrace_setoptions.
24604         (PTRACE_O_MASK): Update value.
24605         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
24606         New value in enum __ptrace_setoptions.
24607         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24608         (PTRACE_O_MASK): Update value.
24610         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
24611         New macro.
24612         (PACKET_AUXDATA): Likewise.
24613         (PACKET_ORIGDEV): Likewise.
24614         (PACKET_VERSION): Likewise.
24615         (PACKET_HDRLEN): Likewise.
24616         (PACKET_RESERVE): Likewise.
24617         (PACKET_TX_RING): Likewise.
24618         (PACKET_LOSS): Likewise.
24619         (PACKET_VNET_HDR): Likewise.
24620         (PACKET_TX_TIMESTAMP): Likewise.
24621         (PACKET_TIMESTAMP): Likewise.
24622         (PACKET_FANOUT): Likewise.
24623         (PACKET_TX_HAS_OFF): Likewise.
24624         (PACKET_QDISC_BYPASS): Likewise.
24625         (PACKET_ROLLOVER_STATS): Likewise.
24626         (PACKET_FANOUT_DATA): Likewise.
24627         (PACKET_MR_UNICAST): Likewise.
24629         [BZ #19242]
24630         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
24631         (TOUPPER): Likewise.
24632         * stdlib/tst-strtol-locale-main.c: New file.
24633         * stdlib/tst-strtol-locale.c: Likewise.
24634         * stdlib/Makefile (tests): Add tst-strtol-locale.
24635         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
24636         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
24637         Depend on $(gen-locales).
24638         * wcsmbs/tst-wcstol-locale.c: New file.
24639         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
24640         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
24641         tr_TR.ISO-8859-9.
24642         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
24643         Depend on $(gen-locales).
24645 2015-11-20  Roland McGrath  <roland@hack.frob.com>
24647         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
24648         __glibc_likely instead of __builtin_expect.  After falling back to
24649         dyncode_create in a non-ET_DYN case, use the allocate_code_data
24650         system interface to register the code pages as occupied.
24652 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
24654         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24655         [!ARM_MATH_PRIVATE_H].
24656         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
24657         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24658         [!HPPA_MATH_PRIVATE_H].
24659         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
24660         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
24661         to [!I386_MATH_PRIVATE_H].
24662         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
24663         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
24664         Change guard to [!M68K_MATH_PRIVATE_H].
24665         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
24666         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
24667         guard to [!MICROBLAZE_MATH_PRIVATE_H].
24668         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
24669         macro.
24670         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24671         [!MIPS_MATH_PRIVATE_H].
24672         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
24673         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24674         [!NIO2_MATH_PRIVATE_H].
24675         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
24676         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24677         [!TILE_MATH_PRIVATE_H].
24678         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
24680         [BZ #15421]
24681         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
24682         initialize with 0 and define as weak alias of __signgam.
24683         * include/math.h [!_ISOMAC] (__signgam): Declare.
24684         * math/Makefile (libm-calls): Add w_lgamma_compat.
24685         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
24686         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
24687         test-signgam-ullong-init.
24688         (tests-static): Add test-signgam-uchar-static,
24689         test-signgam-uchar-init-static, test-signgam-uint-static,
24690         test-signgam-uint-init-static, test-signgam-ullong-static and
24691         test-signgam-ullong-init-static.
24692         (CFLAGS-test-signgam-uchar.c): New variable.
24693         (CFLAGS-test-signgam-uchar-init.c): Likewise.
24694         (CFLAGS-test-signgam-uchar-static.c): Likewise.
24695         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24696         (CFLAGS-test-signgam-uint.c): Likewise.
24697         (CFLAGS-test-signgam-uint-init.c): Likewise.
24698         (CFLAGS-test-signgam-uint-static.c): Likewise.
24699         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24700         (CFLAGS-test-signgam-ullong.c): Likewise.
24701         (CFLAGS-test-signgam-ullong-init.c): Likewise.
24702         (CFLAGS-test-signgam-ullong-static.c): Likewise.
24703         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24704         * math/Versions (libm): Add GLIBC_2.23.
24705         * math/lgamma-compat.h: New file.
24706         * math/test-signgam-main.c: Likewise.
24707         * math/test-signgam-uchar-init-static.c: Likewise.
24708         * math/test-signgam-uchar-init.c: Likewise.
24709         * math/test-signgam-uchar-static.c: Likewise.
24710         * math/test-signgam-uchar.c: Likewise.
24711         * math/test-signgam-uint-init-static.c: Likewise.
24712         * math/test-signgam-uint-init.c: Likewise.
24713         * math/test-signgam-uint-static.c: Likewise.
24714         * math/test-signgam-uint.c: Likewise.
24715         * math/test-signgam-ullong-init-static.c: Likewise.
24716         * math/test-signgam-ullong-init.c: Likewise.
24717         * math/test-signgam-ullong-static.c: Likewise.
24718         * math/test-signgam-ullong.c: Likewise.
24719         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
24720         wrapper of w_lgamma_main.c.
24721         * math/w_lgamma_compat.c: New file.
24722         * math/w_lgamma_compatf.c: Likewise.
24723         * math/w_lgamma_compatl.c: Likewise.
24724         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
24725         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24726         defining compatibility symbols.
24727         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
24728         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
24729         wrapper of w_lgammaf_main.c.
24730         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
24731         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24732         defining compatibility symbols.
24733         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
24734         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
24735         wrapper of w_lgammal_main.c.
24736         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
24737         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24738         defining compatibility symbols.
24739         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
24740         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
24741         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
24742         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
24743         <lgamma-compat.h>.
24744         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
24745         (__ieee754_gamma): Define as alias.
24746         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
24747         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
24748         <lgamma-compat.h>.
24749         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
24750         (__ieee754_gammaf): Define as alias.
24751         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
24752         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
24753         <lgamma-compat.h>.
24754         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
24755         (__ieee754_gammal): Define as alias.
24756         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
24757         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
24758         <math/w_lgamma_compat.c>.
24759         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
24760         Define as alias of __lgamma_compat and use in defining lgammal.
24761         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
24762         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
24763         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
24764         (USE_AS_COMPAT): New macro.
24765         (LGAMMA_OLD_VER): Undefine and redefine.
24766         (lgammal): Do not define here.
24767         (gammal): Only define here if [GAMMA_ALIAS].
24768         * conform/linknamespace.pl (@whitelist): Remove signgam.
24769         * sysdeps/nacl/libm.abilist: Update.
24770         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24771         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24772         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24773         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24774         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24775         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24776         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24777         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24778         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24779         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24780         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24781         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24783         Likewise.
24784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24785         Likewise.
24786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24787         Likewise.
24788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24789         Likewise.
24790         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24791         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24792         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24793         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24794         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24796         Likewise.
24797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24798         Likewise.
24799         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24800         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24801         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24803 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24805         [BZ #16364]
24806         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
24807         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
24809 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24811         * sysdeps/s390/fpu/bits/mathinline.h:
24812         Use __asm__ [__volatile__] instead of asm [volatile].
24813         * sysdeps/s390/abort-instr.h: Likewise.
24814         * sysdeps/s390/atomic-machine.h: Likewise.
24815         * sysdeps/s390/bits/string.h: Likewise.
24816         * sysdeps/s390/dl-tls.h: Likewise.
24817         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24818         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24819         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24820         * sysdeps/s390/fpu/fesetround.c: Likewise.
24821         * sysdeps/s390/fpu/fpu_control.h: Likewise.
24822         * sysdeps/s390/fpu/s_fma.c: Likewise.
24823         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
24824         * sysdeps/s390/memusage.h: Likewise.
24825         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
24826         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
24827         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
24828         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
24829         * sysdeps/s390/nptl/tls.h: Likewise.
24830         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
24831         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24832         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24833         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
24834         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24835         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24836         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
24837         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24838         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24839         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
24840         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
24841         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24842         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24843         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
24844         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24845         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24846         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
24847         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
24848         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
24849         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24850         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
24851         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24852         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
24854 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24855             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24857         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
24858         Add lwarx hint, and use macro for acquire instruction.
24859         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24860         Likewise.
24861         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
24862         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
24863         update to use new atomic macros.
24865 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24867         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
24868         (__lll_trylock_elision): Fix setting of adapt_count.
24869         * sysdeps/unix/sysv/linux/powerpc/htm.h
24870         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
24871         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
24872         (_ABORT_SYSCALL): Renumber, and clarify definition.
24873         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
24875 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24877         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
24878         after system headers to prevent MIN/MAX redefinition.  Define
24879         HAVE_ALLOCA to preserve builtin alloca usage.
24881 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
24883         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
24884         static and don't set or restore rounding.
24885         (__cos)[IN_SINCOS]: Likewise.
24886         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
24887         (__sincos): Set and restore rounding mode.  Remove check for infinite
24888         or NaN input.
24890         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
24892         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
24893         as used.
24895 2015-11-16  Florian Weimer  <fweimer@redhat.com>
24897         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
24899 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
24901         * config.make.in (have-glob-dat-reloc): New.
24902         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
24903         target supports GLOB_DAT relocaton. AC_SUBST.
24904         * configure: Regenerated.
24905         * elf/Makefile (tests): Add tst-prelink.
24906         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24907         (tst-prelink-ENV): New.
24908         ($(objpfx)tst-prelink-conflict.out): Likewise.
24909         ($(objpfx)tst-prelink-cmp.out): Likewise.
24910         * sysdeps/x86/tst-prelink.c: Moved to ...
24911         * elf/tst-prelink.c: Here.
24912         * sysdeps/x86/tst-prelink.exp: Moved to ...
24913         * elf/tst-prelink.exp: Here.
24914         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
24915         (tst-prelink-ENV): Removed.
24916         ($(objpfx)tst-prelink-conflict.out): Likewise.
24917         ($(objpfx)tst-prelink-cmp.out): Likewise.
24918         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
24920 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
24922         [BZ #14551]
24923         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
24924         (__mpn_construct_long_double): If high part overflows to infinity,
24925         set errno and recompute overflowed result of the correct sign.
24926         * sysdeps/ieee754/ldbl-128ibm/Makefile
24927         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
24928         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
24929         $(libm).
24930         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
24932 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
24934         [BZ #15479]
24935         [BZ #19238]
24936         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
24937         floating-point state after first operation on input.  Restore full
24938         state rather than just rounding mode.
24939         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
24940         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
24941         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
24943         [BZ #19235]
24944         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
24945         add 0.5 to integer arguments.
24946         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
24947         Likewise.
24948         (.LC2): New object.
24950 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
24952         * scripts/pylintrc (reports): Set to no.
24954 2015-11-10  Roland McGrath  <roland@hack.frob.com>
24956         * elf/dl-load.c (open_verify): Take new argument FD.
24957         Skip __open call if passed FD is not -1.
24958         (_dl_map_object, open_path): Update callers.
24959         * elf/dl-sysdep-open.h: New file.
24960         * elf/dl-load.c: Include it.
24961         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
24962         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
24963         * sysdeps/nacl/dl-sysdep-open.h: New file.
24964         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
24965         from libc to rtld.
24967 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
24969         [BZ #19228]
24970         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
24971         and restore full floating-point state.
24972         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
24973         Likewise.
24974         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
24975         Likewise.
24976         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
24977         Likewise.
24978         * math/test-nearbyint-except-2.c: New file.
24979         * math/Makefile (tests): Add test-nearbyint-except-2.
24981 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
24983         [BZ #19178]
24984         * sysdeps/x86/Makefile (tests): Add tst-prelink.
24985         (tst-prelink-ENV): New.
24986         ($(objpfx)tst-prelink-conflict.out): Likewise.
24987         ($(objpfx)tst-prelink-cmp.out): Likewise.
24988         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24989         * sysdeps/x86/tst-prelink.c: New file.
24990         * sysdeps/x86/tst-prelink.exp: Likewise.
24992 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
24994         * math/auto-libm-test-in: Add another test of pow.
24995         * math/auto-libm-test-out: Regenerated.
24996         * math/libm-test.inc (pow_test_data): Add another test.
24998 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25000         [BZ #19219]
25001         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
25002         weak_alias to nearbyintl.
25004 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
25006         * sysdeps/aarch64/bits/string.h: New file.
25007         (_STRING_ARCH_unaligned): Define.
25009 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
25011         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
25012         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25013         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25014         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
25015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
25017 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
25019         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
25020         for original name of the DSO.  Add it to the name list of the DSO
25021         if it is actually given.
25022         (_dl_map_object): Keep track of whether an audit module rewrote
25023         the file name.  If yes, pass the original name to
25024         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
25025         debugging is enabled, log the change of the file name.
25026         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
25027         _dl_map_object_from_fd.
25028         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
25029         * elf/tst-audit11.c: New file
25030         * elf/tst-auditmod11.c: New file.
25031         * elf/tst-audit11mod1.c: New file.
25032         * elf/tst-audit11mod2.c: New file.
25033         * elf/tst-audit11mod2.map: New file.
25034         * elf/tst-audit12.c: New file
25035         * elf/tst-auditmod12.c: New file.
25036         * elf/tst-audit12mod1.c: New file.
25037         * elf/tst-audit12mod2.c: New file.
25038         * elf/tst-audit12mod2.map: New file.
25039         * elf/tst-audit12mod3.c: New file.
25041 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
25043         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
25044         Don't create weak aliases,
25045         because versioned symbols are created later.
25046         * sysdeps/s390/s390-32/setjmp.S
25047         (setjmp, _setjmp): Remove weak and rename to an unique name
25048         in SHARED case due to existing versioned symbols.
25049         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25050         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
25051         (getcontext): Create weak alias only in non SHARED case.
25052         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25054 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
25056         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
25057         (__ASSUME_*_SYSCALL) Define new macros.
25058         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
25059         Remove socketcall syscalls.
25060         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
25061         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
25062         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
25063         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
25064         * sysdeps/unix/sysv/linux/send.c (__libc_send):
25065         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
25067 2015-11-09  Florian Weimer  <fweimer@redhat.com>
25069         [BZ #12926]
25070         Terminate process on invalid netlink response.
25071         * sysdeps/unix/sysv/linux/netlinkaccess.h
25072         (__netlink_assert_response): Declare.
25073         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
25074         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
25075         (sysdep_routines): Add netlink_assert_response.
25076         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
25077         __netlink_assert_response.
25078         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
25079         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
25080         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
25081         __netlink_assert_response.
25083 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25085         [BZ #19178]
25086         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
25087         (RTYPE_CLASS_PLT): Likewise.
25088         (RTYPE_CLASS_COPY): Likewise.
25089         (RTYPE_CLASS_TLS): Likewise.
25090         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
25091         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
25092         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
25093         DL_DEBUG_PRELINK.
25095 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
25097         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
25098         calls with argument -0.5.
25099         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
25101         * configure.ac (libc_cv_z_nodelete): Remove configure test.
25102         (libc_cv_z_nodlopen): Likewise.
25103         (libc_cv_z_initfirst): Likewise.
25104         * configure: Regenerated.
25106 2015-11-06  Florian Weimer  <fweimer@redhat.com>
25108         Simplify abilist format to be line-based.
25109         * scripts/abilist.awk: Collect descriptors in the descs variable.
25110         (emit): Write descs variable and sort it
25111         externally, with sort.
25112         * sysdeps/**/*.abilist: Convert to new format.
25114 2015-11-06  Mark Wielaard  <mjw@redhat.com>
25116         [BZ #11460]
25117         * io/Makefile (routines): Add fts64.
25118         (tests): Add tst-fts and tst-fts-lfs.
25119         (CFLAGS-fts64.c): New.
25120         * io/Versions (GLIBC_2.23): New.
25121         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
25122         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
25123         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
25124         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
25125         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
25126         (FTSENT64): Likewise.
25127         (fts64_children): Likewise.
25128         (fts64_close): Likewise.
25129         (fts64_open): Likewise.
25130         (fts64_read): Likewise.
25131         (fts64_set): Likewise.
25132         * io/fts64.c: New file.
25133         * io/tst-fts.c: New test.
25134         * io/tst-fts-lfs.c: Likewise.
25135         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
25136         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
25137         fts64_set.
25138         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25139         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25140         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25141         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25142         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25143         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25144         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25145         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25146         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25147         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
25148         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25149         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25150         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25152         Likewise.
25153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25154         Likewise.
25155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
25156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
25157         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25158         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25159         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25160         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25161         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
25163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
25164         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25165         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25166         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25167         * sysdeps/wordsize-64/fts.c: New file.
25168         * sysdeps/wordsize-64/fts64.c: Likewise.
25169         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
25170         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
25171         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
25172         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
25174 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
25176         * math/libm-test.inc (NON_FINITE): New macro.
25177         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
25178         * math/gen-libm-test.pl (show_exceptions): Add argument
25179         $non_finite.
25180         (parse_args): Update call to show_exceptions.
25181         * math/test-math-finite.h: New file.
25182         * math/test-math-no-finite.h: Likewise.
25183         * math/test-double-finite.c: Likewise.
25184         * math/test-float-finite.c: Likewise.
25185         * math/test-ldouble-finite.c: Likewise.
25186         * math/test-double.c: Include "test-math-no-finite.h".
25187         * math/test-float.c: Include "test-math-no-finite.h".
25188         * math/test-ldouble.c: Include "test-math-no-finite.h".
25189         * math/test-math-inline.h (TEST_FINITE): New macro.
25190         * math/test-math-vector.h (TEST_FINITE): Likewise.
25191         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
25192         (libm-tests): Add test-float-finite and test-double-finite.
25193         ($(objpfx)test-float-finite.o): New dependency on
25194         $(objpfx)libm-test.stmp.
25195         ($(objpfx)test-double-finite.o): Likewise.
25196         ($(objpfx)test-ldouble-finite.o): Likewise.
25197         (libm-test-no-inline-cflags): New variable.
25198         (libm-test-finite-cflags): Likewise.
25199         (CFLAGS-test-float-finite.c): Likewise.
25200         (CFLAGS-test-double-finite.c): Likewise.
25201         (CFLAGS-test-ldouble-finite.c): Likewise.
25202         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
25203         (CFLAGS-test-double.c): Likewise.
25204         (CFLAGS-test-ldouble.c): Likewise.
25206 2015-11-05  Roland McGrath  <roland@hack.frob.com>
25208         * io/fcntl.c (__fcntl): Add ... to prototype.
25209         * misc/ioctl.c (__ioctl): Likewise.
25210         * misc/syscall.c (syscall): Likewise.
25212 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
25214         * scripts/list-fixed-bugs.py: New file.
25216         [BZ #19213]
25217         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
25218         returned for argument 1.
25219         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
25220         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
25221         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
25222         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
25223         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
25224         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
25226         [BZ #19211]
25227         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
25228         __USE_XOPEN], not if [!__USE_ISOC99].
25229         (lgammaf): Likewise.
25230         (lgammal): Likewise.
25231         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
25232         (gammaf): Likewise.
25233         (gammal): Likewise.
25234         * math/test-signgam-finite-c11.c: New file.
25235         * math/test-signgam-finite-c99.c: Likewise.
25236         * math/test-signgam-finite.c: Likewise.
25237         * math/Makefile (tests): Add test-signgam-finite,
25238         test-signgam-finite-c99 and test-signgam-finite-c11.
25239         (CFLAGS-test-signgam-finite.c): New variable.
25240         (CFLAGS-test-signgam-finite-c99.c): Likewise.
25241         (CFLAGS-test-signgam-finite-c11.c): Likewise.
25243         [BZ #19212]
25244         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
25245         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
25246         500].
25247         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
25248         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
25249         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
25250         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
25251         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
25252         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
25253         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
25254         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
25255         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
25256         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
25258         [BZ #19209]
25259         * math/bits/math-finite.h (ldexp): Remove declaration.
25260         (ldexpf): Likewise.
25261         (ldexpl): Likewise.
25263         [BZ #19205]
25264         * math/bits/math-finite.h (acosf): Condition declaration on
25265         [__USE_ISOC99].
25266         (acosl): Likewise.
25267         (acoshf): Likewise.
25268         (acoshl): Likewise.
25269         (asinf): Likewise.
25270         (asinl): Likewise.
25271         (atan2f): Likewise.
25272         (atan2l): Likewise.
25273         (atanhf): Likewise.
25274         (atanhl): Likewise.
25275         (coshf): Likewise.
25276         (coshl): Likewise.
25277         (expf): Likewise.
25278         (expl): Likewise.
25279         (fmodf): Likewise.
25280         (fmodl): Likewise.
25281         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
25282         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
25283         (j0l): Likewise.
25284         (y0f): Likewise.
25285         (y0l): Likewise.
25286         (j1f): Likewise.
25287         (j1l): Likewise.
25288         (y1f): Likewise.
25289         (y1l): Likewise.
25290         (jnf): Likewise.
25291         (jnl): Likewise.
25292         (ynf): Likewise.
25293         (ynl): Likewise.
25294         (lgammaf_r): Condition declaration on [__USE_ISOC99].
25295         (lgammal_r): Likewise.
25296         (__lgamma_r_finite): New declaration.
25297         (__lgammaf_r_finite): Likewise.
25298         (__lgammal_r_finite): Likewise.
25299         (lgamma): Use __lgamma_r_finite.
25300         (lgammaf): Condition definition on [__USE_ISOC99].  Use
25301         __lgammaf_r_finite.
25302         (lgammal): Condition definition on [__USE_ISOC99].  Use
25303         __lgammal_r_finite.
25304         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
25305         __lgamma_r_finite.
25306         (gammaf): Condition definition on [__USE_ISOC99].  Use
25307         __lgammaf_r_finite.
25308         (gammal): Condition definition on [__USE_ISOC99].  Use
25309         __lgammal_r_finite.
25310         (logf): Condition declaration on [__USE_ISOC99].
25311         (logl): Likewise.
25312         (log10f): Likewise.
25313         (log10l): Likewise.
25314         (ldexpf): Likewise.
25315         (ldexpl): Likewise.
25316         (powf): Likewise.
25317         (powl): Likewise.
25318         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
25319         __USE_ISOC99].
25320         (remainderf): Condition declaration on [__USE_ISOC99].
25321         (remainderl): Likewise.
25322         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
25323         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
25324         (scalbl): Likewise.
25325         (sinhf): Condition declaration on [__USE_ISOC99].
25326         (sinhl): Likewise.
25327         (sqrtf): Likewise.
25328         (sqrtl): Likewise.
25330 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
25332         * sysdeps/arm/atomic-machine.h
25333         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25334         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25335         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
25336         Remove conditional code.
25337         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25338         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25339         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
25340         Change conditional to [__ASSEMBLER__].
25341         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25342         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
25343         [!__ASSEMBLER__].
25344         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
25345         code.
25346         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
25347         conditional macro definitions.
25348         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
25349         (__arch_compare_and_exchange_val_16_acq): Likewise.
25350         (__arch_compare_and_exchange_val_32_acq): Likewise.
25351         (atomic_exchange_and_add): Likewise.
25352         (atomic_add): Likewise.
25353         (atomic_add_negative): Likewise.
25354         (atomic_add_zero): Likewise.
25355         (atomic_bit_set): Likewise.
25356         (atomic_bit_test_set): Likewise.
25357         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
25358         code unconditional.
25359         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25361         * math/test-math-errno.h: New file.
25362         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
25363         empty.
25364         (TEST_ERRNO): New macro.
25365         (TEST_EXCEPTIONS): Likewise.
25366         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
25367         (TEST_EXCEPTIONS): Likewise.
25368         * math/test-math-vector.h (TEST_ERRNO): Likewise.
25369         * math/test-double.c: Include "test-math-errno.h".
25370         * math/test-float.c: Likewise.
25371         * math/test-ldouble.c: Likewise.
25372         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
25373         code unconditional.
25374         (test_exceptions): Only run code if TEST_EXCEPTIONS.
25375         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
25376         unconditional.
25377         (test_errno): Only run code if TEST_ERRNO.
25378         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
25380 2015-11-04  Florian Weimer  <fweimer@redhat.com>
25382         * nptl/tst-once5.cc: Remove attribution.
25384 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
25386         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
25387         sqrt, tan, tanh, y0, y1 and yn.
25388         * math/auto-libm-test-out: Regenerated.
25389         * math/libm-test.inc (scalb_test_data): Add more tests.
25390         (scalbn_test_data): Likewise.
25391         (scalbln_test_data): Likewise.
25392         (signbit_test_data): Likewise.
25393         (sin_test_data): Likewise.
25394         (sincos_test_data): Likewise.
25395         (sinh_test_data): Likewise.
25396         (sqrt_test_data): Likewise.
25397         (tan_test_data): Likewise.
25398         (tanh_test_data): Likewise.
25399         (tgamma_test_data): Likewise.
25400         (y0_test_data): Likewise.
25401         (y1_test_data): Likewise.
25402         (yn_test_data): Likewise.
25403         (significand_test_data): Likewise.
25404         * sysdeps/i386/fpu/libm-test-ulps: Update.
25406 2015-11-03  David Kastrup  <dak@gnu.org>
25408         [BZ #18604]
25409         * assert/assert.h (assert): Don't macro-expand failed assertion
25410         expression in error message.
25411         * malloc/malloc.c (assert): Likewise.
25413 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
25415         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
25416         test.
25417         * configure: Regenerated.
25419 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
25421         * math/libm-test.inc (modf_test_data): Add more tests.
25422         (nearbyint_test_data): Likewise.
25423         (nextafter_test_data): Likewise.
25424         (nexttoward_test_data): Likewise.
25425         (pow_test_data): Likewise.
25426         (remainder_test_data): Likewise.
25427         (remquo_test_data): Likewise.
25428         (rint_test_data): Likewise.
25430         [BZ #19201]
25431         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25432         Check for zero remainder in case of large exponents and ensure
25433         correct sign of result in that case.
25434         * math/libm-test.inc (remainder_test_data): Add more tests.
25436         [BZ #6799]
25437         * math/s_nextafter.c: Include <errno.h>.
25438         (__nextafter): Set errno on overflow and underflow.
25439         * math/s_nexttowardf.c: Include <errno.h>.
25440         (__nexttowardf): Set errno on overflow and underflow.
25441         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
25442         (__nextafterl): Set errno on overflow and underflow.
25443         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
25444         (__nexttoward): Set errno on overflow and underflow.
25445         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
25446         (__nexttowardf): Set errno on overflow and underflow.
25447         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
25448         (__nextafterf): Set errno on overflow and underflow.
25449         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
25450         (__nextafterl): Set errno on overflow and underflow.
25451         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
25452         (__nexttoward): Set errno on overflow and underflow.
25453         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
25454         (__nexttowardf): Set errno on overflow and underflow.
25455         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
25456         (__nextafterl): Set errno on overflow and underflow.
25457         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
25458         (__nexttoward): Set errno on overflow and underflow.
25459         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
25460         (__nexttowardf): Set errno on overflow and underflow.
25461         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
25462         (__nexttoward): Set errno on overflow and underflow.
25463         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
25464         (__nexttowardf): Set errno on overflow and underflow.
25465         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
25466         (__nldbl_nexttowardf): Set errno on overflow and underflow.
25467         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
25468         (__nextafterl): Set errno on overflow and underflow.
25469         * math/libm-test.inc (nextafter_test_data): Do not allow errno
25470         setting to be missing on overflow.  Add more tests.
25471         (nexttoward_test_data): Likewise.
25473         * configure.ac (libc_cv_initfini_array): Remove configure test.
25474         * configure: Regenerated.
25476 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
25478         [BZ #19189]
25479         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
25480         non-finite argument handle arguments with negative sign.
25482         * math/libm-test.inc (j0_test_data): Do not test sign of zero
25483         result from infinite argument.
25484         (j1_test_data): Likewise.
25485         (jn_test_data): Likewise.
25486         (y0_test_data): Likewise.
25487         (y1_test_data): Likewise.
25488         (yn_test_data): Likewise.
25490         [BZ #16171]
25491         * math/w_remainder.c (drem): Define as weak alias of __remainder.
25492         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
25493         * math/w_remainderf.c (dremf): Define as weak alias of
25494         __remainderf.
25495         * math/w_remainderl.c (dreml): Define as weak alias of
25496         __remainderl.
25497         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
25498         __remainder.
25499         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
25500         __remainderf.
25501         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
25502         __remainderl.
25503         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
25504         weak alias of remainderl.
25505         * sysdeps/ieee754/ldbl-opt/w_remainder.c
25506         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
25507         alias of __remainder.
25508         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
25509         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
25510         strong alias of __remainderl.
25511         (dreml): Use long_double_symbol.
25512         * math/Makefile (libm-calls): Remove w_drem.
25513         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
25514         (CFLAGS-nldbl-drem.c): Remove variable.
25515         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
25516         * math/w_drem.c: Remove file.
25517         * math/w_dremf.c: Likewise.
25518         * math/w_dreml.c: Likewise.
25519         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
25520         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
25521         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
25523         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
25524         * sysdeps/i386/configure: Regenerated.
25525         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
25526         * sysdeps/x86_64/configure: Regenerated.
25528         * configure.ac (libc_cv_asm_protected_directive): Remove configure
25529         test.
25530         (libc_cv_visibility_attribute): Likewise.
25531         (libc_cv_protected_data): Test unconditionally.
25532         (libc_cv_broken_visibility_attribute): Remove configure test.
25533         (libc_cv_have_sdata_section): Test unconditionally.
25534         * configure: Regenerated.
25536         * include/libc-internal.h (libc_max_align_t): Remove typedef.
25537         * include/scratch_buffer.h: Include <stddef.h> instead of
25538         <libc-internal.h>.
25539         (struct scratch_buffer): Use max_align_t instead of
25540         libc_max_align_t.
25542 2015-10-29  Florian Weimer  <fweimer@redhat.com>
25544         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
25545         instead of extend_alloca.  Change control flow to avoid a goto.
25546         Remove assert which is trivially always true.
25548 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25550         [BZ #16068]
25551         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
25552         (FE_ALL_EXCEPT_X86): New macro.
25553         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
25554         FE_ALL_EXCEPT.  Ensure precision control is included in
25555         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
25556         handle "denormal operand exception" and clear FZ and DAZ bits.
25557         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
25558         (FE_ALL_EXCEPT_X86): New macro.
25559         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
25560         FE_ALL_EXCEPT.  Ensure precision control is included in
25561         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
25562         handle "denormal operand exception" and clear FZ and DAZ bits.
25563         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
25564         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
25565         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25566         test-fenv-x87 and test-fenv-sse-2.
25567         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
25569         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
25570         * math/test-double.h (BUILD_COMPLEX): New macro.
25571         * math/test-float.h (BUILD_COMPLEX): Likewise.
25572         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
25574         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
25575         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
25576         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
25577         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
25578         instead of DBL_DENORM_MIN in comment.
25579         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
25580         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25581         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
25582         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
25583         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
25584         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25586 2015-10-28  Florian Weimer  <fweimer@redhat.com>
25588         [BZ #19048]
25589         * malloc/malloc.c (struct malloc_state): Update comment.  Add
25590         attached_threads member.
25591         (main_arena): Initialize attached_threads.
25592         * malloc/arena.c (list_lock): Update comment.
25593         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
25594         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
25595         (deattach_arena): New function.
25596         (_int_new_arena): Initialize arena reference count and deattach
25597         replaced arena.
25598         (get_free_list, reused_arena): Update reference count and deattach
25599         replaced arena.
25600         (arena_thread_freeres): Update arena reference count and only put
25601         unreferenced arenas on the free list.
25603 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25605         [BZ #19181]
25606         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
25607         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
25608         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
25609         * math/test-fenv-clear-main.c: New file.
25610         * math/test-fenv-clear.c: Likewise.
25611         * math/Makefile (tests): Add test-fenv-clear.
25612         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
25613         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25614         test-fenv-clear-sse.
25615         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
25617         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
25618         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
25619         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
25621 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25623         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
25624         static libc.
25626 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25628         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
25629         test.
25630         * sysdeps/i386/configure: Regenerated.
25631         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
25632         test.
25633         * sysdeps/x86_64/configure: Regenerated.
25634         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
25635         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25636         memset-avx2 unconditionally instead of conditionally on
25637         [$(config-cflags-avx2) = yes].
25638         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25639         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
25640         unconditional.
25641         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
25642         * sysdeps/x86_64/multiarch/memset_chk.S
25643         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
25644         to [IS_IN (libc) && SHARED].
25646 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25648         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
25649         configure test.
25650         * sysdeps/arm/configure: Regenerated.
25651         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
25652         Define variable if not already defined.
25654         [BZ #17404]
25655         * sysdeps/mips/atomic-machine.h
25656         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
25657         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
25658         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25660         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
25661         unconditional.
25662         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
25663         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25664         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
25665         unconditional.
25666         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25667         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
25668         unconditional.
25669         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25670         * stdlib/setenv.c
25671         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
25672         code unconditional.
25673         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
25674         Remove conditional code.
25675         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25676         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
25677         unconditional.
25678         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25679         code.
25680         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25681         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
25682         unconditional.
25683         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25684         code.
25685         * sysdeps/ieee754/ldbl-128/k_tanl.c
25686         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25687         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25688         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
25689         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25690         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25691         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
25692         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
25693         unconditional.
25694         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25695         code.
25696         * sysdeps/ieee754/ldbl-96/k_tanl.c
25697         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25698         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25700         * nptl/tst-initializers1-c11.c: New file.
25701         * nptl/tst-initializers1-gnu11.c: Likewise.
25702         * nptl/Makefile (tests): Add these new tests.
25703         (CFLAGS-tst-initializers1-c11.c): New variable.
25704         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25706         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
25707         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
25708         instead of -std=gnu99.
25709         * configure.ac (systemtap): Test with -std=gnu11 instead of
25710         -std=gnu99.
25711         * configure: Regenerated.
25712         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
25713         in compilation command in comment.
25715         * sysdeps/nptl/configure.ac: Remove file.
25716         * sysdeps/nptl/configure: Remove generated file.
25717         * configure.ac (libc_cv_forced_unwind): Do not substitute.
25718         * configure: Regenerated.
25719         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
25720         * config.make.in (have-forced-unwind): Remove variable.
25721         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25722         unconditional.
25723         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
25724         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
25725         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
25726         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
25727         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25728         unconditional.
25730 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25732         [BZ #19174]
25733         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
25734         .skip_lock_out_of_tbegin_retries.
25735         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25736         (__lll_lock_elision): Likewise, and respect a value of
25737         try_tbegin <= 0.
25739 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25741         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
25742         statement.
25744 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25746         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
25747         variable.
25748         (test-xfail-ISO11/stdalign.h/conform): Likewise.
25749         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25751         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
25752         of -std=c1x -D_ISOC11_SOURCE.
25754         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
25755         * configure: Regenerated.
25756         * manual/install.texi (Tools for Compilation): Document
25757         requirement for GCC 4.7 or later.
25758         * INSTALL: Regenerated.
25760 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
25762         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
25763         on CNT to a conditional jump to 'puntdata'.
25765 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25767         * configure.ac (libc_cv_gcc___thread): Remove configure test.
25768         (libc_cv_gcc_tls_model_attr): Likewise.
25769         * configure: Regenerated.
25771         * configure.ac (libc_cv_need_minus_P): Remove configure test.
25772         * configure: Regenerated.
25773         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
25775 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
25777         * configure.ac (old_glibc_headers): Remove configure test.
25778         * configure: Regenerated.
25779         * config.make.in (old-glibc-headers): Remove variable.
25780         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
25781         (install): Remove dependency on remove-old-headers.
25782         (headers2_0): Remove variable.
25783         (remove-old-headers): Remove rule.
25785         * configure.ac (libc_cv_dot_text): Remove configure test.
25786         (libc_cv_asm_set_directive): Use .text instead of
25787         ${libc_cv_dot_text} in configure test.
25788         * configure: Regenerated.
25790 2015-10-26  Florian Weimer  <fweimer@redhat.com>
25792         [BZ #19168]
25793         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25795 2015-10-26  Florian Weimer  <fweimer@redhat.com>
25797         * configure.ac (CXX): Clear the variable if the C++ toolchain does
25798         not support static linking.
25799         * configure: Regenerate.
25801 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
25803         * math/libm-test.inc (check_float_internal): Do not special-case
25804         errors up to 0.5 ulp.
25806         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25807         log2.
25808         * math/auto-libm-test-out: Regenerated.
25809         * math/libm-test.inc (MAX_EXP): New macro.
25810         (ilogb_test_data): Add more tests.
25811         (isfinite_test_data): Likewise.
25812         (isgreater_test_data): Likewise.
25813         (isgreaterequal_test_data): Likewise.
25814         (isinf_test_data): Likewise.
25815         (isless_test_data): Likewise.
25816         (islessequal_test_data): Likewise.
25817         (islessgreater_test_data): Likewise.
25818         (isnan_test_data): Likewise.
25819         (isnormal_test_data): Likewise.
25820         (issignaling_test_data): Likewise.
25821         (isunordered_test_data): Likewise.
25822         (j0_test_data): Likewise.
25823         (j1_test_data): Likewise.
25824         (jn_test_data): Likewise.
25825         (lgamma_test_data): Likewise.
25826         (log_test_data): Likewise.
25827         (log10_test_data): Likewise.
25828         (log1p_test_data): Likewise.
25829         (log2_test_data): Likewise.
25830         (logb_test_data): Likewise.
25831         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25833         [BZ #18611]
25834         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
25835         avoid excess range and precision on underflow.
25836         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25837         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
25838         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25839         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
25840         underflow.
25841         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25842         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25843         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25844         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25845         * math/auto-libm-test-in: Do not allow missing errno setting for
25846         tests of j1 and jn.
25847         * math/auto-libm-test-out: Regenerated.
25849 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
25851         [BZ #15491]
25852         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
25853         floating-point environment instead of clearing all exceptions.
25854         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
25855         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
25856         merging in "invalid" exceptions from frndint.
25857         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
25858         * math/test-nearbyint-except.c: New file.
25859         * math/Makefile (tests): Add test-nearbyint-except.
25861 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
25863         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
25865         * sysdeps/tile/libm-test-ulps: Regenerated.
25867 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
25870         (__NR_sync_file_range2): Assume it is always defined.
25871         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25872         (__NR_sync_file_range): Assume it is always defined.
25874 2015-10-22  Andreas Schwab  <schwab@suse.de>
25876         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25877         INTERNAL_SYSCALL_ERRNO.
25878         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25879         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25880         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25881         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25882         Likewise.
25883         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25885 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25887         * io/tst-fcntl.c (fd): New static variable.
25888         (do_prepare): Open temporary file here....
25889         (do_test): ...not here.
25891         * io/ftwtest-sh: Also trap on exit to remove temporary files.
25893 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
25895         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
25896         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25897         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25898         Moved before "#ifdef __ASSEMBLER__".
25900 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25902         [BZ #19156]
25903         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
25904         arguments very close to 0.
25906 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
25908         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
25909         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
25911 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
25913         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25914         New.  Defined for GCC 5 and above when not compiling for
25915         profiling.
25916         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25918         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25919         Renamed to ...
25920         (CFLAGS-epoll_pwait.o): This.
25921         (CFLAGS-mmap.c): Renamed to ...
25922         (CFLAGS-mmap.o): This.
25923         (CFLAGS-mmap64.c): Renamed to ...
25924         (CFLAGS-mmap64.o): This.
25925         (CFLAGS-epoll_pwait.os): New.
25926         (CFLAGS-mmap.os): Likewise.
25927         (CFLAGS-mmap64.os): Likewise.
25928         (CFLAGS-semtimedop.os): Likewise.
25929         (CFLAGS-semtimedop.c): Renamed to ...
25930         (CFLAGS-semtimedop.o): This.
25932 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25934         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
25935         warning message.
25937 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25939         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
25940         * Makefile ($(objpfx)c++-types-check.out): Filter out
25941         $(+gccwarn-c) instead of -Wstrict-prototypes.
25943         * io/fts.c (fts_open): Convert to prototype-style function
25944         definition.
25945         * malloc/mcheck.c (mcheck): Likewise.
25946         (mcheck_pedantic): Likewise.
25947         * posix/regexec.c (re_search_2_stub): Likewise.  Use
25948         internal_function.
25949         (re_search_internal): Likewise.
25950         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
25951         prototype-style function definition.
25952         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25953         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
25954         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
25955         (xdr_utmpptr): Likewise.
25956         (xdr_utmparr): Likewise.
25957         (xdr_utmpidle): Likewise.
25958         (xdr_utmpidleptr): Likewise.
25959         (xdr_utmpidlearr): Likewise.
25961         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
25962         log, log10 and log2.
25963         * math/auto-libm-test-out: Regenerated.
25964         * math/libm-test.inc (fmod_test_data): Add more tests.
25965         (fpclassify_test_data): Likewise.
25966         (frexp_test_data): Likewise.
25967         (hypot_test_data): Likewise.
25968         (ilogb_test_data): Likewise.
25970 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
25972         * debug/fortify_fail.c (__fortify_fail): Convert to
25973         prototype-style function definition.  Use internal_function.
25974         * libio/genops.c (save_for_backup): Convert to prototype-style
25975         function definition.
25976         * libio/wgenops.c (save_for_wbackup): Likewise.
25977         * login/grantpt.c (grantpt): Likewise.
25978         * login/ptsname.c (ptsname): Likewise.
25979         (__ptsname_r): Likewise.
25980         * login/unlockpt.c (unlockpt): Likewise.
25981         * mach/msgserver.c (__mach_msg_server): Likewise.
25982         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
25983         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
25984         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
25985         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
25986         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
25987         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
25988         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
25989         Likewise.
25990         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
25991         internal_function.
25992         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
25993         prototype-style function definition.
25994         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
25995         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
25996         (__pthread_create_2_0): Likewise.
25997         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
25998         * nptl/register-atfork.c (__register_atfork): Likewise.
25999         * posix/glob.c (glob): Likewise.
26000         * posix/regcomp.c (re_comp): Likewise.
26001         * posix/regexec.c (re_exec): Likewise.
26002         * stdlib/add_n.c [__STDC__]: Make code unconditional.
26003         [!__STDC__]: Remove conditional code.
26004         * stdlib/cmp.c [__STDC__]: Make code unconditional.
26005         [!__STDC__]: Remove conditional code.
26006         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
26007         [!__STDC__]: Remove conditional code.
26008         * stdlib/divrem.c [__STDC__]: Make code unconditional.
26009         [!__STDC__]: Remove conditional code.
26010         * stdlib/lshift.c [__STDC__]: Make code unconditional.
26011         [!__STDC__]: Remove conditional code.
26012         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
26013         [!__STDC__]: Remove conditional code.
26014         * stdlib/mul.c [__STDC__]: Make code unconditional.
26015         [!__STDC__]: Remove conditional code.
26016         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
26017         [!__STDC__]: Remove conditional code.
26018         * stdlib/rshift.c [__STDC__]: Make code unconditional.
26019         [!__STDC__]: Remove conditional code.
26020         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
26021         function definition.
26022         (STRTOF): Likewise.
26023         * stdlib/strtod_l.c (__STRTOF): Likewise.
26024         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
26025         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
26026         (__strtol_l): Likewise.
26027         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
26028         [!__STDC__]: Remove conditional code.
26029         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
26030         definition.
26031         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26032         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26033         type.
26034         (__strcasecmp): Convert to prototype-style function definition.
26035         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
26036         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26037         type.
26038         (__strncasecmp): Convert to prototype-style function definition.
26039         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
26040         * sunrpc/xdr.c (xdr_union): Likewise.
26041         * sunrpc/xdr_array.c (xdr_array): Likewise.
26042         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
26043         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
26044         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
26045         Likewise.
26046         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
26047         Likewise.
26048         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
26049         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26050         Likewise.
26051         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
26052         (LOCALE_PARAM_PROTO): Likewise.
26053         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
26054         argument type.
26055         (ut_argument_spec): Remove macro.
26056         (ut_argument_spec_iso): Rename to ut_argument_spec.
26057         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
26058         prototype-style function definition.
26059         (memcpy_uppcase): Likewise.
26060         (__strftime_internal): Likewise.
26061         (my_strftime): Likewise.
26062         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
26063         (LOCALE_PARAM_DECL): Likewise.
26064         [_LIBC] (LOCALE_PARAM): Include argument type.
26065         (__strptime_internal): Convert to prototype-style function
26066         definition.
26067         (strptime): Likewise.
26068         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26069         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26070         type.
26071         (__wcscasecmp): Convert to prototype-style function definition.
26072         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
26073         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26074         type.
26075         (__wcsncasecmp): Convert to prototype-style function definition.
26077         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
26078         function definition.
26079         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26080         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26081         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
26082         * elf/dl-minimal.c (_itoa): Likewise.
26083         * hurd/hurdmalloc.c (malloc): Likewise.
26084         (free): Likewise.
26085         (realloc): Likewise.
26086         * inet/inet6_option.c (inet6_option_space): Likewise.
26087         (inet6_option_init): Likewise.
26088         (inet6_option_append): Likewise.
26089         (inet6_option_alloc): Likewise.
26090         (inet6_option_next): Likewise.
26091         (inet6_option_find): Likewise.
26092         * io/ftw.c (FTW_NAME): Likewise.
26093         (NFTW_NAME): Likewise.
26094         (NFTW_NEW_NAME): Likewise.
26095         (NFTW_OLD_NAME): Likewise.
26096         * libio/iofwide.c (_IO_fwide): Likewise.
26097         * libio/strops.c (_IO_str_init_static_internal): Likewise.
26098         (_IO_str_init_static): Likewise.
26099         (_IO_str_init_readonly): Likewise.
26100         (_IO_str_overflow): Likewise.
26101         (_IO_str_underflow): Likewise.
26102         (_IO_str_count): Likewise.
26103         (_IO_str_seekoff): Likewise.
26104         (_IO_str_pbackfail): Likewise.
26105         (_IO_str_finish): Likewise.
26106         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
26107         (_IO_wstr_overflow): Likewise.
26108         (_IO_wstr_underflow): Likewise.
26109         (_IO_wstr_count): Likewise.
26110         (_IO_wstr_seekoff): Likewise.
26111         (_IO_wstr_pbackfail): Likewise.
26112         (_IO_wstr_finish): Likewise.
26113         * locale/programs/localedef.c (normalize_codeset): Likewise.
26114         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26115         (add_locales_to_archive): Likewise.
26116         (delete_locales_from_archive): Likewise.
26117         * malloc/malloc.c (__libc_mallinfo): Likewise.
26118         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
26119         * misc/tsearch.c (__tfind): Likewise.
26120         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
26121         * nptl/pthread_attr_getdetachstate.c
26122         (__pthread_attr_getdetachstate): Likewise.
26123         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26124         Likewise.
26125         * nptl/pthread_attr_getinheritsched.c
26126         (__pthread_attr_getinheritsched): Likewise.
26127         * nptl/pthread_attr_getschedparam.c
26128         (__pthread_attr_getschedparam): Likewise.
26129         * nptl/pthread_attr_getschedpolicy.c
26130         (__pthread_attr_getschedpolicy): Likewise.
26131         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
26132         Likewise.
26133         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
26134         Likewise.
26135         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26136         Likewise.
26137         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26138         Likewise.
26139         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
26140         (__pthread_attr_init_2_0): Likewise.
26141         * nptl/pthread_attr_setdetachstate.c
26142         (__pthread_attr_setdetachstate): Likewise.
26143         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26144         Likewise.
26145         * nptl/pthread_attr_setinheritsched.c
26146         (__pthread_attr_setinheritsched): Likewise.
26147         * nptl/pthread_attr_setschedparam.c
26148         (__pthread_attr_setschedparam): Likewise.
26149         * nptl/pthread_attr_setschedpolicy.c
26150         (__pthread_attr_setschedpolicy): Likewise.
26151         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
26152         Likewise.
26153         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
26154         Likewise.
26155         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26156         Likewise.
26157         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26158         Likewise.
26159         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
26160         Likewise.
26161         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
26162         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
26163         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
26164         use internal_function.
26165         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
26166         prototype-style function definition.
26167         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26168         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
26169         internal_function.
26170         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
26171         Convert to prototype-style function definition.
26172         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
26173         Likewise.
26174         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
26175         Likewise.
26176         (__pthread_mutex_unlock): Likewise.
26177         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
26178         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
26179         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
26180         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
26181         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
26182         * nss/makedb.c (process_input): Likewise.
26183         * posix/fnmatch.c (__strchrnul): Likewise.
26184         (__wcschrnul): Likewise.
26185         (fnmatch): Likewise.
26186         * posix/fnmatch_loop.c (FCT): Likewise.
26187         * posix/glob.c (globfree): Likewise.
26188         (__glob_pattern_type): Likewise.
26189         (__glob_pattern_p): Likewise.
26190         * posix/regcomp.c (re_compile_pattern): Likewise.
26191         (re_set_syntax): Likewise.
26192         (re_compile_fastmap): Likewise.
26193         (regcomp): Likewise.
26194         (regerror): Likewise.
26195         (regfree): Likewise.
26196         * posix/regexec.c (regexec): Likewise.
26197         (re_match): Likewise.
26198         (re_search): Likewise.
26199         (re_match_2): Likewise.
26200         (re_search_2): Likewise.
26201         (re_search_stub): Likewise.  Use internal_function
26202         (re_copy_regs): Likewise.
26203         (re_set_registers): Convert to prototype-style function
26204         definition.
26205         (prune_impossible_nodes): Likewise.  Use internal_function.
26206         * resolv/inet_net_pton.c (inet_net_pton): Convert to
26207         prototype-style function definition.
26208         (inet_net_pton_ipv4): Likewise.
26209         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26210         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
26211         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
26212         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
26213         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26214         Make variadic.
26215         * time/strptime_l.c (localtime_r): Convert to prototype-style
26216         function definition.
26217         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26218         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26219         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26220         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26222         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
26223         definition.
26224         (_ufc_doit_r): Likewise.
26225         * crypt/crypt_util.c (_ufc_copymem): Likewise.
26226         (_ufc_output_conversion_r): Likewise.
26227         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
26228         * inet/rcmd.c (rcmd_af): Likewise.
26229         (rcmd): Likewise.
26230         (ruserok_af): Likewise.
26231         (ruserok): Likewise.
26232         (ruserok2_sa): Likewise.
26233         (ruserok_sa): Likewise.
26234         (iruserok_af): Likewise.
26235         (iruserok): Likewise.
26236         (__ivaliduser): Likewise.
26237         (__validuser2_sa): Likewise.
26238         * inet/rexec.c (rexec_af): Likewise.
26239         (rexec): Likewise.
26240         * inet/ruserpass.c (ruserpass): Likewise.
26241         * locale/programs/xmalloc.c (xcalloc): Likewise.
26242         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
26243         * math/w_drem.c (__drem): Likewise.
26244         * math/w_dremf.c (__dremf): Likewise.
26245         * math/w_dreml.c (__dreml): Likewise.
26246         * misc/daemon.c (daemon): Likewise.
26247         * resolv/res_debug.c (p_fqnname): Likewise.
26248         * stdlib/div.c (div): Likewise.
26249         * string/memcmp.c (memcmp_bytes): Likewise.
26250         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
26251         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
26253         * crypt/cert.c (main): Convert to prototype-style function
26254         definition.
26255         * io/pipe.c (__pipe): Likewise.
26256         * io/pipe2.c (__pipe2): Likewise.
26257         * misc/futimesat.c (futimesat): Likewise.
26258         * misc/utimes.c (__utimes): Likewise.
26259         * posix/execve.c (__execve): Likewise.
26260         * posix/execvp.c (execvp): Likewise.
26261         * posix/execvpe.c (__execvpe): Likewise.
26262         * posix/fexecve.c (fexecve): Likewise.
26263         * socket/socketpair.c (socketpair): Likewise.
26264         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26265         * stdlib/erand48.c (erand48): Likewise.
26266         * stdlib/erand48_r.c (__erand48_r): Likewise.
26267         * stdlib/jrand48.c (jrand48): Likewise.
26268         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
26269         * stdlib/lcong48.c (lcong48): Likewise.
26270         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
26271         * stdlib/nrand48.c (nrand48): Likewise.
26272         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
26273         * stdlib/seed48.c (seed48): Likewise.
26274         * stdlib/seed48_r.c (__seed48_r): Likewise.
26275         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
26276         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
26277         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
26279 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
26281         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
26282         * configure: Regenerated.
26283         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
26284         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
26285         unconditional.
26286         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26287         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26288         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26289         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
26290         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
26291         unconditional.
26292         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26294         * posix/Makefile (CFLAGS-regex.c): Remove variable.
26295         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
26297         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
26298         function definition.
26299         * crypt/crypt_util.c (__encrypt_r): Likewise.
26300         * libio/genops.c (_IO_no_init): Likewise.
26301         * libio/iofopncook.c (_IO_fopencookie): Likewise.
26302         (_IO_old_fopencookie): Likewise.
26303         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26304         * libio/iogetline.c (_IO_getline): Likewise.
26305         (_IO_getline_info): Likewise.
26306         * libio/iogetwline.c (_IO_getwline): Likewise.
26307         (_IO_getwline_info): Likewise.
26308         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
26309         * libio/vswprintf.c (_IO_vswprintf): Likewise.
26310         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
26311         (find_entry): Likewise.
26312         (iterate_table): Likewise.
26313         (lookup): Likewise.
26314         * login/forkpty.c (forkpty): Likewise.
26315         * misc/hsearch_r.c (__hsearch_r): Likewise.
26316         * misc/select.c (__select): Likewise.
26317         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
26318         Likewise.
26319         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
26320         Likewise.
26321         * nptl/old_pthread_cond_timedwait.c
26322         (__pthread_cond_timedwait_2_0): Likewise.
26323         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26324         * nptl/pthread_barrierattr_getpshared.c
26325         (pthread_barrierattr_getpshared): Likewise.
26326         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
26327         Likewise.
26328         * nptl/pthread_mutex_setprioceiling.c
26329         (pthread_mutex_setprioceiling): Likewise.
26330         * nptl/pthread_mutexattr_getprioceiling.c
26331         (pthread_mutexattr_getprioceiling): Likewise.
26332         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26333         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26334         Likewise.
26335         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26336         Likewise.
26337         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
26338         Likewise.
26339         * socket/recvfrom.c (__recvfrom): Likewise.
26340         * socket/sendto.c (__sendto): Likewise.
26341         * socket/setsockopt.c (__setsockopt): Likewise.
26342         * stdio-common/_itoa.c (_itoa): Likewise.
26343         * stdio-common/_itowa.c (_itowa): Likewise.
26344         * stdio-common/reg-printf.c (__register_printf_specifier):
26345         Likewise.
26346         (__register_printf_function): Likewise.
26347         * stdio-common/tempname.c (__path_search): Likewise.
26348         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
26349         * stdlib/mul_1.c (mpn_mul_1): Likewise.
26350         * stdlib/random_r.c (__initstate_r): Likewise.
26351         * stdlib/setenv.c (__add_to_environ): Likewise.
26352         * stdlib/submul_1.c (mpn_submul_1): Likewise.
26353         * streams/getpmsg.c (getpmsg): Likewise.
26354         * streams/putmsg.c (putmsg): Likewise.
26355         * streams/putpmsg.c (putpmsg): Likewise.
26356         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
26357         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
26358         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
26359         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
26360         * sunrpc/pm_getport.c (pmap_getport): Likewise.
26361         * sunrpc/svc_udp.c (cache_get): Likewise.
26362         * sunrpc/xdr_array.c (xdr_vector): Likewise.
26363         * sysdeps/mach/hurd/getcwd.c
26364         (__canonicalize_directory_name_internal): Likewise.
26365         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
26366         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
26367         * sysdeps/mach/hurd/select.c (__select): Likewise.
26368         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
26369         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
26370         * sysdeps/sparc/nptl/pthread_barrier_init.c
26371         (__pthread_barrier_init): Likewise.
26372         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
26373         (__pthread_cond_timedwait): Likewise.
26374         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
26375         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
26376         Likewise.
26377         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
26378         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
26379         Likewise.
26380         * sysvipc/semtimedop.c (semtimedop): Likewise.
26381         * time/setitimer.c (__setitimer): Likewise.
26382         * time/strftime_l.c (emacs_strftime): Likewise.
26384 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
26386         * config.make.in (have-ssp): Delete.
26387         (stack-protector): New variable.
26388         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
26389         cache test for -fstack-protector-strong.  Export stack_protector to
26390         the best ssp flag.
26391         * configure: Regenerated.
26392         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
26393         * nscd/Makefile (CFLAGS-nscd): Likewise.
26394         * resolv/Makefile (CFLAGS-libresolv): Likewise.
26396 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
26398         [BZ #19122]
26399         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
26400         attribute_hidden.
26402 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26404         [BZ #18743]
26405         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
26406         code to...
26407         (ELIDE_LOCK): ...here.
26408         (__get_new_count): New function with part of the code from
26409         __elide_lock that updates the value of adapt_count after a
26410         transaction abort.
26411         (__elided_trylock): Moved this code to...
26412         (ELIDE_TRYLOCK): ...here.
26414 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
26416         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
26417         * configure: Regenerate.
26418         * INSTALL: Regenerate.
26419         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
26420         and tweak grammar.
26422 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
26424         * login/programs/pt_chown.c: Include signal.h
26425         (main): Clear any signal mask from the parent process.
26427 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
26429         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
26430         * configure: Regenerated.
26431         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
26432         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
26433         $(gnu89-inline-CFLAGS).
26435         * configure.ac (libc_cv_asm_weak_directive): Remove configure
26436         test.
26437         (libc_cv_asm_weakext_directive): Likewise.
26438         * configure: Regenerated.
26439         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
26440         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
26441         * include/libc-symbols.h
26442         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
26443         #error.
26444         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
26445         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
26447         * sysdeps/arm/backtrace.c (__backtrace): Convert to
26448         prototype-style function definition.
26449         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26450         * sysdeps/i386/ffs.c (__ffs): Likewise.
26451         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26452         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
26453         Likewise.
26454         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26455         Likewise.
26456         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26457         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26458         Likewise.
26459         * sysdeps/m68k/ffs.c (__ffs): Likewise.
26460         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
26461         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
26462         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
26463         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
26464         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
26465         * sysdeps/mach/hurd/access.c (__access): Likewise.
26466         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
26467         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
26468         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
26469         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
26470         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
26471         (cthread_getspecific): Likewise.
26472         (cthread_setspecific): Likewise.
26473         (__libc_getspecific): Likewise.
26474         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
26475         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
26476         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
26477         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
26478         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
26479         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
26480         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
26481         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
26482         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
26483         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
26484         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
26485         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
26486         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
26487         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
26488         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
26489         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
26490         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
26491         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
26492         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
26493         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
26494         * sysdeps/mach/hurd/link.c (__link): Likewise.
26495         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
26496         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
26497         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
26498         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
26499         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26500         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
26501         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
26502         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
26503         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
26504         * sysdeps/mach/hurd/rename.c (rename): Likewise.
26505         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
26506         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26507         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
26508         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
26509         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
26510         * sysdeps/mach/hurd/send.c (__send): Likewise.
26511         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
26512         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
26513         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
26514         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
26515         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
26516         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
26517         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
26518         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
26519         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
26520         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
26521         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
26522         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
26523         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
26524         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
26525         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
26526         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26527         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
26528         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26529         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
26530         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
26531         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
26532         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
26533         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
26534         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
26535         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
26536         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
26537         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
26538         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
26539         * sysdeps/posix/alarm.c (alarm): Likewise.
26540         * sysdeps/posix/cuserid.c (cuserid): Likewise.
26541         * sysdeps/posix/dirfd.c (dirfd): Likewise.
26542         * sysdeps/posix/dup.c (__dup): Likewise.
26543         * sysdeps/posix/dup2.c (__dup2): Likewise.
26544         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
26545         (main): Likewise.
26546         * sysdeps/posix/flock.c (__flock): Likewise.
26547         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
26548         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
26549         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
26550         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
26551         * sysdeps/posix/isatty.c (__isatty): Likewise.
26552         * sysdeps/posix/killpg.c (killpg): Likewise.
26553         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26554         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
26555         * sysdeps/posix/raise.c (raise): Likewise.
26556         * sysdeps/posix/remove.c (remove): Likewise.
26557         * sysdeps/posix/rename.c (rename): Likewise.
26558         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
26559         * sysdeps/posix/seekdir.c (seekdir): Likewise.
26560         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26561         * sysdeps/posix/sigignore.c (sigignore): Likewise.
26562         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
26563         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
26564         * sysdeps/posix/sigset.c (sigset): Likewise.
26565         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
26566         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
26567         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
26568         * sysdeps/posix/time.c (time): Likewise.
26569         * sysdeps/posix/ttyname.c (getttyname): Likewise.
26570         (ttyname): Likewise.
26571         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
26572         * sysdeps/posix/utime.c (utime): Likewise.
26573         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
26574         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26575         Likewise.
26576         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
26577         (pthread_spin_trylock): Likewise.
26578         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
26579         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
26580         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
26581         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
26582         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
26583         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
26584         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
26585         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
26586         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
26587         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
26588         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
26589         * sysdeps/s390/ffs.c (__ffs): Likewise.
26590         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
26591         Likewise.
26592         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26593         Likewise.
26594         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
26595         Likewise.
26596         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
26597         (pthread_barrier_destroy): Likewise.
26598         * sysdeps/sparc/nptl/pthread_barrier_wait.c
26599         (__pthread_barrier_wait): Likewise.
26600         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
26601         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
26602         (__pthread_barrier_wait): Likewise.
26603         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
26604         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
26605         (memcmp_not_common_alignment): Likewise.
26606         (MEMCMP): Likewise.
26607         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
26608         (_wordcopy_fwd_dest_aligned): Likewise.
26609         (_wordcopy_bwd_aligned): Likewise.
26610         (_wordcopy_bwd_dest_aligned): Likewise.
26611         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
26612         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
26613         * sysdeps/unix/bsd/stty.c (stty): Likewise.
26614         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
26615         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
26616         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
26617         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
26618         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
26619         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
26620         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
26621         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
26622         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
26623         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
26624         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
26625         * sysdeps/unix/stime.c (stime): Likewise.
26626         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
26627         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
26628         Likewise.  Use internal_function.
26629         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
26630         Convert to prototype-style function definition.
26631         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26632         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26633         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
26634         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26635         Likewise.  Use internal_function.
26636         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
26637         prototype-style function definition
26638         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26639         Likewise.
26640         (__getlogin_r): Likewise.
26641         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
26642         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
26643         (__pthread_cond_broadcast): Likewise.
26644         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
26645         (__pthread_cond_destroy): Likewise.
26646         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
26647         (__pthread_cond_init): Likewise.
26648         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
26649         (__pthread_cond_signal): Likewise.
26650         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
26651         (__pthread_cond_wait): Likewise.
26652         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
26653         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26654         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
26655         Likewise.
26656         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
26657         Likewise.
26658         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26659         Likewise.
26660         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
26661         Likewise.
26662         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
26663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
26664         (__ftruncate64): Likewise.
26665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
26666         (truncate64): Likewise.
26667         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
26668         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
26669         (pthread_getcpuclockid): Likewise.
26670         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
26671         Likewise.
26672         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
26673         Likewise.
26674         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
26675         Likewise.
26676         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
26677         Likewise.
26678         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
26679         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
26680         (__libc_sigaction): Likewise.
26681         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
26682         Likewise.
26683         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26684         (__sigprocmask): Likewise.
26685         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
26686         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
26687         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
26688         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26689         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26690         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
26691         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26692         Likewise.
26693         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
26694         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
26695         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26696         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
26697         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
26698         Likewise.
26699         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26700         (__sigprocmask): Likewise.
26701         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
26702         (cfgetispeed): Likewise.
26703         (cfsetospeed): Likewise.
26704         (cfsetispeed): Likewise.
26705         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
26706         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
26707         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26708         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26709         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
26710         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
26711         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
26712         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
26713         Likewise.
26714         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
26715         Likewise.
26716         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
26717         Likewise.
26718         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26719         Likewise.
26720         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26722 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26724         sunrpc: Rewrite with explicit TLS access using __thread.
26725         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
26726         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
26727         directly.
26728         (__rpc_thread_variables): Access thread_rpc_vars directly.
26729         Eliminate redundant assignment of the tvp variable.
26731 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26733         malloc: Rewrite with explicit TLS access using __thread.
26734         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
26735         (tsd_setspecific, tsd_getspecific): Remove.
26736         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
26737         (tsd_setspecific, tsd_getspecific): Likewise.
26738         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
26739         (tsd_setspecific, tsd_getspecific): Likewise.
26740         * malloc/arena.c (thread_arena): New TLS variable.
26741         (arena_key): Remove variable.
26742         (arena_get): Use thread_arena.
26743         (arena_lookup): Remove macro.
26744         (malloc_atfork, free_atfork, ptmalloc_lock_all)
26745         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
26746         (_int_new_arena, get_free_list, reused_arena)
26747         (arena_thread_freeres): Use thread_arena.
26748         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
26749         tsd_getspecific, tsd_setspecific from safety annotations.
26750         (Allocating Cleared Space): Remove arena_lookup from safety
26751         annotations.
26753 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26755         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
26756         struct scratch_buffer instead of extend_alloca.
26758 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26760         * sysdeps/unix/sysv/linux/kernel-features.h
26761         (__ASSUME_SOCK_CLOEXEC): Remove.
26762         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
26763         (__have_paccept): Remove unused macro.
26764         * include/unistd.h (__have_sock_cloexec): Remove declaration.
26765         * misc/syslog.c (openlog_internal): Remove fallback code for
26766         !__ASSUME_SOCK_CLOEXEC.
26767         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
26768         missing SOCK_CLOEXEC.
26769         * nscd/connections.c (have_sock_cloexec): Remove definition.
26770         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26771         * nscd/nscd_helper.c (open_socket): Remove fallback code for
26772         !__ASSUME_SOCK_CLOEXEC.
26773         * resolv/res_send.c (__have_o_nonblock): Remove definition.
26774         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26775         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
26776         definition.
26777         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
26778         code for !__ASSUME_SOCK_CLOEXEC.
26780 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26782         [BZ #18982]
26783         * manual/stdio.texi (Variable Arguments Output): Add portability
26784         note, explaining that vfprintf clobbers the va_list pointer.
26786 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
26788         * math/libm-test.inc (fabs_test_data): Add more tests.
26789         (fdim_test_data): Likewise.
26790         (fma_test_data): Likewise.
26791         (fmax_test_data): Likewise.
26792         (fmin_test_data): Likewise.
26793         (fmod_test_data): Likewise.
26795 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
26797         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
26798         data.
26800 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
26802         * math/libm-test.inc (ceil_test_data): Add more tests and more
26803         expectations for "inexact".
26804         (floor_test_data): Add more tests.
26805         (round_test_data): Likewise.
26806         (trunc_test_data): Likewise.
26808         * crypt/cert.c (good_bye): Convert to prototype-style function
26809         definition.
26810         (get8): Likewise.
26811         (put8): Likewise.
26812         * crypt/crypt-entry.c (crypt): Likewise.
26813         (__fcrypt): Likewise.
26814         * crypt/crypt_util.c (_ufc_prbits): Likewise.
26815         (_ufc_set_bits): Likewise.
26816         (_ufc_clearmem): Likewise.
26817         (__init_des_r): Likewise.
26818         (shuffle_sb): Likewise.
26819         (shuffle_sb): Likewise.
26820         (_ufc_setup_salt_r): Likewise.
26821         (_ufc_mk_keytab_r): Likewise.
26822         (_ufc_dofinalperm_r): Likewise.
26823         (encrypt): Likewise.
26824         (__setkey_r): Likewise.
26825         (setkey): Likewise.
26826         * crypt/md5.c (md5_init_ctx): Likewise.
26827         (md5_read_ctx): Likewise.
26828         (md5_finish_ctx): Likewise.
26829         (md5_stream): Likewise.
26830         (md5_buffer): Likewise.
26831         (md5_process_bytes): Likewise.
26832         * crypt/sha256.c (__sha256_init_ctx): Likewise.
26833         (__sha256_finish_ctx): Likewise.
26834         (__sha256_process_bytes): Likewise.
26835         * crypt/sha512.c (__sha512_init_ctx): Likewise.
26836         (__sha512_finish_ctx): Likewise.
26837         (__sha512_process_bytes): Likewise.
26838         * ctype/isctype.c (__isctype): Likewise.
26839         * debug/backtrace.c (__backtrace): Likewise.
26840         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
26841         * debug/fgets_chk.c (__fgets_chk): Likewise.
26842         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
26843         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
26844         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26845         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26846         * debug/memset_chk.c (__memset_chk): Likewise.
26847         * debug/strcat_chk.c (__strcat_chk): Likewise.
26848         * debug/strncat_chk.c (__strncat_chk): Likewise.
26849         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
26850         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
26851         * dirent/dirfd.c (dirfd): Likewise.
26852         * dirent/getdents.c (__getdirentries): Likewise.
26853         * dirent/getdents64.c (getdirentries64): Likewise.
26854         * dirent/rewinddir.c (__rewinddir): Likewise.
26855         * dirent/seekdir.c (seekdir): Likewise.
26856         * dirent/telldir.c (telldir): Likewise.
26857         * elf/sln.c (makesymlinks): Likewise.
26858         (makesymlink): Likewise.
26859         * gmon/gmon.c (__moncontrol): Likewise.
26860         (__monstartup): Likewise.
26861         (write_hist): Likewise.
26862         (write_call_graph): Likewise.
26863         (write_bb_counts): Likewise.
26864         * grp/setgroups.c (setgroups): Likewise.
26865         * inet/inet_lnaof.c (inet_lnaof): Likewise.
26866         * inet/inet_net.c (inet_network): Likewise.
26867         * inet/inet_netof.c (inet_netof): Likewise.
26868         * inet/rcmd.c (rresvport_af): Likewise.
26869         (rresvport): Likewise.
26870         * io/access.c (__access): Likewise.
26871         * io/chdir.c (__chdir): Likewise.
26872         * io/chmod.c (__chmod): Likewise.
26873         * io/chown.c (__chown): Likewise.
26874         * io/close.c (__close): Likewise.
26875         * io/creat.c (creat): Likewise.
26876         * io/creat64.c (creat64): Likewise.
26877         * io/dup.c (__dup): Likewise.
26878         * io/dup2.c (__dup2): Likewise.
26879         * io/dup3.c (__dup3): Likewise.
26880         * io/euidaccess.c (__euidaccess): Likewise.
26881         * io/faccessat.c (faccessat): Likewise.
26882         * io/fchmod.c (__fchmod): Likewise.
26883         * io/fchmodat.c (fchmodat): Likewise.
26884         * io/fchown.c (__fchown): Likewise.
26885         * io/fchownat.c (fchownat): Likewise.
26886         * io/fcntl.c (__fcntl): Likewise.
26887         * io/flock.c (__flock): Likewise.
26888         * io/fts.c (fts_load): Likewise.
26889         (fts_close): Likewise.
26890         (fts_read): Likewise.
26891         (fts_set): Likewise.
26892         (fts_children): Likewise.
26893         (fts_build): Likewise.
26894         (fts_stat): Likewise.
26895         (fts_sort): Likewise.
26896         (fts_alloc): Likewise.
26897         (fts_lfree): Likewise.
26898         (fts_palloc): Likewise.
26899         (fts_padjust): Likewise.
26900         (fts_maxarglen): Likewise.
26901         (fts_safe_changedir): Likewise.
26902         * io/getwd.c (getwd): Likewise.
26903         * io/isatty.c (__isatty): Likewise.
26904         * io/lchown.c (__lchown): Likewise.
26905         * io/link.c (__link): Likewise.
26906         * io/linkat.c (linkat): Likewise.
26907         * io/lseek.c (__libc_lseek): Likewise.
26908         * io/mkdir.c (__mkdir): Likewise.
26909         * io/mkdirat.c (mkdirat): Likewise.
26910         * io/mkfifo.c (mkfifo): Likewise.
26911         * io/mkfifoat.c (mkfifoat): Likewise.
26912         * io/open.c (__libc_open): Likewise.
26913         * io/open64.c (__libc_open64): Likewise.
26914         * io/readlink.c (__readlink): Likewise.
26915         * io/readlinkat.c (readlinkat): Likewise.
26916         * io/rmdir.c (__rmdir): Likewise.
26917         * io/symlink.c (__symlink): Likewise.
26918         * io/symlinkat.c (symlinkat): Likewise.
26919         * io/ttyname.c (ttyname): Likewise.
26920         * io/ttyname_r.c (__ttyname_r): Likewise.
26921         * io/umask.c (__umask): Likewise.
26922         * io/unlink.c (__unlink): Likewise.
26923         * io/unlinkat.c (unlinkat): Likewise.
26924         * io/utime.c (utime): Likewise.
26925         * libio/clearerr.c (clearerr): Likewise.
26926         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
26927         * libio/feof.c (_IO_feof): Likewise.
26928         * libio/feof_u.c (feof_unlocked): Likewise.
26929         * libio/ferror.c (_IO_ferror): Likewise.
26930         * libio/ferror_u.c (ferror_unlocked): Likewise.
26931         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26932         * libio/fileno.c (__fileno): Likewise.
26933         * libio/fputc.c (fputc): Likewise.
26934         * libio/fputc_u.c (fputc_unlocked): Likewise.
26935         * libio/fputwc.c (fputwc): Likewise.
26936         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
26937         * libio/freopen.c (freopen): Likewise.
26938         * libio/freopen64.c (freopen64): Likewise.
26939         * libio/fseek.c (fseek): Likewise.
26940         * libio/fseeko.c (fseeko): Likewise.
26941         * libio/fseeko64.c (fseeko64): Likewise.
26942         * libio/ftello.c (__ftello): Likewise.
26943         * libio/ftello64.c (ftello64): Likewise.
26944         * libio/fwide.c (fwide): Likewise.
26945         * libio/genops.c (_IO_un_link): Likewise.
26946         (_IO_link_in): Likewise.
26947         (_IO_least_marker): Likewise.
26948         (_IO_switch_to_main_get_area): Likewise.
26949         (_IO_switch_to_backup_area): Likewise.
26950         (_IO_switch_to_get_mode): Likewise.
26951         (_IO_free_backup_area): Likewise.
26952         (_IO_switch_to_put_mode): Likewise.
26953         (__overflow): Likewise.
26954         (__underflow): Likewise.
26955         (__uflow): Likewise.
26956         (_IO_setb): Likewise.
26957         (_IO_doallocbuf): Likewise.
26958         (_IO_default_underflow): Likewise.
26959         (_IO_default_uflow): Likewise.
26960         (_IO_default_xsputn): Likewise.
26961         (_IO_sgetn): Likewise.
26962         (_IO_default_xsgetn): Likewise.
26963         (_IO_sync): Likewise.
26964         (_IO_default_setbuf): Likewise.
26965         (_IO_default_seekpos): Likewise.
26966         (_IO_default_doallocate): Likewise.
26967         (_IO_init): Likewise.
26968         (_IO_old_init): Likewise.
26969         (_IO_default_sync): Likewise.
26970         (_IO_default_finish): Likewise.
26971         (_IO_default_seekoff): Likewise.
26972         (_IO_sputbackc): Likewise.
26973         (_IO_sungetc): Likewise.
26974         (_IO_set_column): Likewise.
26975         (_IO_set_column): Likewise.
26976         (_IO_adjust_column): Likewise.
26977         (_IO_get_column): Likewise.
26978         (_IO_init_marker): Likewise.
26979         (_IO_remove_marker): Likewise.
26980         (_IO_marker_difference): Likewise.
26981         (_IO_marker_delta): Likewise.
26982         (_IO_seekmark): Likewise.
26983         (_IO_unsave_markers): Likewise.
26984         (_IO_nobackup_pbackfail): Likewise.
26985         (_IO_default_pbackfail): Likewise.
26986         (_IO_default_seek): Likewise.
26987         (_IO_default_stat): Likewise.
26988         (_IO_default_read): Likewise.
26989         (_IO_default_write): Likewise.
26990         (_IO_default_showmanyc): Likewise.
26991         (_IO_default_imbue): Likewise.
26992         (_IO_iter_next): Likewise.
26993         (_IO_iter_file): Likewise.
26994         * libio/getc.c (_IO_getc): Likewise.
26995         * libio/getwc.c (_IO_getwc): Likewise.
26996         * libio/iofclose.c (_IO_new_fclose): Likewise.
26997         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26998         * libio/iofflush.c (_IO_fflush): Likewise.
26999         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
27000         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
27001         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
27002         * libio/iofgets.c (_IO_fgets): Likewise.
27003         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
27004         * libio/iofgetws.c (fgetws): Likewise.
27005         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27006         * libio/iofopen64.c (_IO_fopen64): Likewise.
27007         * libio/iofopncook.c (_IO_cookie_read): Likewise.
27008         (_IO_cookie_write): Likewise.
27009         (_IO_cookie_seek): Likewise.
27010         (_IO_cookie_close): Likewise.
27011         (_IO_cookie_seekoff): Likewise.
27012         (_IO_old_cookie_seek): Likewise.
27013         * libio/iofputs.c (_IO_fputs): Likewise.
27014         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
27015         * libio/iofputws.c (fputws): Likewise.
27016         * libio/iofputws_u.c (fputws_unlocked): Likewise.
27017         * libio/iofread.c (_IO_fread): Likewise.
27018         * libio/iofread_u.c (__fread_unlocked): Likewise.
27019         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
27020         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
27021         * libio/ioftell.c (_IO_ftell): Likewise.
27022         * libio/iofwrite.c (_IO_fwrite): Likewise.
27023         * libio/iogetdelim.c (_IO_getdelim): Likewise.
27024         * libio/iogets.c (_IO_gets): Likewise.
27025         * libio/iopadn.c (_IO_padn): Likewise.
27026         * libio/iopopen.c (_IO_new_proc_open): Likewise.
27027         (_IO_new_popen): Likewise.
27028         (_IO_new_proc_close): Likewise.
27029         * libio/ioputs.c (_IO_puts): Likewise.
27030         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
27031         (_IO_seekoff): Likewise.
27032         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
27033         (_IO_seekpos): Likewise.
27034         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
27035         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
27036         * libio/ioungetc.c (_IO_ungetc): Likewise.
27037         * libio/ioungetwc.c (ungetwc): Likewise.
27038         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27039         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
27040         * libio/iowpadn.c (_IO_wpadn): Likewise.
27041         * libio/libc_fatal.c (__libc_fatal): Likewise.
27042         * libio/memstream.c (__open_memstream): Likewise.
27043         (_IO_mem_sync): Likewise.
27044         (_IO_mem_finish): Likewise.
27045         * libio/oldfileops.c (_IO_old_file_init): Likewise.
27046         (_IO_old_file_close_it): Likewise.
27047         (_IO_old_file_finish): Likewise.
27048         (_IO_old_file_fopen): Likewise.
27049         (_IO_old_file_attach): Likewise.
27050         (_IO_old_file_setbuf): Likewise.
27051         (_IO_old_do_write): Likewise.
27052         (old_do_write): Likewise.
27053         (_IO_old_file_underflow): Likewise.
27054         (_IO_old_file_overflow): Likewise.
27055         (_IO_old_file_sync): Likewise.
27056         (_IO_old_file_seekoff): Likewise.
27057         (_IO_old_file_write): Likewise.
27058         (_IO_old_file_xsputn): Likewise.
27059         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
27060         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27061         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
27062         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
27063         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
27064         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
27065         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
27066         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
27067         (_IO_old_popen): Likewise.
27068         (_IO_old_proc_close): Likewise.
27069         * libio/oldpclose.c (__old_pclose): Likewise.
27070         * libio/pclose.c (__new_pclose): Likewise.
27071         * libio/peekc.c (_IO_peekc_locked): Likewise.
27072         * libio/putc.c (_IO_putc): Likewise.
27073         * libio/putc_u.c (putc_unlocked): Likewise.
27074         * libio/putchar.c (putchar): Likewise.
27075         * libio/putchar_u.c (putchar_unlocked): Likewise.
27076         * libio/putwc.c (putwc): Likewise.
27077         * libio/putwc_u.c (putwc_unlocked): Likewise.
27078         * libio/putwchar.c (putwchar): Likewise.
27079         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
27080         * libio/rewind.c (rewind): Likewise.
27081         * libio/setbuf.c (setbuf): Likewise.
27082         * libio/setlinebuf.c (setlinebuf): Likewise.
27083         * libio/vasprintf.c (_IO_vasprintf): Likewise.
27084         * libio/vscanf.c (_IO_vscanf): Likewise.
27085         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
27086         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
27087         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27088         * libio/wgenops.c (_IO_least_wmarker): Likewise.
27089         (_IO_switch_to_main_wget_area): Likewise.
27090         (_IO_switch_to_wbackup_area): Likewise.
27091         (_IO_wsetb): Likewise.
27092         (_IO_wdefault_pbackfail): Likewise.
27093         (_IO_wdefault_finish): Likewise.
27094         (_IO_wdefault_uflow): Likewise.
27095         (__woverflow): Likewise.
27096         (__wuflow): Likewise.
27097         (__wunderflow): Likewise.
27098         (_IO_wdefault_xsputn): Likewise.
27099         (_IO_wdefault_xsgetn): Likewise.
27100         (_IO_wdoallocbuf): Likewise.
27101         (_IO_wdefault_doallocate): Likewise.
27102         (_IO_switch_to_wget_mode): Likewise.
27103         (_IO_free_wbackup_area): Likewise.
27104         (_IO_switch_to_wput_mode): Likewise.
27105         (_IO_sputbackwc): Likewise.
27106         (_IO_sungetwc): Likewise.
27107         (_IO_adjust_wcolumn): Likewise.
27108         (_IO_init_wmarker): Likewise.
27109         (_IO_wmarker_delta): Likewise.
27110         (_IO_seekwmark): Likewise.
27111         (_IO_unsave_wmarkers): Likewise.
27112         * libio/wmemstream.c (open_wmemstream): Likewise.
27113         (_IO_wmem_sync): Likewise.
27114         (_IO_wmem_finish): Likewise.
27115         * locale/nl_langinfo.c (nl_langinfo): Likewise.
27116         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
27117         * locale/programs/simple-hash.c (init_hash): Likewise.
27118         (delete_hash): Likewise.
27119         (insert_entry): Likewise.
27120         (set_entry): Likewise.
27121         (next_prime): Likewise.
27122         (is_prime): Likewise.
27123         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
27124         (xmalloc): Likewise.
27125         (xrealloc): Likewise.
27126         * locale/programs/xstrdup.c (xstrdup): Likewise.
27127         * localedata/collate-test.c (xstrcoll): Likewise.
27128         * localedata/xfrm-test.c (xstrcmp): Likewise.
27129         * login/getlogin_r.c (__getlogin_r): Likewise.
27130         * login/getpt.c (__posix_openpt): Likewise.
27131         * login/login_tty.c (login_tty): Likewise.
27132         * login/setlogin.c (setlogin): Likewise.
27133         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
27134         (mach_msg_destroy_port): Likewise.
27135         (mach_msg_destroy_memory): Likewise.
27136         * malloc/mcheck.c (flood): Likewise.
27137         * misc/acct.c (acct): Likewise.
27138         * misc/brk.c (__brk): Likewise.
27139         * misc/chflags.c (chflags): Likewise.
27140         * misc/chroot.c (chroot): Likewise.
27141         * misc/fchflags.c (fchflags): Likewise.
27142         * misc/fstab.c (getfsspec): Likewise.
27143         (getfsfile): Likewise.
27144         * misc/fsync.c (fsync): Likewise.
27145         * misc/ftruncate.c (__ftruncate): Likewise.
27146         * misc/ftruncate64.c (__ftruncate64): Likewise.
27147         * misc/getdomain.c (getdomainname): Likewise.
27148         (getdomainname): Likewise.
27149         * misc/gethostname.c (__gethostname): Likewise.
27150         * misc/getpass.c (getpass): Likewise.
27151         * misc/getttyent.c (skip): Likewise.
27152         (value): Likewise.
27153         * misc/gtty.c (gtty): Likewise.
27154         * misc/hsearch.c (hsearch): Likewise.
27155         (hcreate): Likewise.
27156         * misc/hsearch_r.c (__hcreate_r): Likewise.
27157         (__hdestroy_r): Likewise.
27158         * misc/ioctl.c (__ioctl): Likewise.
27159         * misc/mkdtemp.c (mkdtemp): Likewise.
27160         * misc/mkostemp.c (mkostemp): Likewise.
27161         * misc/mkostemp64.c (mkostemp64): Likewise.
27162         * misc/mkostemps.c (mkostemps): Likewise.
27163         * misc/mkostemps64.c (mkostemps64): Likewise.
27164         * misc/mkstemp.c (mkstemp): Likewise.
27165         * misc/mkstemp64.c (mkstemp64): Likewise.
27166         * misc/mkstemps.c (mkstemps): Likewise.
27167         * misc/mkstemps64.c (mkstemps64): Likewise.
27168         * misc/mktemp.c (__mktemp): Likewise.
27169         * misc/preadv.c (preadv): Likewise.
27170         * misc/preadv64.c (preadv64): Likewise.
27171         * misc/pwritev.c (pwritev): Likewise.
27172         * misc/pwritev64.c (pwritev64): Likewise.
27173         * misc/readv.c (__readv): Likewise.
27174         * misc/revoke.c (revoke): Likewise.
27175         * misc/setdomain.c (setdomainname): Likewise.
27176         * misc/setegid.c (setegid): Likewise.
27177         * misc/seteuid.c (seteuid): Likewise.
27178         * misc/sethostid.c (sethostid): Likewise.
27179         * misc/sethostname.c (sethostname): Likewise.
27180         * misc/setregid.c (__setregid): Likewise.
27181         * misc/setreuid.c (__setreuid): Likewise.
27182         * misc/sstk.c (sstk): Likewise.
27183         * misc/stty.c (stty): Likewise.
27184         * misc/syscall.c (syscall): Likewise.
27185         * misc/syslog.c (setlogmask): Likewise.
27186         * misc/truncate.c (__truncate): Likewise.
27187         * misc/truncate64.c (truncate64): Likewise.
27188         * misc/ualarm.c (ualarm): Likewise.
27189         * misc/usleep.c (usleep): Likewise.
27190         * misc/ustat.c (ustat): Likewise.
27191         * misc/writev.c (__writev): Likewise.
27192         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
27193         * nptl/old_pthread_cond_broadcast.c
27194         (__pthread_cond_broadcast_2_0): Likewise.
27195         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
27196         Likewise.
27197         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
27198         Likewise.
27199         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
27200         Likewise.
27201         * nptl/pt-raise.c (raise): Likewise.
27202         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
27203         Likewise.
27204         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
27205         * nptl/pthread_barrierattr_destroy.c
27206         (pthread_barrierattr_destroy): Likewise.
27207         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
27208         Likewise.
27209         * nptl/pthread_barrierattr_setpshared.c
27210         (pthread_barrierattr_setpshared): Likewise.
27211         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27212         Likewise.
27213         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
27214         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
27215         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
27216         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
27217         Likewise.
27218         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
27219         Likewise.
27220         * nptl/pthread_condattr_getpshared.c
27221         (pthread_condattr_getpshared): Likewise.
27222         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
27223         Likewise.
27224         * nptl/pthread_condattr_setpshared.c
27225         (pthread_condattr_setpshared): Likewise.
27226         * nptl/pthread_detach.c (pthread_detach): Likewise.
27227         * nptl/pthread_equal.c (__pthread_equal): Likewise.
27228         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
27229         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
27230         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
27231         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
27232         Likewise.
27233         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
27234         Likewise.
27235         * nptl/pthread_mutex_getprioceiling.c
27236         (pthread_mutex_getprioceiling): Likewise.
27237         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
27238         Likewise.
27239         * nptl/pthread_mutexattr_getprotocol.c
27240         (pthread_mutexattr_getprotocol): Likewise.
27241         * nptl/pthread_mutexattr_getpshared.c
27242         (pthread_mutexattr_getpshared): Likewise.
27243         * nptl/pthread_mutexattr_getrobust.c
27244         (pthread_mutexattr_getrobust): Likewise.
27245         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
27246         Likewise.
27247         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
27248         Likewise.
27249         * nptl/pthread_mutexattr_setprioceiling.c
27250         (pthread_mutexattr_setprioceiling): Likewise.
27251         * nptl/pthread_mutexattr_setprotocol.c
27252         (pthread_mutexattr_setprotocol): Likewise.
27253         * nptl/pthread_mutexattr_setpshared.c
27254         (pthread_mutexattr_setpshared): Likewise.
27255         * nptl/pthread_mutexattr_setrobust.c
27256         (pthread_mutexattr_setrobust): Likewise.
27257         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
27258         Likewise.
27259         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
27260         Likewise.
27261         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
27262         Likewise.
27263         * nptl/pthread_rwlockattr_getkind_np.c
27264         (pthread_rwlockattr_getkind_np): Likewise.
27265         * nptl/pthread_rwlockattr_getpshared.c
27266         (pthread_rwlockattr_getpshared): Likewise.
27267         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
27268         Likewise.
27269         * nptl/pthread_rwlockattr_setkind_np.c
27270         (pthread_rwlockattr_setkind_np): Likewise.
27271         * nptl/pthread_rwlockattr_setpshared.c
27272         (pthread_rwlockattr_setpshared): Likewise.
27273         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
27274         Likewise.
27275         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
27276         Likewise.
27277         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
27278         Likewise.
27279         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
27280         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
27281         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
27282         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
27283         * nptl/sem_close.c (sem_close): Likewise.
27284         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
27285         * nptl/sem_init.c (__old_sem_init): Likewise.
27286         * nptl/sigaction.c (__sigaction): Likewise.
27287         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27288         * posix/_exit.c (_exit): Likewise.
27289         * posix/alarm.c (alarm): Likewise.
27290         * posix/confstr.c (confstr): Likewise.
27291         * posix/fpathconf.c (__fpathconf): Likewise.
27292         * posix/getgroups.c (__getgroups): Likewise.
27293         * posix/getpgid.c (__getpgid): Likewise.
27294         * posix/group_member.c (__group_member): Likewise.
27295         * posix/pathconf.c (__pathconf): Likewise.
27296         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
27297         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
27298         * posix/setgid.c (__setgid): Likewise.
27299         * posix/setpgid.c (__setpgid): Likewise.
27300         * posix/setuid.c (__setuid): Likewise.
27301         * posix/sleep.c (__sleep): Likewise.
27302         * posix/sysconf.c (__sysconf): Likewise.
27303         * posix/times.c (__times): Likewise.
27304         * posix/uname.c (__uname): Likewise.
27305         * posix/waitid.c (__waitid): Likewise.
27306         * pwd/getpw.c (__getpw): Likewise.
27307         * resolv/base64.c (b64_pton): Likewise.
27308         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
27309         * resolv/gethnamaddr.c (Dprintf): Likewise.
27310         (gethostbyname): Likewise.
27311         (gethostbyname2): Likewise.
27312         (gethostbyaddr): Likewise.
27313         (_sethtent): Likewise.
27314         (_gethtbyname): Likewise.
27315         (_gethtbyname2): Likewise.
27316         (_gethtbyaddr): Likewise.
27317         (map_v4v6_address): Likewise.
27318         (map_v4v6_hostent): Likewise.
27319         (addrsort): Likewise.
27320         (ht_sethostent): Likewise.
27321         (ht_gethostbyname): Likewise.
27322         (ht_gethostbyaddr): Likewise.
27323         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
27324         (inet_net_ntop_ipv4): Likewise.
27325         * resolv/inet_neta.c (inet_neta): Likewise.
27326         * resolv/inet_ntop.c (inet_ntop): Likewise.
27327         (inet_ntop4): Likewise.
27328         (inet_ntop6): Likewise.
27329         * resolv/inet_pton.c (__inet_pton): Likewise.
27330         (inet_pton4): Likewise.
27331         (inet_pton6): Likewise.
27332         * resolv/res_debug.c (loc_aton): Likewise.
27333         (loc_ntoa): Likewise.
27334         * resource/getpriority.c (__getpriority): Likewise.
27335         * resource/getrusage.c (__getrusage): Likewise.
27336         * resource/nice.c (nice): Likewise.
27337         * resource/setpriority.c (__setpriority): Likewise.
27338         * resource/setrlimit64.c (setrlimit64): Likewise.
27339         * resource/vlimit.c (vlimit): Likewise.
27340         * resource/vtimes.c (vtimes): Likewise.
27341         * rt/aio_error.c (aio_error): Likewise.
27342         * rt/aio_return.c (aio_return): Likewise.
27343         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
27344         * signal/kill.c (__kill): Likewise.
27345         * signal/killpg.c (killpg): Likewise.
27346         * signal/raise.c (raise): Likewise.
27347         * signal/sigaction.c (__sigaction): Likewise.
27348         * signal/sigaddset.c (sigaddset): Likewise.
27349         * signal/sigaltstack.c (sigaltstack): Likewise.
27350         * signal/sigandset.c (sigandset): Likewise.
27351         * signal/sigblock.c (__sigblock): Likewise.
27352         * signal/sigdelset.c (sigdelset): Likewise.
27353         * signal/sigempty.c (sigemptyset): Likewise.
27354         * signal/sigfillset.c (sigfillset): Likewise.
27355         * signal/sighold.c (sighold): Likewise.
27356         * signal/sigignore.c (sigignore): Likewise.
27357         * signal/sigintr.c (siginterrupt): Likewise.
27358         * signal/sigisempty.c (sigisemptyset): Likewise.
27359         * signal/sigismem.c (sigismember): Likewise.
27360         * signal/signal.c (signal): Likewise.
27361         * signal/sigorset.c (sigorset): Likewise.
27362         * signal/sigpause.c (__sigpause): Likewise.
27363         * signal/sigpending.c (sigpending): Likewise.
27364         * signal/sigprocmask.c (__sigprocmask): Likewise.
27365         * signal/sigrelse.c (sigrelse): Likewise.
27366         * signal/sigreturn.c (__sigreturn): Likewise.
27367         * signal/sigset.c (sigset): Likewise.
27368         * signal/sigsetmask.c (__sigsetmask): Likewise.
27369         * signal/sigstack.c (sigstack): Likewise.
27370         * signal/sigsuspend.c (__sigsuspend): Likewise.
27371         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
27372         * signal/sysv_signal.c (__sysv_signal): Likewise.
27373         * socket/accept.c (accept): Likewise.
27374         * socket/accept4.c (__libc_accept4): Likewise.
27375         * socket/bind.c (__bind): Likewise.
27376         * socket/connect.c (__connect): Likewise.
27377         * socket/getpeername.c (getpeername): Likewise.
27378         * socket/getsockname.c (__getsockname): Likewise.
27379         * socket/getsockopt.c (getsockopt): Likewise.
27380         * socket/listen.c (__listen): Likewise.
27381         * socket/recv.c (__recv): Likewise.
27382         * socket/recvmsg.c (__recvmsg): Likewise.
27383         * socket/send.c (__send): Likewise.
27384         * socket/sendmsg.c (__sendmsg): Likewise.
27385         * socket/shutdown.c (shutdown): Likewise.
27386         * socket/sockatmark.c (sockatmark): Likewise.
27387         * socket/socket.c (__socket): Likewise.
27388         * stdio-common/ctermid.c (ctermid): Likewise.
27389         * stdio-common/cuserid.c (cuserid): Likewise.
27390         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
27391         * stdio-common/remove.c (remove): Likewise.
27392         * stdio-common/rename.c (rename): Likewise.
27393         * stdio-common/renameat.c (renameat): Likewise.
27394         * stdio-common/tempname.c (__gen_tempname): Likewise.
27395         * stdio-common/xbug.c (InitBuffer): Likewise.
27396         (AppendToBuffer): Likewise.
27397         (ReadFile): Likewise.
27398         * stdlib/a64l.c (a64l): Likewise.
27399         * stdlib/drand48_r.c (drand48_r): Likewise.
27400         * stdlib/getcontext.c (getcontext): Likewise.
27401         * stdlib/getenv.c (getenv): Likewise.
27402         * stdlib/l64a.c (l64a): Likewise.
27403         * stdlib/llabs.c (llabs): Likewise.
27404         * stdlib/lldiv.c (lldiv): Likewise.
27405         * stdlib/lrand48_r.c (lrand48_r): Likewise.
27406         * stdlib/mrand48_r.c (mrand48_r): Likewise.
27407         * stdlib/putenv.c (putenv): Likewise.
27408         * stdlib/random.c (__srandom): Likewise.
27409         (__initstate): Likewise.
27410         (__setstate): Likewise.
27411         * stdlib/random_r.c (__srandom_r): Likewise.
27412         (__setstate_r): Likewise.
27413         (__random_r): Likewise.
27414         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
27415         * stdlib/setcontext.c (setcontext): Likewise.
27416         * stdlib/setenv.c (setenv): Likewise.
27417         (unsetenv): Likewise.
27418         * stdlib/srand48.c (srand48): Likewise.
27419         * stdlib/srand48_r.c (__srand48_r): Likewise.
27420         * stdlib/swapcontext.c (swapcontext): Likewise.
27421         * stdlib/system.c (__libc_system): Likewise.
27422         * stdlib/tst-strtod.c (expand): Likewise.
27423         * stdlib/tst-strtol.c (expand): Likewise.
27424         * stdlib/tst-strtoll.c (expand): Likewise.
27425         * streams/fattach.c (fattach): Likewise.
27426         * streams/fdetach.c (fdetach): Likewise.
27427         * streams/getmsg.c (getmsg): Likewise.
27428         * streams/isastream.c (isastream): Likewise.
27429         * string/ffs.c (__ffs): Likewise.
27430         * string/ffsll.c (ffsll): Likewise.
27431         * string/memcmp.c (memcmp_common_alignment): Likewise.
27432         (memcmp_not_common_alignment): Likewise.
27433         (MEMCMP): Likewise.
27434         * string/memcpy.c (memcpy): Likewise.
27435         * string/memmove.c (MEMMOVE): Likewise.
27436         * string/memset.c (memset): Likewise.
27437         * string/rawmemchr.c (RAWMEMCHR): Likewise.
27438         * string/strchrnul.c (STRCHRNUL): Likewise.
27439         * string/strerror.c (strerror): Likewise.
27440         * string/strndup.c (__strndup): Likewise.
27441         * string/strverscmp.c (__strverscmp): Likewise.
27442         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
27443         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
27444         (clnttcp_freeres): Likewise.
27445         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
27446         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
27447         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
27448         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
27449         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
27450         (xdr_callhdr): Likewise.
27451         * sunrpc/rpcinfo.c (udpping): Likewise.
27452         (tcpping): Likewise.
27453         (pstatus): Likewise.
27454         (pmapdump): Likewise.
27455         (brdcst): Likewise.
27456         (deletereg): Likewise.
27457         (getprognum): Likewise.
27458         (getvers): Likewise.
27459         (get_inet_address): Likewise.
27460         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
27461         * sunrpc/svc_udp.c (svcudp_create): Likewise.
27462         (svcudp_stat): Likewise.
27463         (svcudp_recv): Likewise.
27464         (svcudp_reply): Likewise.
27465         (svcudp_getargs): Likewise.
27466         (svcudp_freeargs): Likewise.
27467         (svcudp_destroy): Likewise.
27468         * sunrpc/xdr.c (xdr_bytes): Likewise.
27469         (xdr_netobj): Likewise.
27470         (xdr_string): Likewise.
27471         (xdr_wrapstring): Likewise.
27472         * sunrpc/xdr_float.c (xdr_float): Likewise.
27473         (xdr_double): Likewise.
27474         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
27475         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
27476         * sysvipc/ftok.c (ftok): Likewise.
27477         * sysvipc/msgctl.c (msgctl): Likewise.
27478         * sysvipc/msgget.c (msgget): Likewise.
27479         * sysvipc/msgrcv.c (msgrcv): Likewise.
27480         * sysvipc/msgsnd.c (msgsnd): Likewise.
27481         * sysvipc/semget.c (semget): Likewise.
27482         * sysvipc/semop.c (semop): Likewise.
27483         * sysvipc/shmat.c (shmat): Likewise.
27484         * sysvipc/shmctl.c (shmctl): Likewise.
27485         * sysvipc/shmdt.c (shmdt): Likewise.
27486         * sysvipc/shmget.c (shmget): Likewise.
27487         * termios/cfmakeraw.c (cfmakeraw): Likewise.
27488         * termios/speed.c (cfgetospeed): Likewise.
27489         (cfgetispeed): Likewise.
27490         (cfsetospeed): Likewise.
27491         (cfsetispeed): Likewise.
27492         * termios/tcflow.c (tcflow): Likewise.
27493         * termios/tcflush.c (tcflush): Likewise.
27494         * termios/tcgetattr.c (__tcgetattr): Likewise.
27495         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
27496         * termios/tcgetsid.c (tcgetsid): Likewise.
27497         * termios/tcsendbrk.c (tcsendbreak): Likewise.
27498         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
27499         * time/adjtime.c (__adjtime): Likewise.
27500         * time/dysize.c (dysize): Likewise.
27501         * time/ftime.c (ftime): Likewise.
27502         * time/getitimer.c (__getitimer): Likewise.
27503         * time/gettimeofday.c (__gettimeofday): Likewise.
27504         * time/gmtime.c (__gmtime_r): Likewise.
27505         (gmtime): Likewise.
27506         * time/localtime.c (__localtime_r): Likewise.
27507         (localtime): Likewise.
27508         * time/offtime.c (__offtime): Likewise.
27509         * time/settimeofday.c (__settimeofday): Likewise.
27510         * time/stime.c (stime): Likewise.
27511         * time/strftime_l.c (tm_diff): Likewise.
27512         (iso_week_days): Likewise.
27513         * time/strptime.c (strptime): Likewise.
27514         * time/time.c (time): Likewise.
27515         * time/timespec_get.c (timespec_get): Likewise.
27516         * time/tzset.c (tzset_internal): Likewise.
27517         (compute_change): Likewise.
27518         (__tz_compute): Likewise.
27519         * wcsmbs/btowc.c (__btowc): Likewise.
27520         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
27521         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
27522         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
27523         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
27524         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
27525         * wcsmbs/wcscat.c (__wcscat): Likewise.
27526         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27527         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
27528         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
27529         * wcsmbs/wcscspn.c (wcscspn): Likewise.
27530         * wcsmbs/wcsdup.c (wcsdup): Likewise.
27531         * wcsmbs/wcslen.c (__wcslen): Likewise.
27532         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
27533         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
27534         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
27535         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
27536         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27537         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
27538         * wcsmbs/wcsspn.c (wcsspn): Likewise.
27539         * wcsmbs/wcsstr.c (wcsstr): Likewise.
27540         * wcsmbs/wcstok.c (wcstok): Likewise.
27541         * wcsmbs/wctob.c (wctob): Likewise.
27542         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
27543         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27544         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
27545         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
27546         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
27547         * wcsmbs/wmemset.c (__wmemset): Likewise.
27548         * wctype/wcfuncs.c (__towlower): Likewise.
27549         (__towupper): Likewise.
27551         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
27552         (lll_unlock_elision): Add adapt_count parameter.
27554 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
27556         * sysdeps/nptl/configure.ac: Do not give errors based on the
27557         results of top-level configure tests.
27558         * sysdeps/nptl/configure: Regenerated.
27560         * configure.ac (libc_cv_Bgroup): Remove configure test.
27561         * configure: Regenerated.
27562         * config.make.in (have-Bgroup): Remove variable.
27564         * configure.ac (sizeof_long_double): Remove configure test.
27565         * configure: Regenerated.
27566         * config.make.in (sizeof-long-double): Remove variable.
27568         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
27569         * configure: Regenerated.
27570         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
27571         variable.
27572         (exceptions): Likewise.
27573         * sysdeps/arm/configure: Regenerated.
27574         * config.make.in (exceptions): Remove variable.
27575         * Makeconfig (uses-callbacks): Use -fexceptions instead of
27576         $(exceptions).
27577         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
27578         (CFLAGS-vdprintf_chk.c): Likewise.
27579         (CFLAGS-printf_chk.c): Likewise.
27580         (CFLAGS-fprintf_chk.c): Likewise.
27581         (CFLAGS-vprintf_chk.c): Likewise.
27582         (CFLAGS-vfprintf_chk.c): Likewise.
27583         (CFLAGS-gets_chk.c): Likewise.
27584         (CFLAGS-fgets_chk.c): Likewise.
27585         (CFLAGS-fgets_u_chk.c): Likewise.
27586         (CFLAGS-fread_chk.c): Likewise.
27587         (CFLAGS-fread_u_chk.c): Likewise.
27588         (CFLAGS-wprintf_chk.c): Likewise.
27589         (CFLAGS-fwprintf_chk.c): Likewise.
27590         (CFLAGS-vwprintf_chk.c): Likewise.
27591         (CFLAGS-vfwprintf_chk.c): Likewise.
27592         (CFLAGS-fgetws_chk.c): Likewise.
27593         (CFLAGS-fgetws_u_chk.c): Likewise.
27594         * libio/Makefile (CFLAGS-fileops.c): Likewise.
27595         (CFLAGS-fputc.c): Likewise.
27596         (CFLAGS-fputwc.c): Likewise.
27597         (CFLAGS-freopen64.c): Likewise.
27598         (CFLAGS-freopen.c): Likewise.
27599         (CFLAGS-fseek.c): Likewise.
27600         (CFLAGS-fseeko64.c): Likewise.
27601         (CFLAGS-fseeko.c): Likewise.
27602         (CFLAGS-ftello64.c): Likewise.
27603         (CFLAGS-ftello.c): Likewise.
27604         (CFLAGS-fwide.c): Likewise.
27605         (CFLAGS-genops.c): Likewise.
27606         (CFLAGS-getc.c): Likewise.
27607         (CFLAGS-getchar.c): Likewise.
27608         (CFLAGS-getwc.c): Likewise.
27609         (CFLAGS-getwchar.c): Likewise.
27610         (CFLAGS-iofclose.c): Likewise.
27611         (CFLAGS-iofflush.c): Likewise.
27612         (CFLAGS-iofgetpos64.c): Likewise.
27613         (CFLAGS-iofgetpos.c): Likewise.
27614         (CFLAGS-iofgets.c): Likewise.
27615         (CFLAGS-iofgetws.c): Likewise.
27616         (CFLAGS-iofputs.c): Likewise.
27617         (CFLAGS-iofputws.c): Likewise.
27618         (CFLAGS-iofread.c): Likewise.
27619         (CFLAGS-iofsetpos64.c): Likewise.
27620         (CFLAGS-iofsetpos.c): Likewise.
27621         (CFLAGS-ioftell.c): Likewise.
27622         (CFLAGS-iofwrite.c): Likewise.
27623         (CFLAGS-iogetdelim.c): Likewise.
27624         (CFLAGS-iogetline.c): Likewise.
27625         (CFLAGS-iogets.c): Likewise.
27626         (CFLAGS-iogetwline.c): Likewise.
27627         (CFLAGS-ioputs.c): Likewise.
27628         (CFLAGS-ioseekoff.c): Likewise.
27629         (CFLAGS-ioseekpos.c): Likewise.
27630         (CFLAGS-iosetbuffer.c): Likewise.
27631         (CFLAGS-iosetvbuf.c): Likewise.
27632         (CFLAGS-ioungetc.c): Likewise.
27633         (CFLAGS-ioungetwc.c): Likewise.
27634         (CFLAGS-oldfileops.c): Likewise.
27635         (CFLAGS-oldiofclose.c): Likewise.
27636         (CFLAGS-oldiofgetpos64.c): Likewise.
27637         (CFLAGS-oldiofgetpos.c): Likewise.
27638         (CFLAGS-oldiofsetpos64.c): Likewise.
27639         (CFLAGS-oldiofsetpos.c): Likewise.
27640         (CFLAGS-peekc.c): Likewise.
27641         (CFLAGS-putc.c): Likewise.
27642         (CFLAGS-putchar.c): Likewise.
27643         (CFLAGS-putwc.c): Likewise.
27644         (CFLAGS-putwchar.c): Likewise.
27645         (CFLAGS-rewind.c): Likewise.
27646         (CFLAGS-wfileops.c): Likewise.
27647         (CFLAGS-wgenops.c): Likewise.
27648         (CFLAGS-oldiofopen.c): Likewise.
27649         (CFLAGS-iofopen.c): Likewise.
27650         (CFLAGS-iofopen64.c): Likewise.
27651         (CFLAGS-oldtmpfile.c): Likewise.
27652         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
27653         (CFLAGS-fprintf.c): Likewise.
27654         (CFLAGS-printf.c): Likewise.
27655         (CFLAGS-vfwprintf.c): Likewise.
27656         (CFLAGS-vfscanf.c): Likewise.
27657         (CFLAGS-vfwscanf.c): Likewise.
27658         (CFLAGS-fscanf.c): Likewise.
27659         (CFLAGS-scanf.c): Likewise.
27660         (CFLAGS-isoc99_vfscanf.c): Likewise.
27661         (CFLAGS-isoc99_vscanf.c): Likewise.
27662         (CFLAGS-isoc99_fscanf.c): Likewise.
27663         (CFLAGS-isoc99_scanf.c): Likewise.
27664         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
27665         (CFLAGS-isoc99_fwscanf.c): Likewise.
27666         (CFLAGS-isoc99_vwscanf.c): Likewise.
27667         (CFLAGS-isoc99_vfwscanf.c): Likewise.
27669         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
27670         after mkstemp64.
27671         * login/tst-utmp.c (do_prepare): Likewise.
27672         * rt/tst-aio.c (do_prepare): Likewise.
27673         * rt/tst-aio64.c (do_prepare): Likewise.
27675 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27677         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27678         (__lll_lock_elision): Remove adapt_count decrement...
27679         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
27680         (__lll_trylock_elision): Likewise.
27681         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
27682         (__lll_unlock_elision): ... to here. And utilize
27683         new adapt_count parameter.
27684         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27685         (__lll_unlock_elision): Update to include adapt_count
27686         parameter.
27687         (lll_unlock_elision): Pass pointer to adapt_count
27688         variable.
27690 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27692         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
27693         Add elision adapt_count parameter to list of arguments.
27694         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27695         (lll_unlock_elision): Update with new parameter list
27696         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
27697         (lll_unlock_elision): Likewise.
27698         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
27699         (lll_unlock_elision): Likewise.
27701 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27703         [BZ #19122]
27704         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
27705         attribute_hidden.
27707         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
27708         attribute_hidden.
27709         [IS_IN (rtld)] (__strdup): Likewise.
27710         [IS_IN (rtld)] (__strerror_r): Likewise.
27711         [IS_IN (rtld)] (__strsep_g): Likewise.
27712         [IS_IN (rtld)] (memchr): Likewise.
27713         [IS_IN (rtld)] (memcmp): Likewise.
27714         [IS_IN (rtld)] (memcpy): Likewise.
27715         [IS_IN (rtld)] (memmove): Likewise.
27716         [IS_IN (rtld)] (memset): Likewise.
27717         [IS_IN (rtld)] (rawmemchr): Likewise.
27718         [IS_IN (rtld)] (stpcpy): Likewise.
27719         [IS_IN (rtld)] (strchr): Likewise.
27720         [IS_IN (rtld)] (strcmp): Likewise.
27721         [IS_IN (rtld)] (strlen): Likewise.
27722         [IS_IN (rtld)] (strnlen): Likewise.
27723         [IS_IN (rtld)] (strsep): Likewise.
27725         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
27726         attribute_hidden.
27727         [IS_IN (rtld)] (__strtoul_internal): Likewise.
27729         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
27730         attribute_hidden.
27731         [IS_IN (rtld)] (__libc_sigaction): Likewise.
27733         * include/setjmp.h (__longjmp): Add attribute_hidden.
27734         [IS_IN (rtld)] (__sigsetjmp): Likewise.
27736         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
27737         Add attribute_hidden.
27739         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
27740         [IS_IN (rtld)] (__open): Likewise.
27741         [IS_IN (rtld)] (__fcntl): Likewise.
27743         * include/dirent.h (__opendirat): Add attribute_hidden.
27744         (__getdents): Likewise.
27745         (__getdents64): Likewise.
27746         (__alloc_dir): Likewise.
27747         [IS_IN (rtld)] (__closedir): Likewise.
27748         [IS_IN (rtld)] (__fdopendir): Likewise.
27749         [IS_IN (rtld)] (__readdir): Likewise.
27750         [IS_IN (rtld)] (__readdir64): Likewise.
27751         [IS_IN (rtld)] (__rewinddir): Likewise.
27753         * include/dlfcn.h (_dl_catch_error): Moved to ...
27754         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
27755         attribute_hidden.
27757         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
27758         (_itoa_word): Likewise.
27760         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
27761         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27762         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27763         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
27764         (_dl_higher_prime_number): Likewise.
27765         (_dl_debug_printf_c): Likewise.
27766         (_dl_signal_cerror): Likewise.
27767         (_dl_receive_error): Likewise.
27768         (_dl_reloc_bad_type): Likewise.
27769         (_dl_resolve_conflicts): Likewise.
27770         (_dl_check_all_versions): Likewise.
27771         (_dl_check_map_versions): Likewise.
27772         (_dl_sort_fini): Likewise.
27773         (_dl_debug_initialize): Likewise.
27774         (_dl_init_paths): Likewise.
27775         (_dl_show_auxv): Likewise.
27776         (_dl_next_ld_env_entry): Likewise.
27777         (_dl_important_hwcaps): Likewise.
27778         (_dl_load_cache_lookup): Likewise.
27779         (_dl_update_slotinfo): Likewise.
27780         (_dl_show_scope): Likewise.
27782         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
27783         attribute_hidden.
27784         (_wordcopy_fwd_dest_aligned): Likewise.
27785         (_wordcopy_bwd_aligned): Likewise.
27786         (_wordcopy_bwd_dest_aligned): Likewise.
27788         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27789         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27790         Likewise.
27791         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27792         Likewise.
27793         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27795 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27797         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
27798         GCC 5 requirement.
27800 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
27802         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
27803         test.
27804         * sysdeps/i386/configure: Regenerated.
27805         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
27806         code unconditional.
27808         * configure.ac (libc_cv_asm_previous_directive): Remove configure
27809         test.
27810         (libc_cv_asm_popsection_directive): Likewise.
27811         * configure: Regenerated.
27812         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
27813         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
27814         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
27815         (__make_section_unallocated): Make definition unconditional.
27816         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
27817         Remove conditional definition.
27818         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
27819         (__make_section_unallocated): Likewise.
27821         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
27822         * configure: Regenerated.
27823         * config.make.in (static-libgcc): Remove variable.
27824         * Makerules (build-shlib-helper): Use -static-libgcc instead of
27825         $(static-libgcc).
27826         (build-module-helper): Likewise.
27828         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
27829         * configure: Regenerated.
27831 2015-10-15  Florian Weimer  <fweimer@redhat.com>
27833         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
27834         (struct char_buffer): New type.
27835         (char_buffer_start, char_buffer_size, char_buffer_error)
27836         (char_buffer_rewind, char_buffer_add): New functions.
27837         (ADDW): Remove macro, replaced by the char_buffer_add function.
27838         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
27839         of extend_alloca.  Make control flow more explicit.
27841 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27843         [BZ #19137]
27844         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27845         Add -fomit-frame-pointer.
27846         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
27848 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27850         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
27851         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
27852         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
27853         only if !__GNUC_PREREQ (5,0).
27854         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
27855         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
27856         (INTERNAL_SYSCALL_NCS): Likewise.
27857         (LOADREGS_0): New macro for GCC 5.
27858         (ASMARGS_0): Likewise.
27859         (LOADREGS_1): Likewise.
27860         (ASMARGS_1): Likewise.
27861         (LOADREGS_2): Likewise.
27862         (ASMARGS_2): Likewise.
27863         (LOADREGS_3): Likewise.
27864         (ASMARGS_3): Likewise.
27865         (LOADREGS_4): Likewise.
27866         (ASMARGS_4): Likewise.
27867         (LOADREGS_5): Likewise.
27868         (ASMARGS_5): Likewise.
27869         (LOADREGS_6): Likewise.
27870         (ASMARGS_6): Likewise.
27872 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27874         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
27875         -fomit-frame-pointer.
27876         (CFLAGS-mmap64.c): Likewise.
27877         (CFLAGS-semtimedop.c): Likewise.
27878         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
27879         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
27880         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27881         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27883 2015-10-15  Florian Weimer  <fweimer@redhat.com>
27885         [BZ #18928]
27886         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
27887         _dl_pointer_guard member.
27888         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
27889         initializer.
27890         (security_init): Always set up pointer guard.
27891         (process_envvars): Do not process LD_POINTER_GUARD.
27893 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
27895         [BZ #19134]
27896         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
27897         (.LC2): Likewise.
27898         (.LC3): Likewise.
27899         (__lround): Do not add 0.5 to integer or out-of-range arguments.
27901 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27903         [BZ #19129]
27904         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
27905         r0 and r1.
27907 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
27909         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
27911 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
27913         * include/stap-probe.h: Fix macro definition formatting.
27915 2015-10-14  Florian Weimer  <fweimer@redhat.com>
27917         [BZ #19074]
27918         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
27919         load and store num_ifs.
27921 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27923         [BZ #18822]
27924         * sysdeps/unix/sysv/linux/sched_getaffinity.c
27925         (__sched_getaffinity_new): Add libc_hidden_proto and
27926         libc_hidden_def.
27928 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27930         [BZ #19007]
27931         * scripts/localplt.awk: Also allow GOT references.
27932         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
27933         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
27934         with "+ REL R_386_GLOB_DAT".
27935         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
27936         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
27938 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27940         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
27941         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27942         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
27943         Likewise.
27944         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27945         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
27946         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27947         INTERNAL_SYSCALLINTERNAL_SYSCALL and
27948         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27949         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27950         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27951         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27952         Likewise.
27953         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27955 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
27957         [BZ #19125]
27958         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
27959         <math_private.h> and <stdint.h>.
27960         (__llround): Avoid conversions to and from long long int, and
27961         subtractions, where those might raise spurious exceptions.
27962         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
27963         <math_private.h> and <stdint.h>.
27964         (__llroundf): Avoid conversions to and from long long int, and
27965         subtractions, where those might raise spurious exceptions.
27967 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27969         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
27970         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27971         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27972         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
27973         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27974         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27975         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
27976         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
27977         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
27978         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27979         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27980         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27981         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
27982         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27983         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27984         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
27985         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
27986         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27987         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
27988         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
27989         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27990         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
27991         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
27992         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27993         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
27994         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27995         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
27996         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27997         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27998         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
27999         (__xstat64_conv): Likewise.
28000         (__xstat32_conv): Likewise.
28002 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28004         * sysdeps/unix/sysv/linux/sysdep.h: New file.
28005         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
28006         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
28007         <sysdeps/unix/sysv/linux/sysdep.h>.
28008         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28009         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
28010         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
28011         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28012         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28013         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
28014         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
28015         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
28016         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
28017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28019         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28020         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28021         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28022         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28023         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28024         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
28025         (sysdep-dl-routines): Add sysdep.
28026         [$(subdir) == nptl] (libpthread-routines): Likewise.
28027         [$(subdir) == rt] (librt-routines): Likewise.
28028         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
28029         PIC when branching to SYSCALL_ERROR_LABEL.
28030         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
28031         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
28032         <sysdeps/unix/sysv/linux/sysdep.h>.
28033         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
28034         (SYSCALL_ERROR_ERRNO): Removed.
28035         (SYSCALL_ERROR_HANDLER): Changed to empty.
28036         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
28037         (__syscall_error): New prototype.
28038         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
28039         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
28041 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28043         [BZ #19124]
28044         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
28045         (_dl_runtime_resolve_avx512): Make it a hidden alias of
28046         _dl_runtime_resolve_avx.
28047         (_dl_runtime_profile_avx512): Make it a hidden alias of
28048         _dl_runtime_profile_avx.
28050 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
28052         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
28053         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
28054         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
28055         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
28057         [BZ #16422]
28058         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
28059         New configure test.
28060         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
28061         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
28062         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
28063         <math_private.h> and <stdint.h>.
28064         (__llrint): Avoid conversions to long long int where those might
28065         raise spurious exceptions.
28066         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
28067         <math_private.h> and <stdint.h>.
28068         (__llrintf): Avoid conversions to long long int where those might
28069         raise spurious exceptions.
28071 2015-10-12  Andreas Schwab  <schwab@suse.de>
28073         [BZ #18969]
28074         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
28075         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
28076         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
28077         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
28078         $(gen-locales).
28079         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
28080         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
28081         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
28082         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
28083         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
28084         $(gen-locales).
28085         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
28086         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
28087         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
28088         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
28089         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
28090         ($(objpfx)tst-ftell-active-handler.out)
28091         ($(objpfx)tst-ftell-append.out)
28092         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
28093         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
28094         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
28095         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
28096         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
28097         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
28098         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
28099         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
28100         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
28101         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
28102         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
28103         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
28104         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
28105         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
28106         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
28107         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
28108         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
28109         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
28110         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
28111         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
28112         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
28113         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
28114         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
28115         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
28116         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
28117         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
28118         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
28119         $(gen-locales).
28120         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
28121         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
28122         $(gen-locales).
28123         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
28124         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
28125         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
28126         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
28127         $(gen-locales).
28128         * libio/tst_wprintf2.c (main): Use explicit locale.
28129         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
28131 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28133         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
28134         __msg_sig_post.
28135         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
28137 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
28139         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28140         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28142         * sysdeps/arm/libm-test-ulps: Regenerated.
28144         [BZ #15470]
28145         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
28147         [BZ #16399]
28148         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
28149         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
28150         and <fix-fp-int-convert-overflow.h>.
28151         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
28152         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28153         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
28154         and <fix-fp-int-convert-overflow.h>.
28155         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
28156         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28157         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
28158         <fix-fp-int-convert-overflow.h>.
28159         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
28160         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28161         * sysdeps/ieee754/dbl-64/s_lround.c: Include
28162         <fix-fp-int-convert-overflow.h>.
28163         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
28164         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28165         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
28166         and <fix-fp-int-convert-overflow.h>.
28167         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
28168         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28169         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
28170         <limits.h> and <fix-fp-int-convert-overflow.h>.
28171         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
28172         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28173         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
28174         and <fix-fp-int-convert-overflow.h>.
28175         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
28176         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28177         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
28178         and <fix-fp-int-convert-overflow.h>.
28179         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
28180         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28181         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
28183 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
28185         [BZ #18589]
28186         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
28187         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
28188         $(gen-locales).
28190 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28191             Phil Blundell <pb@pbcl.net>
28193         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
28194         * nptl/tst-cancel26.c: New file.
28195         * nptl/tst-cancel27.c: Likewise.
28197 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
28199         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
28200         __ILP32__ isn't defined.
28201         (lrint): Likewise.
28202         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
28203         (lrintf): Likewise.
28204         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
28205         (lrintl): Likewise.
28206         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
28207         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
28208         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
28210 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28212         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
28213         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
28215         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
28216         file.
28217         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
28218         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
28220 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
28222         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
28223         configure test.
28224         * sysdeps/i386/configure: Regenerated.
28225         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
28226         configure test.
28227         * sysdeps/x86_64/configure: Regenerated.
28228         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
28229         Make code unconditional.
28231         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
28232         test.
28233         * sysdeps/i386/configure: Regenerated.
28234         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
28235         test.
28236         * sysdeps/x86_64/configure: Regenerated.
28237         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
28238         Make code unconditional.
28239         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28240         Likewise.
28241         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
28242         Likewise.
28243         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28244         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
28245         code unconditional.
28246         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28247         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
28248         code unconditional.
28249         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28250         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
28251         code unconditional.
28252         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
28253         code unconditional.
28254         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28255         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
28256         code unconditional.
28257         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28258         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
28259         code unconditional.
28260         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28261         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
28262         code unconditional.
28263         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28264         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
28265         code unconditional.
28266         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28267         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
28269         [BZ #19095]
28270         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
28271         mantissa to long int before shifting left.
28273 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
28275         [BZ #19094]
28276         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
28277         <limits.h>.
28278         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28279         when result overflows but exception would not result from cast.
28280         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
28281         <limits.h>.
28282         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28283         when result overflows but exception would not result from cast.
28284         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
28285         <limits.h>.
28286         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28287         when result overflows but exception would not result from cast.
28288         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
28289         <limits.h>.
28290         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28291         when result overflows but exception would not result from cast.
28292         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
28293         <limits.h>.
28294         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28295         when result overflows but exception would not result from cast.
28296         * math/libm-test.inc (lrint_test_data): Add more tests.
28297         (llrint_test_data): Likewise.
28299 2015-10-08  Roland McGrath  <roland@hack.frob.com>
28301         [BZ #18872]
28302         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
28303         Move out from under [$(run-built-tests) = yes] conditional.
28304         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
28305         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
28307 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
28309         [BZ #18589]
28310         * string/Makefile (tests): Add bug-strcoll2.
28311         (LOCALES): Add cs_CZ.UTF-8.
28312         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
28314         [BZ #18589]
28315         * string/bug-strcoll2.c: New file.
28316         * locale/categories.def: Revert commit
28317         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
28318         * locale/langinfo.h: Likewise.
28319         * locale/localeinfo.h: Likewise.
28320         * locale/C-collate.c: Likewise.
28321         * locale/programs/ld-collate.c (collate_output): Likewise.
28322         * string/strcoll_l.c (STRDIFF): Likewise.
28323         (STRCOLL): Likewise.
28324         * wcsmbs/wcscoll_l.c: Likewise.
28326 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
28328         * math/libm-test.inc (lround_test_data): Do not expect the absence
28329         of "inexact" for some tests with non-integer arguments.
28330         (llround_test_data): Likewise.
28332         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
28333         test.
28334         (libc_cv_cc_sse2avx): Likewise.
28335         * sysdeps/i386/configure: Regenerated.
28336         * sysdeps/i386/i686/multiarch/Makefile
28337         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
28338         [$(subdir) = math].
28339         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
28340         code unconditional.
28341         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28342         Likewise.
28343         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
28344         Likewise.
28345         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28346         Likewise.
28347         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
28348         test.
28349         (libc_cv_cc_sse2avx): Likewise.
28350         * sysdeps/x86_64/configure: Regenerated.
28351         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
28352         unconditional.
28353         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
28354         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
28355         unconditional.
28356         (_dl_runtime_profile)
28357         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
28358         conditional code.
28359         * sysdeps/x86_64/fpu/multiarch/Makefile
28360         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
28361         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28362         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28363         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28364         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28365         * sysdeps/x86_64/fpu/multiarch/e_log.c
28366         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28367         * sysdeps/x86_64/fpu/multiarch/s_atan.c
28368         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28369         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28370         Likewise.
28371         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28372         Likewise.
28373         * sysdeps/x86_64/fpu/multiarch/s_sin.c
28374         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28375         * sysdeps/x86_64/fpu/multiarch/s_tan.c
28376         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28377         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
28378         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
28379         (HAVE_SSE2AVX_SUPPORT): Likewise.
28381 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
28383         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
28384         instead of #pragma optimize.
28386 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
28388         [BZ #17195]
28389         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
28390         as is similarly done in systrim and _int_free already.
28392 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28394         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
28396 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28398         [BZ #19088]
28399         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
28400         <limits.h>.
28401         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
28402         overflows but exception would not result from cast.
28403         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
28404         and <limits.h>.
28405         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
28406         overflows but exception would not result from cast.
28407         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
28408         <limits.h>.
28409         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
28410         overflows but exception would not result from cast.
28411         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
28412         <limits.h>.
28413         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
28414         overflows but exception would not result from cast.
28415         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
28416         <limits.h>.
28417         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
28418         overflows but exception would not result from cast.
28419         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
28420         <limits.h>.
28421         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
28422         overflows but exception would not result from cast.
28423         * math/libm-test.inc (lround_test_data): Add more tests.
28424         (llround_test_data): Likewise.
28426 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
28428         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
28429         (CFLAGS-ialloc.c): Ditto.
28430         (CFLAGS-scheck.c): Ditto.
28432 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
28434         [BZ #19086]
28435         * manual/filesys.texi (Storage Allocation): Fix argument order for
28436         posix_fallocate64.
28438 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28440         [BZ #19085]
28441         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
28442         exponent below 48 inside case for non-overflowing exponent.
28443         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
28445 2015-10-07  Florian Weimer  <fweimer@redhat.com>
28447         * iconvdata/cp737.h (from_idx): Add const.
28448         * iconvdata/cp775.h (from_idx): Likewise.
28450 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28452         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
28453         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
28454         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
28456         [BZ #19079]
28457         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
28458         file, conditioned on [!_LP64].
28459         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
28460         [!_LP64] (__lround): Do not define as function or alias.
28461         [!_LP64] (lround): Likewise.
28462         [!_LP64] (__lroundl): Likewise.
28463         [!_LP64] (lroundl): Likewise.
28464         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
28465         macro.
28466         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28467         Likewise.
28469 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
28471         * math/libm-test.inc (lrint_test_data): Add more tests.
28472         (llrint_test_data): Likewise.
28473         (lround_test_data): Likewise.
28474         (llround_test_data): Likewise.
28476         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
28477         (llrint_test_data): Add tests used for lrint.
28479         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
28480         test.
28481         * sysdeps/i386/configure: Regenerated.
28482         * sysdeps/i386/i686/multiarch/Makefile
28483         [$(config-cflags-sse4) = yes]: Make code unconditional.
28484         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
28485         Likewise.
28486         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
28487         Likewise.
28488         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
28489         test.
28490         * sysdeps/x86_64/configure: Regenerated.
28491         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
28492         Make code unconditional.
28493         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
28494         Likewise.
28495         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
28496         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
28498         * scripts/rpm2dynsym.sh: Remove file.
28500 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28502         * configure.ac (libc_cv_cxx_thread_local): Define.
28503         * configure: Regenerate.
28504         * config.make.in (have-cxx-thread_local): Define.
28505         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
28506         (LDLIBS-tst-thread_local1): Define.
28507         (tests): Add tst-thread_local1.
28508         [have-cxx-thread_local != yes] (tests-unsupported): Add
28509         tst-thread_local1.
28510         * nptl/tst-thread_local1.cc: New file.
28512 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
28514         [BZ #19078]
28515         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
28516         (u_thres): Likewise.
28517         (__expl): Determine whether to call __kernel_standard_l based on
28518         value of result, not argument.
28520         * math/libm-test.inc (scalb_test_data): Add more expectations for
28521         the "inexact" exception.
28523         [BZ #19077]
28524         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
28525         0.0L for argument 1.0L.
28527         [BZ #19076]
28528         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
28529         constant 0.0L when computing infinite result.
28531 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28533         [BZ #10432]
28534         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
28535         malloc_usable_size.
28537 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28539         [BZ #19018]
28540         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28541         Mangle function pointer before storing it.
28542         (__call_tls_dtors): Demangle function pointer before calling it.
28544 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28546         [BZ #19012]
28547         * iconv/gconv_db.c (gen_steps): Check for additional errors.
28548         Clean up on failure.
28550 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
28552         [BZ #19071]
28553         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
28554         long int variable to store possibly incremented high part of
28555         mantissa.
28556         * math/libm-test.inc (lround_test_data): Add tests used for
28557         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
28558         for tests requiring 64-bit long.  Do not condition tests on
28559         [TEST_FLOAT] unnecessarily.
28560         (llround_test_data): Add tests used for lround.  Add another
28561         expectation for the "inexact" exception.  Do not condition tests
28562         on [TEST_FLOAT] unnecessarily.
28564         [BZ #887]
28565         [BZ #19049]
28566         [BZ #19050]
28567         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
28568         * sysdeps/ieee754/dbl-64/e_log10.c: Include
28569         <fix-int-fp-convert-zero.h>.
28570         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28571         * sysdeps/ieee754/dbl-64/e_log2.c: Include
28572         <fix-int-fp-convert-zero.h>.
28573         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28574         * sysdeps/ieee754/dbl-64/s_erf.c: Include
28575         <fix-int-fp-convert-zero.h>.
28576         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28577         * sysdeps/ieee754/dbl-64/s_logb.c: Include
28578         <fix-int-fp-convert-zero.h>.
28579         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28580         * sysdeps/ieee754/flt-32/e_log10f.c: Include
28581         <fix-int-fp-convert-zero.h>.
28582         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28583         * sysdeps/ieee754/flt-32/e_log2f.c: Include
28584         <fix-int-fp-convert-zero.h>.
28585         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28586         * sysdeps/ieee754/flt-32/s_erff.c: Include
28587         <fix-int-fp-convert-zero.h>.
28588         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28589         * sysdeps/ieee754/flt-32/s_logbf.c: Include
28590         <fix-int-fp-convert-zero.h>.
28591         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28592         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
28593         <fix-int-fp-convert-zero.h>.
28594         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28595         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
28596         <fix-int-fp-convert-zero.h>.
28597         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28598         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
28599         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
28600         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
28601         file.
28602         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
28604 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
28606         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28608 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
28610         [BZ #19059]
28611         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
28612         overflowing computation.
28613         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28614         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28615         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28616         Likewise.
28617         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28618         Likewise.
28619         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
28620         Likewise.
28621         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28622         Likewise.
28623         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28624         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28625         Likewise.
28626         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28627         Likewise.
28628         * math/libm-test.inc (nexttoward_test_data): Add more tests.
28630         * nss/rewrite_field.c (__nss_rewrite_field): Use
28631         internal_function.
28632         * nss/valid_field.c (__nss_valid_field): Likewise.
28633         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28635 2015-10-02  Florian Weimer  <fweimer@redhat.com>
28637         [BZ #18724]
28638         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
28639         (__nss_invalid_field_characters, __nss_valid_field)
28640         (__nss_valid_list_field, __nss_rewrite_field): Declare.
28641         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
28642         tst-field.c: New file.
28643         * nss/Makefile (routines): Add valid_field, rewrite_field.
28644         (tests-static): Define unconditionally.
28645         (tests): Include tests-static.
28646         [build-static-nss] (tests-static): Use append.
28647         [build-static-nss] (tests): Remove modification.
28648         * nss/getent.c (print_group): Call putgrent.  Report error.
28649         (print_gshadow): Call putsgent.  Report error.
28650         (print_passwd): Call putpwent.  Report error.
28651         (print_shadow): Call putspent.  Report error.
28652         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
28653         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
28654         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
28655         name, password, directory, shell fields for valid syntax.  Rewrite
28656         GECOS field to match syntax.
28657         * pwd/Makefile (tests): Add tst-putpwent.
28658         * pwd/tst-putpwent.c: New file.
28659         * grp/putgrent.c (putgrent): Convert to ISO function definition.
28660         Check grName, grpasswd, gr_mem fields for valid syntax.
28661         Change loop variable i to size_t.
28662         * grp/Makefile (tests): Add tst-putgrent.
28663         * grp/tst-putgrent.c: New file.
28664         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
28665         valid syntax.
28666         * shadow/Makefile (tests): Add tst-putspent.
28667         * shadow/tst-putspent.c: New file.
28668         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
28669         sg_mem fields for valid syntax.
28670         * gshadow/Makefile (tests): Add tst-putsgent.
28671         * gshadow/tst-putsgent.c: New file.
28673 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28675         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
28676         assembly instructions.
28678 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28680         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
28681         prefix from operands.
28683 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
28685         [BZ #16347]
28686         [BZ #19046]
28687         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
28688         <libc-internal.h>.
28689         (MAXLGM): Do not use diagnostic control macros.
28690         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
28691         threshold for ldbl-128ibm.
28692         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
28693         instead of multiplying by log then subtracting.
28694         * math/auto-libm-test-in: Add more tests of lgamma.
28695         * math/auto-libm-test-out: Regenerated.
28697         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
28698         (TYPE_HEX_DIG): Likewise.
28699         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
28700         precisions when printing floating-point numbers.
28701         (check_float_internal): Likewise.
28703 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28705         [BZ #16620]
28706         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
28707         of log (10) rounded downward to 48 bits.
28708         (log10_low): Use corresponding low part of log (10).
28710         [BZ #19032]
28711         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
28712         compute result as (x - x) / (x - x) not as 0 / 0.
28713         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28714         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
28716         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28717         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
28718         and expm1.
28719         * math/auto-libm-test-out: Regenerated.
28720         * math/libm-test.inc (acos_test_data): Add more tests.
28721         (asin_test_data): Likewise.
28722         (asinh_test_data): Likewise.
28723         (atan_test_data): Likewise.
28724         (atanh_test_data): Likewise.
28725         (atan2_test_data): Likewise.
28726         (cbrt_test_data): Likewise.
28727         (ceil_test_data): Likewise.
28728         (copysign_test_data): Likewise.
28729         (cos_test_data): Likewise.
28730         (cosh_test_data): Likewise.
28731         (erf_test_data): Likewise.
28732         (erfc_test_data): Likewise.
28733         (exp_test_data): Likewise.
28734         (exp10_test_data): Likewise.
28735         (exp2_test_data): Likewise.
28736         (expm1_test_data): Likewise.
28737         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28739 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
28741         [BZ #19006]
28742         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
28743         to ...
28744         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
28745         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
28746         to ...
28747         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
28748         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
28749         to ...
28750         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
28751         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
28752         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
28753         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
28754         to ...
28755         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
28756         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28757         Moved to ...
28758         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
28759         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28760         Moved to ...
28761         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
28762         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
28763         to ...
28764         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
28765         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28766         Moved to ...
28767         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
28768         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
28769         to ...
28770         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
28771         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
28772         Removed.
28773         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
28774         Likewise.
28775         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
28776         Likewise.
28777         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
28778         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
28779         Likewise.
28780         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28781         Likewise.
28782         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28783         Likewise.
28784         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28785         Likewise.
28786         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28787         Likewise.
28788         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
28789         Likewise.
28790         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
28791         Likewise.
28792         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
28793         Likewise.
28794         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
28795         Likewise.
28796         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
28797         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
28798         Likewise.
28799         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28800         Likewise.
28801         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28802         Likewise.
28803         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28804         Likewise.
28805         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
28806         Likewise.
28807         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28808         Replace ../i486/pthread_cond_timedwait.S with
28809         ../pthread_cond_timedwait.S.
28811 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28813         * math/libm-test.inc (acos_test_data): Refine expectations for
28814         errno and "inexact" exceptions.
28815         (acosh_test_data): Likewise.
28816         (asin_test_data): Likewise.
28817         (asinh_test_data): Likewise.
28818         (atan_test_data): Likewise.
28819         (atanh_test_data): Likewise.
28820         (atan2_test_data): Likewise.
28821         (cbrt_test_data): Likewise.
28822         (ceil_test_data): Likewise.
28823         (copysign_test_data): Likewise.
28824         (cosh_test_data): Likewise.
28825         (erf_test_data): Likewise.
28826         (erfc_test_data): Likewise.
28827         (exp_test_data): Likewise.
28828         (exp10_test_data): Likewise.
28829         (exp2_test_data): Likewise.
28830         (expm1_test_data): Likewise.
28831         (fabs_test_data): Likewise.
28832         (floor_test_data): Likewise.
28833         (fma_test_data): Likewise.
28834         (fmax_test_data): Likewise.
28835         (fmin_test_data): Likewise.
28836         (fmod_test_data): Likewise.
28837         (fpclassify_test_data): Likewise.
28838         (frexp_test_data): Likewise.
28839         (hypot_test_data): Likewise.
28840         (ilogb_test_data): Likewise.
28841         (isgreater_test_data): Likewise.
28842         (isgreaterequal_test_data): Likewise.
28843         (isinf_test_data): Likewise.
28844         (isless_test_data): Likewise.
28845         (islessequal_test_data): Likewise.
28846         (islessgreater_test_data): Likewise.
28847         (isnan_test_data): Likewise.
28848         (isnormal_test_data): Likewise.
28849         (issignaling_test_data): Likewise.
28850         (isunordered_test_data): Likewise.
28851         (j0_test_data): Likewise.
28852         (j1_test_data): Likewise.
28853         (jn_test_data): Likewise.
28854         (lgamma_test_data): Likewise.
28855         (lrint_test_data): Likewise.
28856         (llrint_test_data): Likewise.
28857         (log_test_data): Likewise.
28858         (log10_test_data): Likewise.
28859         (log1p_test_data): Likewise.
28860         (log2_test_data): Likewise.
28861         (logb_test_data): Likewise.
28862         (lround_test_data): Likewise.
28863         (llround_test_data): Likewise.
28864         (modf_test_data): Likewise.
28865         (nearbyint_test_data): Likewise.
28866         (nextafter_test_data): Likewise.
28867         (nexttoward_test_data): Likewise.
28868         (pow_test_data): Likewise.
28869         (remainder_test_data): Likewise.
28870         (remquo_test_data): Likewise.
28871         (rint_test_data): Likewise.
28872         (round_test_data): Likewise.
28873         (signbit_test_data): Likewise.
28874         (sinh_test_data): Likewise.
28875         (sqrt_test_data): Likewise.
28876         (tanh_test_data): Likewise.
28877         (tgamma_test_data): Likewise.
28878         (trunc_test_data): Likewise.
28879         (y0_test_data): Likewise.
28880         (y1_test_data): Likewise.
28881         (yn_test_data): Likewise.
28882         (significand_test_data): Likewise.
28884 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
28886         * manual/filesys.texi (Storage Allocation): Document that
28887         posix_fallocate emulation fails when fd is open with O_WRONLY.
28889 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
28891         [BZ #19016]
28892         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
28893         allow more cases with X^2 + Y^2 >= 0.5.
28894         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
28895         normal element in sum instead of special-casing based on values of
28896         arguments.
28897         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
28898         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
28899         -1 as normal element in sum instead of special-casing based on
28900         values of arguments.
28901         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
28902         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
28903         (__x2y2m1): Update comment.
28904         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
28905         as normal element in sum instead of special-casing based on values
28906         of arguments.
28907         * math/s_clog.c (__clog): Handle more cases using log1p without
28908         hypot.
28909         * math/s_clog10.c (__clog10): Likewise.
28910         * math/s_clog10f.c (__clog10f): Likewise.
28911         * math/s_clog10l.c (__clog10l): Likewise.
28912         * math/s_clogf.c (__clogf): Likewise.
28913         * math/s_clogl.c (__clogl): Likewise.
28914         * math/auto-libm-test-in: Add more tests of clog and clog10.
28915         * math/auto-libm-test-out: Regenerated.
28916         * sysdeps/i386/fpu/libm-test-ulps: Update.
28917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28919 2015-09-28  Martin Sebor  <msebor@redhat.com>
28921         [BZ #18969]
28922         * string/Makefile (LOCALES): Define.
28923         (gen-locales.mk): Include.
28924         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
28925         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
28926         * string/tst-strxfrm2.c (do_test): Print the name of the locale
28927         on setlocale failure.
28929 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28931         [BZ #18985]
28932         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
28933         (__strftime_internal): Likewise.
28934         * time/tst-strftime.c (do_bz18985): New test.
28935         (do_test): Call it.
28937 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
28939         [BZ #18956]
28940         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
28941         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
28942         extracting high part.
28943         * math/auto-libm-test-in: Add another test of pow.
28944         * math/auto-libm-test-out: Regenerated.
28945         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28947 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
28949         [BZ #18825]
28950         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
28951         New macro.
28952         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
28953         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28954         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
28955         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
28956         DBL_NARROW_EVAL, reloading the PIC register as needed.
28957         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
28958         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
28959         FLT_NARROW_EVAL.  Use separate return path for case when first
28960         argument is NaN.
28961         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
28962         DEFINE_LDBL_MIN.
28963         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
28964         PIC register.
28965         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
28966         math_check_force_underflow_nonneg.
28967         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
28968         underflow for subnormal result.
28969         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
28970         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
28971         math_check_force_underflow_nonneg.
28972         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
28973         math_check_force_underflow.
28974         * sysdeps/x86_64/fpu/x86_64-math-asm.h
28975         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
28976         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
28977         DEFINE_LDBL_MIN.
28978         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
28979         * math/auto-libm-test-in: Add more tests of pow.
28980         * math/auto-libm-test-out: Regenerated.
28982 2015-09-25  Florian Weimer  <fweimer@redhat.com>
28984         * nss/bug17079.c (init_test_items): Add diagnostic for
28985         inconsistent entries.
28986         (test_buffer_size): Skip inconsistent entries.
28988 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
28990         [BZ #13304]
28991         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
28992         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
28993         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
28995         [BZ #13304]
28996         * sysdeps/microblaze/s_fma.c: New file.
28997         * sysdeps/microblaze/s_fmaf.c: Likewise.
28998         * sysdeps/microblaze/sfp-machine.h: Likewise.
29000 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
29002         [BZ #17250]
29003         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
29004         member.
29006 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
29008         [BZ #18803]
29009         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
29010         (MO): New macro.
29011         (__ieee754_hypot) [PIC]: Load PIC register.
29012         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
29013         DBL_NARROW_EVAL.
29014         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
29015         math_check_force_underflow_nonneg in case where result might be
29016         tiny.
29017         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29018         Likewise.
29019         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29020         Likewise.
29021         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
29022         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
29023         * math/auto-libm-test-in: Add more tests of hypot.
29024         * math/auto-libm-test-out: Regenerated.
29026 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
29028         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
29030 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
29032         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
29033         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
29034         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29035         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29036         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
29037         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29038         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29040         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
29041         LOAD_PIC_REG.
29043         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
29044         (FLT_CHECK_FORCE_UFLOW): Likewise.
29045         (DBL_CHECK_FORCE_UFLOW): Likewise.
29046         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
29047         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
29048         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
29049         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29050         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29051         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29052         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29053         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29054         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
29055         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29056         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
29057         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
29058         (flt_min): Replace with use of DEFINE_FLT_MIN.
29059         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
29060         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
29061         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29062         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
29063         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
29064         (flt_min): Replace with use of DEFINE_FLT_MIN.
29065         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
29066         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
29067         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29068         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
29069         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
29070         (flt_min): Replace with use of DEFINE_FLT_MIN.
29071         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
29072         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
29073         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29074         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29075         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
29076         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29077         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29078         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
29079         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29080         (__atan): Use DBL_CHECK_FORCE_UFLOW.
29081         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
29082         (flt_min): Replace with use of DEFINE_FLT_MIN.
29083         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
29084         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
29085         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29086         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
29087         main computation.
29088         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
29089         (flt_min): Replace with use of DEFINE_FLT_MIN.
29090         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
29091         main computation.
29092         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
29093         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29094         (MO): New macro.
29095         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
29096         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
29097         (flt_min): Replace with use of DEFINE_FLT_MIN.
29098         (MO): New macro.
29099         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
29100         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
29101         (__log1pl): Use MO.
29103         [BZ #19003]
29104         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
29105         $(config-cflags-nofma).
29107 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29109         * sysdeps/aarch64/libm-test-ulps: Regenerated.
29111 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
29113         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
29114         (TWO127): Likewise.
29116         * sysdeps/generic/math_private.h (fabs_tg): New macro.
29117         (min_of_type): Likewise.
29118         (math_check_force_underflow): Likewise.
29119         (math_check_force_underflow_nonneg): Likewise.
29120         (math_check_force_underflow_complex): Likewise.
29121         * math/e_exp2l.c (__ieee754_exp2l): Use
29122         math_check_force_underflow_nonneg.
29123         * math/k_casinh.c (__kernel_casinh): Likewise.
29124         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29125         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29126         * math/s_catan.c (__catan): Use
29127         math_check_force_underflow_complex.
29128         * math/s_catanf.c (__catanf): Likewise.
29129         * math/s_catanh.c (__catanh): Likewise.
29130         * math/s_catanhf.c (__catanhf): Likewise.
29131         * math/s_catanhl.c (__catanhl): Likewise.
29132         * math/s_catanl.c (__catanl): Likewise.
29133         * math/s_ccosh.c (__ccosh): Likewise.
29134         * math/s_ccoshf.c (__ccoshf): Likewise.
29135         * math/s_ccoshl.c (__ccoshl): Likewise.
29136         * math/s_cexp.c (__cexp): Likewise.
29137         * math/s_cexpf.c (__cexpf): Likewise.
29138         * math/s_cexpl.c (__cexpl): Likewise.
29139         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
29140         * math/s_clog10.c (__clog10): Likewise.
29141         * math/s_clog10f.c (__clog10f): Likewise.
29142         * math/s_clog10l.c (__clog10l): Likewise.
29143         * math/s_clogf.c (__clogf): Likewise.
29144         * math/s_clogl.c (__clogl): Likewise.
29145         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
29146         * math/s_csinf.c (__csinf): Likewise.
29147         * math/s_csinh.c (__csinh): Likewise.
29148         * math/s_csinhf.c (__csinhf): Likewise.
29149         * math/s_csinhl.c (__csinhl): Likewise.
29150         * math/s_csinl.c (__csinl): Likewise.
29151         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
29152         * math/s_csqrtf.c (__csqrtf): Likewise.
29153         * math/s_csqrtl.c (__csqrtl): Likewise.
29154         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
29155         * math/s_ctanf.c (__ctanf): Likewise.
29156         * math/s_ctanh.c (__ctanh): Likewise.
29157         * math/s_ctanhf.c (__ctanhf): Likewise.
29158         * math/s_ctanhl.c (__ctanhl): Likewise.
29159         * math/s_ctanl.c (__ctanl): Likewise.
29160         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
29161         instead of volatile.
29162         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
29163         math_check_force_underflow.
29164         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
29165         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
29166         volatile when forcing underflow.
29167         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29168         math_check_force_underflow_nonneg.
29169         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
29170         Likewise.
29171         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
29172         math_check_force_underflow.
29173         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
29174         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29175         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
29176         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
29177         math_check_force_underflow_nonneg.
29178         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
29179         math_check_force_underflow.
29180         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
29181         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
29182         instead of volatile.
29183         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
29184         math_check_force_underflow.
29185         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29186         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29187         math_check_force_underflow_nonneg.
29188         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
29189         math_check_force_underflow.
29190         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
29191         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
29192         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
29193         math_check_force_underflow_nonneg.
29194         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29195         Likewise.
29196         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
29197         math_check_force_underflow.
29198         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29199         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
29200         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
29201         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
29202         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
29203         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
29204         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
29205         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
29206         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29207         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
29208         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
29209         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
29210         Likewise.
29211         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
29212         math_check_force_underflow_nonneg.
29213         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29214         Likewise.
29215         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
29216         math_check_force_underflow.
29217         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29218         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
29219         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29220         Likewise.
29221         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
29222         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
29223         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
29224         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
29225         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
29226         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
29227         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
29228         instead of volatile.
29229         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
29230         math_check_force_underflow.
29231         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
29232         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
29233         math_check_force_underflow.
29234         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
29235         Likewise.
29236         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29237         Use math_check_force_underflow_nonneg.
29238         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
29239         math_check_force_underflow.
29240         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
29241         Likewise.
29242         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29243         Likewise.
29244         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29245         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29246         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29247         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29248         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
29249         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29250         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
29251         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
29252         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
29253         math_check_force_underflow_nonneg.
29254         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
29255         math_check_force_underflow.
29256         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29257         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
29258         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
29259         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
29260         math_check_force_underflow_nonneg.
29261         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
29262         math_check_force_underflow.
29263         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
29264         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
29265         instead of volatile.
29266         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
29267         math_check_force_underflow.
29269         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
29270         * stdlib/strtod_l.c: Include <math_private.h>.
29271         (overflow_value): Use math_narrow_eval.
29272         (underflow_value): Likewise.
29273         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29274         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29275         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
29276         (__ieee754_gamma_r): Likewise.
29277         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
29278         Likewise.
29279         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
29280         Likewise.
29281         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
29282         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
29283         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
29284         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
29285         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
29286         (__ieee754_gammaf_r): Likewise.
29287         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
29288         Likewise.
29289         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
29290         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
29291         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
29292         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
29293         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
29294         volatile.
29295         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
29296         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
29297         math_narrow_eval.
29298         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29299         Likewise.
29300         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29301         Likewise.
29302         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
29303         Likewise.
29304         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
29305         volatile.
29306         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
29307         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
29308         math_narrow_eval.
29309         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29310         Likewise.
29311         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29312         Likewise.
29314 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
29316         * nptl/Versions: Remove ignored symbols.
29318 2015-09-22  Florian Weimer  <fweimer@redhat.com>
29320         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
29321         * nss/Makefile (tests): Update.
29323 2015-09-22  Florian Weimer  <fweimer@redhat.com>
29325         * nss/bug18287.c: New file.
29326         * nss/Makefile (tests): Add bug18287.
29328 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29330         * mach/Versions (__mach_host_self_): Add symbol.
29332 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29334         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
29335         vm_page_size.
29337 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29339         Really fix sysdeps/i386/fpu/s_scalbn.S build
29341         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
29342         (libc: GLIBC_2_22): Remove unused version set.
29344 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
29346         * config.make.in (enable-timezone-tools): New variable.
29347         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
29348         (enable_timezone_tools): Export to generated files.
29349         * configure: Regenerate.
29350         * INSTALL: Regenerate.
29351         * manual/install.texi (--disable-timezone-tools): Document new flag.
29352         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
29353         ifeq ($(enable-timezone-tools),yes) check.
29355 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29357         * timezone/Makefile: Revert previous change.
29359         [BZ #18980]
29360         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
29361         (DEFINE_DBL_MIN): Likewise.
29362         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
29363         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
29364         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
29365         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
29366         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
29367         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29368         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29369         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
29370         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
29371         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29372         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29373         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
29374         (flt_min): Replace with use of DEFINE_FLT_MIN.
29375         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29376         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
29377         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29378         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29379         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
29380         (flt_min): Replace with use of DEFINE_FLT_MIN.
29381         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29382         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
29383         (flt_min): Replace with use of DEFINE_FLT_MIN.
29384         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29385         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
29386         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
29387         (__ieee754_hypot): Use DBL_NARROW_EVAL.
29388         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
29389         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
29390         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
29391         (__ieee754_pow): Use DBL_NARROW_EVAL.
29392         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
29393         (__ieee754_powf): Use FLT_NARROW_EVAL.
29394         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
29395         (__ieee754_expf_sse2): Convert double-precision result to single
29396         precision.
29397         * sysdeps/i386/fpu/libm-test-ulps: Update.
29399 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29401         * timezone/Makefile: Ignore unused variable errors due to private.h
29402         (time_t_min) and (time_t_max).
29403         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
29404         Likewise.
29406 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29408         [BZ #18981]
29409         * sysdeps/i386/fpu/i386-math-asm.h: New file.
29410         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
29411         (__ieee754_scalb): Use DBL_NARROW_EVAL.
29412         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
29413         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
29414         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
29415         (__scalbn): Use DBL_NARROW_EVAL.
29416         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
29417         (__scalbnf): Use FLT_NARROW_EVAL.
29419 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29421         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
29422         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
29423         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
29424         * stdio-common/printf_fp.c (___printf_fp):
29425         Use signbit to get the sign. Use isinf macro to allow inlining.
29426         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
29427         * stdio-common/printf_size.c (__printf_size): Likewise.
29429 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
29431         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
29433 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29435         [BZ #18980]
29436         * sysdeps/generic/math_private.h: Include <float.h>.
29437         (math_narrow_eval): New macro.
29438         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
29439         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
29440         math_narrow_eval on overflowing return value.
29441         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
29442         Likewise.
29443         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29444         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
29445         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
29446         Likewise.
29447         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
29449 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29451         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
29452         * math/Makefile: Remove isinf_ns.c.
29453         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
29454         * math/multc3.c (__multc3): Likewise.
29455         * math/s_casin.c (__casin): Likewise.
29456         * math/s_casinf.c (__casinf): Likewise.
29457         * math/s_casinl.c (__casinl): Likewise.
29458         * math/s_cproj.c (__cproj): Likewise.
29459         * math/s_cprojf.c (__cprojf): Likewise.
29460         * math/s_cprojl.c (__cprofl): Likewise.
29461         * math/s_ctan.c (__ctan): Likewise.
29462         * math/s_ctanf.c (__ctanf): Likewise.
29463         * math/s_ctanh.c (__ctanh): Likewise.
29464         * math/s_ctanhf.c (__ctanhf): Likewise.
29465         * math/s_ctanhl.c (__ctanhl): Likewise.
29466         * math/s_ctanl.c (__ctanl): Likewise.
29467         * math/w_fmod.c (__fmod): Likewise.
29468         * math/w_fmodf.c (__fmodf): Likewise.
29469         * math/w_fmodl.c (_fmodl): Likewise.
29470         * math/w_remainder.c (__remainder): Likewise.
29471         * math/w_remainderf.c (__remainderf): Likewise.
29472         * math/w_remainderl.c (__remainderl): Likewise.
29473         * math/w_scalb.c (__scalb): Likewise.
29474         * math/w_scalbf.c (__scalbf): Likewise.
29475         * math/w_scalbl.c (__scalbl): Likewise.
29476         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
29477         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
29478         with isinf.
29479         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
29480         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
29481         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
29482         __isinf_nsf with isinf.
29483         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
29484         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
29485         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
29486         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
29487         with isinf.
29488         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
29489         __isinf_nsl with isinf.
29490         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
29491         with isinf.
29492         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
29493         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
29494         __isinf_nsl with isinf.
29495         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
29496         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
29497         with isinf.
29499 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29501         * resolv/base64.c (rcsid): Remove unused static.
29502         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
29503         static.  (tqpi1): Likewise.
29504         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
29505         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
29506         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
29507         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
29508         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
29509         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
29510         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
29511         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
29512         Likewise.
29514 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
29516         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
29517         <nptl/pthreadP.h>.
29518         (_longjmp_unwind): Use __libc_ptf_call.
29519         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
29521 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
29523         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
29524         * sysdeps/arm/__longjmp.S: Likewise.
29526 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29528         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
29529         Use __builtin_signbit.
29530         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
29531         Use __builtin_signbitf.
29532         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
29533         Use __builtin_signbitl.
29534         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29535         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
29537 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29539         [BZ #15367]
29540         [BZ #17441]
29542         * math/Makefile: Build test-snan.c with -fsignaling-nans.
29543         * math/math.h (fpclassify): Use __builtin_fpclassify when
29544         available.  (signbit): Use __builtin_signbit(f/l).
29545         (isfinite): Use__builtin_isfinite.  (isnormal): Use
29546         __builtin_isnormal.  (isnan): Use __builtin_isnan.
29547         (isinf): Use __builtin_isinf_sign.
29549 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29551         * benchtests/Makefile: Add bench-math-inlines, link with libm.
29552         * benchtests/bench-math-inlines.c: New benchmark.
29553         * benchtests/bench-util.h: New file.
29554         * benchtests/bench-util.c: New file.
29555         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
29557 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
29559         * elf/tst-dlmopen1.c: Define TEST_SO.
29560         (do_test): Use TEST_SO.
29562         * elf/dl-load.c: Include libc-internal.h.
29563         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
29565 2015-09-18  Vincent Bernat  <vincent@bernat.im>
29567         [BZ #17887]
29568         * time/strptime_l.c (__strptime_internal): Make %z accept
29569         [+-]HH:MM time zones.
29571 2015-09-18  Vincent Bernat  <vincent@bernat.im>
29573         [BZ #17886]
29574         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
29575         valid time zone.
29577 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
29579         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
29580         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
29581         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29582         (__ASSUME_FDATASYNC): Delete.
29584 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29586         * conform/linknamespace.pl: Require weak undefined symbols to be
29587         in the standard namespace.
29588         (%strong_syms): Rename to %seen_syms.
29589         (%strong_seen): Rename to %seen_where.
29591 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
29593         [BZ #18970]
29594         * misc/error.c (error): Replace pthread_setcancelstate with
29595         __pthread_setcancelstate.
29596         (error_at_line): Likewise.
29597         * posix/wordexp.c (parse_comm): Likewise.
29598         * stdlib/fmtmsg.c (fmtmsg): Likewise.
29599         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
29600         (__pthread_setcancelstate): This.
29601         (pthread_setcancelstate): Add an alias.
29602         * nptl/nptl-init.c (pthread_functions): Replace
29603         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
29604         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
29605         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
29606         hidden_proto.
29607         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
29608         it with hidden_def.
29609         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
29610         (pthread_setcancelstate): Renamed to ...
29611         (__pthread_setcancelstate): This.
29612         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
29613         __libc_ptf_call with __pthread_setcancelstate.
29615 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29616             Andreas Schwab  <schwab@suse.de>
29618         [BZ #17118]
29619         * math/s_ctan.c (__ctan): Determine sign of zero real part of
29620         result when imaginary part of argument is infinite using sine and
29621         cosine.
29622         * math/s_ctanf.c (__ctanf): Likewise.
29623         * math/s_ctanl.c (__ctanl): Likewise.
29624         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
29625         of result when real part of argument is infinite using sine and
29626         cosine.
29627         * math/s_ctanhf.c (__ctanhf): Likewise.
29628         * math/s_ctanhl.c (__ctanhl): Likewise.
29629         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
29630         (ctanh_test_data): Add more tests of ctanh.
29632 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29634         [BZ #15384]
29635         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
29636         bit-mask as in subtraction.
29637         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
29638         Likewise.
29639         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
29640         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
29641         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
29643         [BZ #18951]
29644         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
29645         underflow exception for small results.
29646         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29647         Likewise.
29648         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29649         Likewise.
29650         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29651         Likewise.
29652         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29653         Likewise.
29654         * math/auto-libm-test-in: Add more tests of tgamma.
29655         * math/auto-libm-test-out: Regenerated.
29657 2015-09-17  Andreas Schwab  <schwab@suse.de>
29659         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
29661 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29663         [BZ #18977]
29664         * math/bits/mathcalls.h
29665         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
29666         not declare.
29667         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
29668         Likewise.
29669         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
29670         Likewise.
29671         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
29672         Likewise.
29673         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
29674         Likewise.
29675         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
29676         Likewise.
29677         * conform/data/math.h-data
29678         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
29679         function.
29680         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
29681         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
29682         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
29683         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
29684         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
29685         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
29686         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
29687         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
29688         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
29689         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
29690         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
29692         [BZ #6803]
29693         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
29694         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
29695         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
29696         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
29697         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
29698         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
29699         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
29700         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
29701         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29702         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
29703         Likewise.
29704         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29705         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
29706         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
29707         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
29708         long_double_symbol calls.
29709         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
29710         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
29711         strong alias of __ldexpl.
29712         (scalbnl): Define using long_double_symbol.
29713         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
29714         Remove alias.
29715         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
29716         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
29717         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
29718         (scalbln_test_data): Add more errno expectations.
29720 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
29722         Cache the host port like we cache the task port.  This way we do not
29723         need to call the kernel just to get the port.  Furthermore, we no
29724         longer increase the reference count on every invocation of
29725         `mach_host_self'.
29727         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
29728         Protect declarations against the macro expansion.
29729         * mach/mach_init.c (__mach_host_self_): New variable.
29730         (mach_init): Initialize `__mach_host_self_'.
29731         * mach/mach_init.h (__mach_host_self_): New declaration.
29732         (__mach_host_self, mach_host_self): New macros.
29733         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
29734         Release reference.
29736 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29738         [BZ #4404]
29739         * po/de.po: Update from Translation Project.
29741         [BZ #16415]
29742         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
29743         (__expm1l): Remove code to handle positive infinity and overflow.
29744         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
29745         variable.
29746         (__expm1l): Remove code to handle positive infinity and overflow.
29748 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
29749             Paul Pluzhnikov  <ppluzhnikov@google.com>
29751         [BZ #18872]
29752         * stdio-common/Makefile (tst-printf-bz18872): New test.
29753         (tst-printf-bz18872-mem.out): Likewise.
29754         * stdio-common/tst-printf-bz18872.sh: Generate new test.
29755         * stdio-common/vfprintf.c: Fix memory leaks.
29757 2015-09-16  Andreas Schwab  <schwab@suse.de>
29759         [BZ #17244]
29760         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
29761         Remove extra va_start/va_end calls.
29763         [BZ #17243]
29764         * posix/execl.c (execl): Add missing va_end.
29765         * posix/execle.c (execle): Likewise.
29766         * posix/execlp.c (execlp): Likewise.
29768 2015-09-15  Roland McGrath  <roland@hack.frob.com>
29770         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
29771         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
29773 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
29775         [BZ #18967]
29776         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
29777         undefine around includes of <bits/mathcalls.h>.
29778         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
29779         not declare function.
29780         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
29781         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
29782         (scalb): Likewise.
29783         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
29784         not define macro.
29785         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
29786         variable.
29787         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29788         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29789         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29791         [BZ #18857]
29792         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
29793         return non-finite argument without doing ordered comparisons on
29794         it.
29796         [BZ #16296]
29797         * math/fenv.h (fegetround): Use __attribute_pure__.
29798         * include/fenv.h (__fegetround): Likewise.
29800         [BZ #18595]
29801         * math/s_ctan.c (__ctan): Force underflow exception for results
29802         whose real or imaginary part has small absolute value.
29803         * math/s_ctanf.c (__ctanf): Likewise.
29804         * math/s_ctanh.c (__ctanh): Likewise.
29805         * math/s_ctanhf.c (__ctanhf): Likewise.
29806         * math/s_ctanhl.c (__ctanhl): Likewise.
29807         * math/s_ctanl.c (__ctanl): Likewise.
29808         * math/auto-libm-test-in: Do not allow missing underflow for ctan
29809         and ctanh.  Add more tests of ctan and ctanh.
29811         [BZ #15918]
29812         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
29813         handling of cases where one argument is an infinity.
29815         [BZ #18875]
29816         [BZ #18966]
29817         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
29818         (MO): New macro.
29819         (__ieee754_exp10): For small results, force underflow exception
29820         and remove excess range and precision from return value.
29821         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
29822         (MO): New macro.
29823         (__ieee754_exp10f): For small results, force underflow exception
29824         and remove excess range and precision from return value.
29825         * math/auto-libm-test-in: Add more tests of exp10.
29826         * math/auto-libm-test-out: Regenerated.
29828 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
29830         [BZ #18875]
29831         [BZ #18961]
29832         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
29833         (MO): New macro.
29834         (__ieee754_exp): For small results, force underflow exception and
29835         remove excess range and precision from return value.
29836         (__exp_finite): Likewise.
29837         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
29838         (MO): New macro.
29839         (__ieee754_expf): For small results, force underflow exception and
29840         remove excess range and precision from return value.
29841         (__expf_finite): Likewise.
29842         * math/auto-libm-test-in: Add more tests of exp.
29843         * math/auto-libm-test-out: Regenerated.
29845         [BZ #16521]
29846         [BZ #18875]
29847         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
29848         small results.
29849         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
29850         (MO): New macro.
29851         (__ieee754_exp2): For small results, force underflow exception and
29852         remove excess range and precision from return value.
29853         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
29854         (MO): New macro.
29855         (__ieee754_exp2f): For small results, force underflow exception
29856         and remove excess range and precision from return value.
29857         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
29858         (MO): New macro.
29859         (__ieee754_exp2l): Force underflow exception for small results.
29860         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29861         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29862         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
29863         (MO): New macro.
29864         (__ieee754_exp2l): Force underflow exception for small results.
29865         * math/auto-libm-test-in: Add more tests or exp2.
29866         * math/auto-libm-test-out: Regenerated.
29868 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
29870         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
29872         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
29873         /dev/null.
29875 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29877         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29878         io fs process)): Drop spurious backslash.
29880 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29882         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
29883         Use sysinfo system call instead of parsing /proc/meminfo.
29884         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
29885         Likewise.
29887 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
29889         [BZ #16985]
29890         * programs/localedef.c (main): Display argv[remaining] when
29891         output_path is NULL.
29893 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
29895         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29896         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
29897         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
29898         tanh.
29899         * math/auto-libm-test-out: Regenerated.
29900         * sysdeps/i386/fpu/libm-test-ulps: Update.
29901         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29902         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29905 2015-09-11  Roland McGrath  <roland@hack.frob.com>
29907         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
29908         Use 'override' keyword to freeze the value here, preventing
29909         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
29911 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
29913         [BZ #14912]
29914         * sysdeps/aarch64/bits/atomic.h: Move to ...
29915         * sysdeps/aarch64/atomic-machine.h: ...here.
29916         (_AARCH64_BITS_ATOMIC_H): Rename macro to
29917         _AARCH64_ATOMIC_MACHINE_H.
29918         * sysdeps/alpha/bits/atomic.h: Move to ...
29919         * sysdeps/alpha/atomic-machine.h: ...here.
29920         * sysdeps/arm/bits/atomic.h: Move to ...
29921         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
29922         * bits/atomic.h: Move to ...
29923         * sysdeps/generic/atomic-machine.h: ...here.
29924         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29925         * sysdeps/i386/bits/atomic.h: Move to ...
29926         * sysdeps/i386/atomic-machine.h: ...here.
29927         * sysdeps/ia64/bits/atomic.h: Move to ...
29928         * sysdeps/ia64/atomic-machine.h: ...here.
29929         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
29930         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
29931         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29932         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
29933         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
29934         * sysdeps/microblaze/bits/atomic.h: Move to ...
29935         * sysdeps/microblaze/atomic-machine.h: ...here.
29936         * sysdeps/mips/bits/atomic.h: Move to ...
29937         * sysdeps/mips/atomic-machine.h: ...here.
29938         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
29939         * sysdeps/powerpc/bits/atomic.h: Move to ...
29940         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
29941         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
29942         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
29943         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
29944         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
29945         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
29946         <atomic-machine.h> instead of <bits/atomic.h>.
29947         * sysdeps/s390/bits/atomic.h: Move to ...
29948         * sysdeps/s390/atomic-machine.h: ...here.
29949         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
29950         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
29951         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29952         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
29953         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
29954         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
29955         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
29956         * sysdeps/tile/bits/atomic.h: Move to ...
29957         * sysdeps/tile/atomic-machine.h: ...here.
29958         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
29959         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
29960         <sysdeps/tile/atomic-machine.h> instead of
29961         <sysdeps/tile/bits/atomic.h>.
29962         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29963         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
29964         * sysdeps/tile/tilepro/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/unix/sysv/linux/arm/bits/atomic.h: Move to ...
29969         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
29970         <sysdeps/arm/atomic-machine.h> instead of
29971         <sysdeps/arm/bits/atomic.h>.
29972         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
29973         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
29974         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29975         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
29976         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
29977         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29978         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
29979         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
29980         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
29981         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
29982         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
29983         * sysdeps/x86_64/bits/atomic.h: Move to ...
29984         * sysdeps/x86_64/atomic-machine.h: ...here.
29985         * include/atomic.h: Include <atomic-machine.h> instead of
29986         <bits/atomic.h>.
29988         * sysdeps/mips/mips32/libm-test-ulps: Update.
29989         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29991         [BZ #18952]
29992         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
29993         not convert non-integer negative arguments to int to determine the
29994         value of signgam.
29995         * math/auto-libm-test-in: Add more tests of lgamma.
29996         * math/auto-libm-test-out: Regenerated.
29998         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
29999         cosh, csqrt, erfc, expm1 and lgamma.
30000         * math/auto-libm-test-out: Regenerated.
30001         * sysdeps/i386/fpu/libm-test-ulps: Update.
30002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30004 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
30006         [BZ #2542]
30007         [BZ #2543]
30008         [BZ #2558]
30009         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
30010         __lgamma_neg for arguments from -28.0 to -2.0.
30011         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
30012         __lgamma_negf for arguments from -15.0 to -2.0.
30013         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30014         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
30015         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
30016         Call __lgamma_negl for arguments from -33.0 to -2.0.
30017         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
30018         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
30019         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
30020         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
30021         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
30022         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
30023         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
30024         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
30025         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
30026         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
30027         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
30028         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
30029         (__lgamma_neg): Likewise.
30030         (__lgamma_negl): Likewise.
30031         (__lgamma_product): Likewise.
30032         (__lgamma_productl): Likewise.
30033         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
30034         * math/auto-libm-test-in: Add more tests of lgamma.
30035         * math/auto-libm-test-out: Regenerated.
30036         * sysdeps/i386/fpu/libm-test-ulps: Update.
30037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30039 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
30041         [BZ #18675]
30042         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
30044 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
30046         [BZ #14912]
30047         * bits/libc-lock.h: Move to ...
30048         * sysdeps/generic/libc-lock.h: ...here.
30049         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30050         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
30051         * sysdeps/mach/hurd/libc-lock.h: ...here.
30052         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30053         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
30054         * sysdeps/mach/bits/libc-lock.h: Move to ...
30055         * sysdeps/mach/libc-lock.h: ...here.
30056         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30057         * sysdeps/nptl/bits/libc-lock.h: Move to ...
30058         * sysdeps/nptl/libc-lock.h: ...here.
30059         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30060         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
30061         * sysdeps/nptl/libc-lockP.h: ...here.
30062         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
30063         * crypt/crypt_util.c: Include <libc-lock.h> instead of
30064         <bits/libc-lock.h>.
30065         * dirent/scandir-tail.c: Likewise.
30066         * dlfcn/dlerror.c: Likewise.
30067         * elf/dl-close.c: Likewise.
30068         * elf/dl-iteratephdr.c: Likewise.
30069         * elf/dl-lookup.c: Likewise.
30070         * elf/dl-open.c: Likewise.
30071         * elf/dl-support.c: Likewise.
30072         * elf/dl-writev.h: Likewise.
30073         * elf/rtld.c: Likewise.
30074         * grp/fgetgrent.c: Likewise.
30075         * gshadow/fgetsgent.c: Likewise.
30076         * gshadow/sgetsgent.c: Likewise.
30077         * iconv/gconv_conf.c: Likewise.
30078         * iconv/gconv_db.c: Likewise.
30079         * iconv/gconv_dl.c: Likewise.
30080         * iconv/gconv_int.h: Likewise.
30081         * iconv/gconv_trans.c: Likewise.
30082         * include/link.h: Likewise.
30083         * inet/getnameinfo.c: Likewise.
30084         * inet/getnetgrent.c: Likewise.
30085         * inet/getnetgrent_r.c: Likewise.
30086         * intl/bindtextdom.c: Likewise.
30087         * intl/dcigettext.c: Likewise.
30088         * intl/finddomain.c: Likewise.
30089         * intl/gettextP.h: Likewise.
30090         * intl/loadmsgcat.c: Likewise.
30091         * intl/localealias.c: Likewise.
30092         * intl/textdomain.c: Likewise.
30093         * libidn/idn-stub.c: Likewise.
30094         * libio/libioP.h: Likewise.
30095         * locale/duplocale.c: Likewise.
30096         * locale/freelocale.c: Likewise.
30097         * locale/newlocale.c: Likewise.
30098         * locale/setlocale.c: Likewise.
30099         * login/getutent_r.c: Likewise.
30100         * login/getutid_r.c: Likewise.
30101         * login/getutline_r.c: Likewise.
30102         * login/utmp-private.h: Likewise.
30103         * login/utmpname.c: Likewise.
30104         * malloc/mtrace.c: Likewise.
30105         * misc/efgcvt.c: Likewise.
30106         * misc/error.c: Likewise.
30107         * misc/fstab.c: Likewise.
30108         * misc/getpass.c: Likewise.
30109         * misc/mntent.c: Likewise.
30110         * misc/syslog.c: Likewise.
30111         * nis/nis_call.c: Likewise.
30112         * nis/nis_callback.c: Likewise.
30113         * nis/nss-default.c: Likewise.
30114         * nis/nss_compat/compat-grp.c: Likewise.
30115         * nis/nss_compat/compat-initgroups.c: Likewise.
30116         * nis/nss_compat/compat-pwd.c: Likewise.
30117         * nis/nss_compat/compat-spwd.c: Likewise.
30118         * nis/nss_nis/nis-alias.c: Likewise.
30119         * nis/nss_nis/nis-ethers.c: Likewise.
30120         * nis/nss_nis/nis-grp.c: Likewise.
30121         * nis/nss_nis/nis-hosts.c: Likewise.
30122         * nis/nss_nis/nis-network.c: Likewise.
30123         * nis/nss_nis/nis-proto.c: Likewise.
30124         * nis/nss_nis/nis-pwd.c: Likewise.
30125         * nis/nss_nis/nis-rpc.c: Likewise.
30126         * nis/nss_nis/nis-service.c: Likewise.
30127         * nis/nss_nis/nis-spwd.c: Likewise.
30128         * nis/nss_nisplus/nisplus-alias.c: Likewise.
30129         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
30130         * nis/nss_nisplus/nisplus-grp.c: Likewise.
30131         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
30132         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
30133         * nis/nss_nisplus/nisplus-network.c: Likewise.
30134         * nis/nss_nisplus/nisplus-proto.c: Likewise.
30135         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
30136         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
30137         * nis/nss_nisplus/nisplus-service.c: Likewise.
30138         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
30139         * nis/ypclnt.c: Likewise.
30140         * nptl/libc_pthread_init.c: Likewise.
30141         * nss/getXXbyYY.c: Likewise.
30142         * nss/getXXent.c: Likewise.
30143         * nss/getXXent_r.c: Likewise.
30144         * nss/nss_db/db-XXX.c: Likewise.
30145         * nss/nss_db/db-netgrp.c: Likewise.
30146         * nss/nss_db/nss_db.h: Likewise.
30147         * nss/nss_files/files-XXX.c: Likewise.
30148         * nss/nss_files/files-alias.c: Likewise.
30149         * nss/nsswitch.c: Likewise.
30150         * posix/regex_internal.h: Likewise.
30151         * posix/wordexp.c: Likewise.
30152         * pwd/fgetpwent.c: Likewise.
30153         * resolv/res_hconf.c: Likewise.
30154         * resolv/res_libc.c: Likewise.
30155         * shadow/fgetspent.c: Likewise.
30156         * shadow/lckpwdf.c: Likewise.
30157         * shadow/sgetspent.c: Likewise.
30158         * socket/opensock.c: Likewise.
30159         * stdio-common/reg-modifier.c: Likewise.
30160         * stdio-common/reg-printf.c: Likewise.
30161         * stdio-common/reg-type.c: Likewise.
30162         * stdio-common/vfprintf.c: Likewise.
30163         * stdio-common/vfscanf.c: Likewise.
30164         * stdlib/abort.c: Likewise.
30165         * stdlib/cxa_atexit.c: Likewise.
30166         * stdlib/fmtmsg.c: Likewise.
30167         * stdlib/random.c: Likewise.
30168         * stdlib/setenv.c: Likewise.
30169         * string/strsignal.c: Likewise.
30170         * sunrpc/auth_none.c: Likewise.
30171         * sunrpc/bindrsvprt.c: Likewise.
30172         * sunrpc/create_xid.c: Likewise.
30173         * sunrpc/key_call.c: Likewise.
30174         * sunrpc/rpc_thread.c: Likewise.
30175         * sysdeps/arm/backtrace.c: Likewise.
30176         * sysdeps/generic/ldsodefs.h: Likewise.
30177         * sysdeps/generic/stdio-lock.h: Likewise.
30178         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
30179         * sysdeps/i386/backtrace.c: Likewise.
30180         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30181         * sysdeps/m68k/backtrace.c: Likewise.
30182         * sysdeps/mach/hurd/cthreads.c: Likewise.
30183         * sysdeps/mach/hurd/dirstream.h: Likewise.
30184         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
30185         * sysdeps/nptl/malloc-machine.h: Likewise.
30186         * sysdeps/nptl/stdio-lock.h: Likewise.
30187         * sysdeps/posix/dirstream.h: Likewise.
30188         * sysdeps/posix/getaddrinfo.c: Likewise.
30189         * sysdeps/posix/system.c: Likewise.
30190         * sysdeps/pthread/aio_suspend.c: Likewise.
30191         * sysdeps/s390/s390-32/backtrace.c: Likewise.
30192         * sysdeps/s390/s390-64/backtrace.c: Likewise.
30193         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30194         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30195         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
30196         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
30197         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
30198         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
30199         * sysdeps/unix/sysv/linux/system.c: Likewise.
30200         * sysdeps/x86_64/backtrace.c: Likewise.
30201         * time/alt_digit.c: Likewise.
30202         * time/era.c: Likewise.
30203         * time/tzset.c: Likewise.
30204         * wcsmbs/wcsmbsload.c: Likewise.
30205         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
30206         instead of <bits/libc-lock.h> in comment.
30208 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
30210         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
30211         Only use .set mips2 if the current ISA is below mips2.
30212         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
30213         Likewise.
30214         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
30215         mips32r2 if the current ISA is below mips32r2.
30216         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
30217         (TLS_IE): Updated to use the TLD_RDHWR macro.
30218         (TLS_LE): Likewise.
30219         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
30220         __ASSEMBLER__ condition.
30222 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30224         Fix parallel build of before-compile targets.
30226         * sysdeps/mach/Makefile ($(patsubst
30227         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
30228         mach-before-compile target.
30229         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30230         io fs process)): Move rule to dedicated hurd-before-compile target.
30232 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30234         Fix rules generating headers in hurd/ and mach/ when initial make call
30235         has subdir= explicitly set.
30237         * sysdeps/mach/Makefile ($(patsubst
30238         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
30239         calling $(MAKE).
30240         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30241         io fs process)): Force subdir to hurd when calling $(MAKE).
30242         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
30243         subdir to mach when calling $(MAKE).
30245 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
30247         Check sysheaders when looking for Mach and Hurd headers
30249         * sysdeps/mach/configure.ac: Add sysheaders check.
30250         * sysdeps/mach/configure: Regenerate.
30251         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
30252         * sysdeps/mach/hurd/configure: Regenerate.
30254 2015-09-04  Roland McGrath  <roland@hack.frob.com>
30256         [BZ #18921]
30257         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
30258         Fix inverted sense of test of 'o_directory_works' value.
30259         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
30260         Bernhard Voelker <mail@bernhard-voelker.de>.
30262 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
30264         [BZ #14912]
30265         * bits/linkmap.h: Move to ...
30266         * sysdeps/generic/linkmap.h: ...here.
30267         * sysdeps/aarch64/bits/linkmap.h: Move to ...
30268         * sysdeps/aarch64/linkmap.h: ...here.
30269         * sysdeps/arm/bits/linkmap.h: Move to ...
30270         * sysdeps/arm/linkmap.h: ...here.
30271         * sysdeps/hppa/bits/linkmap.h: Move to ...
30272         * sysdeps/hppa/linkmap.h: ...here.
30273         * sysdeps/ia64/bits/linkmap.h: Move to ...
30274         * sysdeps/ia64/linkmap.h: ...here.
30275         * sysdeps/mips/bits/linkmap.h: Move to ...
30276         * sysdeps/mips/linkmap.h: ...here.
30277         * sysdeps/s390/bits/linkmap.h: Move to ...
30278         * sysdeps/s390/linkmap.h: ...here.
30279         * sysdeps/sh/bits/linkmap.h: Move to ...
30280         * sysdeps/sh/linkmap.h: ...here.
30281         * sysdeps/x86/bits/linkmap.h: Move to ...
30282         * sysdeps/x86/linkmap.h: ...here.
30283         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
30285 2015-09-04  Andreas Schwab  <schwab@suse.de>
30287         [BZ #18635]
30288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
30289         (__makecontext): Terminate FDE before return label.
30290         (__novec_makecontext): Likewise.
30292 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30294         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
30295         first member of struct sv in syscall macro.
30297 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
30299         [BZ #14912]
30300         * bits/stdio-lock.h: Move to ...
30301         * sysdeps/generic/stdio-lock.h: ...here.
30302         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30303         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
30304         * sysdeps/nptl/stdio-lock.h: ...here.
30305         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30306         * include/libio.h: Include <stdio-lock.h> instead of
30307         <bits/stdio-lock.h>.
30308         * sysdeps/nptl/fork.c: Likewise.
30309         * sysdeps/pthread/flockfile.c: Likewise.
30310         * sysdeps/pthread/ftrylockfile.c: Likewise.
30311         * sysdeps/pthread/funlockfile.c: Likewise.
30313         [BZ #14912]
30314         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
30315         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
30316         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
30317         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
30318         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
30319         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30320         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
30322 2015-09-03  Roland McGrath  <roland@hack.frob.com>
30324         * elf/Makefile (test-xfail-tst-protected1a): New variable.
30325         (test-xfail-tst-protected1b): New variable.
30327 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
30329         [BZ #14912]
30330         * bits/libc-tsd.h: Move to ...
30331         * sysdeps/generic/libc-tsd.h: ...here.
30332         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
30333         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
30334         * sysdeps/mach/hurd/libc-tsd.h: ...here.
30335         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
30336         * include/ctype.h: Include <libc-tsd.h> instead of
30337         <bits/libc-tsd.h>.
30338         * include/rpc/rpc.h: Likewise.
30339         * locale/localeinfo.h: Likewise.
30340         * sunrpc/rpc_thread.c: Likewise.
30341         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
30342         * sysdeps/nptl/malloc-machine.h: Likewise.
30344         * Makefile (headers): Remove bits/libc-lock.h.
30345         * libio/Makefile (headers): Remove bits/stdio-lock.h.
30347         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
30348         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
30349         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
30350         <bits/stdio-lock.h>.
30351         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
30352         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
30354 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
30356         [BZ #18757]
30357         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
30358         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
30359         BZ #18757.
30361 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
30363         * malloc/mtrace.pl: Filter out NULL entries.
30365 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
30367         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
30368         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
30369         macro.
30371         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
30372         (TCP_CC_INFO): Likewise.
30373         (TCP_SAVE_SYN): Likewise.
30374         (TCP_SAVED_SYN): Likewise.
30376 2015-08-31  Brett Neumeier <brett@neumeier.us>
30378         [BZ #18870]
30379         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
30381 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
30383         [BZ #18873]
30384         Fix broken overflow check in posix_fallocate
30385         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
30386         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30387         Fix parenthesization typo.
30389 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
30391         [BZ #18887]
30392         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
30393         tst-mntent-blank-passno.
30394         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
30395         * misc/tst-mntent-blank-corrupt.c: New test.
30396         * misc/tst-mntent-blank-passno.c: New test ripped from ...
30397         * misc/tst-mntent.c (do_test): ... here.
30399 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
30401         [BZ #4404]
30402         * po/de.po: Fix SIGALRM typo.
30404 2015-08-28  James Perkins  <james@loowit.net>
30406         * time/tst-strptime2.c (tests): Replace short list of test
30407         strings for strptime %z specifier with code which exhaustively
30408         tests every combination of sign and 0 to 5 digits. Tests for
30409         rejection of invalid strings.
30411 2015-08-28  James Perkins  <james@loowit.net>
30413         [BZ #16141]
30414         * time/strptime_l.c (__strptime_internal): Fix %z minutes
30415         calculation, removing incorrect decimal time rounding, so that
30416         all minute values result in a valid seconds value.
30417         * time/strptime_l.c (__strptime_internal): Extend %z time zone
30418         offset range limits to UTC-99:59 through UTC+99:59 to parse
30419         current and historical use cases.
30420         * time/tst-strptime2.c (tests): Modify and add tests for the
30421         strptime %z input field descriptor, specifically conversion of
30422         minutes to seconds and validating an offset range of -9959 to
30423         +9959.
30425 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30426             Dmitry V. Levin  <ldv@altlinux.org>
30428         [BZ #18877]
30429         * posix/Makefile (tests): Add tst-mmap-offset.
30430         * posix/tst-mmap.c: New file.
30431         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
30432         offset calculation for negative values.
30434 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30436         * sysdeps/i386/init-arch.h: New file.
30437         * sysdeps/i386/i586/init-arch.h: Likewise.
30438         * sysdeps/i386/i686/init-arch.h: Likewise.
30439         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
30440         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
30441         * sysdeps/x86/cpu-features.h (bit_I586): New.
30442         (bit_I686): Likewise.
30443         (bit_CX8): Likewise.
30444         (bit_CMOV): Likewise.
30445         (index_CX8): Likewise.
30446         (index_CMOV): Likewise.
30447         (index_I586): Likewise.
30448         (index_I686): Likewise.
30449         (reg_CX8): Likewise.
30450         (reg_CMOV): Likewise.
30451         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
30452         available at compile-time.
30453         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
30454         available at compile-time.
30455         * sysdeps/x86/init-arch.h (USE_I586): New macro.
30456         (USE_I686): Likewise.
30458 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30460         * sysdeps/i386/bcopy.S: New file.
30461         * sysdeps/i386/bzero.S: Likewise.
30462         * sysdeps/i386/memcpy.S: Likewise.
30463         * sysdeps/i386/memmove.S: Likewise.
30464         * sysdeps/i386/mempcpy.S: Likewise.
30465         * sysdeps/i386/memset.S: Likewise.
30466         * sysdeps/i386/bzero.c: Removed.
30467         * sysdeps/i386/memset.c: Likewise.
30468         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
30469         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
30470         * sysdeps/i386/i586/memset_chk.S: Likewise.
30471         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
30472         * sysdeps/i386/memcpy_chk.S: Here.
30473         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
30474         * sysdeps/i386/memmove_chk.S: Here.
30475         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
30476         * sysdeps/i386/mempcpy_chk.S: Likewise.
30477         * sysdeps/i386/i686/memset_chk.S: Moved to ...
30478         * sysdeps/i386/memset_chk.S: Likewise.
30480 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
30482         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
30483         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
30484         file, move DIAG_POP_NEEDS_COMMENT to end of file.
30485         * soft-fp/fmadf4.c: Ditto.
30486         * soft-fp/fmatf4.c: Ditto.
30488 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30490         * sysdeps/i386/i586/Implies: Removed.
30491         * sysdeps/i386/i686/Implies: Likewise.
30493 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30495         * sysdeps/i386/i486/strlen.S: Moved to ...
30496         * sysdeps/i386/strlen.S: Here.
30498 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30500         * sysdeps/i386/i486/strcat.S: Moved to ...
30501         * sysdeps/i386/strcat.S: Here.
30503 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30505         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
30506         * sysdeps/i386/pthread_spin_trylock.S: Here.
30507         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
30508         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
30510 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30512         * sysdeps/i386/i486/string-inlines.c: Moved to ...
30513         * sysdeps/i386/string-inlines.c: Here.
30515 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30517         * sysdeps/i386/i486/htonl.S: Moved ...
30518         * sysdeps/i386/htonl.S: here.
30520 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30522         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
30523         * sysdeps/i386/bits/atomic.h: Here.
30525 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30527         * sysdeps/i386/i486/Versions: Removed.
30529 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30531         [BZ #2898]
30532         * misc/mktemp.c: Add mkdtemp to the link_warning message.
30533         Based on patch by Aurelien Jarno.
30535 2015-08-26  Stan Shebs  <stanshebs@google.com>
30537         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
30538         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30540 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30542         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
30543         * sysdeps/powerpc/dl-procinfo.c:
30544         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
30545         feature so it shows when LD_SHOW_AUXV=1.
30547 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
30549         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
30550         (__arch_compare_and_exchange_val_32_acq): Remove and use common
30551         definition.  ISA 2.07B no longer requires full sync.
30553 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
30555         [BZ #18863]
30556         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
30557         (si_call_addr): Define.
30558         (si_syscall): Define.
30559         (si_arch): Define.
30561 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
30563         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
30564         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
30565         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
30566         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
30567         (__memset_zero_constant_len_parameter): New.
30568         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
30569         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
30570         (__memset_zero_constant_len_parameter): Don't define if
30571         __memset_chk or USE_AS_BZERO are defined.
30573         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
30574         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
30575         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
30577         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
30578         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
30579         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
30580         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
30581         comments.
30582         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
30583         -mno-mmx for $(all-rtld-routines).
30584         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
30585         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
30586         i386.
30588 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30590         * sysdeps/generic/unwind.h
30591         (_Unwind_Word): Use __mode__(__unwind_word__)
30592         instead of __mode__(__word__).
30593         (_Unwind_Sword): Likewise.
30595         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30596         (MAX_NEEDED_INPUT): New define.
30597         (MAX_NEEDED_OUTPUT): New define.
30599         * NEWS: New item for IBM z13 string optimizations.
30601         * sysdeps/s390/multiarch/memrchr-c.c: New File.
30602         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
30603         * sysdeps/s390/multiarch/memrchr.c: Likewise.
30604         * sysdeps/s390/multiarch/Makefile
30605         (sysdep_routines): Add memrchr functions.
30606         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30607         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
30609         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
30610         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
30611         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
30612         * sysdeps/s390/multiarch/Makefile
30613         (sysdep_routines): Add wmemcmp functions.
30614         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30615         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
30616         * benchtests/bench-wmemcmp.c: New File.
30617         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
30619         * sysdeps/s390/multiarch/wmemset-c.c: New File.
30620         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
30621         * sysdeps/s390/multiarch/wmemset.c: Likewise.
30622         * sysdeps/s390/multiarch/Makefile
30623         (sysdep_routines): Add wmemset functions.
30624         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30625         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
30626         * wcsmbs/wmemset.c: Use WMEMSET if defined.
30627         * string/test-memset.c: Add wmemset support.
30628         * wcsmbs/test-wmemset.c: New File.
30629         * wcsmbs/Makefile (strop-tests): Add wmemset.
30630         * benchtests/bench-memset.c: Add wmemset support.
30631         * benchtests/bench-wmemset.c: New File.
30632         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
30634         * sysdeps/s390/multiarch/memccpy-c.c: New File.
30635         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
30636         * sysdeps/s390/multiarch/memccpy.c: Likewise.
30637         * sysdeps/s390/multiarch/Makefile
30638         (sysdep_routines): Add memccpy functions.
30639         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30640         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
30641         * string/memccpy.c: Use MEMCCPY if defined.
30643         * sysdeps/s390/multiarch/memchr-vx.S: New File.
30644         * sysdeps/s390/multiarch/memchr.c: Likewise.
30645         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
30646         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
30647         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
30648         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
30649         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
30650         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
30651         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
30652         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
30653         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
30654         and rawmemchr functions.
30655         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30656         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
30657         and wmemchr.
30658         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
30659         * string/test-memchr.c: Add wmemchr support.
30660         * wcsmbs/test-wmemchr.c: New File.
30661         * wcsmbs/Makefile (strop-tests): Add wmemchr.
30662         * benchtests/bench-memchr.c: Add wmemchr support.
30663         * benchtests/bench-wmemchr.c: New File.
30664         * benchtests/Makefile (wcsmbs-bench): wmemchr.
30666         * sysdeps/s390/multiarch/strcspn-c.c: New File.
30667         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
30668         * sysdeps/s390/multiarch/strcspn.c: Likewise.
30669         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
30670         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
30671         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
30672         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
30673         wcscspn functions.
30674         * sysdeps/s390/multiarch/ifunc-impl-list.c
30675         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
30676         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
30677         * string/test-strcspn.c: Add wcscspn support.
30678         * wcsmbs/test-wcscspn.c: New File.
30679         * wcsmbs/Makefile (strop-tests): Add wcscspn.
30680         * benchtests/bench-strcspn.c: Add wcscspn support.
30681         * benchtests/bench-wcscspn.c: New File.
30682         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
30684         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
30685         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
30686         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
30687         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
30688         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
30689         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
30690         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
30691         wcspbrk functions.
30692         * sysdeps/s390/multiarch/ifunc-impl-list.c
30693         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
30694         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
30695         * string/test-strpbrk.c: Add wcspbrk support.
30696         * wcsmbs/test-wcspbrk.c: New File.
30697         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
30698         * benchtests/bench-strpbrk.c: Add wcspbrk support.
30699         * benchtests/bench-wcspbrk.c: New File.
30700         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
30702         * sysdeps/s390/multiarch/strspn-c.c: New File.
30703         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
30704         * sysdeps/s390/multiarch/strspn.c: Likewise.
30705         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
30706         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
30707         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
30708         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
30709         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
30710         wcsspn functions.
30711         * sysdeps/s390/multiarch/ifunc-impl-list.c
30712         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
30713         * string/test-strspn.c: Add wcsspn support.
30714         * wcsmbs/test-wcsspn.c: New File.
30715         * wcsmbs/Makefile (strop-tests): Add wcsspn.
30716         * benchtests/bench-strspn.c: Add wcsspn support.
30717         * benchtests/bench-wcsspn.c: New File.
30718         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
30720         * sysdeps/s390/multiarch/strrchr-c.c: New File.
30721         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
30722         * sysdeps/s390/multiarch/strrchr.c: Likewise.
30723         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
30724         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
30725         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
30726         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
30727         wcsrchr functions.
30728         * sysdeps/s390/multiarch/ifunc-impl-list.c
30729         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
30730         * benchtests/bench-wcsrchr.c: New File.
30731         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
30733         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
30734         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
30735         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
30736         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
30737         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
30738         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
30739         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
30740         wcschrnul functions.
30741         * sysdeps/s390/multiarch/ifunc-impl-list.c
30742         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
30743         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
30744         * string/test-strchr.c: Add wcschrnul support.
30745         * wcsmbs/test-wcschrnul.c: New File.
30746         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
30747         * benchtests/bench-strchr.c: Add wcschrnul support.
30748         * benchtests/bench-wcschrnul.c: New File.
30749         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
30751         * sysdeps/s390/multiarch/strchr-c.c: New File.
30752         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
30753         * sysdeps/s390/multiarch/strchr.c: Likewise.
30754         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
30755         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
30756         * sysdeps/s390/multiarch/wcschr.c: Likewise.
30757         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
30758         wcschr functions.
30759         * sysdeps/s390/multiarch/ifunc-impl-list.c
30760         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
30761         * string/strchr.c (STRCHR): Define and use macro.
30762         * benchtests/bench-wcschr.c: New File.
30763         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
30765         * sysdeps/s390/multiarch/strncmp-c.c: New File.
30766         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
30767         * sysdeps/s390/multiarch/strncmp.c: Likewise.
30768         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
30769         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
30770         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
30771         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
30772         wcsncmp functions.
30773         * sysdeps/s390/multiarch/ifunc-impl-list.c
30774         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
30775         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
30776         * benchtests/bench-strncmp.c: Add wcsncmp support.
30777         * benchtests/bench-wcsncmp.c: New File.
30778         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
30780         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
30781         * sysdeps/s390/multiarch/strcmp.c: Likewise.
30782         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
30783         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
30784         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
30785         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
30786         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
30787         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
30788         wcscmp functions.
30789         * sysdeps/s390/multiarch/ifunc-impl-list.c
30790         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
30791         * string/strcmp.c (STRCMP): Define and use macro.
30792         * benchtests/bench-wcscmp.c: New File.
30793         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
30794         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
30795         instead of _HAVE_STRING_ARCH_memchr.
30797         * sysdeps/s390/multiarch/strncat-c.c: New File.
30798         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
30799         * sysdeps/s390/multiarch/strncat.c: Likewise.
30800         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
30801         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
30802         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
30803         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
30804         wcsncat functions.
30805         * sysdeps/s390/multiarch/ifunc-impl-list.c
30806         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
30807         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
30808         * string/test-strncat.c: Add wcsncat support.
30809         * wcsmbs/test-wcsncat.c: New File.
30810         * wcsmbs/Makefile (strop-tests): Add wcsncat.
30811         * benchtests/bench-strncat.c: Add wcsncat support.
30812         * benchtests/bench-wcsncat.c: New File.
30813         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
30815         * sysdeps/s390/multiarch/strcat-c.c: New File.
30816         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
30817         * sysdeps/s390/multiarch/strcat.c: Likewise.
30818         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
30819         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
30820         * sysdeps/s390/multiarch/wcscat.c: Likewise.
30821         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
30822         wcscat functions.
30823         * sysdeps/s390/multiarch/ifunc-impl-list.c
30824         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
30825         * string/strcat.c (STRCAT): Define and use macro.
30826         * wcsmbs/wcscat.c: Use WCSCAT if defined.
30827         * string/test-strcat.c: Add wcscat support.
30828         * wcsmbs/test-wcscat.c: New File.
30829         * wcsmbs/Makefile (strop-tests): Add wcscat.
30830         * benchtests/bench-strcat.c: Add wcscat support.
30831         * benchtests/bench-wcscat.c: New File.
30832         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
30834         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
30835         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
30836         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
30837         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
30838         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
30839         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
30840         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
30841         wcpncpy functions.
30842         * sysdeps/s390/multiarch/ifunc-impl-list.c
30843         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
30844         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
30845         * string/test-stpncpy.c: Add wcpncpy support.
30846         * wcsmbs/test-wcpncpy.c: New File.
30847         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
30848         * benchtests/bench-stpncpy.c: Add wcpncpy support.
30849         * benchtests/bench-wcpncpy.c: New File.
30850         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
30852         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
30853         * sysdeps/s390/multiarch/strncpy.c: Likewise.
30854         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
30855         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
30856         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
30857         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
30858         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
30859         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
30860         wcsncpy functions.
30861         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
30862         * sysdeps/s390/multiarch/ifunc-impl-list.c
30863         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
30864         * string/test-strncpy.c: Add wcsncpy support.
30865         * wcsmbs/test-wcsncpy.c: New File.
30866         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
30867         * benchtests/bench-strncpy.c: Add wcsncpy support.
30868         * benchtests/bench-wcsncpy.c: New File.
30869         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
30871         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
30872         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
30873         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
30874         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
30875         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
30876         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
30877         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
30878         wcpcpy functions.
30879         * string/stpcpy.c: Use STPCPY if defined.
30880         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
30881         * sysdeps/s390/multiarch/ifunc-impl-list.c
30882         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
30883         * string/test-stpcpy.c: Add wcpcpy support.
30884         * wcsmbs/test-wcpcpy.c: New File.
30885         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
30886         * benchtests/bench-stpcpy.c: Add wcpcpy support.
30887         * benchtests/bench-wcpcpy.c: New File.
30888         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
30890         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
30891         * sysdeps/s390/multiarch/strcpy.c: Likewise.
30892         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
30893         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
30894         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
30895         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
30896         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
30897         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
30898         wcscpy functions.
30899         * sysdeps/s390/multiarch/ifunc-impl-list.c
30900         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
30901         * benchtests/bench-wcscpy.c: New File.
30902         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
30904         * sysdeps/s390/multiarch/strnlen-c.c: New File.
30905         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
30906         * sysdeps/s390/multiarch/strnlen.c: Likewise.
30907         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
30908         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
30909         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
30910         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
30911         wcsnlen functions.
30912         * sysdeps/s390/multiarch/ifunc-impl-list.c
30913         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
30914         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
30915         * string/test-strnlen.c: Add wcsnlen support.
30916         * wcsmbs/test-wcsnlen.c: New File.
30917         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
30918         * benchtests/bench-strnlen.c: Add wcsnlen support.
30919         * benchtests/bench-wcsnlen.c: New File.
30920         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
30922         * sysdeps/s390/multiarch/Makefile: New File.
30923         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
30924         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
30925         * sysdeps/s390/multiarch/strlen.c: Likewise.
30926         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
30927         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
30928         * sysdeps/s390/multiarch/wcslen.c: Likewise.
30929         * string/strlen.c (STRLEN): Define and use macro.
30930         * sysdeps/s390/multiarch/ifunc-impl-list.c
30931         (IFUNC_VX_IMPL): New macro function.
30932         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
30933         * benchtests/Makefile (wcsmbs-bench): New variable.
30934         (string-bench-all): Added wcsmbs-bench.
30935         * benchtests/bench-wcslen.c: New File.
30937         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
30938         s390_vx_libc_ifunc2): New macro function.
30940         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
30941         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
30942         assembler support.
30943         * sysdeps/s390/configure: Regenerated.
30945         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
30946         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30948         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
30949         * sysdeps/s390/dl-procinfo.h: Add vector capability.
30950         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
30952         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
30953         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
30954         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
30955         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
30956         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
30957         (memcmp, bcmp): Use __memcmp_default as alias source.
30958         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
30959         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
30960         Rename to __memcmp_default.
30961         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
30962         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
30963         (memcpy): Use __memcpy_default as alias source.
30964         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
30965         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
30966         Rename to __memcpy_default.
30967         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
30968         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
30969         (memset): Use __memset_default as alias source.
30970         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
30971         * sysdeps/s390/s390-32/memset.S (__memset_g5):
30972         Rename to __memset_default.
30973         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
30974         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
30975         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
30976         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
30977         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
30978         (memcmp, bcmp): Use __memcmp_default as alias source.
30979         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
30980         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
30981         Rename to __memcmp_default.
30982         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
30983         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
30984         (memcpy): Use __memcpy_default as alias source.
30985         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
30986         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
30987         Rename to __memcpy_default.
30988         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
30989         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
30990         (memset): Use __memset_default as alias source.
30991         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
30992         * sysdeps/s390/s390-64/memset.S (__memset_z900):
30993         Rename to __memset_default.
30994         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
30995         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
30997         [BZ #18610]
30998         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
30999         __ieee_instruction_pointer to __unused.
31000         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
31001         __ieee_instruction_pointer.
31002         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
31003         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
31004         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31005         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31006         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
31007         Mark dxc-field as reserved.
31009 2015-08-25  Roland McGrath  <roland@hack.frob.com>
31011         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
31012         if the weak reference is not null.
31014 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31016         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
31018         [BZ #11214]
31019         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
31021 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31023         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
31024         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
31025         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
31026         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
31027         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
31028         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
31029         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
31030         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
31031         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
31032         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
31033         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
31034         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
31035         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
31036         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
31037         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
31038         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
31039         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
31040         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
31042 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
31044         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
31045         register other than r0 for tabort, it has special meaning.
31046         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
31047         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
31048         transaction before starting syscall.
31050 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31052         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
31054 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31056         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
31058         * sysdeps/x86_64/rtld-memcmp.c: Removed.
31059         * sysdeps/x86_64/rtld-memset.S: Likewise.
31060         * sysdeps/x86_64/rtld-strchr.S: Likewise.
31061         * sysdeps/x86_64/rtld-strlen.S: Likewise.
31062         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
31063         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31065         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
31067 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
31069         * debug/strcpy_chk.c: Improve performance.
31070         * debug/stpcpy_chk.c: Likewise.
31071         * sysdeps/x86_64/strcpy_chk.S: Remove.
31072         * sysdeps/x86_64/stpcpy_chk.S: Remove.
31074         [BZ #18240]
31075         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
31077 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31079         [BZ #15128]
31080         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
31081         ifuncmain8.
31082         (modules-names): Add ifuncmod8.
31083         ($(objpfx)ifuncmain8): New rule.
31084         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
31085         <cpuid.h>.
31086         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
31087         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
31088         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
31089         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
31090         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
31091         * sysdeps/x86_64/dl-trampoline.h: Likewise.
31092         * sysdeps/x86_64/ifuncmain8.c: New file.
31093         * sysdeps/x86_64/ifuncmod8.c: Likewise.
31094         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
31095         Removed.
31096         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
31097         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
31098         Change rtld_savespace_sse to __glibc_unused2.
31099         (RTLD_CHECK_FOREIGN_CALL): Removed.
31100         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
31101         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
31102         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
31104 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
31106         * sysdeps/aarch64/bzero.S (__bzero): Remove.
31108 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
31110         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
31111         Unconditionally set __fpcr to avoid uninialized warning.
31112         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
31114 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31116         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
31117         is corrupt.
31119         * malloc/arena.c (arena_get2): Drop unused argument.
31120         (arena_lock): Adjust.
31121         (arena_get_retry): Likewise.
31123 2015-08-24  Andreas Schwab  <schwab@suse.de>
31125         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
31126         Don't define.
31127         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
31128         (__ASSUME_IPC64): Don't undef.
31129         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
31130         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31131         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31132         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
31133         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
31134         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
31135         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
31136         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
31137         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
31138         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
31139         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
31140         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
31141         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
31142         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
31143         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
31144         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
31145         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
31146         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
31147         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
31148         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
31149         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
31151 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
31153         * manual/Makefile (install): Only build manual when perl is available.
31155 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31157         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
31158         '#undef memcpy' by '#undef memchr'.
31160 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31162         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
31163         memchr not point to the internal __GI_memchr implementation.
31165 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
31167         * timezone/Makefile (CFLAGS-zdump.c): Remove
31168         -Wno-strict-prototypes.
31169         (CFLAGS-zic.c): Likewise.
31170         (CFLAGS-ialloc.c): Likewise.
31171         (CFLAGS-scheck.c): Likewise.
31173         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
31174         -Wno-error=undef.
31176 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31178         * i386/i686/multiarch/strcasestr-c.c: Removed.
31179         * x86_64/multiarch/strcasestr.c: Likewise.
31180         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31181         Remove strcasestr.
31183 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
31185         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
31187         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
31188         variables for high and low parts before possibly modifying them.
31190 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31192         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
31193         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
31194         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
31195         of "multiarch/init-arch.h".
31196         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
31197         * sysdeps/x86/init-arch.h: This.
31199 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31201         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
31202         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
31204 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
31206         [BZ #17787]
31207         * manual/macros.texi: Add twoexp macro.
31208         * manual/filesys.texi: Fix exponents.
31209         * manual/llio.texi: Likewise.
31210         * manual/stdio.texi: Likewise.
31212 2015-08-20  Florian Weimer  <fweimer@redhat.com>
31214         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
31215         incorrect use.
31217 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
31219         [BZ #18370]
31220         * math/s_csqrt.c (__csqrt): Force underflow exception for results
31221         whose real or imaginary part has small absolute value.
31222         * math/s_csqrtf.c (__csqrtf): Likewise.
31223         * math/s_csqrtl.c (__csqrtl): Likewise.
31224         * math/auto-libm-test-in: Add more tests of csqrt.
31225         * math/auto-libm-test-out: Regenerated.
31226         * sysdeps/i386/fpu/libm-test-ulps: Update.
31228 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
31230         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
31231         __ppc_set_ppr_very_low): New functions.
31232         * manual/platform.texi: Add documentation about
31233         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
31235 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
31237         * string/stpncpy.c (stpncpy): Improve performance using
31238         __strnlen/memcpy/memset.
31240 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
31242         [BZ #18796]
31243         * scripts/test-installation.pl: Don't add -lmvec to build options if
31244         libmvec wasn't built.
31246 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
31248         [BZ #14341]
31249         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
31250         case when there is a gap between DT_REL and DT_JMPREL sections.
31251         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
31252         (LDFLAGS-tst-split-dynreloc): New.
31253         (tst-split-dynreloc-ENV): Likewise.
31254         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
31255         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
31257 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31259         [BZ #18822]
31260         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
31261         attribute_hidden.
31262         (__xstat64_conv): Likewise.
31263         (__xstat32_conv): Likewise.
31265 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31267         [BZ #18822]
31268         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
31269         Don't load %ebx when calling __setcontext.  Call __setcontext
31270         with HIDDEN_JUMPTARGET.
31271         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
31272         libc_hidden_def.
31274 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31276         * sysdeps/i386/i686/Makefile
31277         [$(subdir) == string] (sysdep_routines): Moved to ...
31278         * sysdeps/i386/Makefile: Here.
31279         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
31280         * sysdeps/i386/cacheinfo.c: Here.
31281         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
31282         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
31283         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
31284         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
31286 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31288         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
31289         __i586__ is defined.
31290         (HAS_I686): Defined to 1 if __i686__ is defined.
31292 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
31294         * elf/Makefile [$(have-z-execstack) = yes]
31295         (CPPFLAGS-tst-execstack.c): New variable.
31297         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
31298         conditional to [defined UTMPX || _HAVE_UT_TYPE].
31299         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
31300         UTMPX || _HAVE_UT_TV].
31301         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
31302         UTMPX || _HAVE_UT_TV - 0].
31304 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
31306         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
31307         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
31308         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
31310 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31312         * sysdeps/powerpc/dl-procinfo.c:
31313         (_dl_powerpc_cap_flags): Added missing strings for some
31314         hwcap features.
31315         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
31317 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
31319         Port the 0x7efe...feff pattern to GCC 6.
31320         See Steve Ellcey's bug report in:
31321         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
31322         * string/memrchr.c (MEMRCHR):
31323         * string/rawmemchr.c (RAWMEMCHR):
31324         * string/strchr.c (strchr):
31325         * string/strchrnul.c (STRCHRNUL):
31326         Rewrite code to avoid issues with signed shift overflow.
31328 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
31330         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
31331         whether cpuid is available only if HAS_CPUID is 0.
31332         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
31333         (HAS_I586): Likewise.
31334         (HAS_I686): Likewise.
31336 2015-08-18  Zack Weinberg  <zackw@panix.com>
31338         * misc/Versions (libc): Add GLIBC_2.23.
31340 2015-08-18  Alan Modra  <amodra@gmail.com>
31342         [BZ #18421]
31343         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
31344         .Lp__global.
31345         (_start): Load %dp via .Lp__global.
31346         [!SHARED]: Use .section .rodata.
31348 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31350         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
31351         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
31353 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31355         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
31356         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
31358 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31360         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
31361         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
31363 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31365         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
31366         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
31368 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31370         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
31371         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
31373 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31375         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
31376         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
31378 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31380         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
31382 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31384         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
31385         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
31386         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31387         (__ASSUME_LWS_CAS): Delete.
31389 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31391         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
31392         * sysdeps/hppa/configure: Regenerated.
31393         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
31394         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
31395         * sysdeps/hppa/nptl/tls.h: Likewise.
31397 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
31399         [BZ #18823]
31400         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
31401         for scaling up small arguments.
31402         * math/s_csqrtf.c (__csqrtf): Likewise.
31403         * math/s_csqrtl.c (__csqrtl): Likewise.
31404         * math/auto-libm-test-in: Add more tests of csqrt.
31405         * math/auto-libm-test-out: Regenerated.
31407 2015-08-17  Andreas Schwab  <schwab@suse.de>
31409         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
31410         version set GLIBC_2.19.
31412 2015-08-16  Zack Weinberg  <zackw@panix.com>
31414         [BZ #18681]
31415         * misc/regexp.h: This interface is no longer supported.
31416         Remove all contents, leaving only an #error directive.
31417         * misc/regexp.c (loc1, loc2, locs, step, advance):
31418         Demote to compatibility symbols.
31420 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
31422         [BZ #18084]
31423         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
31424         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
31425         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
31426         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
31427         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
31428         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
31429         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
31430         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
31431         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
31433 2015-08-15  Zack Weinberg  <zackw@panix.com>
31435         [BZ #18795]
31436         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
31437         buffer length is known to be too large, not if it's known to be
31438         small enough.
31439         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
31440         overflow at runtime, involving a length parameter, twice: once
31441         with a compile-time constant length parameter, once without.
31443 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
31445         [BZ #18824]
31446         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
31447         scaling x * y up instead of down.
31448         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31449         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31450         * math/auto-libm-test-in: Add more tests of fma.
31451         * math/auto-libm-test-out: Regenerated.
31453 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
31455         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31457 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31459         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
31460         unnecessary movq.
31461         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
31462         Likewise.
31464 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
31466         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31467         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
31468         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
31469         and tgamma.
31470         * math/auto-libm-test-out: Regenerated.
31471         * sysdeps/i386/fpu/libm-test-ulps: Update.
31472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31474         [BZ #16520]
31475         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
31476         (__tanh): Force underflow exception for arguments with small
31477         absolute value.
31478         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
31479         (__tanhf): Force underflow exception for arguments with small
31480         absolute value.
31481         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
31482         (__tanhl): Force underflow exception for arguments with small
31483         absolute value.
31484         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
31485         (__tanhl): Force underflow exception for arguments with small
31486         absolute value.
31487         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
31488         (__tanhl): Force underflow exception for arguments with small
31489         absolute value.
31490         * math/auto-libm-test-in: Add more tests of tanh.
31491         * math/auto-libm-test-out: Regenerated.
31492         * sysdeps/i386/fpu/libm-test-ulps: Update.
31494 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31496         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
31497         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
31499 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31501         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
31502         <cpuid.h>.
31504 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31506         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
31507         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
31509 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31511         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
31512         Remove $(objpfx)init-arch.o.
31513         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
31514         init-arch.
31515         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
31516         (INIT_ARCH_EXT): Defined as empty.
31517         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
31518         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
31519         __init_cpu_features call.  Replace HAS_XXX with
31520         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31521         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
31522         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
31523         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
31524         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
31525         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
31526         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
31527         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
31528         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
31529         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
31530         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
31531         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
31532         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
31533         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
31534         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
31535         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
31536         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
31537         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
31538         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
31539         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
31540         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
31541         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
31542         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
31543         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
31544         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
31545         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
31546         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
31547         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
31548         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
31549         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
31550         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
31551         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
31552         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
31553         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
31554         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
31555         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
31557 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31559         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
31560         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31561         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
31562         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
31563         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
31564         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
31565         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
31566         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
31567         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
31568         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
31569         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
31570         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
31571         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31572         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31573         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31574         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31575         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31576         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31577         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31578         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31579         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31580         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31581         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31582         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31583         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31584         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31585         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31586         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31587         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31588         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31589         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31590         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31591         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31592         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31593         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31594         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31595         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31596         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31597         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31598         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31599         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31600         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31601         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31603 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31605         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
31606         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31607         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31608         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31609         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31610         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31611         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31612         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
31613         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31614         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31615         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31616         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
31617         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
31618         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
31619         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
31620         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
31621         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
31622         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
31623         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
31624         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
31625         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
31626         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
31627         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
31628         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31629         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31630         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
31631         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
31632         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
31633         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31634         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31635         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31636         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31637         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31638         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31639         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31640         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31641         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31642         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31643         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31644         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31645         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31646         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31647         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31649 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31651         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
31652         (dl_platform_init): Call init_cpu_features.
31653         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
31654         * sysdeps/i386/i686/cacheinfo.c
31655         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
31656         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
31657         * sysdeps/i386/i686/multiarch/Versions: Removed.
31658         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
31659         Removed.
31660         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
31661         * sysdeps/unix/sysv/linux/x86/Makefile
31662         (libpthread-sysdep_routines): Remove init-arch.
31663         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
31664         <sysdeps/x86_64/dl-procinfo.c> instead of
31665         sysdeps/generic/dl-procinfo.c>.
31666         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
31667         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
31668         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
31669         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
31670         [$(subdir) == elf] (tests-static): Add
31671         tst-get-cpu-features-static.
31672         * sysdeps/x86/Versions: New file.
31673         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
31674         * sysdeps/x86/cpu-features.c: Likewise.
31675         * sysdeps/x86/cpu-features.h: Likewise.
31676         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
31677         * sysdeps/x86/libc-start.c: Likewise.
31678         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
31679         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
31680         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
31681         * sysdeps/x86_64/dl-procinfo.c: Likewise.
31682         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
31683         Assume USE_MULTIARCH is defined and don't check it.
31684         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
31685         (is_amd): Likewise.
31686         (max_cpuid): Likewise.
31687         (intel_check_word): Likewise.
31688         (__cache_sysconf): Don't call __init_cpu_features.
31689         (__x86_preferred_memory_instruction): Removed.
31690         (init_cacheinfo): Don't call __init_cpu_features. Replace
31691         __cpu_features with GLRO(dl_x86_cpu_features).
31692         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
31693         (dl_platform_init): Call init_cpu_features.
31694         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
31695         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
31696         * sysdeps/x86_64/multiarch/Versions: Removed.
31697         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
31698         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
31699         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
31700         Removed.
31701         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
31703 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31705         [BZ #18820]
31706         * libio/Makefile (test-fmemopen-mem): New test.
31707         * libio/test-fmemopen.c (do_bz18820): New test.
31708         * libio/fmemopen.c (__fmemopen): Fix memory leak.
31709         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
31711 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31713         [BZ #16734]
31714         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
31715         (FREE_BUF): Delete.
31716         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
31717         * libio/genops.c (_IO_setb): Use malloc and free directly.
31718         (_IO_default_doallocate, _IO_default_finish): Likewise.
31719         ( _IO_unbuffer_all): Likewise.
31720         ( libc_freeres_fn): Likewise.
31721         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31722         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
31723         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
31724         (_IO_wdefault_doallocate): Likewise.
31726 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31728         [BZ #18086]
31729         * sysdeps/posix/nice.c (nice): Restore old errno.
31730         * posix/tst-nice.c (do_test): Add test for BZ #18086.
31732 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
31734         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
31736 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31738         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
31739         __bcopy and add a weak_alias to bcopy.
31740         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
31741         for static build.
31743         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
31744         cleanup macro usage.
31745         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
31746         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
31747         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
31748         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
31749         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
31750         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
31751         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
31752         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31753         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31754         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
31755         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31756         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
31757         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31758         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
31759         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31760         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
31761         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
31762         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
31763         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31765         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
31766         libc_hidden_def.
31767         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
31769         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
31770         (sysdep_routines): Add strstr-ppc64.
31771         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
31773 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
31775         [BZ #18778]
31776         * elf/Makefile (tests): Add Add tst-nodelete2.
31777         (modules-names): Add tst-nodelete2mod.
31778         (tst-nodelete2mod.so-no-z-defs): New.
31779         ($(objpfx)tst-nodelete2): Likewise.
31780         ($(objpfx)tst-nodelete2.out): Likewise.
31781         (LDFLAGS-tst-nodelete2): Likewise.
31782         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
31783         out of loop through all loaded libraries.
31784         * elf/tst-nodelete2.c: New file.
31785         * elf/tst-nodelete2mod.c: Likewise.
31786         * elf/tst-znodelete-zlib.cc: Delete.
31788 2015-08-11  Andreas Schwab  <schwab@suse.de>
31790         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
31791         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
31792         (__openat64_nocancel): Likewise.
31794 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
31796         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
31797         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
31798         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
31799         * math/auto-libm-test-out: Regenerated.
31800         * sysdeps/i386/fpu/libm-test-ulps: Update.
31801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31803 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
31805         [BZ #18790]
31806         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
31807         threshold for returning +/- 1.
31808         * math/auto-libm-test-in: Add more tests of tanh.
31809         * math/auto-libm-test-out: Regenerated.
31810         * sysdeps/i386/fpu/libm-test-ulps: Update.
31812 2015-08-10  Andreas Schwab  <schwab@suse.de>
31814         [BZ #18781]
31815         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
31816         MORE_OFLAGS to oflag.
31817         * io/test-lfs.c (do_test): Test openat64.
31819 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
31821         [BZ #18789]
31822         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
31823         smaller threshold for returning the argument.
31824         * math/auto-libm-test-in: Add more tests of sinh.
31825         * math/auto-libm-test-out: Regenerated.
31826         * sysdeps/i386/fpu/libm-test-ulps: Update.
31828 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31830         [BZ #18674]
31831         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
31832         break.
31834 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
31836         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
31837         (generated): Don't add $(addprefix z.,$(tzfiles)).
31839 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31841         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
31842         * scripts/sysd-rules.awk: Likewise.
31844 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31846         * iconvdata/tst-tables.sh: Change echo -n to printf.
31847         * nss/db-Makefile: Likewise.
31848         * posix/tst-getconf.sh: Likewise.
31849         * stdio-common/tst-unbputc.sh: Likewise.
31851 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31853         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
31854         MADV_*_PAGES defines behind this feature check.
31856 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
31858         [BZ #18480]
31859         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
31860         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
31861         Define.
31862         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
31863         LOAD_REGS_5, LOAD_REGS_6): Update.
31864         (INTERNAL_SYSCALL): Update using new LOAD defines.
31865         (INTERNAL_SYSCALL_NCS): Likewise.
31866         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
31868 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31870         [BZ #16734]
31871         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
31873 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31875         [BZ #17905]
31876         * catgets/Makefile (tst-catgets-mem): New test.
31877         * catgets/catgets.c (catopen): Don't use unbounded alloca.
31878         * catgets/open_catalog.c (__open_catalog): Likewise.
31879         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
31881 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
31883         [BZ #18787]
31884         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
31885         clobber registers.
31886         (atomic_compare_and_exchange_val_acq): Use register asms to assign
31887         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
31888         Cast return to __typeof (oldval).
31890 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
31892         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
31893         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
31894         and delete sys/syscall.h include.
31896 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
31898         [BZ #16517]
31899         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
31900         (tan): Force underflow exception for arguments with small absolute
31901         value.
31902         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
31903         (__kernel_tanf): Force underflow exception for arguments with
31904         small absolute value.
31905         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
31906         (__kernel_tanl): Force underflow exception for arguments with
31907         small absolute value.
31908         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
31909         (__kernel_tanl): Force underflow exception for arguments with
31910         small absolute value.
31911         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
31912         (__kernel_tanl): Force underflow exception for arguments with
31913         small absolute value.
31914         * math/auto-libm-test-in: Add more tests of tan.
31915         * math/auto-libm-test-out: Regenerated.
31917 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31919         Fix sysdeps/i386/fpu/s_scalbn.S build
31921         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
31923 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
31925         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
31927 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31929         Fix gcrt0.o compilation
31931         When static-start-installed-name is different from
31932         start-installed-name, we must not use the shared objects.
31934         * csu/Makefile
31935         (extra-objs): Add gmon-start.o when building shared library and
31936         $(static-start-installed-name) is different from
31937         $(start-installed-name).
31938         $(objpfx)g$(static-start-installed-name): When building shared
31939         library and $(static-start-installed-name) is different from
31940         $(static-start-installed-name), revert to non-shared rule,
31941         i.e. using $(objpfx)% and gmon-start.o.
31943 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
31945         [BZ #16519]
31946         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
31947         (__ieee754_sinh): Force underflow exception for arguments with
31948         small absolute value.
31949         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
31950         (__ieee754_sinhf): Force underflow exception for arguments with
31951         small absolute value.
31952         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
31953         (__ieee754_sinhl): Force underflow exception for arguments with
31954         small absolute value.
31955         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
31956         (__ieee754_sinhl): Force underflow exception for arguments with
31957         small absolute value.
31958         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
31959         (__ieee754_sinhl): Force underflow exception for arguments with
31960         small absolute value.
31961         * math/auto-libm-test-in: Add more tests of sinh.
31962         * math/auto-libm-test-out: Regenerated.
31963         * sysdeps/i386/fpu/libm-test-ulps: Update.
31965 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31967         * libio/oldfileops.c: Include unistd.h.
31969 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
31971         * stdlib/isomac.c: Include ctype.h.
31973 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
31975         * dirent/tst-seekdir.c (main): Converted to ...
31976         (do_test): ... this.
31977         (TEST_FUNCTION): New macro.
31978         Include test-skeleton.c.
31979         * elf/tst-dlmodcount.c (main): Converted to ...
31980         (do_test): ... this.
31981         (TEST_FUNCTION): New macro.
31982         Include test-skeleton.c.
31983         * elf/tst-order-main.c (main): Converted to ...
31984         (do_test): ... this.
31985         (TEST_FUNCTION): New macro.
31986         Include test-skeleton.c.
31987         * elf/tst-pie2.c (main): Converted to ...
31988         (do_test): ... this.
31989         (TEST_FUNCTION): New macro.
31990         Include test-skeleton.c.
31991         * inet/tst-ether_aton.c (main): Converted to ...
31992         (do_test): ... this.
31993         (TEST_FUNCTION): New macro.
31994         Include test-skeleton.c.
31995         * misc/tst-mntent.c (main): Converted to ...
31996         (do_test): ... this.
31997         (TEST_FUNCTION): New macro.
31998         Include test-skeleton.c.
31999         * misc/tst-tsearch.c (main): Converted to ...
32000         (do_test): ... this.
32001         (TEST_FUNCTION): New macro.
32002         Include test-skeleton.c.
32003         * posix/tst-regexloc.c (main): Converted to ...
32004         (do_test): ... this.
32005         (TEST_FUNCTION): New macro.
32006         Include test-skeleton.c.
32007         * resolv/tst-aton.c (main): Converted to ...
32008         (do_test): ... this.
32009         (TEST_FUNCTION): New macro.
32010         Include test-skeleton.c.
32011         * stdio-common/test-fwrite.c (main): Converted to ...
32012         (do_test): ... this.
32013         (TEST_FUNCTION): New macro.
32014         Include test-skeleton.c.
32015         * stdio-common/tst-ferror.c (main): Converted to ...
32016         (do_test): ... this.
32017         (TEST_FUNCTION): New macro.
32018         Include test-skeleton.c.
32019         * stdio-common/tst-printf.c (main): Converted to ...
32020         (do_test): ... this.
32021         (TEST_FUNCTION): New macro.
32022         Include test-skeleton.c.
32023         * stdio-common/tst-printfsz.c (main): Converted to ...
32024         (do_test): ... this.
32025         (TEST_FUNCTION): New macro.
32026         Include test-skeleton.c.
32027         * stdlib/tst-strtod.c (main): Converted to ...
32028         (do_test): ... this.
32029         (TEST_FUNCTION): New macro.
32030         Include test-skeleton.c.
32031         * string/tst-strlen.c (main): Converted to ...
32032         (do_test): ... this.
32033         (TEST_FUNCTION): New macro.
32034         Include test-skeleton.c.
32035         * string/tst-svc.c (main): Converted to ...
32036         (do_test): ... this.
32037         (TEST_FUNCTION): New macro.
32038         Include test-skeleton.c.
32039         * time/tst-strptime.c (main): Converted to ...
32040         (do_test): ... this.
32041         (TEST_FUNCTION): New macro.
32042         Include test-skeleton.c.
32043         * timezone/tst-timezone.c (main): Converted to ...
32044         (do_test): ... this.
32045         (TEST_FUNCTION): New macro.
32046         Include test-skeleton.c.
32048 2015-08-05  Zack Weinberg  <zackw@panix.com>
32050         * misc/regexp.h: Update comments.
32052 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
32054         [BZ #18635]
32055         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
32056         before return label.
32058 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32060         [BZ #18661]
32061         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
32062         when calling __errno_location.
32063         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
32064         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
32066 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32068         [BZ #18661]
32069         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
32070         (__lll_timedwait_tid): Align stack to 16 bytes when calling
32071         __gettimeofday.
32073 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32075         [BZ #18661]
32076         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32077         (__start_context): Don't use pop to restore %rdi so that stack
32078         is aligned to 16 bytes when calling __setcontext.
32080 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32082         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
32083         only for libc.
32084         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32086 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32088         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
32089         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
32090         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
32092 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32094         * string/memccpy.c (memccpy):
32095         Improve performance by using memchr/memcpy/__mempcpy.
32097 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32099         * string/strncpy.c (strncpy):
32100         Improve performance by using __strnlen/memcpy.
32102 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32104         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32105         Optimize to avoid an unnecessary FPCR read.
32107 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32109         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
32110         Optimize to reduce FPCR/FPSR accesses.
32112 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32114         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
32115         dead->data[category] != NULL.
32117 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
32119         [BZ #18647]
32120         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
32121         and |x| close to 1, use absolute value of x when computing log.
32122         * math/auto-libm-test-in: Add more tests of pow.
32123         * math/auto-libm-test-out: Regenerated.
32125 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32127         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
32128         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
32129         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
32131 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
32133         [BZ #18525]
32134         * locales/km_KH: Remove timezone definition.
32135         * locales/lo_LA: Likewise.
32136         * locales/my_MM: Likewise.
32137         * locales/nan_TW@latin: Likewise.
32138         * locales/th_TH: Likewise.
32139         * locales/uk_UA: Likewise.
32141 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
32143         [BZ #18265]
32144         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
32145         (wcsncat): Likewise.
32146         (wcscmp): Likewise.
32147         (wcsncmp): Likewise.
32149 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32151         * test-skeleton.c (usage): New function.
32152         (main): Call usage when opt is '?'.
32154 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32156         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
32157         before first use.
32159 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32161         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
32162         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
32163         in there too.
32165 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
32167         * version.h (RELEASE): Set to "development".
32168         (VERSION): Set to "2.22.90"
32170         * version.h (RELEASE): Set to "stable".
32171         (VERSION): Set to "2.22"
32172         * include/features.h (__GLIBC_MINOR__): Set to 22.
32174 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
32176         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
32177         Restructure macro to avoid "value computed is not used" warning.
32178         (atomic_compare_and_exchange_val_acq): Likewise.
32180 2015-08-04  Andreas Schwab  <schwab@suse.de>
32182         [BZ #18635]
32183         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
32184         ret.
32185         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
32187 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
32189         * po/pl.po: Updated translation.
32190         * po/uk.po: Likewise.
32191         * po/fi.po: Likewise.
32192         * po/ko.po: Likewise.
32193         * po/ru.po: Likewise.
32194         * po/vi.po: Likewise.
32196 2015-07-31  Zack Weinberg  <zackw@panix.com>
32198         [BZ #18681]
32199         * regexp.h: Add unconditional #warning stating that this header
32200         will be removed soon.  Revise banner comment to match.
32201         (compile): Consistently use ERROR instead of RETURN to report
32202         errors (partial fix for BZ #18681).
32203         * regexp.c: Don't include regexp.h. Remove some unnecessary
32204         declarations.
32206 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
32208         * po/libc.pot: Regenerated.
32210 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
32212         [BZ #18740]
32213         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
32214         float-vlen4-arch-ext-cflags): Removed.
32215         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
32216         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
32218 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32220         [BZ #14113]
32221         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
32222         aligned to __aligned__.
32223         (pthread_cond_t, pthread_rwlock_t): Likewise.
32225 2015-07-30  Torvald Riegel  <triegel@redhat.com>
32227         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
32229 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32231         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
32232         (struct sigaction): Change sa_flags from a long to an int, and add
32233         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
32235 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32237         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
32238         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
32239         sysdeps/generic/sysdep.h include.
32240         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
32241         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
32242         sysdeps/hppa/sysdep.h.
32243         (ENTRY, PSEUDO): Undefine before defining.
32245 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32247         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
32248         from scratch to use INTERNAL_SYSCALL.
32250 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
32252         [BZ #18078]
32253         * scripts/check-localplt.awk: Support alternate relocations.
32254         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
32255         sections.
32256         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
32257         malloc entries with + REL R_386_GLOB_DAT.
32258         * sysdeps/x86_64/localplt.data: New file.
32260 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
32262         [BZ #18731]
32263         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
32264         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32265         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32267 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32269         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
32271 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32273         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
32274         directly in terms of __sync_fetch_and_add and delete (int) cast.
32276 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32278         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
32279         the -D_ASM_IA64_CURRENT_H flag.
32281 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32283         [BZ #18641]
32284         * pwd/pwd.h (putpwent): Delete __nonnull markings.
32286 2015-07-27  Andreas Schwab  <schwab@suse.de>
32288         * conform/conformtest.pl (checknamespace): Filter out string
32289         literals while tokenizing.
32291 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
32293         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32294         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
32295         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32297 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
32299         * nptl/tst-join7mod.c: Add #include <string.h>.
32301 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
32303         * sysdeps/nios2/libm-test-ulps: Update.
32305 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
32307         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
32308         Fix order of arguments to the rt_sigprocmask syscall.
32309         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
32310         Likewise.
32312 2015-07-24  Roland McGrath  <roland@hack.frob.com>
32314         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
32316 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32318         [BZ #18457]
32319         * nptl/Makefile (tests): New test case tst-join7.
32320         (modules-names): New test case module tst-join7mod.
32321         * nptl/tst-join7.c: New file.
32322         * nptl/tst-join7mod.c: New file.
32323         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
32324         all translation units in libc.so, libpthread.so and rtld.
32326 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32330 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
32332         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
32333         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32334         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32335         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32336         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32337         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32338         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32339         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32340         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32341         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32342         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32343         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32344         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
32345         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32346         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
32347         implementation.
32349 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32351         [BZ #17711]
32352         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32353         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
32354         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32355         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32356         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
32357         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32359 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32361         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
32362         instead of just saying load lock in the comments.
32364 2015-07-23  Roland McGrath  <roland@hack.frob.com>
32366         * sysdeps/unix/Subdirs: Moved ...
32367         * sysdeps/posix/Subdirs: ... here.
32368         * login/pty.h (struct termios, struct winsize): Add forward decls.
32369         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
32370         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
32371         * sysdeps/arm/nacl/libc.abilist: Updated.
32372         * sysdeps/nacl/libutil.abilist: New file.
32374         * bits/signum.h: Update comments to mention 1003.1-2013 too.
32375         (SIGWINCH): New macro.
32377         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
32378         * sysdeps/arm/nacl/libc.abilist: Add it.
32380 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
32382         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
32384 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
32386         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
32387         Swap __glibc_reserved0 and sa_flags order.
32389 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32391         [BZ #18657]
32392         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
32393         are pending TLS destructor calls.
32394         * include/link.h (struct link_map): Add concurrency note for
32395         L_TLS_DTOR_COUNT.
32396         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32397         Don't touch the link map flag.  Atomically increment
32398         l_tls_dtor_count.
32399         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
32400         Avoid taking the load lock and don't touch the link map flag.
32401         * stdlib/tst-tls-atexit-nodelete.c: New test case.
32402         * stdlib/Makefile (tests): Use it.
32403         * stdlib/tst-tls-atexit.c (do_test): dlopen
32404         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
32405         to allow tst-tls-atexit-nodelete test case to use it.
32407 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32409         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
32410         to bits/types.h.
32411         (msgqnum_t): New typedef.
32412         (msglen_t): Likewise.
32413         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
32414         and msg_qbytes type to msglen_t.
32416 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32418         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
32419         pad0 to __glibc_reserved0.
32420         (struct stat64): Likewise.
32422 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32424         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
32425         Change sa_flags from a long to an int and add __glibc_reserved0 before
32426         it for padding.
32428 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32430         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
32431         anonymous by deleting "siginfo" name.
32433 2015-07-21  Roland McGrath  <roland@hack.frob.com>
32435         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
32436         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
32437         rather than __nacl_irt_filename.
32438         * sysdeps/nacl/xstat.c (__xstat): Likewise.
32440         * NEWS: New item for arm-nacl port.
32441         * sysdeps/arm/nacl/libc.abilist: New file.
32442         * sysdeps/nacl/ld.abilist: New file.
32443         * sysdeps/nacl/libBrokenLocale.abilist: New file.
32444         * sysdeps/nacl/libanl.abilist: New file.
32445         * sysdeps/nacl/libcrypt.abilist: New file.
32446         * sysdeps/nacl/libdl.abilist: New file.
32447         * sysdeps/nacl/libm.abilist: New file.
32448         * sysdeps/nacl/libpthread.abilist: New file.
32449         * sysdeps/nacl/libresolv.abilist: New file.
32450         * sysdeps/nacl/librt.abilist: New file.
32452 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
32454         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
32455         __startcontext to initialize the new context.
32456         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
32457         up CFI directive to forbid further backtracing.
32459 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
32461         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
32462         reference.
32463         * charmaps/ANSI_X3.4-1968: Likewise.
32464         * charmaps/BS_4730: Likewise.
32465         * charmaps/BS_VIEWDATA: Likewise.
32466         * charmaps/CP1250: Likewise.
32467         * charmaps/CP1251: Likewise.
32468         * charmaps/CP1252: Likewise.
32469         * charmaps/CP1253: Likewise.
32470         * charmaps/CP1254: Likewise.
32471         * charmaps/CP1255: Likewise.
32472         * charmaps/CP1256: Likewise.
32473         * charmaps/CSN_369103: Likewise.
32474         * charmaps/EBCDIC-DK-NO: Likewise.
32475         * charmaps/GB_1988-80: Likewise.
32476         * charmaps/GREEK-CCITT: Likewise.
32477         * charmaps/GREEK7: Likewise.
32478         * charmaps/INIS-8: Likewise.
32479         * charmaps/ISIRI-3342: Likewise.
32480         * charmaps/ISO_2033-1983: Likewise.
32481         * charmaps/ISO_5427-EXT: Likewise.
32482         * locales/POSIX: Likewise.
32483         * locales/ar_SA: Likewise.
32484         * locales/be_BY: Likewise.
32485         * locales/be_BY@latin: Likewise.
32486         * locales/ca_ES: Likewise.
32487         * locales/cs_CZ: Likewise.
32488         * locales/da_DK: Likewise.
32489         * locales/de_BE: Likewise.
32490         * locales/de_CH: Likewise.
32491         * locales/de_LU: Likewise.
32492         * locales/en_AU: Likewise.
32493         * locales/en_BW: Likewise.
32494         * locales/en_CA: Likewise.
32495         * locales/en_DK: Likewise.
32496         * locales/en_GB: Likewise.
32497         * locales/en_IE: Likewise.
32498         * locales/en_NZ: Likewise.
32499         * locales/en_ZA: Likewise.
32500         * locales/en_ZW: Likewise.
32501         * locales/es_AR: Likewise.
32502         * locales/es_BO: Likewise.
32503         * locales/es_CL: Likewise.
32504         * locales/es_CO: Likewise.
32505         * locales/es_DO: Likewise.
32506         * locales/es_EC: Likewise.
32507         * locales/es_ES: Likewise.
32508         * locales/es_HN: Likewise.
32509         * locales/es_MX: Likewise.
32510         * locales/es_PA: Likewise.
32511         * locales/es_PE: Likewise.
32512         * locales/es_PY: Likewise.
32513         * locales/es_SV: Likewise.
32514         * locales/es_US: Likewise.
32515         * locales/es_UY: Likewise.
32516         * locales/es_VE: Likewise.
32517         * locales/et_EE: Likewise.
32518         * locales/fa_IR: Likewise.
32519         * locales/fo_FO: Likewise.
32520         * locales/fr_CA: Likewise.
32521         * locales/fr_CH: Likewise.
32522         * locales/gv_GB: Likewise.
32523         * locales/he_IL: Likewise.
32524         * locales/hr_HR: Likewise.
32525         * locales/id_ID: Likewise.
32526         * locales/is_IS: Likewise.
32527         * locales/it_CH: Likewise.
32528         * locales/iw_IL: Likewise.
32529         * locales/kl_GL: Likewise.
32530         * locales/ko_KR: Likewise.
32531         * locales/kw_GB: Likewise.
32532         * locales/lg_UG: Likewise.
32533         * locales/lt_LT: Likewise.
32534         * locales/lv_LV: Likewise.
32535         * locales/mi_NZ: Likewise.
32536         * locales/nhn_MX: Likewise.
32537         * locales/nl_BE: Likewise.
32538         * locales/pl_PL: Likewise.
32539         * locales/sk_SK: Likewise.
32540         * locales/sl_SI: Likewise.
32541         * locales/sv_FI: Likewise.
32542         * locales/tl_PH: Likewise.
32543         * locales/tr_TR: Likewise.
32544         * locales/vi_VN: Likewise.
32546 2015-07-21  Khem Raj  <raj.khem@gmail.com>
32548         [BZ #17475]
32549         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
32550         of tu_IN and bh_IN.
32552 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
32554         [BZ #18694]
32555         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
32556         bits/wordsize.h.
32557         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
32559 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32561         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
32562         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
32563         (spawn_thread): New function.
32564         (load): Rename to reg_dtor_and_close.  Move dlopen to...
32565         (do_test): ... here.  Use IS_LOADED to test for its
32566         availability.
32568 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
32570         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32572 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
32574         [BZ #18696]
32575         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
32576         si_addr_bnd.
32577         (si_lower): New.
32578         (si_upper): Likewise.
32580 2015-07-16  David S. Miller  <davem@davemloft.net>
32582         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
32584 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32586         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
32587         buffer.
32588         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
32589         fail output information.
32591 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
32594         and strstr-ppc64..
32595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
32596         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
32597         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
32598         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
32599         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
32601 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
32603         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32604         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32605         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32606         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32608 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
32610         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
32611         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
32612         rtld_hidden_proto.
32613         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
32615 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32617         * tst-nodelete-opened.c (do_test): Add comment to clarify how
32618         the test can fail.
32620         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
32622         [BZ #18676]
32623         * elf/tst-nodelete-opened.c: New test case.
32624         * elf/tst-nodelete-opened-lib.c: New test case module.
32625         * elf/Makefile (tests, modules-names): Use them.
32626         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
32627         early.
32629 2015-07-15  David S. Miller  <davem@davemloft.net>
32631         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
32632         futex-intenal.h
32633         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
32634         * sysdeps/sparc/sparc64/Makefile: Likewise.
32635         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
32636         Remove space from macro define.
32637         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
32639 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
32641         [BZ #17475]
32642         * locale/iso-639.def: Update Bhili and Tulu language codes as
32643         per iso639-3.
32645 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
32647         * elf/tst-leaks1.c (main): Converted to ...
32648         (do_test): ... this.
32649         (TEST_FUNCTION): New macro.
32650         Include test-skeleton.c.
32651         * localedata/tst-langinfo.c (main): Converted to ...
32652         (do_test): ... this.
32653         (TEST_FUNCTION): New macro.
32654         Include test-skeleton.c.
32655         * math/test-fpucw.c (main): Converted to ...
32656         (do_test): ... this.
32657         (TEST_FUNCTION): New macro.
32658         Include test-skeleton.c.
32659         * math/test-tgmath.c (main): Converted to ...
32660         (do_test): ... this.
32661         (TEST_FUNCTION): New macro.
32662         Include test-skeleton.c.
32663         * math/test-tgmath2.c (main): Converted to ...
32664         (do_test): ... this.
32665         (TEST_FUNCTION): New macro.
32666         Include test-skeleton.c.
32667         * setjmp/tst-setjmp.c (main): Converted to ...
32668         (do_test): ... this.
32669         (TEST_FUNCTION): New macro.
32670         Include test-skeleton.c.
32671         * stdio-common/tst-sscanf.c (main): Converted to ...
32672         (do_test): ... this.
32673         (TEST_FUNCTION): New macro.
32674         Include test-skeleton.c.
32675         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
32676         (do_test): ... this.
32677         (TEST_FUNCTION): New macro.
32678         Include test-skeleton.c.
32680         * elf/tst-audit9.c (main): Converted to ...
32681         (do_test): ... this.
32682         (TEST_FUNCTION): New macro.
32683         Include test-skeleton.c.
32685 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
32687         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
32689 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32691         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
32692         New variable.
32694 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32696         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32698 2015-07-14  Roland McGrath  <roland@hack.frob.com>
32700         * sysdeps/generic/dl-fileid.h: New file.
32701         * sysdeps/posix/dl-fileid.h: New file.
32702         * sysdeps/nacl/dl-fileid.h: New file.
32703         * include/link.h: Include <dl-fileid.h>.
32704         (struct link_map): Replace l_dev and l_ino with l_file_id.
32705         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
32706         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
32707         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
32709 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32711         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
32713 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32715         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
32716         Add iff $CXX is set.
32717         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
32718         Likewise.
32719         (tst-nodelete-zmodiff): Likewise.
32720         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
32722 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32724         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
32726 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32728         * sysdeps/aarch64/fpu/math_private.h
32729         (define math_opt_barrier): Add AArch64 version.
32730         (math_force_eval): Likewise.
32732 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32734         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
32736 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
32738         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
32739         %ld with %jd and cast to intmax_t.
32740         (do_test_length_zero): Likewise.
32742 2015-07-10  Roland McGrath  <roland@hack.frob.com>
32744         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
32746 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
32748         * sysdeps/tile/libm-test-ulps: Regenerated.
32750         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
32751         Comment out the whole function, not just its body.
32753 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32755         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
32756         locks.
32758         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
32760 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32762         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
32763         (sem_assume_only_signals_cause_futex_EINTR): Remove.
32765 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32767         * sysdeps/nptl/futex-internal.h: New file.
32768         * sysdeps/nacl/futex-internal.h: New file.
32769         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
32770         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
32771         error checking.
32772         (setxid_unmark_thread): Likewise.
32773         (__nptl_setxid): Likewise.
32774         (__wait_lookup_done): Likewise.
32775         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32776         * nptl/nptl-init.c (sighandler_setxid): Likewise.
32777         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
32778         * nptl/pthread_once.c (clear_once_control): Likewise.
32779         (__pthread_once_slow): Likewise.
32780         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
32781         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
32782         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
32783         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
32784         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
32785         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
32786         Likewise.
32787         (__pthread_rwlock_rdlock): Likewise.
32788         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32789         Likewise.
32790         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32791         Likewise.
32792         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32793         Likewise.
32794         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
32795         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
32796         Likewise.
32797         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
32798         __ASSUME_PRIVATE_FUTEX check.
32799         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
32800         Check that shared futexes are supported.
32801         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
32802         wrappers with error checking.
32803         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
32804         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
32805         * nptl/pthread_barrierattr_setpshared.c
32806         (pthread_barrierattr_setpshared): Check that shared futexes are
32807         supported.
32808         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
32809         Likewise.
32810         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
32811         Likewise.
32812         * nptl/sem_init.c (futex_private_if_supported): Remove.
32813         (__new_sem_init): Adapt and check that shared futexes are supported.
32814         * nptl/sem_open.c (sem_open): Likewise.
32815         * nptl/sem_post.c (futex_wake): Remove.
32816         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
32817         (do_futex_wait): Use futex wrappers with error checking.
32818         * nptl/sem_wait.c: Include lowlevellock.h.
32819         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
32820         Use futex_supports_pshared.
32821         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
32822         Use futex wrappers with error checking.
32823         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
32824         Likewise.
32825         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
32826         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
32827         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
32828         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
32829         (futex_wake): Likewise.
32830         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
32831         (do_futex_wait): Use futex wrappers with error checking.
32832         (__new_sem_wait_slow): Update EINTR handling.
32833         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
32835 2015-07-09  Martin Sebor  <msebor@redhat.com>
32837         [BZ #18435]
32838         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
32839         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
32840         * nptl/Makefile (test-xfail-tst-once5): Define.
32842 2015-07-09  Roland McGrath  <roland@hack.frob.com>
32844         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
32845         * elf/dl-minimal.c: For readability, reorder some definitions and
32846         introduce more page breaks.  Include <stdio.h>.
32847         (__libc_fatal): New function.
32849         * include/unistd.h: Add rtld_hidden_proto for _exit.
32850         * posix/_exit.c: Add rtld_hidden_def.
32851         * sysdeps/mach/hurd/_exit.c: Likewise.
32852         * sysdeps/nacl/_exit.c: Likewise.
32853         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
32854         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
32856 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
32858         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
32859         bndmov encoding with zero displacement.
32861 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32862             H.J. Lu  <hongjiu.lu@intel.com>
32864         [BZ #18134]
32865         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
32866         * sysdeps/i386/configure: Regenerated.
32867         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32868         (_dl_runtime_profile): Save and restore Intel MPX return bound
32869         registers when calling _dl_call_pltexit.  Add
32870         PRESERVE_BND_REGS_PREFIX before return.
32871         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
32872         (LRV_BND1_OFFSET): Likewise.
32873         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
32874         lrv_bnd1.
32875         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
32876         typo in bndmov encoding.
32877         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
32878         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
32879         branch instructions to preserve bounds.
32881 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
32884         [GLIBC_2.22]: Add fmemopen.
32886 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32888         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
32889         returns an error, also try to use host port from __mach_host_self for
32890         the __vm_wire call.
32891         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
32893 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32895         [BZ #18400]
32896         [BZ #18648]
32897         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
32898         Fix pr_uid and pr_gid members.
32899         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
32900         definition to elf_greg_t.
32902 2015-07-08  Roland McGrath  <roland@hack.frob.com>
32904         [BZ #18383]
32905         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
32906         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
32907         * sysdeps/arm/configure: Regenerated.
32908         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
32909         (test-xfail-tst-tlsalign-static): Variable removed.
32911         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
32912         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
32913         rather than explicit 'ln -s'.
32915         * resolv/rpc/netdb.h: New file.
32916         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
32918 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32920         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
32921         length buffers.
32922         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
32923         test-skeleton.c.
32925         [BZ #6544]
32926         [BZ #11216]
32927         [BZ #12836]
32928         [BZ #13151]
32929         [BZ #13152]
32930         [BZ #14292]
32931         * include/stdio.h (fmemopen): Remove hidden prototype.
32932         (__fmemopen): Add new hidden prototype.
32933         * libio/Makefile: Add oldfmemopen object.
32934         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
32935         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
32936         compliance.
32937         * libio/oldfmemopen.c: New file: old fmemopen implementation for
32938         symbol compatibility.
32939         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
32940         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
32941         fmemopen.
32942         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
32943         on append and read mode.
32944         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
32945         fmemopen.
32946         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
32947         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
32948         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
32949         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
32950         Likewise.
32951         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
32952         [GLIBC_2.22]: Likewise.
32953         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
32954         Likewise.
32955         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
32956         Likewise.
32957         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
32958         [GLIBC_2.22]: Likewise.
32959         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
32960         [GLIBC_2.22]: Likewise.
32961         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
32962         [GLIBC_2.22]: Likewise.
32963         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
32964         [GLIBC_2.22]: Likewise.
32965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
32966         [GLIBC_2.22]: Likewise.
32967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
32968         [GLIBC_2.22]: Likewise.
32969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
32970         [GLIBC_2.22]: Likewise.
32971         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
32972         Likewise.
32973         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
32974         Likewise.
32975         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
32976         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
32977         [GLIBC_2.22]: Likewise.
32978         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
32979         [GLIBC_2.22]: Likewise.
32980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
32981         [GLIBC_2.22]: Likewise.
32982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
32983         [GLIBC_2.22]: Likewise.
32984         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
32985         Likewise.
32986         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
32987         Likewise.
32988         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
32989         Likewise.
32990         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
32991         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
32993 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
32995         [BZ #18643]
32996         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
32997         IPV6_PATHMTU, and IPV6_DONTFRAG.
32999 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
33001         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
33002         and _IO_UNBUFFERED.
33003         * libio/oldfileops.c: Likewise.
33004         * libio/wfileops.c: Likewise.
33006 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
33008         * nscd/selinux.c: Delete selinux/flask.h include.
33010 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
33012         [BZ #18641]
33013         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
33014         (putpwent): Likewise.
33015         (getpwnam): Likewise.
33016         (getpwent_r): Likewise.
33017         (getpwuid_r): Likewise.
33018         (getpwnam_r): Likewise.
33019         (fgetpwent_r): Likewise.
33021 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
33023         [BZ #18557]
33024         * inet/rcmd.c (__validuser2_sa): Check user first to
33025         short-circuit host check.
33027 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
33028             Mikhail Ilin  <m.ilin@samsung.com>
33030         [BZ #17833]
33031         * elf/Makefile (tests): Add tst-nodelete.
33032         (modules-names): Add tst-nodelete-uniquemod.
33033         (tst-nodelete-uniquemod.so-no-z-defs): New.
33034         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
33035         (tst-nodelete-zmod.so-no-z-defs): Likewise.
33036         ($(objpfx)tst-nodelete): Likewise.
33037         ($(objpfx)tst-nodelete.out): Likewise.
33038         (LDFLAGS-tst-nodelete): Likewise.
33039         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
33040         * elf/dl-close.c (_dl_close_worker): Add a parameter to
33041         implement forced object deletion.
33042         (_dl_close): Pass false to _dl_close_worker.
33043         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
33044         * elf/tst-nodelete.cc: New file.
33045         * elf/tst-nodeletelib.cc: Likewise.
33046         * elf/tst-znodeletelib.cc: Likewise.
33047         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
33049 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33051         [BZ #18508]
33052         * stdlib/Makefile ($(objpfx)tst-makecontext3):
33053         Depend on $(libdl).
33054         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
33055         is not called infinitely times.
33056         (backtrace_helper): New function.
33057         (trace_arg): New struct.
33058         (st1): Enlarge stack size.
33059         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33060         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
33061         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33062         Likewise.
33064 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33066         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33068 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33070         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
33071         Include sys/types.h instead of bits/types.h.
33072         Remove inclusion of bits/wordsize.h.
33074 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33076         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
33077         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
33078         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
33079         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
33080         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
33081         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
33083 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33085         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
33086         link-defines.sym.
33087         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
33088         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
33089         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
33090         and LR_SIZE.
33091         * sysdeps/i386/link-defines.sym: New file.
33093 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33095         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
33096         (modules-names): Add tst-auditmod3a tst-auditmod3b.
33097         ($(objpfx)tst-audit3): New rule.
33098         ($(objpfx)tst-audit3.out): Likewise.
33099         * sysdeps/i386/tst-audit3.c: New file.
33100         * sysdeps/i386/tst-audit3.h: Likewise.
33101         * sysdeps/i386/tst-auditmod3a.c: Likewise.
33102         * sysdeps/i386/tst-auditmod3b.c: Likewise.
33104 2015-07-07  Torvald Riegel  <triegel@redhat.com>
33106         [BZ #18633]
33107         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
33108         pointer in C code.
33109         (__strcat_c): Likewise.
33110         (__strcat_g): Likewise.
33112 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
33114         [BZ #18592]
33115         * misc/sbrk.c: Set errno to ENOMEM on overflow.
33117 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
33119         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
33120         New function.  (__ieee754_sqrtf): New function.
33121         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
33122         New function.
33123         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
33124         New function.
33126 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
33128         * sysdeps/ieee754/support.c: Remove unused file.
33130 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33132         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
33133         registers instead of d ones so the layout is kernel abi compatible.
33134         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
33135         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
33136         Likewise.
33138 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33140         * sysdeps/aarch64/libm-test-ulps: Regenerated.
33142 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
33144         [BZ #18619]
33145         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
33146         and return argument in case of subnormal argument.
33148 2015-07-01  Martin Sebor  <msebor@redhat.com>
33150         [BZ #18435]
33151         * nptl/Makefile: Add tst-once5.cc.
33152         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
33153         Remove macro redefinitions.
33154         * nptl/tst-once5.cc: New test.
33156 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
33158         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33160         * sysdeps/arm/libm-test-ulps: Regenerated.
33162         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
33163         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33165 2015-06-30  Torvald Riegel  <triegel@redhat.com>
33167         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
33168         lll_lock_wait_private and lll_futex_wake probes.
33170         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
33171         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
33172         Likewise.
33173         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
33174         atomic_spin_nop.
33175         * sysdeps/x86_64/bits/atomic.h: Likewise.
33176         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
33177         to atomic_spin_nop and move ...
33178         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
33179         ... here and ...
33180         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
33181         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
33182         atomic_spin_nop instead of BUSY_WAIT_NOP.
33183         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
33184         Likewise.
33185         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
33186         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
33187         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
33188         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
33189         instead of atomic_delay.
33191 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
33193         [BZ #18613]
33194         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
33195         X_ADJ not X when adjusting exponent.
33196         (__ieee754_gamma_r): Do intermediate computations in
33197         round-to-nearest then adjust overflowing and underflowing results
33198         as needed.
33199         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
33200         of X_ADJ not X when adjusting exponent.
33201         (__ieee754_gammaf_r): Do intermediate computations in
33202         round-to-nearest then adjust overflowing and underflowing results
33203         as needed.
33204         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
33205         log of X_ADJ not X when adjusting exponent.
33206         (__ieee754_gammal_r): Do intermediate computations in
33207         round-to-nearest then adjust overflowing and underflowing results
33208         as needed.  Use 1.0L not 1.0f as numerator of division.
33209         * sysdeps/ieee754/ldbl-128ibm/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-96/e_gammal_r.c (gammal_positive): Take log
33215         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         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
33220         to auto-libm-test-in.
33221         (tgamma_test): Use ALL_RM_TEST.
33222         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
33223         tests of tgamma with spurious-overflow.
33224         * math/auto-libm-test-out: Regenerated.
33225         * math/gen-libm-have-vector-test.sh: Do not check for START.
33226         * sysdeps/i386/fpu/libm-test-ulps: Update.
33227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33229         [BZ #18612]
33230         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
33231         arguments, just return 0.5 times the argument, with underflow
33232         forced as needed.
33233         * math/auto-libm-test-in: Add more tests of j1.
33234         * math/auto-libm-test-out: Regenerated.
33236         [BZ #16559]
33237         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
33238         (__ieee754_j1): Force underflow exception for small results.
33239         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33240         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
33241         (__ieee754_j1f): Force underflow exception for small results.
33242         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33243         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33244         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33245         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
33246         (__ieee754_j1l): Force underflow exception for small results.
33247         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33248         * math/auto-libm-test-in: Add more tests of j1 and jn.
33249         * math/auto-libm-test-out: Regenerated.
33251         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
33252         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
33253         (PF_MPLS): Likewise.
33254         (AF_IB): Likewise.
33255         (AF_MPLS): Likewise.
33256         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
33257         value and macro.
33258         (MS_RMT_MASK): Include MS_LAZYTIME.
33260 2015-06-26  Mel Gorman  <mgorman@suse.de>
33262         [BZ #18502]
33263         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
33264         already minimal.
33266 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
33268         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
33269         (DT_MIPS_NUM): Update.
33270         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
33271         DT_MIPS_RLD_MAP_REL.
33273 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
33275         [BZ #16559]
33276         [BZ #18602]
33277         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
33278         round-to-nearest internally then recompute results that
33279         underflowed to zero in the original rounding mode.
33280         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33281         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33282         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33283         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33284         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
33285         * sysdeps/i386/fpu/libm-test-ulps: Update.
33286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33288 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
33290         * NEWS: Fixed description of link with vector math library.
33292 2015-06-25  Andreas Schwab  <schwab@suse.de>
33294         [BZ #18549]
33295         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
33296         * libio/test-fmemopen.c (do_test): Add test for it.
33298 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
33300         [BZ #17841]
33301         * Makeconfig (no-pie-ldflag): New.
33302         (+link): Set to $(+link-pie) if default to PIE.
33303         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
33304         * config.make.in (build-pie-default): New.
33305         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
33306         is default.  AC_SUBST.
33307         * configure: Regenerated.
33308         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
33310 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33312         * nptl/descr.h (struct pthread): Change type of field setxid_futex
33313         to 'unsigned int'.
33315         * resolv/gai_misc.h (struct waitlist): Change type of field
33316         counterp to 'volatile unsigned int *'.
33317         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
33318         FUTEXADDR and OLDVAL.
33319         * resolv/getaddrinfo_a.c (getaddrinfo_a):
33320         Give local variable TOTAL type 'volatile unsigned int'.
33321         (struct async_waitlist): Change type of field counter to 'unsigned int'.
33322         * resolv/gai_suspend.c (gai_suspend):
33323         Give local variable CNTR type 'unsigned int'.
33325         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
33326         counterp to 'volatile unsigned int *'.
33327         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
33328         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
33329         (aio_suspend): Give local variable CNTR type 'unsigned int'.
33330         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
33331         Give local variable TOTAL type 'volatile unsigned int'.
33332         (struct async_waitlist): Change type of field counter to 'unsigned int'.
33334 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33336         [BZ #18383]
33337         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
33338         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
33339         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
33340         comment for i386/x86-64.
33341         (test-xfail-tst-tlsalign-extern-static): Removed.
33343 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33345         * math/test-double.h: New file.
33346         * math/test-float.h: Likewise.
33347         * math/test-ldouble.h: Likewise.
33348         * math/test-math-inline.h: Likewise.
33349         * math/test-math-no-inline.h: Likewise.
33350         * math/test-math-scalar.h: Likewise.
33351         * math/test-math-vector.h: Likewise.
33352         * math/test-vec-loop.h: Remove file.  Contents moved into
33353         test-math-vector.h.
33354         * math/libm-test.inc (MATHCONST): Do not document macro.
33355         * math/test-double.c: Include test-double.h, test-math-no-inline.h
33356         and test-math-scalar.h.
33357         (FUNC): Remove macro.
33358         (FUNC_TEST): Likewise.
33359         (FLOAT): Likewise.
33360         (MATHCONST): Likewise.
33361         (PRINTF_EXPR): Likewise.
33362         (PRINTF_XEXPR): Likewise.
33363         (PRINTF_NEXPR): Likewise.
33364         (TEST_DOUBLE): Likewise.
33365         (TEST_MATHVEC): Likewise.
33366         (__NO_MATH_INLINES): Likewise.
33367         * math/test-float.c: Include test-float.h, test-math-no-inline.h
33368         and test-math-scalar.h.
33369         (FUNC): Remove macro.
33370         (FUNC_TEST): Likewise.
33371         (FLOAT): Likewise.
33372         (MATHCONST): Likewise.
33373         (PRINTF_EXPR): Likewise.
33374         (PRINTF_XEXPR): Likewise.
33375         (PRINTF_NEXPR): Likewise.
33376         (TEST_FLOAT): Likewise.
33377         (TEST_MATHVEC): Likewise.
33378         (__NO_MATH_INLINES): Likewise.
33379         * math/test-idouble.c: Include test-double.h, test-math-inline.h
33380         and test-math-scalar.h.
33381         (FUNC): Remove macro.
33382         (FUNC_TEST): Likewise.
33383         (FLOAT): Likewise.
33384         (MATHCONST): Likewise.
33385         (PRINTF_EXPR): Likewise.
33386         (PRINTF_XEXPR): Likewise.
33387         (PRINTF_NEXPR): Likewise.
33388         (TEST_DOUBLE): Likewise.
33389         (TEST_MATHVEC): Likewise.
33390         (TEST_INLINE): Likewise.
33391         (__NO_MATH_INLINES): Likewise.
33392         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
33393         test-math-scalar.h.
33394         (FUNC): Remove macro.
33395         (FUNC_TEST): Likewise.
33396         (FLOAT): Likewise.
33397         (MATHCONST): Likewise.
33398         (PRINTF_EXPR): Likewise.
33399         (PRINTF_XEXPR): Likewise.
33400         (PRINTF_NEXPR): Likewise.
33401         (TEST_FLOAT): Likewise.
33402         (TEST_MATHVEC): Likewise.
33403         (TEST_INLINE): Likewise.
33404         (__NO_MATH_INLINES): Likewise.
33405         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
33406         and test-math-scalar.h.
33407         (FUNC): Remove macro.
33408         (FUNC_TEST): Likewise.
33409         (FLOAT): Likewise.
33410         (MATHCONST): Likewise.
33411         (PRINTF_EXPR): Likewise.
33412         (PRINTF_XEXPR): Likewise.
33413         (PRINTF_NEXPR): Likewise.
33414         (TEST_LDOUBLE): Likewise.
33415         (TEST_MATHVEC): Likewise.
33416         (TEST_INLINE): Likewise.
33417         (__NO_MATH_INLINES): Likewise.
33418         * math/test-ldouble.c: Include test-ldouble.h,
33419         test-math-no-inline.h and test-math-scalar.h.
33420         (FUNC): Remove macro.
33421         (FUNC_TEST): Likewise.
33422         (FLOAT): Likewise.
33423         (MATHCONST): Likewise.
33424         (PRINTF_EXPR): Likewise.
33425         (PRINTF_XEXPR): Likewise.
33426         (PRINTF_NEXPR): Likewise.
33427         (TEST_LDOUBLE): Likewise.
33428         (TEST_MATHVEC): Likewise.
33429         (__NO_MATH_INLINES): Likewise.
33430         * math/test-double-vlen2.h: Include test-double.h,
33431         test-math-no-inline.h and test-math-vector.h.
33432         (FLOAT): Remove macro.
33433         (FUNC): Likewise.
33434         (MATHCONST): Likewise.
33435         (PRINTF_EXPR): Likewise.
33436         (PRINTF_XEXPR): Likewise.
33437         (PRINTF_NEXPR): Likewise.
33438         (TEST_DOUBLE): Likewise.
33439         (TEST_MATHVEC): Likewise.
33440         (__NO_MATH_INLINES): Likewise.
33441         (CNCT): Likewise.
33442         (CONCAT): Likewise.
33443         (WRAPPER_NAME): Likewise.
33444         (WRAPPER_DECL): Likewise.
33445         (WRAPPER_DECL_ff): Likewise.
33446         (WRAPPER_DECL_fFF): Likewise.
33447         (VECTOR_WRAPPER): Likewise.
33448         (VECTOR_WRAPPER_ff): Likewise.
33449         (VECTOR_WRAPPER_fFF): Likewise.
33450         (VEC_LEN): New macro.
33451         * math/test-double-vlen4.h: Include test-double.h,
33452         test-math-no-inline.h and test-math-vector.h.
33453         (FLOAT): Remove macro.
33454         (FUNC): Likewise.
33455         (MATHCONST): Likewise.
33456         (PRINTF_EXPR): Likewise.
33457         (PRINTF_XEXPR): Likewise.
33458         (PRINTF_NEXPR): Likewise.
33459         (TEST_DOUBLE): Likewise.
33460         (TEST_MATHVEC): Likewise.
33461         (__NO_MATH_INLINES): Likewise.
33462         (CNCT): Likewise.
33463         (CONCAT): Likewise.
33464         (WRAPPER_NAME): Likewise.
33465         (WRAPPER_DECL): Likewise.
33466         (WRAPPER_DECL_ff): Likewise.
33467         (WRAPPER_DECL_fFF): Likewise.
33468         (VECTOR_WRAPPER): Likewise.
33469         (VECTOR_WRAPPER_ff): Likewise.
33470         (VECTOR_WRAPPER_fFF): Likewise.
33471         (VEC_LEN): New macro.
33472         * math/test-double-vlen8.h: Include test-double.h,
33473         test-math-no-inline.h and test-math-vector.h.
33474         (FLOAT): Remove macro.
33475         (FUNC): Likewise.
33476         (MATHCONST): Likewise.
33477         (PRINTF_EXPR): Likewise.
33478         (PRINTF_XEXPR): Likewise.
33479         (PRINTF_NEXPR): Likewise.
33480         (TEST_DOUBLE): Likewise.
33481         (TEST_MATHVEC): Likewise.
33482         (__NO_MATH_INLINES): Likewise.
33483         (CNCT): Likewise.
33484         (CONCAT): Likewise.
33485         (WRAPPER_NAME): Likewise.
33486         (WRAPPER_DECL): Likewise.
33487         (WRAPPER_DECL_ff): Likewise.
33488         (WRAPPER_DECL_fFF): Likewise.
33489         (VECTOR_WRAPPER): Likewise.
33490         (VECTOR_WRAPPER_ff): Likewise.
33491         (VECTOR_WRAPPER_fFF): Likewise.
33492         (VEC_LEN): New macro.
33493         * math/test-float-vlen4.h: Include test-float.h,
33494         test-math-no-inline.h and test-math-vector.h.
33495         (FLOAT): Remove macro.
33496         (FUNC): Likewise.
33497         (MATHCONST): Likewise.
33498         (PRINTF_EXPR): Likewise.
33499         (PRINTF_XEXPR): Likewise.
33500         (PRINTF_NEXPR): Likewise.
33501         (TEST_FLOAT): Likewise.
33502         (TEST_MATHVEC): Likewise.
33503         (__NO_MATH_INLINES): Likewise.
33504         (CNCT): Likewise.
33505         (CONCAT): Likewise.
33506         (WRAPPER_NAME): Likewise.
33507         (WRAPPER_DECL): Likewise.
33508         (WRAPPER_DECL_ff): Likewise.
33509         (WRAPPER_DECL_fFF): Likewise.
33510         (VECTOR_WRAPPER): Likewise.
33511         (VECTOR_WRAPPER_ff): Likewise.
33512         (VECTOR_WRAPPER_fFF): Likewise.
33513         (VEC_LEN): New macro.
33514         * math/test-float-vlen8.h: Include test-float.h,
33515         test-math-no-inline.h and test-math-vector.h.
33516         (FLOAT): Remove macro.
33517         (FUNC): Likewise.
33518         (MATHCONST): Likewise.
33519         (PRINTF_EXPR): Likewise.
33520         (PRINTF_XEXPR): Likewise.
33521         (PRINTF_NEXPR): Likewise.
33522         (TEST_FLOAT): Likewise.
33523         (TEST_MATHVEC): Likewise.
33524         (__NO_MATH_INLINES): Likewise.
33525         (CNCT): Likewise.
33526         (CONCAT): Likewise.
33527         (WRAPPER_NAME): Likewise.
33528         (WRAPPER_DECL): Likewise.
33529         (WRAPPER_DECL_ff): Likewise.
33530         (WRAPPER_DECL_fFF): Likewise.
33531         (VECTOR_WRAPPER): Likewise.
33532         (VECTOR_WRAPPER_ff): Likewise.
33533         (VECTOR_WRAPPER_fFF): Likewise.
33534         (VEC_LEN): New macro.
33535         * math/test-float-vlen16.h: Include test-float.h,
33536         test-math-no-inline.h and test-math-vector.h.
33537         (FLOAT): Remove macro.
33538         (FUNC): Likewise.
33539         (MATHCONST): Likewise.
33540         (PRINTF_EXPR): Likewise.
33541         (PRINTF_XEXPR): Likewise.
33542         (PRINTF_NEXPR): Likewise.
33543         (TEST_FLOAT): Likewise.
33544         (TEST_MATHVEC): Likewise.
33545         (__NO_MATH_INLINES): Likewise.
33546         (CNCT): Likewise.
33547         (CONCAT): Likewise.
33548         (WRAPPER_NAME): Likewise.
33549         (WRAPPER_DECL): Likewise.
33550         (WRAPPER_DECL_ff): Likewise.
33551         (WRAPPER_DECL_fFF): Likewise.
33552         (VECTOR_WRAPPER): Likewise.
33553         (VECTOR_WRAPPER_ff): Likewise.
33554         (VECTOR_WRAPPER_fFF): Likewise.
33555         (VEC_LEN): New macro.
33556         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
33557         test-vec-loop.h.
33558         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33559         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33560         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33561         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33562         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33563         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33564         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33566 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33568         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
33569         (__getlogin_r): ... this.
33571 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33573         [BZ #18594]
33574         * math/s_ccosh.c (__ccosh): Compare with least normal value
33575         instead of comparing class with FP_SUBNORMAL.
33576         * math/s_ccoshf.c (__ccoshf): Likewise.
33577         * math/s_ccoshl.c (__ccoshl): Likewise.
33578         * math/s_cexp.c (__cexp): Likewise.
33579         * math/s_cexpf.c (__cexpf): Likewise.
33580         * math/s_cexpl.c (__cexpl): Likewise.
33581         * math/s_csin.c (__csin): Likewise.
33582         * math/s_csinf.c (__csinf): Likewise.
33583         * math/s_csinh.c (__csinh): Likewise.
33584         * math/s_csinhf.c (__csinhf): Likewise.
33585         * math/s_csinhl.c (__csinhl): Likewise.
33586         * math/s_csinl.c (__csinl): Likewise.
33587         * math/s_ctan.c (__ctan): Likewise.
33588         * math/s_ctanf.c (__ctanf): Likewise.
33589         * math/s_ctanh.c (__ctanh): Likewise.
33590         * math/s_ctanhf.c (__ctanhf): Likewise.
33591         * math/s_ctanhl.c (__ctanhl): Likewise.
33592         * math/s_ctanl.c (__ctanl): Likewise.
33593         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
33594         csin, csinh, ctan and ctanh.
33595         * math/auto-libm-test-out: Regenerated.
33596         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
33597         * sysdeps/i386/fpu/libm-test-ulps: Update.
33598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33600 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33602         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
33603         return value is wrong, print the expected value too.
33605 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33607         [BZ #18585]
33608         * elf/readlib.c (is_gdb_python_file): New.
33609         (process_file): Don't issue errors on filenames with -gdb.py
33610         suffix.
33612 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33614         * math/auto-libm-test-in: Add more tests of csin and csinh.
33615         * math/auto-libm-test-out: Regenerated.
33616         * math/libm-test.inc (csin_test_data): Remove tests moved to
33617         auto-libm-test-in.
33618         (csinh_test_data): Likewise.
33620         [BZ #18593]
33621         * math/s_csin.c (__csin): Negate before rather than after possibly
33622         overflowing multiplication.
33623         * math/s_csinf.c (__csinf): Likewise.
33624         * math/s_csinh.c (__csinh): Likewise.
33625         * math/s_csinhf.c (__csinhf): Likewise.
33626         * math/s_csinhl.c (__csinhl): Likewise.
33627         * math/s_csinl.c (__csinl): Likewise.
33628         * math/auto-libm-test-in: Add some tests of csin and csinh.
33629         * math/auto-libm-test-out: Regenerated.
33630         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
33631         (csinh_test_data): Likewise.
33632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33634         [BZ #18586]
33635         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
33636         underflow exception for small results.
33638 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
33640         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33641         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
33642         variable and included header.
33643         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
33644         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
33645         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
33646         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
33647         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
33648         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
33649         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
33650         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
33651         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
33652         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
33653         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
33654         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
33655         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
33656         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
33657         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
33658         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
33660 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33662         [BZ #16526]
33663         [BZ #16538]
33664         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
33665         (__sin): Force underflow exception for arguments with small
33666         absolute value.
33667         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
33668         (__kernel_sinf): Force underflow exception for arguments with
33669         small absolute value.
33670         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
33671         (__kernel_sincosl): Force underflow exception for arguments with
33672         small absolute value.
33673         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
33674         (__kernel_sinl): Force underflow exception for arguments with
33675         small absolute value.
33676         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
33677         (__kernel_sincosl): Force underflow exception for arguments with
33678         small absolute value.
33679         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
33680         (__kernel_sinl): Force underflow exception for arguments with
33681         small absolute value.
33682         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
33683         (__kernel_sinl): Force underflow exception for arguments with
33684         small absolute value.
33685         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
33686         (__kernel_sinf): Force underflow exception for arguments with
33687         small absolute value.
33688         * math/auto-libm-test-in: Add more tests of sin and sincos.
33689         * math/auto-libm-test-out: Regenerated.
33691         [BZ #18245]
33692         [BZ #18583]
33693         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
33694         (__kernel_standard_l): Use feholdexcept and fesetenv around
33695         conversion to double instead of special-casing overflow and
33696         underflow.
33697         * math/libm-test.inc (fmod_test_data): Add more tests.
33698         (remainder_test_data): Likewise.
33699         (sqrt_test_data): Likewise.
33701 2015-06-23  Torvald Riegel  <triegel@redhat.com>
33703         [BZ #17403]
33704         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
33705         atomic_read_barrier, atomic_write_barrier): Define.
33706         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
33707         atomic_read_barrier, atomic_write_barrier): Define.
33709 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33711         * math/Makefile [$(PERL) != no]
33712         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
33713         dependency on libm-test.stmp below the inclusion of Rules.
33715 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
33717         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33718         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
33719         and included header.
33720         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
33721         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
33722         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
33723         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
33724         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
33725         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
33726         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
33727         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
33728         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
33729         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
33730         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
33731         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
33732         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
33733         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
33734         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
33735         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
33736         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
33737         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
33738         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
33740 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33742         [BZ #18371]
33743         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
33744         intermediate but not final result might underflow.
33745         * math/s_csqrtf.c (__csqrtf): Likewise.
33746         * math/s_csqrtl.c (__csqrtl): Likewise.
33747         * math/auto-libm-test-in: Add more tests of csqrt.
33748         * math/auto-libm-test-out: Regenerated.
33749         * sysdeps/i386/fpu/libm-test-ulps: Update.
33751         [BZ #18219]
33752         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
33753         threshold on absolute value of exponent for which scaling is used.
33754         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33755         * math/auto-libm-test-in: Add more tests of exp2.
33756         * math/auto-libm-test-out: Regenerated.
33758 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
33760         [BZ #17977]
33761         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
33762         when initializing interface list, based on the bug analysis
33763         and the patch proposed by Eric Newton.
33764         * resolv/tst-res_hconf_reorder.c: New test.
33765         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
33766         tst-res_hconf_reorder.
33767         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
33768         and $(shared-thread-library).
33769         (tst-res_hconf_reorder-ENV): New variable.
33771         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
33772         in comment.
33774 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
33776         [BZ #16353]
33777         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
33778         (__expm1): Force underflow exception for arguments with small
33779         absolute value.
33780         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
33781         (__expm1f): Force underflow exception for arguments with small
33782         absolute value.
33783         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
33784         (__expm1): Force underflow exception for arguments with small
33785         absolute value.
33786         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
33787         (__expm1f): Force underflow exception for arguments with small
33788         absolute value.
33789         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33790         Check for small arguments before calling __expm1.
33791         * math/auto-libm-test-in: Do not mark underflow exceptions as
33792         possibly missing for bug 16353.
33793         * math/auto-libm-test-out: Regenerated.
33795 2015-06-22  Andreas Schwab  <schwab@suse.de>
33797         [BZ #18513]
33798         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
33799         PTR queries.
33801 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
33803         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
33805         * string/strcoll_l.c: Remove unused struct element idxnow.
33807 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
33809         [BZ #18569]
33810         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
33811         underflow and return argument in case of subnormal argument.
33812         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33813         Likewise.
33814         * math/auto-libm-test-in: Add more tests of expm1.
33815         * math/auto-libm-test-out: Regenerated.
33817         [BZ #16361]
33818         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33819         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33820         tiny results.
33821         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33822         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33823         tiny results.
33824         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
33825         mark underflow exceptions as possibly missing for bug 16361.
33826         * math/auto-libm-test-out: Regenerated.
33828 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
33830         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
33831         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
33832         Remove variable.
33833         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33834         (test-xfail-XOPEN2K8/utmpx.h/conform).
33836         * conform/conformtest.pl ($xerrors): New variable.
33837         (note_error): New function.
33838         (compiletest): New argument $xfail.  Use not_error.
33839         (runtest): Likewise.
33840         (top level): Handle xfail- lines.  Update calls to compiletest and
33841         runtest.  Handle xfail- and optional- in headers listed with
33842         allow-header.
33843         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
33844         (O_EXEC): Likewise.
33845         (O_SEARCH): Likewise.
33846         * conform/data/stropts.h-data (ioctl): Likewise.
33847         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
33848         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
33849         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
33850         (msghdr.msg_controllen): Likewise.
33851         (cmsghdr.cmsg_len): Likewise.
33852         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
33853         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
33854         variable.
33855         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33856         (test-xfail-XPG4/stropts.h/conform): Likewise.
33857         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33858         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33859         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33860         (test-xfail-UNIX98/stropts.h/conform): Likewise.
33861         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33862         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33863         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33864         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33865         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33866         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33867         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33868         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33869         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33870         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33871         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33872         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
33873         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
33874         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
33875         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
33877 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
33879         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
33880         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
33881         definitions for proper unfolding of __MATHDECL_VEC.
33883 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33885         * benchtests/bench-strcoll.c:
33886         Include string.h.
33887         (main): Remove unused variable res.
33889 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33891         * timezone/Makefile (%/UTC %/Universal):
33892         Generate test-result files for UTC and Universal.
33894 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33896         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33898 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
33900         [BZ #16350]
33901         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
33902         for arguments with small absolute value.
33903         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
33904         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
33905         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
33906         (__asinh): Force underflow exception for arguments with small
33907         absolute value.
33908         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
33909         (__asinhf): Force underflow exception for arguments with small
33910         absolute value.
33911         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
33912         (__asinhl): Force underflow exception for arguments with small
33913         absolute value.
33914         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
33915         (__asinhl): Force underflow exception for arguments with small
33916         absolute value.
33917         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
33918         (__asinhl): Force underflow exception for arguments with small
33919         absolute value.
33920         * math/auto-libm-test-in: Do not mark underflow exceptions as
33921         possibly missing for bug 16350.
33922         * math/auto-libm-test-out: Regenerated.
33924         * include/bits/ipc.h: Remove file.
33925         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
33926         variable.
33927         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33928         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33929         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33930         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
33931         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
33932         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
33933         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
33934         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
33935         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
33937         * math/auto-libm-test-in: Remove spurious underflow allowance for
33938         tests of cexp.
33939         * math/auto-libm-test-out: Regenerated.
33941         [BZ #18558]
33942         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
33943         unconditional definition.
33944         (MCAST_BLOCK_SOURCE): Likewise.
33945         (MCAST_UNBLOCK_SOURCE): Likewise.
33946         (MCAST_LEAVE_GROUP): Likewise.
33947         (MCAST_JOIN_SOURCE_GROUP): Likewise.
33948         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33949         (MCAST_MSFILTER): Likewise.
33950         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
33951         Remove variable.
33952         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
33953         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33954         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
33955         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
33956         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
33958 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
33960         * NEWS: Mention addition of x86_64 vector sincosf.
33961         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
33962         * math/test-float-vlen4.h: Likewise.
33963         * math/test-float-vlen8.h: Likewise.
33964         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33965         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
33966         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33967         * sysdeps/x86_64/fpu/Versions: New versions added.
33968         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33969         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33970         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33971         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
33972         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
33973         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
33974         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
33975         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
33976         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
33977         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
33978         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
33979         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
33980         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
33981         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
33982         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
33983         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
33984         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
33985         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33986         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33987         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33988         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33989         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33990         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33991         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33993         * NEWS: Mention addition of x86_64 vector sincos.
33994         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
33995         * math/math.h (__MATHDECL_VEC): New macro.
33996         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
33997         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
33998         declaration under condition.
33999         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
34000         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
34001         TEST_VEC_LOOP change.
34002         * math/test-double-vlen4.h: Likewise.
34003         * math/test-double-vlen8.h: Likewise.
34004         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
34005         * math/test-float-vlen4.h: Likewise.
34006         * math/test-float-vlen8.h: Likewise.
34007         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34008         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
34009         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34010         * sysdeps/x86_64/fpu/Versions: New versions added.
34011         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34012         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34013         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34014         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
34015         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
34016         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
34017         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
34018         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
34019         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
34020         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
34021         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
34022         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
34023         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
34024         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
34025         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
34026         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
34027         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
34028         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34029         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34030         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34031         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34032         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34033         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34034         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34036         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34037         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34038         redirections for powf.
34039         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34040         * sysdeps/x86_64/fpu/Versions: New versions added.
34041         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34042         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34043         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34044         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
34045         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
34046         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
34047         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
34048         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
34049         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
34050         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
34051         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
34052         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
34053         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
34054         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
34055         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
34056         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
34057         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
34058         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34059         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34060         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34061         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34062         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34063         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34064         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34065         * math/test-float-vlen16.h: Fixed 2 argument macro.
34066         * math/test-float-vlen4.h: Likewise.
34067         * math/test-float-vlen8.h: Likewise.
34068         * NEWS: Mention addition of x86_64 vector powf.
34070 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
34072         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34073         and redefine.
34074         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34075         and redefine.
34076         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
34077         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34078         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34080         [BZ #18553]
34081         * resource/getpriority.c (getpriority): Rename to __getpriority
34082         and define as weak alias of __getpriority.
34083         * resource/setpriority.c (setpriority): Rename to __setpriority
34084         and define as weak alias of __setpriority.
34085         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
34086         __getpriority and define as weak alias of __getpriority.
34087         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
34088         __setpriority and define as weak alias of __setpriority.
34089         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
34090         strong name.
34091         (setpriority): Use __setpriority as strong name.
34092         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
34093         __getpriority and define as weak alias of __getpriority.
34094         * include/sys/resource.h (__getpriority): Declare.  Use
34095         libc_hidden_proto.
34096         (__setpriority): Likewise.
34097         (getpriority): Don't use libc_hidden_proto.
34098         (setpriority): Likewise.
34099         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
34100         getpriority.  Call __setpriority instead of setpriority.
34101         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
34102         Remove variable.
34104         [BZ #18547]
34105         * misc/getttyent.c (getttynam): Rename to __getttynam and define
34106         as weak alias of __getttynam.  Use prototype function definition.
34107         Call __setttyent, __getttyent and __endttyent instead of
34108         setttyent, getttyent and endttyent.
34109         (getttyent): Rename to __getttyent and define as weak alias of
34110         __getttyent.  Call __setttyent instead of setttyent.  Call
34111         __fgets_unlocked instead of fgets_unlocked.
34112         (setttyent): Rename to __setttyent and define as weak alias of
34113         __setttyent.
34114         (endttyent): Rename to __endttyent and define as weak alias of
34115         __endttyent.
34116         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
34117         (__setttyent): Likewise.
34118         (__endttyent): Likewise.
34119         (getttyent): Don't use libc_hidden_proto.
34120         (setttyent): Likewise.
34121         (endttyent): Likewise.
34122         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
34123         __endttyent instead of setttyent, getttyent and endttyent.
34124         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
34125         Remove variable.
34127         [BZ #18546]
34128         * socket/recv.c (__recv): Use libc_hidden_def.
34129         * socket/socket.c (__socket): Likewise.
34130         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
34131         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
34132         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
34133         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
34134         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
34135         libc_hidden_def.
34136         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
34137         libc_hidden_weak.
34138         * include/sys/socket.h (__socket): Do not use attribute_hidden.
34139         Use libc_hidden_proto.
34140         (__recv): Likewise.
34141         * socket/Versions (libc): Export __recv and __socket at version
34142         GLIBC_PRIVATE.
34143         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
34144         instead of recv.
34145         (init_mq_netlink): Call __socket instead of socket.
34146         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
34147         Remove variable.
34149         [BZ #18545]
34150         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
34151         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
34152         hidden_weak.
34153         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
34154         define as alias of __mq_timedsend.  Use hidden_weak.
34155         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
34156         __mq_timedsend as strong name.
34157         (mq_timedreceive): Use __mq_timedreceive as strong name.
34158         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
34159         (__mq_timedreceive): Likewise.
34160         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
34161         __mq_timedreceive instead of mq_timedreceive.
34162         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
34163         instead of mq_timedsend.
34164         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
34165         Remove variable.
34167         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
34168         hidden_def and hidden_weak instead of libc_hidden_def and
34169         libc_hidden_weak.
34170         (top level): Refer to hidden_def in comment.
34171         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
34172         macro.  Use it instead of libc_hidden_def.
34173         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
34174         specify __GI_* name explicitly.
34175         (mq_timedreceive): Likewise.
34176         (mq_setattr): Likewise.
34178         [BZ #18544]
34179         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
34180         __pthread_barrier_init and define as weak alias of
34181         __pthread_barrier_init.
34182         * sysdeps/sparc/nptl/pthread_barrier_init.c
34183         (pthread_barrier_init): Likewise.
34184         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
34185         __pthread_barrier_wait and define as weak alias of
34186         __pthread_barrier_wait.
34187         * sysdeps/sparc/nptl/pthread_barrier_wait.c
34188         (pthread_barrier_wait): Likewise.
34189         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
34190         (pthread_barrier_wait): Likewise.
34191         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
34192         (pthread_barrier_wait): Likewise.
34193         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
34194         (pthread_barrier_wait): Likewise.
34195         * nptl/Versions (libpthread): Export __pthread_barrier_init and
34196         __pthread_barrier_wait at version GLIBC_PRIVATE.
34197         * include/pthread.h (__pthread_barrier_init): Declare.
34198         (__pthread_barrier_wait): Likewise.
34199         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
34200         Call __pthread_barrier_wait instead of pthread_barrier_wait.
34201         (helper_thread): Likewise.
34202         (init_mq_netlink): Call __pthread_barrier_init instead of
34203         pthread_barrier_init.
34205         [BZ #18542]
34206         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
34207         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
34208         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
34209         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
34210         vswscanf.
34211         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
34212         Remove variable.
34214         [BZ #18540]
34215         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
34216         strong alias of _IO_fflush.  Use libc_hidden_def.
34217         * libio/iofflush_u.c (fflush_unlocked): Rename to
34218         __fflush_unlocked and define as weak alias of __fflush_unlocked.
34219         Use libc_hidden_weak.
34220         * include/stdio.h (__fflush_unlocked): Declare.  Use
34221         libc_hidden_proto.
34222         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
34223         fflush_unlocked.
34224         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
34225         Remove variable.
34227         [BZ #18539]
34228         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
34229         define as weak alias of __addseverity.
34230         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
34231         Remove variable.
34232         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
34233         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
34234         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
34236         [BZ #18536]
34237         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
34238         (__tfind): Likewise.
34239         (__tdelete): Likewise.
34240         (__twalk): Likewise.
34241         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
34242         __twalk to GLIBC_PRIVATE.
34243         * include/search.h (__tsearch): Use libc_hidden_proto.
34244         (__tfind): Likewise.
34245         (__tdelete): Likewise.
34246         (__twalk): Likewise.
34247         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
34248         Call __tdelete instead of tdelete.
34249         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
34250         tfind.  Call __tsearch instead of tsearch.
34251         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
34252         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
34253         Remove variable.
34254         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
34256         [BZ #18534]
34257         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
34258         (dprintf): Define as a weak alias of __dprintf, not a strong
34259         alias.
34260         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
34261         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
34262         dprintf.
34263         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
34264         Remove variable.
34265         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
34266         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
34268         [BZ #18533]
34269         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
34270         not a strong alias.
34271         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
34272         Remove variable.
34274         [BZ #18532]
34275         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
34276         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
34277         (in6addr_loopback): Rename to __in6addr_loopback and define as
34278         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
34279         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
34280         libc_hidden_proto.
34281         (__in6addr_any): Likewise.
34282         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
34283         in6addr_any.
34284         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
34285         variable.
34286         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
34288 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
34290         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
34291         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
34292         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34293         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34294         redirections for pow.
34295         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34296         * sysdeps/x86_64/fpu/Versions: New versions added.
34297         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34298         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34299         build of SSE, AVX2 and AVX512 IFUNC versions.
34300         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
34301         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
34302         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
34303         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
34304         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
34305         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
34306         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
34307         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
34308         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
34309         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
34310         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
34311         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
34312         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
34313         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
34314         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34315         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34316         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34317         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34318         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34319         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34320         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34321         * NEWS: Mention addition of x86_64 vector pow.
34323         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34324         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34325         redirections for expf.
34326         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34327         * sysdeps/x86_64/fpu/Versions: New versions added.
34328         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34329         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34330         build of SSE, AVX2 and AVX512 IFUNC versions.
34331         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
34332         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
34333         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
34334         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
34335         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
34336         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
34337         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
34338         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
34339         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
34340         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
34341         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
34342         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
34343         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
34344         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34345         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34346         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34347         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34348         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34349         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34350         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34351         * NEWS: Mention addition of x86_64 vector expf.
34353         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
34354         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
34355         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34356         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34357         redirections for exp.
34358         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34359         * sysdeps/x86_64/fpu/Versions: New versions added.
34360         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34361         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34362         build of SSE, AVX2 and AVX512 IFUNC versions.
34363         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
34364         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
34365         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
34366         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
34367         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
34368         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
34369         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
34370         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
34371         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
34372         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
34373         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
34374         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
34375         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
34376         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34377         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34378         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34379         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34380         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34381         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34382         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34383         * NEWS: Mention addition of x86_64 vector exp.
34385         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34386         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34387         redirections for logf.
34388         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34389         * sysdeps/x86_64/fpu/Versions: New versions added.
34390         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34391         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34392         build of SSE, AVX2 and AVX512 IFUNC versions.
34393         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
34394         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
34395         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
34396         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
34397         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
34398         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
34399         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
34400         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
34401         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
34402         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
34403         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
34404         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
34405         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
34406         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34407         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34408         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34409         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34410         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34411         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34412         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34413         * NEWS: Mention addition of x86_64 vector logf.
34415         * bits/libm-simd-decl-stubs.h: Added stubs for log.
34416         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
34417         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34418         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34419         redirections for log.
34420         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34421         * sysdeps/x86_64/fpu/Versions: New versions added.
34422         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34423         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34424         build of SSE, AVX2 and AVX512 IFUNC versions.
34425         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
34426         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
34427         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
34428         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
34429         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
34430         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
34431         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
34432         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
34433         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
34434         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
34435         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
34436         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
34437         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
34438         test.
34439         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34440         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34441         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34442         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34443         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34444         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34445         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34446         * NEWS: Mention addition of x86_64 vector log.
34448 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34450         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
34451         cfi_adjust_cfa_offset argument.
34452         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
34453         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
34455         [BZ #18034]
34456         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
34457         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
34458         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
34459         ordering using ldar.
34460         (_dl_tlsdesc_dynamic): Likewise.
34461         (_dl_tlsdesc_return_lazy): Likewise.
34462         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
34463         relaxed atomics instead of volatile and synchronize with release store.
34464         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
34465         volatile.
34466         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34468 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
34470         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34471         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
34472         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34473         * sysdeps/x86_64/fpu/Versions: New versions added.
34474         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34475         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34476         build of SSE, AVX2 and AVX512 IFUNC versions.
34477         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
34478         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
34479         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
34480         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
34481         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
34482         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
34483         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
34484         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
34485         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
34486         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
34487         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
34488         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
34489         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
34490         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34491         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34492         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34493         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34494         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34495         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34496         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34497         * NEWS: Mention addition of x86_64 vector sinf.
34499 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
34501         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
34502         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
34503         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
34504         Remove variable.
34505         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
34506         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
34508 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
34510         [BZ #18530]
34511         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
34512         strong alias of _IO_fputs.  Use libc_hidden_def.
34513         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
34514         and define as weak alias of __fputs_unlocked.  Use
34515         libc_hidden_weak.
34516         * include/stdio.h (__fputs_unlocked): Declare.  Use
34517         libc_hidden_proto.
34518         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
34519         fputs_unlocked.
34521         [BZ #18529]
34522         * resolv/netdb.h [__USE_POSIX]: Change condition to
34523         [__USE_XOPEN2K].
34524         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
34525         not expect.
34526         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
34527         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
34528         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
34529         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
34530         [XPG4 || UNIX98] (AI_ALL): Likewise.
34531         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
34532         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
34533         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
34534         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
34535         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
34536         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
34537         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
34538         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
34539         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
34540         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
34541         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
34542         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
34543         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
34544         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
34545         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
34546         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
34547         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
34548         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
34549         [XPG4 || UNIX98] (gai_strerror): Likewise.
34550         [XPG4 || UNIX98] (getaddrinfo): Likewise.
34551         [XPG4 || UNIX98] (getnameinfo): Likewise.
34553         [BZ #18528]
34554         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
34555         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
34556         __USE_XOPEN2K8].
34557         (getgrent): Likewise.
34558         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
34559         expect.
34560         [XPG3 || POSIX2008] (endgrent): Likewise.
34561         [XPG3] (setgrent): Likewise.
34562         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
34563         variable.
34564         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
34566         [BZ #18527]
34567         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
34568         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
34569         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
34570         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
34571         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
34572         * include/unistd.h (__getlogin_r): Declare.  Use
34573         libc_hidden_proto.
34574         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
34575         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
34576         variable.
34577         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
34578         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
34579         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
34581 2015-06-12  Martin Sebor  <msebor@redhat.com>
34583         [BZ #18512]
34584         * Makerules (check-install-supported): New target.
34585         (install): Add check-install-supported as a dependency.
34586         * manual/install.texi (Installing the C Library): Document
34587         that overriding prefix and exec_prefix is not supported.
34588         Mention DESTDIR.
34589         * INSTALL: Regenerate from the above.
34591 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
34593         [BZ #18519]
34594         * posix/Versions (libc): Export __libc_pread at version
34595         GLIBC_PRIVATE.
34596         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
34597         instead of pread.
34598         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
34599         variable.
34601         [BZ #18522]
34602         * misc/efgcvt_r.c
34603         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
34604         (cvt_symbol): Use weak_alias instead of strong_alias.
34605         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
34606         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
34607         Remove variable.
34608         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
34609         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
34611         [BZ #18520]
34612         * inet/herrno.c (h_errno): Rename to __h_errno.
34613         (__libc_h_errno): Define as alias of __h_errno not h_errno.
34614         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
34615         to __h_errno instead of h_errno.
34616         * nptl/herrno.c (h_errno): Rename to __h_errno.
34617         (__h_errno_location): Refer to __h_errno not h_errno.
34618         * resolv/Versions (h_errno): Rename to __h_errno.
34619         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
34620         Remove variable.
34621         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
34623 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
34625         * configure.ac: More strict check for AVX512 assembler support.
34626         * configure: Regenerated.
34628         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
34629         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
34630         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34631         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
34632         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34633         * sysdeps/x86_64/fpu/Versions: New versions added.
34634         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34635         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34636         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34637         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
34638         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
34639         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
34640         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
34641         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
34642         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
34643         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
34644         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
34645         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
34646         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
34647         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
34648         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
34649         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
34650         test.
34651         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34652         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34653         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34654         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34655         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34656         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34657         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34658         * NEWS: Mention addition of x86_64 vector sin.
34660 2015-06-11  Florian Weimer  <fweimer@redhat.com>
34662         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
34663         comment.
34665 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
34667         [BZ #18479]
34668         * nptl/pt-interp.c: New file.
34669         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
34670         Add pt-interp.
34671         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
34672         $(common-objpfx)runtime-linker.h.
34674 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
34676         * Makeconfig (+interp): Remove unused variable.
34677         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
34678         only.  Depend on $(common-objpfx)runtime-linker.h instead of
34679         $(elf-objpfx)runtime-linker.h.
34680         ($(elf-objpfx)runtime-linker.h): Rename to
34681         $(common-objpfx)runtime-linker.h and move ...
34682         * Makerules [$(build-shared) = yes]: ... here.
34683         * elf/interp.c: Include <runtime-linker.h> instead of
34684         <elf/runtime-linker.h>.
34686 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34688         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
34689         (__gettimeofday_syscall): Remove vsyscall fallback.
34690         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
34691         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
34692         Add syscall fallback function.
34693         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
34694         if vDSO is not present.
34695         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
34696         fallback function.
34697         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
34698         present.
34699         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
34700         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34702 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
34704         [BZ #18497]
34705         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
34706         of wcscmp.
34707         (wcscmp): Define as weak alias of WCSCMP.
34708         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
34709         wcscoll.
34710         (USE_HIDDEN_DEF): Define.
34711         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
34712         __wcscoll.  Don't use libc_hidden_weak.
34713         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
34714         wcscmp.
34715         * sysdeps/i386/i686/multiarch/wcscmp-c.c
34716         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
34717         __GI_wcscmp.
34718         (weak_alias): Undefine and redefine.
34719         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
34720         __wcscmp and define as weak alias of __wcscmp.
34721         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
34722         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
34723         (__wcscoll): Likewise.
34724         (wcscmp): Don't use libc_hidden_proto.
34725         (wcscoll): Likewise.
34726         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
34727         wcscoll.
34728         * posix/regexec.c (check_node_accept_bytes): Likewise.
34729         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
34730         variable.
34731         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
34732         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
34734         [BZ #18507]
34735         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
34736         __fstatvfs and define as weak alias of __fstatvfs.  Use
34737         libc_hidden_weak.
34738         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
34739         and define as weak alias of __statvfs.  Use libc_hidden_weak.
34740         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
34741         Define as alias of __fstatvfs, not fstatvfs.
34742         (fstatvfs64): Likewise.
34743         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
34744         Define as alias of __statvfs, not statvfs.
34745         (statvfs64): Likewise.
34746         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
34747         Remove variable.
34749 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34752         (HAVE_GETCPU_VSYSCALL): Define.
34753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34754         (HAVE_GETCPU_VSYSCALL): Likewise.
34755         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
34756         * sysdeps/unix/sysv/linux/sched_getcpu.c
34757         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
34758         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
34759         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
34760         prototype.
34761         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34762         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
34763         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
34764         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
34765         Define.
34766         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
34767         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34768         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
34769         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34771 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
34773         * sysdeps/x86_64/fpu/Makefile: New file.
34774         * sysdeps/x86_64/fpu/Versions: New file.
34775         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
34776         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
34777         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
34778         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
34779         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
34780         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
34781         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
34782         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
34783         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
34784         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
34785         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
34786         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
34787         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
34788         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34789         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34790         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
34791         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
34792         * sysdeps/x86_64/configure.ac: Options for libmvec build.
34793         * sysdeps/x86_64/configure: Regenerated.
34794         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
34795         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
34796         * manual/install.texi (Configuring and compiling): Document
34797         --disable-mathvec.
34798         * INSTALL: Regenerated.
34799         * NEWS: Mention addition of libmvec and x86_64 vector cos.
34801         * math/Makefile: Added rules for vector tests.
34802         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
34803         declaration under condition.
34804         * math/test-double-vlen2.h: New file.
34805         * math/test-double-vlen4.h: New file.
34806         * math/test-double-vlen8.h: New file.
34807         * math/test-vec-loop.h: Added initialization macro.
34808         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
34809         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
34810         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
34811         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
34812         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
34813         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
34814         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
34815         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
34816         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
34817         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
34818         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
34820         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34821         * sysdeps/x86_64/fpu/Versions: New versions added.
34822         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
34823         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
34824         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
34825         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
34826         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
34827         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
34828         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
34829         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
34830         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
34831         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
34832         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
34833         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
34834         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
34835         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34836         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34837         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34838         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
34839         * NEWS: Mention addition of x86_64 vector cosf.
34841         * math/Makefile: Added CFLAGS for new tests.
34842         * math/test-float-vlen16.h: New file.
34843         * math/test-float-vlen4.h: New file.
34844         * math/test-float-vlen8.h: New file.
34845         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
34846         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
34847         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34848         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
34849         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
34850         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
34851         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
34852         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
34853         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
34854         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
34855         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
34857 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
34859         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
34860         * locale/programs/ld-ctype.c: Likewise.
34862 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
34864         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
34865         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
34866         bit_ZMM16_31_state): New macro.
34867         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34868         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
34870 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
34872         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
34874 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
34876         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
34878 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
34880         [BZ #18498]
34881         * libio/memstream.c (open_memstream): Rename to __open_memstream
34882         and define as weak alias of __open_memstream.
34883         * include/stdio.h (__open_memstream): Declare.  Use
34884         libc_hidden_proto.
34885         (open_memstream): Don't use libc_hidden_proto.
34886         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
34887         open_memstream.
34888         * posix/getopt.c (_getopt_internal_r): Likewise.
34889         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
34890         variable.
34891         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
34892         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
34893         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
34895         [BZ #18496]
34896         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
34897         instead of wcrtomb.
34899         [BZ #18483]
34900         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
34901         [__USE_XOPEN2K8].  Remove redundant #endif.
34902         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
34903         Remove redundant #if.
34904         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
34905         Remove variable.
34906         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
34907         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
34909         [BZ #18495]
34910         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
34911         (__iswlower): Likewise.
34912         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
34913         (__iswlower): Likewise.
34914         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
34915         instead of towlower.
34916         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
34917         instead of iswlower.  Call __towupper instead of towupper.
34918         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
34919         instead of iswalnum.
34921 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34923         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
34924         errors to stderr.
34926 2015-06-05  Florian Weimer  <fweimer@redhat.com>
34928         [BZ #15661]
34929         [BZ #17322]
34930         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
34931         Check for overflow properly.  Check for O_APPEND.  Ignore large
34932         file system block sizes.  Add comments about problems.
34933         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
34934         * manual/filesys.texi (Storage Allocation): New node.
34936 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34938         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
34939         cancellable syscalls.
34940         (SYS_ify): Add guard to no redefine it.
34941         (INLINE_SYSCALL): Likewise.
34942         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
34943         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
34944         SYSCALL_CANCEL instead.
34945         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
34946         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
34947         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
34948         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
34949         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
34950         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
34951         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
34952         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
34953         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
34954         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
34955         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
34956         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
34957         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
34958         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
34959         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
34960         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
34961         Likewise.
34962         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
34963         (__libc_pread64): Likewise.
34964         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
34965         (__libc_preadv): Likewise.
34966         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
34967         (__libc_readv64): Likewise.
34968         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
34969         (__libc_pwrite): Likewise.
34970         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
34971         (__libc_pwrite64): Likewise.
34972         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
34973         (__libc_pwritev): Likewise.
34974         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
34975         (__libc_pwritev64): Likewise.
34976         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
34977         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
34978         (sync_file_range): Likewise.
34979         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
34980         Likewise.
34981         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
34982         Likewise.
34983         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34984         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34985         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34986         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34987         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34988         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34989         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
34990         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
34991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34992         Likewise.
34993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34994         (__libc_read64): Likewise.
34995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
34996         Likewise.
34997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
34998         Likewise.
34999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
35000         Likewise.
35001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
35002         Likewise.
35003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35004         (__libc_pread64): Likewise.
35005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
35006         Likewise.
35007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35008         (__libc_pwrite64): Likewise.
35009         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
35010         (sync_file_range): Likewise.
35011         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
35012         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35013         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35014         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
35015         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
35016         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35017         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35018         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
35019         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
35020         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
35021         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35022         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35023         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35024         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35025         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
35026         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35027         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35028         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35029         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35030         Likewise.
35031         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
35032         Likewise.
35033         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
35034         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
35035         Likewise.
35036         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
35037         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
35038         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
35039         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
35040         Likewise.
35041         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
35042         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
35043         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
35044         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
35045         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
35047 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
35049         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
35050         Include dl-vdso.
35051         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
35052         Use VDSO routines for gettimeofday, clock_gettime if
35053         available.
35054         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
35055         Declare VDSO symbols.
35056         * sysdeps/unix/sysv/linux/arm/sysdep.h:
35057         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
35058         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35059         * sysdeps/unix/sysv/linux/arm/Versions: Add
35060         __vdso_clock_gettime.
35062 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35064         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
35065         be an inline implementation regardless of library is built within.
35066         (open_not_cancel_2): Likewise.
35067         (__read_nocancel): Likewise.
35068         (__write_nocancel): Likewise.
35069         (openat_not_cancel): Likewise.
35070         (openat_not_cancel_3): Likewise.
35071         (openat64_not_cancel): Likewise.
35072         (openat64_not_cancel_3): Likewise.
35073         (__close_nocancel): Likewise.
35074         (pause_not_cancel): Likewise.
35075         (nanosleep_not_cancel): Likewise.
35076         (sigsuspend_not_cancel): Likewise.
35078 2015-06-04  Torvald Riegel  <triegel@redhat.com>
35080         [BZ #14958]
35081         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
35082         wake-up.
35083         (__pthread_rwlock_rdlock_slow): Likewise.
35084         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35085         Likewise.
35086         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
35087         Likewise.
35088         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
35089         * nptl/tst-rwlock16.c: New file.
35090         * nptl/Makefile (tests): Add new test.
35092 2015-06-04  Torvald Riegel  <triegel@redhat.com>
35094         [BZ #18324]
35095         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
35096         missing wake-up of readers.
35097         * nptl/tst-rwlock15.c: New file.
35098         * nptl/Makefile (tests): Add new test.
35100 2015-06-03  Roland McGrath  <roland@hack.frob.com>
35102         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
35103         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
35104         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
35105         and __nacl_supply_interface_rtld.
35106         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
35107         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
35108         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
35109         Add __nacl_supply_interface_rtld.
35110         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
35112 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
35114         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
35115         isfinite.
35116         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35117         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
35119 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
35121         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
35122         __signbit* with standard C99 macros.
35123         * math/e_exp10l.c: Likewise.
35124         * math/e_exp2l.c: Likewise.
35125         * math/e_scalb.c: Likewise.
35126         * math/e_scalbf.c: Likewise.
35127         * math/e_scalbl.c: Likewise.
35128         * math/s_ldexp.c: Likewise.
35129         * math/s_ldexpf.c: Likewise.
35130         * math/s_ldexpl.c: Likewise.
35131         * math/w_atan2.c: Likewise.
35132         * math/w_atan2f.c: Likewise.
35133         * math/w_atan2l.c: Likewise.
35134         * math/w_cosh.c: Likewise.
35135         * math/w_coshf.c: Likewise.
35136         * math/w_coshl.c: Likewise.
35137         * math/w_exp10.c: Likewise.
35138         * math/w_exp10f.c: Likewise.
35139         * math/w_exp10l.c: Likewise.
35140         * math/w_exp2.c: Likewise.
35141         * math/w_exp2f.c: Likewise.
35142         * math/w_exp2l.c: Likewise.
35143         * math/w_fmod.c: Likewise.
35144         * math/w_fmodf.c: Likewise.
35145         * math/w_fmodl.c: Likewise.
35146         * math/w_hypot.c: Likewise.
35147         * math/w_hypotf.c: Likewise.
35148         * math/w_hypotl.c: Likewise.
35149         * math/w_jnl.c: Likewise.
35150         * math/w_lgamma.c: Likewise.
35151         * math/w_lgamma_r.c: Likewise.
35152         * math/w_lgammaf.c: Likewise.
35153         * math/w_lgammaf_r.c: Likewise.
35154         * math/w_lgammal.c: Likewise.
35155         * math/w_lgammal_r.c: Likewise.
35156         * math/w_pow.c: Likewise.
35157         * math/w_powf.c: Likewise.
35158         * math/w_powl.c: Likewise.
35159         * math/w_remainder.c: Likewise.
35160         * math/w_remainderf.c: Likewise.
35161         * math/w_remainderl.c: Likewise.
35162         * math/w_scalb.c: Likewise.
35163         * math/w_scalbf.c: Likewise.
35164         * math/w_scalbl.c: Likewise.
35165         * math/w_scalbln.c: Likewise.
35166         * math/w_scalblnf.c: Likewise.
35167         * math/w_scalblnl.c: Likewise.
35168         * math/w_sinh.c: Likewise.
35169         * math/w_sinhf.c: Likewise.
35170         * math/w_sinhl.c: Likewise.
35171         * math/w_tgamma.c: Likewise.
35172         * math/w_tgammaf.c: Likewise.
35173         * math/w_tgammal.c: Likewise.
35174         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35175         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
35176         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35177         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35178         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35179         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35180         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35181         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35182         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35183         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35184         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35185         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35186         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35187         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35188         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35189         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35190         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35191         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35192         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35193         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35194         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35195         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35196         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35197         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35198         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35199         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35200         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
35201         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35202         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35203         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35204         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
35205         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
35206         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
35207         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
35208         * stdio-common/printf_fp.c: Likewise.
35209         * stdio-common/printf_fphex.c: Likewise.
35210         * stdio-common/printf_size.c: Likewise.
35212 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
35214         [BZ #18470]
35215         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
35216         strnlen.
35217         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
35218         Remove variable.
35219         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35220         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35221         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35222         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35223         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35224         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35225         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35226         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35227         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35228         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35230         [BZ #18468]
35231         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
35232         weak alias of __wmemchr.  Use libc_hidden_weak.
35233         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
35234         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
35235         instead of wmemchr.
35237 2015-06-02  Roland McGrath  <roland@hack.frob.com>
35239         [BZ #18383]
35240         * elf/tst-tlsalign-extern.c: New file.
35241         * elf/tst-tlsalign-extern-static.c: New file.
35242         * elf/tst-tlsalign-vars.c: New file.
35243         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
35244         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
35245         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
35246         ($(objpfx)tst-tlsalign-extern-static): Likewise.
35247         (test-xfail-tst-tlsalign-extern-static): New variable.
35249 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
35251         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
35252         Use variable name _sc_err instead of err.
35253         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
35254         instead of ret.
35255         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
35256         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
35257         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
35258         (INLINE_SYSCALL): Likewise.
35260         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
35261         * include/string.h (__strnlen): Use libc_hidden_proto.
35262         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
35263         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
35264         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
35265         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
35266         (libc_hidden_def): Undefine and redefine.
35267         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
35268         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
35269         __GI_strnlen.
35270         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
35271         libc_hidden_def.
35272         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
35274         [BZ #18469]
35275         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
35276         weak alias of __towlower.  Use libc_hidden_weak.
35277         (towupper): Rename to __towupper and define as weak alias of
35278         __towupper.  Use libc_hidden_weak.
35279         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
35280         (__towupper): Likewise.
35281         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
35282         __towlower instead of towlower.
35284 2015-06-02  Roland McGrath  <roland@hack.frob.com>
35286         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
35287         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
35289 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35291         * sysdeps/aarch64/libm-test-ulps: Update.
35293 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35295         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
35296         Define.
35297         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35298         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35299         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35300         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35301         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
35302         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
35303         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
35305 2015-06-01  Martin Sebor  <msebor@redhat.com>
35307         [BZ #18116]
35308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35309         (__setcontext): Use extended four-operand version of mtsf whenever
35310         possible.
35311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35312         (__novec_swapcontext): Likewise.
35314 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35316         * benchtests/scripts/compare_bench.py: New file.
35317         * benchtests/scripts/import_bench.py (mean): New function.
35318         (split_list): Likewise.
35319         (do_for_all_timings): Likewise.
35320         (compress_timings): Likewise.
35322         * benchtests/scripts/import_bench.py: New file.
35323         * benchtests/scripts/validate_benchout.py: Import import_bench
35324         instead of jsonschema.
35325         (validate_bench): Remove function.
35326         (main): Use import_bench.
35328 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
35330         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
35331         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
35333 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35337 2015-05-28  Roland McGrath  <roland@hack.frob.com>
35339         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
35340         set THREAD_SELF->tid to a magic value and futex-wake it.
35341         Pass its address to the thread_exit system call.
35342         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
35343         bit is clear.
35344         * sysdeps/nacl/lowlevellock.h: New file.
35345         * sysdeps/nacl/lll_timedwait_tid.c: New file.
35347         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
35348         Add TIMEOUT to current time, don't subtract it.
35350 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
35352         [BZ #2981]
35353         [BZ #18422]
35354         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
35355         ($(objpfx)tst-audit2.out): Also depend on
35356         $(objpfx)tst-auditmod9b.so.
35357         * elf/tst-audit2.c: Include <dlfcn.h>.
35358         (calloc_called): New.
35359         (calloc): Allow to be called more than once.
35360         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
35362 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
35364         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
35365         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
35367 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
35369         * stdlib/monetary.h: Fix comment.
35371 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
35373         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
35374         Avoid using variables in #defines that might cause shadowing.
35375         (INTERNAL_VSYSCALL_CALL): Likewise.
35377 2015-05-26  Roland McGrath  <roland@hack.frob.com>
35379         * sysdeps/nacl/lll_timedlock_wait.c: New file.
35381         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
35382         * nptl/lll_timedlock_wait.c: ... to this new file.
35383         * nptl/Makefile (libpthread-routines): Add it.
35384         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
35385         * nptl/lll_timedwait_tid.c: ... to this new file.
35386         * nptl/Makefile (libpthread-routines): Add it.
35387         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
35388         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
35389         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
35390         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
35391         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
35392         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
35393         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
35394         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
35395         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
35396         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
35398 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35400         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
35401         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35402         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
35403         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
35404         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
35405         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35406         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35407         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35408         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35409         * sysdeps/unix/sysv/linux/tile/sysdep.h
35410         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35411         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
35412         using vDSO syscall macro.
35414 2015-05-26  Andriy Rysin  <arysin@gmail.com>
35416         [BZ #17293]
35417         * uk_UA: Fix sorting order for Ukrainian locale
35419 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
35421         * stdlib/monetary.h: Fix comment.
35423 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35425         [BZ #18234]
35426         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
35427         st_mtim and st_ctim members.
35428         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
35429         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
35430         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
35431         (struct stat64): Likewise.
35432         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
35433         (struct stat64): Likewise.
35434         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
35435         (struct stat64): Likewise.
35437 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35439         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
35440         Define and include sysdep-vdso.h.
35441         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
35442         Likewise.
35443         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
35444         Likewise.
35445         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
35446         Define with VDSO_SYMBOL and use PTR_MANGLE.
35447         (__vdso_clock_gettime): Likewise.
35448         (__vdso_clock_getres): Likewise.
35449         (_libc_vdso_platform_setup): Likewise.
35450         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
35451         Likewise.
35452         (_libc_vdso_platform_setup): Likewise.
35453         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
35454         Likewise.
35455         (__vdso_clock_gettime): Likewise.
35456         (__vdso_clock_getres): Likewise.
35457         (__vdso_get_tbfreq): Likewise.
35458         (__vdso_getcpu): Likewise.
35459         (__vdso_time): Likewise.
35460         (__vdso_sigtramp_rt64): Likewise.
35461         (__vdso_signtramp32): Likewise.
35462         (__vdso_sigtramp_rt32): Likewise.
35463         (_libc_vdso_platform_setup): Likewise.
35464         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
35465         Likewise.
35466         (__vdso_clock_gettime): Likewise.
35467         (__vdso_clock_getres): Likewise.
35468         (_libc_vdso_platform_setup): Likewise.
35469         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
35470         Likewise.
35471         (__vdso_clock_gettime): Likewise.
35472         (_libc_vdso_platform_setup): Likewise.
35473         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
35474         Likewise.
35475         (__vdso_getcpu): Likewise.
35476         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
35477         Use VDSO_SYMBOL macro to define.
35478         (__vdso_clock_gettime): Likewise.
35479         (__vdso_clock_getres): Likewise.
35480         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
35481         Likewise.
35482         (__vdso_clock_gettime): Likewise.
35483         (__vdso_clock_getres): Likewise.
35484         (__vdso_get_tbfreq): Likewise.
35485         (__vdso_getcpu): Likewise.
35486         (__vdso_time): Likewise.
35487         (__vdso_sigtramp_rt64): Likewise.
35488         (__vdso_signtramp32): Likewise.
35489         (__vdso_sigtramp_rt32): Likewise.
35490         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
35491         Likewise.
35492         (__vdso_clock_gettime): Likewise.
35493         (__vdso_clock_getres): Likewise.
35494         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
35495         Likewise.
35496         (__vdso_clock_gettime): Likewise.
35497         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
35498         Likewise.
35499         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
35500         macro.
35501         (INTERNAL_VSYSCALL): Likewise.
35502         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
35503         Remove macro.
35504         (INTERNAL_VSYSCALL): Likewise.
35505         (INTERNAL_VSYSCALL_NCS): Likewise.
35506         (INTERNAL_VSYSCALL_CALL): New macro.
35507         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
35508         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
35509         Likewise.
35510         (INTERNAL_VSYSCALL): Likewise.
35511         (INTERNAL_VSYSCALL_NCS): Likewise.
35512         (INTERNAL_VSYSCALL_CALL): New macro.
35513         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
35514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35515         (INLINE_VSYSCALL): Remove macro.
35516         (INTERNAL_VSYSCALL): Remove macro.
35517         (INTERNAL_VSYSCALL_NCS): Remove macro.
35518         (INTERNAL_VSYSCALL_CALL): New macro.
35519         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
35520         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
35521         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
35522         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
35523         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35525         (INLINE_VSYSCALL): Remove macro.
35526         (INTERNAL_VSYSCALL): Likewise.
35527         (INTERNAL_VSYSCALL_NCS): Likewise.
35528         (INTERNAL_VSYSCALL_CALL): New macro.
35529         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
35530         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
35531         PTR_DEMANGLE on vDSO pointer.
35532         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
35533         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
35534         macro.
35535         (INTERNAL_SYSCALL): Likewise.
35536         (INTERNAL_VSYSCALL_NCS): Remove macro.
35537         (INTERNAL_VSYSCALL_CALL): New macro.
35538         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
35539         Remove macro.
35540         (INTERNAL_VSYSCALL): Likewise.
35541         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
35542         sysdep-vdso.h instead of libc-vdso.h.
35543         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
35544         definition.
35545         (INLINE_VSYSCALL): Likewise.
35546         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
35547         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
35548         definition.
35549         (INLINE_VSYSCALL): Likewise.
35550         (INTERNAL_VSYSCALL): Likewise.
35551         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35552         * sysdeps/unix/sysv/linux/timespec_get.c
35553         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35554         (timespec_get): Use ANSI prototype.
35555         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
35556         and definition for Linux.
35558 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
35560         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
35561         * include/libc-symbols.h: libmvec_hidden_* macro series added.
35563 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35565         [BZ #2981]
35566         [BZ #18410]
35567         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
35568         for missing DT_PLTRELSZ.
35570 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35572         Remove obsolete aliases that broke 'locale -a'
35573         [BZ #18412]
35574         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
35575         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
35576         breaking some applications that use 'locale -a' output.
35577         Change the encoding of this file from Latin-1 to ASCII to avoid
35578         other potential problems with people grepping this file.
35580 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35582         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
35583         -fasynchronous-unwind-tables.
35584         (CFLAGS-sendto.c): Likewise.
35585         (CFLAGS-sendmsg.c): Likewise.
35586         (CFLAGS-connect.c): Likewise.
35587         (CFLAGS-recvmsg.c): Likewise.
35588         (CFLAGS-recvfrom.c): Likewise.
35589         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
35590         (SOCKETCALL): New macro: non-cancellable socketcall.
35591         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
35592         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
35593         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
35594         * sysdeps/unix/sysv/linux/accept.c: New file.
35595         * sysdeps/unix/sysv/linux/bind.c: Likewise.
35596         * sysdeps/unix/sysv/linux/connect.c: Likewise.
35597         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
35598         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
35599         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
35600         * sysdeps/unix/sysv/linux/listen.c: Likewise.
35601         * sysdeps/unix/sysv/linux/recv.c: Likewise.
35602         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
35603         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
35604         * sysdeps/unix/sysv/linux/send.c: Likewise.
35605         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
35606         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
35607         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
35608         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
35609         * sysdeps/unix/sysv/linux/socket.c: Likewise.
35610         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
35611         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
35612         prototype.
35613         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
35614         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35615         instead of __internal_xxx function.
35616         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
35617         prototype.
35618         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
35619         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35620         instead of __internal_xxx function.
35621         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
35622         prototype.
35623         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
35624         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35625         instead of __internal_xxx function.
35626         * sysdeps/unix/sysv/linux/accept.S: Remove file.
35627         * sysdeps/unix/sysv/linux/bind.S: Likewise.
35628         * sysdeps/unix/sysv/linux/connect.S: Likewise.
35629         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
35630         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
35631         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
35632         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
35633         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
35634         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
35635         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
35636         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
35637         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35638         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
35639         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
35640         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
35641         * sysdeps/unix/sysv/linux/listen.S: Likewise.
35642         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
35643         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
35644         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
35645         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
35646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
35647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
35648         * sysdeps/unix/sysv/linux/recv.S: Likewise.
35649         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
35650         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
35651         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
35652         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35653         * sysdeps/unix/sysv/linux/send.S: Likewise.
35654         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
35655         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
35656         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
35657         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
35658         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
35659         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
35660         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
35661         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
35662         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
35663         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
35664         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
35665         socketcall is implemented in GLIBC.
35667 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35669         * soft-fp/fmadf4.c: Include <libc-internal.h>.
35670         (__fma): Ignore uninitialized warnings around packing.
35671         * soft-fp/fmasf4.c: Include <libc-internal.h>.
35672         (__fmaf): Ignore uninitialized warnings around packing.
35673         * soft-fp/fmatf4.c: Include <libc-internal.h>.
35674         (__fmal): Ignore uninitialized warnings around packing.
35676         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
35677         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35678         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
35679         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35681         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
35682         switch statement into default case.
35683         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
35685         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
35686         a conditional in forcing "inexact".
35687         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35688         Likewise.
35690 2015-05-22  Roland McGrath  <roland@hack.frob.com>
35692         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35693         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
35694         for each INTERNAL_SYSCALL use.
35696 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35698         [BZ #438]
35699         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
35700         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
35701         variable.
35703         [BZ #18444]
35704         * string/basename.c (basename): Rename to __basename and define as
35705         weak alias of __basename.  Use libc_hidden_weak.
35706         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
35707         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
35708         __basename instead of basename.
35709         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
35710         Remove variable.
35711         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35713 2015-05-18  Florian Weimer  <fweimer@redhat.com>
35715         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
35716         (_IO_JUMPS_FILE_plus): New.
35717         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
35718         _IO_CAST_FIELD_ACCESS.
35719         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
35720         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
35721         * libio/freopen.c (freopen): Likewise.
35722         * libio/freopen64.c (freopen64): Likewise.
35723         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
35724         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
35725         * libio/iofwide.c (_IO_fwide): Likewise.
35726         * libio/memstream.c (open_memstream): Likewise.
35727         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35728         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
35729         * libio/oldiopopen.c (_IO_old_popen): Likewise.
35731 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
35733         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
35734         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
35735         NADJ.
35736         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
35737         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
35738         NADJ.
35739         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
35740         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
35741         NADJ.
35743         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
35744         (p == 4) case.
35746         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
35747         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
35748         Remove variable.
35749         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35750         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35751         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35753 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35755         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
35756         Adjust jump table label generation macros.
35758 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35760         * stdio-common/vfprintf.c (vfprintf): Move local variables
35761         args_malloced, specs, specs_malloced, and the code after
35762         do_positional to the printf_positional function.
35763         (printf_positional): New function.
35765 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35767         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
35768         function.
35769         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
35770         STEP4_TABLE, process_arg): Move macro definitions
35771         out of the vfprintf function.  (Cosmetic change only.)
35773 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
35775         * benchtests/Makefile (stdio-common-bench): Define.
35776         (benchset): Add stdio-common-bench.
35777         * sprintf-inputs: New file.
35778         * sprintf-source.c: New file.
35780 2015-05-21  Andreas Schwab  <schwab@suse.de>
35782         [BZ #13028]
35783         [BZ #17053]
35784         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
35785         of struct __res_state.
35786         * resolv/res_send.c (__libc_res_nsend): Likewise.
35787         (get_nsaddr): New function.
35788         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
35789         statp directly.
35791 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
35793         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
35794         -D_POSIX_C_SOURCE=199506L.
35796         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
35798         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
35799         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
35800         Do not mention otherwise.
35801         [POSIX] (_XOPEN_VERSION): Do not expect.
35802         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
35803         [POSIX] (_POSIX2_C_BIND): Likewise.
35804         [POSIX] (_POSIX2_VERSION): Likewise.
35805         [POSIX] (_XOPEN_XPG2): Likewise.
35806         [POSIX] (_XOPEN_XPG3): Likewise.
35807         [POSIX] (_XOPEN_XPG4): Likewise.
35808         [POSIX] (_XOPEN_UNIX): Likewise.
35809         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
35810         [POSIX] (_POSIX_BARRIERS): Likewise.
35811         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
35812         [POSIX] (_POSIX_CPUTIME): Likewise.
35813         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
35814         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
35815         [POSIX] (_POSIX_SHELL): Likewise.
35816         [POSIX] (_POSIX_SPAWN): Likewise.
35817         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
35818         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
35819         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
35820         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
35821         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
35822         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
35823         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
35824         [POSIX] (_XBS5_LP64_OFF64): Likewise.
35825         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
35826         [POSIX] (_POSIX_TIMEOUTS): Likewise.
35827         [POSIX] (_POSIX2_PBS): Likewise.
35828         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
35829         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
35830         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
35831         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
35832         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
35833         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
35834         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
35835         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
35836         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
35837         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
35838         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
35839         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
35840         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
35841         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
35842         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
35843         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
35844         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
35845         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
35846         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
35847         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
35848         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
35849         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
35850         [POSIX] (_SC_2_C_BIND): Likewise.
35851         [POSIX] (_SC_2_C_VERSION): Likewise.
35852         [POSIX] (_SC_2_PBS): Likewise.
35853         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
35854         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
35855         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
35856         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
35857         [POSIX] (_SC_2_PBS_TRACK): Likewise.
35858         [POSIX] (_SC_ATEXIT_MAX): Likewise.
35859         [POSIX] (_SC_BARRIERS): Likewise.
35860         [POSIX] (_SC_BASE): Likewise.
35861         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
35862         [POSIX] (_SC_DEVICE_IO): Likewise.
35863         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
35864         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
35865         [POSIX] (_SC_FD_MGMT): Likewise.
35866         [POSIX] (_SC_FIFO): Likewise.
35867         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
35868         [POSIX] (_SC_FILE_LOCKING): Likewise.
35869         [POSIX] (_SC_FILE_SYSTEM): Likewise.
35870         [POSIX] (_SC_IOV_MAX): Likewise.
35871         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
35872         [POSIX] (_SC_NETWORKING): Likewise.
35873         [POSIX] (_SC_PAGE_SIZE): Likewise.
35874         [POSIX] (_SC_PASS_MAX): Likewise.
35875         [POSIX] (_SC_PIPE): Likewise.
35876         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
35877         [POSIX] (_SC_REGEXP): Likewise.
35878         [POSIX] (_SC_SHELL): Likewise.
35879         [POSIX] (_SC_SIGNALS): Likewise.
35880         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
35881         [POSIX] (_SC_SPIN_LOCKS): Likewise.
35882         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
35883         [POSIX] (_SC_USER_GROUPS): Likewise.
35884         [POSIX] (_SC_USER_GROUPS_R): Likewise.
35885         [POSIX] (_SC_STREAMS): Likewise.
35886         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
35887         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
35888         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
35889         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
35890         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
35891         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
35892         [POSIX] (_PC_FILESIZEBITS): Likewise.
35893         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
35894         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
35895         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
35896         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
35897         [POSIX] (uid_t): Likewise.
35898         [POSIX] (gid_t): Likewise.
35899         [POSIX] (off_t): Likewise.
35900         [POSIX] (pid_t): Likewise.
35901         [POSIX] (cuserid): Allow.
35902         (_SC_2_CHAR_TERM): Require constant.
35903         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
35904         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
35905         variable.
35907 2015-05-20  Roland McGrath  <roland@hack.frob.com>
35909         * sysdeps/nacl/pthread-pids.h: New file.
35910         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
35911         (create_thread): Use __nacl_get_tid to initialize PD->tid.
35913         * nptl/pthread-pids.h: New file.
35914         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
35915         * nptl/nptl-init.c: Include <pthread-pids.h>.
35916         (__pthread_initialize_minimal_internal):
35917         Call __pthread_initialize_pids instead of set_tid_address syscall.
35919         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
35920         * sysdeps/posix/usleep.c: ... here.
35922 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35924         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
35925         call_pselect6 object.
35926         [$(subdir) = io]: Remove call_sync_file_range object.
35927         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
35928         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
35929         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
35930         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
35932 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
35934         * math/s_cproj.c: Add include "math_private.h".
35935         * math/s_cprojf.c: Likewise.
35936         * math/s_cprojl.c: Likewise.
35938 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
35940         [BZ #18244]
35941         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
35942         high mantissa bit when testing whether P is a NaN.
35943         * math/libm-test.inc (remainder_test_data): Add more tests.
35944         (remquo_test_data): Likewise.
35946         [BZ #18049]
35947         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
35948         below -32, return the argument, with underflow if subnormal.
35949         * math/auto-libm-test-in: Add more tests of atanh.
35950         * math/auto-libm-test-out: Regenerated.
35952 2015-05-19  Roland McGrath  <roland@hack.frob.com>
35954         [BZ #18434]
35955         * nptl/tst-sem15.c: New file.
35956         * nptl/Makefile (tests): Add it.
35957         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
35958         s/<</>>/ to fix typo in EOVERFLOW check.
35959         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
35961 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35963         * manual/strings.texi (envz_remove): Fix typo in safety
35964         annotations.
35966 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
35967             Steve Ellcey  <sellcey@imgtec.com>
35969         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
35970         in order to avoid strict alias warnings.
35971         (iruserok_af): Ditto for ra.
35973 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
35975         [BZ #17581]
35976         * malloc/hooks.c
35977         (magicbyte): Convert to a function and avoid returning 0x01.
35978         (mem2mem_check): Avoid using a length byte equal to the magic byte.
35979         (mem2chunk_check): Fix unsigned comparisons to zero.
35980         Hoist defs of sz and magic.
35982 2015-05-19  Richard Henderson  <rth@redhat.com>
35984         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
35986         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35988 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35990         [BZ #16159]
35991         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
35992         * malloc/arena.c (arena_lock): Check if arena is corrupt.
35993         (reused_arena): Find a non-corrupt arena.
35994         (heap_trim): Pass arena to unlink.
35995         * malloc/hooks.c (malloc_check_get_size): Pass arena to
35996         malloc_printerr.
35997         (top_check): Likewise.
35998         (free_check): Likewise.
35999         (realloc_check): Likewise.
36000         * malloc/malloc.c (malloc_printerr): Add arena argument.
36001         (unlink): Likewise.
36002         (munmap_chunk): Adjust.
36003         (ARENA_CORRUPTION_BIT): New macro.
36004         (arena_is_corrupt): Likewise.
36005         (set_arena_corrupt): Likewise.
36006         (sysmalloc): Use mmap if there are no usable arenas.
36007         (_int_malloc): Likewise.
36008         (__libc_malloc): Don't fail if arena_get returns NULL.
36009         (_mid_memalign): Likewise.
36010         (__libc_calloc): Likewise.
36011         (__libc_realloc): Adjust for additional argument to
36012         malloc_printerr.
36013         (_int_free): Likewise.
36014         (malloc_consolidate): Likewise.
36015         (_int_realloc): Likewise.
36016         (_int_memalign): Don't touch corrupt arenas.
36017         * malloc/tst-malloc-backtrace.c: New test case.
36019         * Makefile (summarize-tests): Fix return value on success.
36021         * manual/string.texi (Envz Functions): Add envz_remove.
36023 2015-05-18  Roland McGrath  <roland@hack.frob.com>
36025         * sysdeps/posix/opendir.c: Include <stdbool.h>.
36026         (invalid_name): New function, broken out of ...
36027         (__opendirat): ... here.  Call it.
36028         (need_isdir_precheck): New function, broken out of ...
36029         (__opendirat): ... here.  Call it.
36030         Use __fxstatat64, not __xstatat64.
36031         (opendir_oflags): New function, broken out of ...
36032         (__opendirat): ... here.  Call it.
36033         (opendir_tail): New function, broken out of ...
36034         (__opendirat): ... here.  Call it.
36035         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
36036         opendir_tail, rather than punting to __opendirat.
36037         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
36039 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36041         * .gitignore: Ignore generated *.pyc.
36043 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
36045         * include/stdio.h: Define __need_wint_t.
36046         * test-skeleton.c: Avoid `for' loop initial declaration.
36047         * nptl/tst-initializers1.c: Use test-skeleton.c.
36049 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36051         [BZ #18418]
36052         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
36054 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
36056         [BZ #16352]
36057         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
36058         (__ieee754_atanh): Force underflow exception for results with
36059         small absolute value.
36060         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
36061         (__ieee754_atanhf): Force underflow exception for results with
36062         small absolute value.
36063         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
36064         (__ieee754_atanh): Force underflow exception for results with
36065         small absolute value.
36066         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
36067         (__ieee754_atanhf): Force underflow exception for results with
36068         small absolute value.
36069         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
36070         (__ieee754_atanhl): Force underflow exception for results with
36071         small absolute value.
36072         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
36073         (__ieee754_atanhl): Force underflow exception for results with
36074         small absolute value.
36075         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
36076         (__ieee754_atanhl): Force underflow exception for results with
36077         small absolute value.
36078         * math/auto-libm-test-in: Do not allow missing underflow
36079         exceptions from atanh.
36080         * math/auto-libm-test-out: Regenerated.
36082         [BZ #18221]
36083         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
36084         2**-28 as threshold for returning x or +/- 1/x.
36085         * math/auto-libm-test-in: Add more tests of tan.
36086         * math/auto-libm-test-out: Regenerated.
36088         [BZ #18220]
36089         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36090         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
36091         * math/auto-libm-test-in: Add another test of lgamma.
36092         * math/auto-libm-test-out: Regenerated.
36094 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
36096         * stdio-common/printf_fp.c (___printf_fp): Use abs.
36097         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
36098         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
36099         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
36100         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
36101         (ADD2A): Use fabs.  (SUB2A): Use fabs.
36102         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
36103         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
36104         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
36105         (log1): Use fabs.  (my_log2): Use fabs.
36106         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
36107         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
36108         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
36109         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
36110         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
36111         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
36112         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
36113         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
36114         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
36115         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
36116         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
36118 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
36120         [BZ #18217]
36121         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
36122         as threshold for returning 1 - x.
36123         * math/auto-libm-test-in: Add more tests of erfc.
36124         * math/auto-libm-test-out: Regenerated.
36126 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
36128         [BZ #18196]
36129         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
36130         threshold for large arguments.
36131         * math/auto-libm-test-in: Add another test of atan.
36132         * math/auto-libm-test-out: Regenerated.
36134         [BZ #16339]
36135         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
36136         (__log1p): Force underflow exception for results with small
36137         absolute value.
36138         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
36139         (__log1pf): Force underflow exception for results with small
36140         absolute value.
36141         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
36142         (__log1p): Force underflow exception for results with small
36143         absolute value.
36144         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
36145         (__log1pf): Force underflow exception for results with small
36146         absolute value.
36147         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
36148         (__log1pl): Force underflow exception for results with small
36149         absolute value.
36150         * math/auto-libm-test-in: Do not allow missing underflow
36151         exceptions from log1p.
36152         * math/auto-libm-test-out: Regenerated.
36154 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
36155             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36157         [BZ #16704]
36158         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
36160 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
36162         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
36163         (libmvec): New variable.
36164         * configure.ac: Added option for mathvec build.
36165         * configure: Regenerated.
36166         * mathvec/Depend: New file.
36167         * mathvec/Makefile: New file.
36168         * shlib-versions: Added libmvec.
36169         * math/Makefile: Added rule for libm.so installation.
36171         * bits/math-vector.h: New file.
36172         * bits/libm-simd-decl-stubs.h: New header.
36173         * math/Makefile (headers): Added new header
36174         libm-simd-decl-stubs.h.
36175         * math/math.h (__MATHCALL_VEC): New macro.
36177         * math/gen-libm-have-vector-test.sh: Script generates series of macros
36178         for conditions in testing functions.
36179         * math/Makefile: Added call of libm-have-vector-test.sh.
36180         * math/libm-test.inc (HAVE_VECTOR): New macros.
36182         * math/libm-test.inc: START refactored.
36183         * math/test-double.c (TEST_MATHVEC): Add define.
36184         * math/test-float.c: Likewise.
36185         * math/test-idouble.c: Likewise.
36186         * math/test-ifloat.c: Likewise.
36187         * math/test-ildoubl.c: Likewise.
36188         * math/test-ldouble.c: Likewise.
36189         * sysdeps/generic/math-tests-arch.h
36190         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
36191         architecture check.
36193         * math/test-double.c (FUNC_TEST): New macro.
36194         * math/test-float.c: Likewise.
36195         * math/test-idouble.c: Likewise.
36196         * math/test-ifloat.c: Likewise.
36197         * math/test-ildoubl.c: Likewise.
36198         * math/test-ldouble.c: Likewise.
36199         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
36201 2015-05-13  Roland McGrath  <roland@hack.frob.com>
36203         * sysdeps/nacl/fdopendir.c: New file.
36205         * dirent/scandir-tail.c: New file.
36206         * dirent/scandir64-tail.c: New file.
36207         * dirent/Makefile (routines): Add them.
36208         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
36209         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
36210         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
36211         [!SCANDIR] (SCANDIR_TAIL): New macro.
36212         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
36213         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
36214         (SCANDIRAT): Macro removed.
36215         (SCANDIR_TAIL): New macro.
36216         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
36217         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
36218         (SCANDIRAT): Just call __opendirat and __scandir_tail.
36219         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
36220         (READDIR): Macro removed.
36221         (SCANDIR_TAIL): New macro.
36222         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
36223         (SCANDIR_TAIL): New macro.
36225         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
36226         * dirent/scandir-cancel.c: ... to this new file.
36227         * dirent/Makefile (routines): Add it.
36228         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
36229         * sysdeps/unix/sysv/linux/i386/scandir64.c
36230         (SKIP_SCANDIR_CANCEL): Macro removed.
36231         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
36233         * dirent/tst-scandir.c: New file.
36234         * dirent/tst-scandir64.c: New file.
36235         * dirent/Makefile (tests): Add them.
36237 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
36239         [BZ #18409]
36240         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
36242 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36244         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
36245         list.
36247 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
36249         * benchtests/bench-strcoll.c: New benchmark.
36250         * benchtests/Makefile: Generate locales and run benchmark.
36251         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
36252         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
36253         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
36254         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
36255         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
36256         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
36257         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
36258         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
36259         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
36260         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
36261         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
36262         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
36263         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
36264         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
36265         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
36266         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
36267         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
36268         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
36269         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
36270         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
36271         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
36272         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
36273         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
36274         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
36276 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
36278         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
36279         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36281 2015-05-12  Roland McGrath  <roland@hack.frob.com>
36283         * posix/uname-values.h: New file.
36284         * posix/uname.c: Include that instead of <config-name.h>.
36285         * sysdeps/nacl/uname-values.h: New file.
36286         * sysdeps/arm/nacl/uname-values.h: New file.
36288 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
36290         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
36291         splitting into fields.
36293 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
36295         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
36296         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
36297         * locale/localeinfo.h: Add enum collation_encoding_type.
36298         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
36299         * programs/ld-collate.c (collate_output): Add encoding type info.
36300         * string/strcoll_l.c (STRDIFF): New function.
36301         * (STRCOLL): Use STRDIFF to skip over equal prefix.
36302         * wcsmbs/wcscoll_l.c: Define STRDIFF.
36304 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
36306         [BZ #18397]
36307         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
36308         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
36309         <fpu_control.h> instead of <math/fpu_control.c>.
36310         * sysdeps/mips/mips32/fpu/Makefile: New file.
36312 2015-05-11  Andreas Schwab  <schwab@suse.de>
36314         [BZ #18007]
36315         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
36316         nss_endgrent.
36317         (_nss_compat_endgrent): Call nss_endgrent.
36318         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
36319         nss_endpwent.
36320         (_nss_compat_endpwent): Call nss_endpwent.
36321         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
36322         needent, call nss_setspent only if non-zero.
36323         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
36324         (internal_endspent): Don't call nss_endspent.
36325         (_nss_compat_endspent): Call nss_endspent.
36326         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
36327         Remove.  All uses removed.
36328         (internal_setent): Remove parameter stayopen, add parameter
36329         stream.  Use it instead of global variable.
36330         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
36331         (internal_endent, internal_getent): Add parameter stream.  Use it
36332         instead of global variable.
36333         (CONCAT(_nss_files_end,ENTNAME))
36334         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
36335         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
36336         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
36337         uses removed.
36338         (internal_setent, internal_endent): Add parameter stream.  Use it
36339         instead of global variable.
36340         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
36341         stream.
36342         (get_next_alias): Add parameter stream.
36343         (_nss_files_getaliasent_r): Pass global stream.
36344         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
36345         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
36346         (_nss_files_gethostbyname4_r): Pass local stream to
36347         internal_setent, internal_getent and internal_endent.  Remove
36348         locking.
36350 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36352         * tst-strfmon1.c (tests): Update expected currency symbol.
36354 2015-05-08  Roland McGrath  <roland@hack.frob.com>
36356         * sysdeps/nacl/gethostname.c: New file.
36358 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
36360         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
36361         and sinh.
36362         * math/auto-libm-test-out: Regenerated.
36363         * sysdeps/i386/fpu/libm-test-ulps: Update.
36364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36366 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
36368         [BZ #18125]
36369         * stdlib/tst-setcontext3.c: New file.
36370         * stdlib/tst-setcontext3.sh: New file.
36371         * stdlib/Makefile (tests): Add tst-setcontext3.
36372         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
36373         to verify test program created output file.
36374         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
36375         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
36376         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
36377         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
36379 2015-05-06  Roland McGrath  <roland@hack.frob.com>
36381         [BZ #18383]
36382         * elf/tst-tlsalign.c: New file.
36383         * elf/tst-tlsalign-static.c: New file.
36384         * elf/tst-tlsalign-lib.c: New file.
36385         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
36386         (tests-static): Add tst-tlsalign-static.
36387         (modules-names): Add tst-tlsalign-lib.
36388         (test-xfail-tst-tlsalign): New variable.
36389         (test-xfail-tst-tlsalign-static): New variable.
36391         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
36392         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
36394 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
36396         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
36397         csqrt, erfc, sin and sincos.
36398         * math/auto-libm-test-out: Regenerated.
36399         * sysdeps/i386/fpu/libm-test-ulps: Update.
36400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36402 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36404         * sysdeps/aarch64/libm-test-ulps: Update.
36406 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
36408         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
36409         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
36410         * math/auto-libm-test-out: Regenerated.
36411         * sysdeps/i386/fpu/libm-test-ulps: Update.
36412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36414 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
36416         [BZ #18265]
36417         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
36418         (wcsncpy): Likewise.
36420 2015-05-05  Florian Weimer  <fweimer@redhat.com>
36422         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36423         Assume __ASSUME_FALLOCATE is always true.
36424         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36425         (__posix_fallocate64_l64): Likewise.
36426         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
36427         (posix_fallocate): Likewise.
36428         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
36429         (__posix_fallocate64_l64): Likewise.
36430         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36431         [!__ASSUME_FALLOCATE]: Add comment.
36433 2015-05-05  Florian Weimer  <fweimer@redhat.com>
36435         * sysdeps/unix/sysv/linux/i386/Makefile
36436         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
36437         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
36438         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
36439         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36440         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36441         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
36442         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
36444 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
36446         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
36447         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
36448         tgamma.
36449         * math/auto-libm-test-out: Regenerated.
36450         * sysdeps/i386/fpu/libm-test-ulps: Update.
36451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36453 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
36455         * math/auto-libm-test-in: Add more tests of tgamma.
36456         * math/auto-libm-test-out: Regenerated.
36457         * sysdeps/i386/fpu/libm-test-ulps: Update.
36458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36460         * math/auto-libm-test-in: Add more tests of tanh.
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 tan.
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 cos, sin and sincos.
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 another test of pow.
36476         * math/auto-libm-test-out: Regenerated.
36477         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36479         * math/auto-libm-test-in: Add more tests of lgamma.
36480         * math/auto-libm-test-out: Regenerated.
36481         * sysdeps/i386/fpu/libm-test-ulps: Update.
36482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36484         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
36485         log1p.
36486         * math/auto-libm-test-out: Regenerated.
36487         * sysdeps/i386/fpu/libm-test-ulps: Update.
36488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36490 2015-05-01  Mark Wielaard  <mjw@redhat.com>
36492         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
36493         Elf64_Chdr structs and ELFCOMPRESS constants.
36495 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
36497         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
36498         expm1.
36499         * math/auto-libm-test-out: Regenerated.
36500         * sysdeps/i386/fpu/libm-test-ulps: Update.
36501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36503         * math/auto-libm-test-in: Add more tests of erf and erfc.
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 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36510         * config.h.in (HAVE_AARCH64_BE): Add.
36512 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
36514         * math/auto-libm-test-in: Add more tests of csqrt.
36515         * math/auto-libm-test-out: Regenerated.
36516         * sysdeps/i386/fpu/libm-test-ulps: Update.
36517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36519         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
36526 2015-04-29  Roland McGrath  <roland@hack.frob.com>
36528         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
36529         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
36531         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
36532         (euidaccess, eaccess): Define as weak aliases.
36534         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
36535         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
36536         but __suseconds_t is often 'long int' so some sources assume that
36537         type is being used (e.g. they use %ld to print tv_usec).
36539 2015-04-29  Florian Weimer  <fweimer@redhat.com>
36541         [BZ #18007]
36542         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
36543         (CVE-2014-8121)
36544         * nss/tst-nss-getpwent.c: New file.
36545         * nss/Makefile (tests): Add new test.
36547 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
36549         [BZ #18346]
36550         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
36551         exponents less than 48 as cases where high part of mantissa needs
36552         examining to determine whether argument is integral.
36553         * math/libm-test.inc (round_test_data): Add more tests.
36555 2015-04-28  Mark Wielaard  <mjw@redhat.com>
36557         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
36559 2015-04-27  David S. Miller  <davem@davemloft.net>
36561         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
36562         __tls_get_addr.
36563         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
36565 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
36567         [BZ #18333]
36568         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
36570 2015-04-27  Florian Weimer  <fweimer@redhat.com>
36572         [BZ #18333]
36573         * time/tzset.c (parse_tzname): Return error on memory allocation
36574         failure.
36575         * test-skeleton.c (struct temp_name_list): Change type of name
36576         member to non-const.
36577         (add_temp_file): Create a copy of the file name.
36578         (delete_temp_files): Deallocate memory.
36579         (create_temp_file): Add comment.
36581 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36583         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
36584         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
36586 2015-04-24  Roland McGrath  <roland@hack.frob.com>
36588         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
36589         * sysdeps/arm/configure: Regenerated.
36591 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36593         [BZ #17715]
36594         * time/tzfile.c (__tzfile_read): Check for large values of
36595         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
36596         * time/tzset.c (__tzstring_len): New function, based on the old
36597         __tzstring function.
36598         (__tzstring): Call __tzstring_len.
36599         (parse_tzname): New helper function extracted from
36600         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
36601         the input string.
36602         (parse_offset): New helper function extracted from
36603         __tzset_parse_tz.  Replace switch with fallthrough with
36604         initialization before sscanf.
36605         (parse_rule): Likewise.
36606         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
36607         new-style function definition.
36608         * timezone/Makefile (tests): Add tst-tzset.
36609         (tst-tzset.out): Dependencies on time zone files.
36610         (tst-tzset-ENV): Set TZDIR.
36611         (testdata/XT%): Copy crafted time zone files.
36612         * timezone/README: Mention crafted time zone files.
36613         * timezone/testdata/XT1, timezone/testdata/XT2,
36614         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
36615         files.
36616         * timezone/tst-tzset.c: New test.
36618 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36620         * Makeconfig (+gccwarn): Remove -Winline.
36622 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36624         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
36626 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36628         * NEWS: Mention sysconf() cache information support for s390.
36629         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
36631 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
36633         * math/k_casinh.c (__kernel_casinh): Use __copysign.
36634         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
36635         (__nearbyint): Likewise.
36636         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
36637         (copysignl): Likewise.
36639 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
36641         [BZ #18287]
36642         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
36643         based on padding.  (CVE-2015-1781)
36645 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36647         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
36648         libc-vdso.h.
36649         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
36650         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
36651         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
36652         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
36653         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
36654         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
36655         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
36656         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36657         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36658         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
36659         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36660         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36661         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36662         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
36663         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
36664         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
36665         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
36666         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
36667         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
36668         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
36669         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
36670         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
36671         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
36673 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
36675         * stdlib/setenv.c (__add_to_environ):
36676         Dump core quickly if setenv (..., NULL, ...) is called.
36677         This time, do it the right way, and pacify GCC with a pragma.
36679 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36681         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
36682         IMAP->l_prev cannot be null, and #if out the code for the contrary
36683         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
36684         believe that NS (&_dl_ns[NSID]) could point outside the array.
36686         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
36687         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
36688         before using NSID as an index.
36690 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
36692         [BZ #17825]
36693         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
36694         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
36695         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
36697 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36699         Add preliminary port to Google Native Client on ARM.
36700         * abi-tags (.*-.*-nacl.*): New entry.
36701         * sysdeps/arm/nacl: New directory.
36702         * sysdeps/nacl: New directory.
36704 2015-04-16  David S. Miller  <davem@davemloft.net>
36706         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
36707         lowlevellock-futex.h
36709 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
36711         * sysdeps/tile/configure.ac: New file.
36712         * sysdeps/tile/configure: Regenerated.
36714 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36716         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
36717         conditionals for weak_alias and libc_hidden_weak.
36718         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
36719         libc_hidden_weak and weak_alias.
36720         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
36721         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
36722         and weak_alias for static one.
36724 2015-04-15  David S. Miller  <davem@davemloft.net>
36726         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36728 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36730         [BZ #18206]
36731         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
36732           Use signed comparision instead of substraction to avoid
36733           overflow bug.
36734         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
36735           Take the sign of ret.
36736         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
36737           Do not expect precise return values. Only the sign matters.
36738         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
36739         * wcsmbs/test-wcsncmp.c: New File.
36740         * string/test-strncmp.c: Add wcsncmp support.
36742 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36744         [BZ #6792]
36745         * math/w_log1p.c: New file.
36746         * math/w_log1pf.c: Likewise.
36747         * math/w_log1pl.c: Likewise.
36748         * math/Makefile (libm-calls): Add w_log1p.
36749         * math/s_log1pl.c (log1pl): Remove weak_alias.
36750         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
36751         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
36752         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
36753         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
36754         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
36755         [NO_LONG_DOUBLE] (log1pl): Likewise.
36756         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
36757         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
36758         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
36759         (log1p): Remove long_double_symbol.
36760         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
36761         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
36762         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
36763         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
36764         remove weak_alias for corresponding log1p function.
36765         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
36766         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
36767         * sysdeps/ia64/fpu/w_log1p.c: New file.
36768         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
36769         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
36770         * math/libm-test.inc (log1p_test_data): Add errno expectations.
36772 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
36774         [BZ #18247]
36775         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
36776         decimal exponent by 1.
36777         * stdlib/tst-strtod-round-data: Add more tests.
36778         * stdlib/tst-strtod-round.c (tests): Regenerated.
36780 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
36782         * math/auto-libm-test-in: Add more tests of clog and clog10.
36783         * math/auto-libm-test-out: Regenerated.
36784         * sysdeps/i386/fpu/libm-test-ulps: Update.
36785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36787 2015-04-09  Roland McGrath  <roland@hack.frob.com>
36789         * Makeconfig (module-cppflags): Exclude all .v.i files.
36790         (skip-module-cppflags): Variable removed.
36792         * configure.ac (libc_config_ok): Initialize before reading
36793         preconfigure scripts, not after.
36794         * configure: Regenerated.
36796         * test-skeleton.c (TIMEOUT): Move #define to top level.
36797         (main): Grok environment variable TEST_DIRECT.  If set, print
36798         test expectation details into that file and then behave as if
36799         given --direct.
36801 2015-04-09  Florian Weimer  <fweimer@redhat.com>
36803         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
36804         warning on 32-bit.
36806 2015-04-08  David S. Miller  <davem@davemloft.net>
36808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36810 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
36812         * math/auto-libm-test-in: Add more tests of atanh.
36813         * math/auto-libm-test-out: Regenerated.
36814         * sysdeps/i386/fpu/libm-test-ulps: Update.
36815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36817         * math/auto-libm-test-in: Add more tests of atan.
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 2015-04-08  Florian Weimer  <fweimer@redhat.com>
36824         * elf/pldd.c (main): Rewrite to use struct
36825         scratch_buffer instead of extend_alloca.
36826         * elf/pldd-xx.c (find_maps): Likewise.
36827         * grp/initgroups.c: Include <scratch_buffer.h> instead of
36828         <alloca.h>.
36829         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
36830         scratch_buffer instead of extend_alloca.
36831         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
36832         grp/compat-initgroups.c.
36833         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
36834         Rewrite to use struct scratch_buffer instead of extend_alloca.
36835         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
36836         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36838 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
36840         * math/auto-libm-test-in: Add more tests of cbrt.
36841         * math/auto-libm-test-out: Regenerated.
36842         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36844         * math/auto-libm-test-in: Add more tests of cabs.
36845         * math/auto-libm-test-out: Regenerated.
36846         * sysdeps/i386/fpu/libm-test-ulps: Update.
36847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36849         [BZ #18210]
36850         [BZ #18211]
36851         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
36852         (__ieee754_atan2): Set FE_TONEAREST mode for internal
36853         computations.
36854         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
36855         clog10.
36856         * math/auto-libm-test-out: Regenerated.
36857         * sysdeps/i386/fpu/libm-test-ulps: Update.
36858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36860         [BZ #18197]
36861         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
36862         (atan): Set FE_TONEAREST mode for internal computations.
36863         * math/auto-libm-test-in: Add more tests of atan.
36864         * math/auto-libm-test-out: Regenerated.
36866 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
36868         [BZ #17930]
36869         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
36871 2015-04-07  Florian Weimer  <fweimer@redhat.com>
36873         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
36875 2015-04-07  Florian Weimer  <fweimer@redhat.com>
36877         * include/scratch_buffer.h: New file.
36878         * malloc/scratch_buffer_grow.c: Likewise.
36879         * malloc/scratch_buffer_grow_preserve.c: Likewise.
36880         * malloc/scratch_buffer_set_array_size.c: Likewise.
36881         * malloc/tst-scratch_buffer.c: Likewise.
36882         * malloc/Makefile (routines): Add scratch_buffer_grow.
36883         (tests): Add test case.
36884         * malloc/Versions (GLIBC_PRIVATE): Export
36885         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
36886         __libc_scratch_buffer_set_array_size.
36888 2015-04-06  Richard Henderson  <rth@redhat.com>
36890         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
36891         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36893         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
36894         unsigned int before printing.
36896 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36898         [BZ #17596]
36899         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
36900         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36902 2015-04-02  Florian Weimer  <fweimer@redhat.com>
36904         * include/libc-internal.h (libc_max_align_t): Define.
36906 2015-04-02  Andreas Schwab  <schwab@suse.de>
36908         [BZ #16850]
36909         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
36911 2015-04-02  Mel Gorman  <mgorman@suse.de>
36913         [BZ #17195]
36914         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
36915         as well as the main arena.
36917 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36919         [BZ #18185]
36920         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
36921         sharing L2 cache to 2 for Silvermont/Knights Landing.
36923 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36925         [BZ #17711]
36926         * config.make.in (have-protected-data): New.
36927         * configure.ac: Check linker support for protected data symbol.
36928         * configure: Regenerated.
36929         * elf/Makefile (modules-names): Add tst-protected1moda and
36930         tst-protected1modb if $(have-protected-data) is yes.
36931         (tests): Add tst-protected1a and tst-protected1b if
36932         $(have-protected-data) is yes.
36933         ($(objpfx)tst-protected1a): New.
36934         ($(objpfx)tst-protected1b): Likewise.
36935         (tst-protected1modb.so-no-z-defs): Likewise.
36936         * elf/tst-protected1a.c: New file.
36937         * elf/tst-protected1b.c: Likewise.
36938         * elf/tst-protected1mod.h: Likewise.
36939         * elf/tst-protected1moda.c: Likewise.
36940         * elf/tst-protected1modb.c: Likewise.
36942 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36944         [BZ #17711]
36945         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
36946         indicates it is called from do_lookup_x on relocation against
36947         protected data, skip the data definion in the executable from
36948         copy reloc.
36949         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
36950         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
36951         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
36952         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
36953         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
36954         otherwise to 0.
36955         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36956         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
36957         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
36958         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36959         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
36960         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
36962 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
36964         * sysdeps/nptl/pthread.h: Remove duplicate definition of
36965         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
36967 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
36969         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
36970         THREAD_SETMEM_NC.
36971         * sysdeps/x86_64/nptl/tls.h: Ditto.
36973 2015-03-27  Roland McGrath  <roland@hack.frob.com>
36975         * dlfcn/tststatic.c (main): Converted to ...
36976         (do_test): ... this.
36977         (TEST_FUNCTION): New macro.
36978         Include test-skeleton.c.
36980 2015-03-26  Alan Modra  <amodra@gmail.com>
36982         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
36983         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
36984         zero for undefined weak.
36985         (elf_machine_plt_conflict): Similarly.
36987 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
36989         * math/auto-libm-test-in: Add more tests of acosh, asinh and
36990         atanh.
36991         * math/auto-libm-test-out: Regenerated.
36992         * sysdeps/i386/fpu/libm-test-ulps: Update.
36993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36995         * math/auto-libm-test-in: Add another test of asin.
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         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
37001         Remove macro.
37002         (LLL_EBX_REG): Likewise.
37003         (LLL_ENTER_KERNEL): Likewise.
37005         * math/auto-libm-test-in: Add more tests of asin.
37006         * math/auto-libm-test-out: Regenerated.
37007         * sysdeps/i386/fpu/libm-test-ulps: Update.
37008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37010         [BZ #18138]
37011         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
37012         libc_do_syscall_args): New structure.
37013         (INTERNAL_SYSCALL_MAIN_0): New macro.
37014         (INTERNAL_SYSCALL_MAIN_1): Likewise.
37015         (INTERNAL_SYSCALL_MAIN_2): Likewise.
37016         (INTERNAL_SYSCALL_MAIN_3): Likewise.
37017         (INTERNAL_SYSCALL_MAIN_4): Likewise.
37018         (INTERNAL_SYSCALL_MAIN_5): Likewise.
37019         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
37020         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
37021         Replace conditional definitions by conditional definitions of ....
37022         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
37023         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
37024         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
37025         (libpthread-sysdep_routines): Add libc-do-syscall.
37026         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
37027         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
37028         to __NR_futex not 240.
37030 2015-03-25  Alan Modra  <amodra@gmail.com>
37032         * NEWS: Advertise TLS optimization.
37033         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
37034         (DT_PPC_NUM): Increment.
37035         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
37036         (CHECK_STATIC_TLS): Use here.
37037         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
37038         TLS descriptors.
37039         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37040         * sysdeps/powerpc/dl-tls.c: New file.
37041         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
37042         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
37043         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
37044         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
37045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
37046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
37047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
37049 2015-03-25  Alan Modra  <amodra@gmail.com>
37051         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
37052         for overlapping .opd entries" to "support...".
37053         * sysdeps/powerpc/powerpc64/configure: Regenerate
37055 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
37057         * math/auto-libm-test-in: Add more tests of acos.
37058         * math/auto-libm-test-out: Regenerated.
37059         * sysdeps/i386/fpu/libm-test-ulps: Update.
37060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37062         * math/auto-libm-test-in: Add more tests of expm1.
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 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
37069         * math/auto-libm-test-in: Add more tests of cosh and sinh.
37070         * math/auto-libm-test-out: Regenerated.
37071         * sysdeps/i386/fpu/libm-test-ulps: Update.
37072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37074         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37077         * math/auto-libm-test-in: Add more tests of log2.
37078         * math/auto-libm-test-out: Regenerated.
37079         * sysdeps/i386/fpu/libm-test-ulps: Update.
37080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37082 2015-03-23  Roland McGrath  <roland@hack.frob.com>
37084         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
37085         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
37086         _IO_IS_APPENDING bit in READ_WRITE instead.
37088 2015-03-23  Florian Weimer  <fweimer@redhat.com>
37090         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
37091         (__determine_cpumask_size): Replace extend_alloca with a
37092         variable-length array.  Do not treat res == 0 as an error.
37094 2015-03-23  Florian Weimer  <fweimer@redhat.com>
37096         [BZ #18100]
37097         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
37098         and integer overflow.
37099         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
37100         (main): Add integer overflow tests.
37101         * manual/pattern.texi (Calling Wordexp): Document additional use
37102         for WRDE_SYNTAX.
37104 2015-03-23  Alan Modra  <amodra@gmail.com>
37106         * config.h.in: Remove HAVE_ASM_PPC_REL16.
37107         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
37108         and false branch of conditional.
37109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
37110         Likewise.
37112 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
37114         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
37115         libc-modules.h
37116         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
37117         unused declaration of _hurd_intr_rpc_msg_in_trap.
37118         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
37119         defined instead of whether it is non-zero.
37120         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
37121         input constraint instead of both input and output constraint.  Use ecx
37122         clobber instead of %ecx.
37123         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
37124         mutex_unlock): Use a statement expression instead of an expression list.
37125         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
37126         type to vm_size_t instead of vm_address_t.
37127         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
37128         defined instead of whether it is non-zero.
37129         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
37130         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
37131         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
37132         comparisons with mapaddr.
37133         * nscd/nscd-client.h: Include <time.h>.
37134         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
37135         9th parameter to __vm_region instead of int.
37136         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
37137         * scripts/check-local-headers.sh (exclude): Add device/,
37138         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
37139         cthreads.h.
37141 2015-03-19  Roland McGrath  <roland@hack.frob.com>
37143         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
37144         to account for alignment padding.
37145         * sysdeps/arm/memmove.S: Likewise.
37147 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
37149         * sysdeps/unix/sysv/linux/generic/README: New file.
37151 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
37153         [BZ #18138]
37154         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
37155         (futex_abstimed_wait)
37156         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
37157         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
37158         of lll_futex_timed_wait.
37160 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
37162         [BZ #17542]
37163         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
37165 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
37167         [BZ #17090]
37168         [BZ #17620]
37169         [BZ #17621]
37170         [BZ #17628]
37171         * NEWS: Update.
37172         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
37173         entries with Static TLS too.  Skip entries past the end of the
37174         allocated DTV, from Alan Modra.
37175         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
37176         Static TLS DTV entry set up from...
37177         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
37178         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
37179         * nptl/allocatestack.c (init_one_static_tls): ... and here...
37180         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
37181         for Static TLS.
37182         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
37183         that the slot we find is associated with the given map before
37184         using its generation count.
37185         * nptl_db/db_info.c: Include ldsodefs.h.
37186         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
37187         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
37188         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
37189         (link_map::l_tls_offset): New struct field.
37190         (dtv_t::counter): Likewise.
37191         (rtld_global): New struct.
37192         (_rtld_global): New rtld variable.
37193         (dl_tls_dtv_slotinfo_list): New rtld global field.
37194         (dtv_slotinfo_list): New struct.
37195         (dtv_slotinfo): Likewise.
37196         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
37197         (td_lookup): Rename to...
37198         (td_mod_lookup): ... this.  Use new mod parameter instead of
37199         LIBPTHREAD_SO.
37200         * nptl_db/td_thr_tlsbase.c: Include link.h.
37201         (dtv_slotinfo_list, dtv_slotinfo): New functions.
37202         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
37203         addresses even if the DTV is out of date or missing them.
37204         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
37205         index zero-length arrays.
37206         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
37207         (td_lookup): Make it a macro implemented in terms of...
37208         (td_mod_lookup): ... this declaration.
37209         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
37210         (DB_MAIN_VARIABLE): Likewise.
37212 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37214         [BZ #18134]
37215         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
37217 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
37219         * stdlib/setenv.c (__add_to_environ): Revert previous change.
37221 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
37223         [BZ #18128]
37224         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
37225         (atomic_add, atomic_increment_and_test)
37226         (atomic_decrement_and_test): Fix 64-bit arithmetic.
37228 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
37230         * stdlib/setenv.c (__add_to_environ):
37231         Dump core quickly if setenv (..., NULL, ...) is called.
37233 2015-03-13  Roland McGrath  <roland@hack.frob.com>
37235         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
37236         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
37237         all the necessary asm magic in one place.
37238         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
37239         using those.
37241 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
37243         [BZ #14906]
37244         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
37245         traced file mtime. Use consistent log message.
37246         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
37247         (register_traced_file): Call install_watches. Always set mtime.
37248         (invalidate_cache): Iterate over all trace files. Call install_watches.
37249         (inotify_check_files): Don't inline. Handle watching parent
37250         directories and configuration file movement in and out.
37251         (handle_inotify_events): New function.
37252         (main_loop_poll): Call handle_inotify_events.
37253         (main_loop_epoll): Likewise.
37254         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
37255         (struct traced_file): Use array of inotify fds. Add parent directory,
37256         and basename.
37257         (struct database_dyn): Remove unused file_mtime.
37258         (init_traced_file): New inline function.
37259         (define_traced_file): New macro.
37260         * nss/nss_db/db-init.c: Use define_traced_file.
37261         (_nss_db_init): Use init_traced_file.
37262         * nss/nss_files/files-init.c: Use define_traced_file.
37263         (_nss_files_init): Use init_traced_file.
37265 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
37267         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
37268         [_LIBC]: Do not include <stdlib.h>.
37269         [!_LIBC] (abort): Remove declaration.
37270         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
37271         _FP_STATIC_ASSERT instead of conditionally calling abort.
37272         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
37273         (_FP_EXTEND_CNAN): Likewise.
37274         (FP_TRUNC): Likewise.
37275         (__FP_CLZ): Likewise.
37276         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
37278 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
37280         * manual/string.texi (XPG basename): Fix prototype.
37282 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37284         [BZ #18080]
37285         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
37286         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37287         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
37288         (__setcontext): Likewise.
37289         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
37290         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37291         Call rt_sigprocmask syscall one time to set new signal mask
37292         and retrieve the current signal mask instead of two calls.
37293         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
37294         (__swapcontext): Likewise.
37295         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
37296         * stdlib/tst-setcontext2.c: New file.
37298 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37300         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37302 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
37304         [BZ #18093]
37305         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
37306         the wrong size.
37308 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37310         [BZ #18043]
37311         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
37313 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37315         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
37316         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
37317         Remove define.
37318         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
37319         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
37320         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
37321         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
37322         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
37323         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
37324         define.
37325         * nptl_db/td_symbol_list.c (td_lookup): Remove
37326         HAVE_ASM_GLOBAL_DOT_NAME code.
37327         * sysdeps/powerpc/powerpc64/configure.ac: Remove
37328         HAVE_ASM_GLOBAL_DOT_NAME check.
37329         * sysdeps/powerpc/powerpc64/configure: Regenerate.
37330         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
37331         (DOT_LABEL): Remove define.
37332         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
37333         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
37334         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
37335         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
37336         (__TLS_GET_ADDR): Likewise.
37337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
37338         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
37340 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
37342         [BZ #18111]
37343         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
37344         (_FPU_SETCW): Initialize cw from fpsr before storing.
37345         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
37346         (fesetexceptflag): Rewrite using fpu_control.h.
37347         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
37349 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
37351         [BZ #18110]
37352         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
37353         asms.
37354         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
37356 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
37358         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
37359         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
37360         abort.
37361         (_FP_FMA): Likewise.
37362         (_FP_DIV): Likewise.
37364 2015-03-10  Roland McGrath  <roland@hack.frob.com>
37366         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
37367         with 0 in that case.
37368         * Makefile (summarize-tests): New canned sequence, factored out of
37369         commands for targets tests and xtests.  Display summary lines that
37370         don't start with PASS: or XFAIL: rather than ones that do start with
37371         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
37372         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
37373         do start with ERROR: or FAIL:.
37374         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
37375         (except for [$(build-shared) = yes]).
37376         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
37377         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
37378         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
37379         * nptl/Makefile: Revert 2015-03-04 changes.
37380         [$(CXX) empty] (tests-unsupported): New variable.
37381         * debug/Makefile: Likewise.
37383         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
37384         gnulib file.  Replace __attribute with __attribute__ throughout.
37386 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
37388         * sysdeps/hppa/fpu/libm-test-ulps: Update.
37390 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
37392         [BZ #18104]
37393         * math/auto-libm-test-in: Add another test of pow.
37394         * math/auto-libm-test-out: Regenerated.
37396 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37398         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
37399         $(config-cflags-nofma).
37401 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
37403         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
37404         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
37405         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
37406         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
37407         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
37408         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
37409         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
37410         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
37411         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
37412         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
37413         Add comment on closing #endif.
37415 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37417         * posix/wordexp.c (CHAR_IN_SET): New macro.
37418         (parse_param): Use it.
37420 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37422         * sysdeps/powerpc/fpu/libm-test-ulps: update.
37424 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37426         [BZ #18043]
37427         * posix/wordexp.c (parse_param): Fix buffer overflow.
37428         * posix/wordexp-test.c (test_case): Add test case.
37430 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37432         [BZ #18042]
37433         * posix/wordexp.c (parse_backtick): Fix off-by-one.
37434         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
37436 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37438         [BZ #18043]
37439         * posix/wordexp-test.c (test_case): Add test for BZ #18043
37440         (do_bz18043): Delete.
37441         (at_page_end): New.
37442         (testit): Refactor to have words at the edge of unreadable page.
37444 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37446         [BZ #16734]
37447         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
37448         Cleanup read-only streams as well.
37449         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
37451 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37453         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
37454         <bits/libc-lockP.h>
37456 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
37458         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
37459         on [__KERNEL__].
37460         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
37461         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
37462         * soft-fp/op-common.h (_FP_DECL): Likewise.
37464 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
37466         * elf/ifuncdep2.c (global): Replace
37467         __attribute__((visibility("protected"))) with
37468         asm (".protected global").
37469         * elf/ifuncmod1.c (global): Likewise.
37470         * elf/ifuncmod5.c (global): Likewise.
37472 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
37474         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
37475         <asm/sfp-machine.h> instead of <sfp-machine.h>.
37477 2015-03-06  Roland McGrath  <roland@hack.frob.com>
37479         * manual/install.texi (Configuring and compiling):
37480         Document test-wrapper-env-only.
37481         * INSTALL: Regenerated.
37483 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37485         [BZ #18043]
37486         * posix/wordexp.c (parse_param): Fix buffer overflow.
37487         * posix/wordexp-test.c (do_bz18043): Add test case.
37489 2015-03-06  Vincent Bernat  <vincent@bernat.im>
37491         * time/tst-strptime2.c (do_test): Ensure failing tests are
37492         reported correctly.
37493         * time/tst-strptime3.c (do_test): Likewise.
37495 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
37497         Fix aio_error thread-safety.
37498         * sysdeps/pthread/aio_error.c: New file
37499         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
37500         synchronization.
37502 2015-03-06  Florian Weimer  <fweimer@redhat.com>
37504         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
37505         (group_number, vfprintf): Use it.
37506         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
37507         (JUMP, REF): Use it.
37508         (WORK_BUFFER_SIZE): New enum constant.
37509         (process_arg, vfprintf): Use it.
37511 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
37513         * manual/errno.texi (Error Messages): Complete example function
37514         by adding missing #define.
37515         (program_invocation_name): Add statement indicating GNU
37516         extension and reference which header file declares the variable.
37517         (program_invocation_short_name): Likewise.
37519 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
37521         * manual/errno.texi (Error Messages): Delete strerror ISO C89
37522         compatibility note.
37524 2015-03-05  Roland McGrath  <roland@hack.frob.com>
37526         * Makeconfig (test-wrapper-env-only): New variable.
37527         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
37528         then use that with $(test-wrapper-env-only) rather than using
37529         $(test-wrapper-env) $(run-program-env) $($*-ENV).
37531 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37533         [BZ #18082]
37534         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
37535         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
37536         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
37537         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
37538         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
37539         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
37540         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
37541         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
37542         Likewise.
37543         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
37544         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
37545         Likewise.
37546         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
37547         Likewise.
37548         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
37549         Likewise.
37550         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
37551         Likewise.
37552         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
37553         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
37554         Likewise.
37555         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
37556         Likewise.
37557         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
37558         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
37560 2015-03-04  Roland McGrath  <roland@hack.frob.com>
37562         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
37563         (ETH_ALEN): New macro.
37564         (struct ether_addr): Use it for length of ether_addr_octet.
37566         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
37567         (setdb): Don't call __nss_configure_lookup for "rpc".
37568         (do_test): Don't call test_rpc.
37569         (output_rpcent, test_rpc): Functions moved ...
37570         * sunrpc/test-rpcent.c: ... to this new file.
37571         * sunrpc/Makefile (tests): Add it.
37573         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
37574         __xpg_sigpause.
37575         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
37576         * nptl/tst-signal6.c: Likewise.
37577         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
37578         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
37580         * configure.ac (libc_cv_cxx_link_ok): New check.
37581         Reset CXX to empty if it fails to link.
37582         * configure: Regenerated.
37583         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
37584         bug-atexit3-lib only if $(CXX) is nonempty.
37585         * nptl/Makefile (tests): Likewise for tst-cancel24.
37586         (tests, tests-static): Likewise for tst-cancel24-static.
37587         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
37588         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
37589         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
37590         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
37592 2015-03-04  Andreas Schwab  <schwab@suse.de>
37594         [BZ #17631]
37595         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
37596         for non-GCC compilers.
37597         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37598         Likewise.
37600 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37602         [BZ #17776]
37603         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
37604         integer before bitwise and assembly operations.
37605         (feclearexcept): Likewise.
37606         * math/test-fenvinline.c: New file.
37607         * math/Makefile: Add test-fenvinline test.
37609 2015-03-03  Alan Modra  <amodra@gmail.com>
37611         [BZ #16512]
37612         * scripts/localplt.awk: Strip off symbol version.
37613         * NEWS: Mention bug fix.
37615 2015-03-02  Roland McGrath  <roland@hack.frob.com>
37617         * sysdeps/pthread/timer_routines.c
37618         (timer_free_list, thread_free_list, thread_active_list): Make static.
37620 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
37622         [BZ #17779]
37623         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37624         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37625         Undefine.
37626         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37627         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37628         Likewise.
37629         * sysdeps/unix/sysv/linux/sh/kernel-features.h
37630         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37631         Likewise.
37633 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37635         [BZ #18036]
37636         * posix/fnmatch_loop.c (END): Detect invalid pattern.
37637         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
37639 2015-03-02  Andreas Schwab  <schwab@suse.de>
37641         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
37642         variable name.
37644 2015-03-02  Florian Weimer  <fweimer@redhat.com>
37646         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
37647         Return error status.
37649 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
37651         [BZ #15969]
37652         * locale/findlocale.c (_nl_find_locale): Introduce const
37653         version of loc_name and drop unsafe type casts.
37655 2015-02-27  Roland McGrath  <roland@hack.frob.com>
37657         * dlfcn/tststatic2.c (main): Converted to ...
37658         (do_test): ... this.
37659         (TEST_FUNCTION): New macro.
37660         Include test-skeleton.c.
37662 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
37664         [BZ #17711]
37665         * elf/Makefile (tests): Add vismain only if PIE is enabled.
37666         (tests-pie): Add vismain.
37667         (CFLAGS-vismain.c): New.
37668         * elf/vismain.c: Add comments for PIE requirement.
37670 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37672         [BZ #18046]
37673         [BZ #18047]
37674         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
37675         0x1p-56L as threshold for just returning the argument.
37676         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
37677         0x1p-32L as threshold for just returning the argument.
37678         * math/auto-libm-test-in: Add more tests of atanh.
37679         * math/auto-libm-test-out: Regenerated.
37680         * sysdeps/i386/fpu/libm-test-ulps: Update.
37681         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
37683 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37685         * string/bcopy.c (bcopy): Call memmove for performance.
37687 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37689         * string/bzero.c (__bzero): Call memset for performance.
37691 2015-02-27  John David Anglin  <dave.anglin@bell.net>
37693         [BZ #18068]
37694         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
37695         to 00100000.
37697 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37699         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
37701 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37703         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
37704         (__kernel_standard): Use CSTR macro when setting exc.name.
37705         * sysdeps/ieee754/Makefile [$(subdir) = math]
37706         (CFLAGS-k_standard.c): Remove variable.
37708         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
37709         setting p and q from "else if" to "else".
37710         (qzero): Likewise.
37711         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
37712         (qone): Likewise.
37713         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
37714         (qzerof): Likewise.
37715         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
37716         (qonef): Likewise.
37717         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
37718         (qzero): Likewise.
37719         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
37720         (qone): Likewise.
37722         [BZ #18038]
37723         [BZ #18039]
37724         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
37725         return pi/2 for arguments below 0x1p-113L.
37726         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
37727         return pi/2 for arguments below 0x1p-106L.
37728         * math/auto-libm-test-in: Add more tests of acos.
37729         * math/auto-libm-test-out: Regenerated.
37731         [BZ #16351]
37732         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
37733         (MO): New macro.
37734         (__ieee754_asin): Force underflow exception for results with small
37735         absolute value.
37736         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
37737         (MO): New macro.
37738         (__ieee754_asinf): Force underflow exception for results with
37739         small absolute value.
37740         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
37741         (__ieee754_asin): Force underflow exception for results with small
37742         absolute value.
37743         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
37744         (__ieee754_asinf): Force underflow exception for results with
37745         small absolute value.
37746         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
37747         (__ieee754_asinl): Force underflow exception for results with
37748         small absolute value.
37749         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
37750         (__ieee754_asinl): Force underflow exception for results with
37751         small absolute value.
37752         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
37753         (__ieee754_asinl): Force underflow exception for results with
37754         small absolute value.
37755         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
37756         Include <math.h>.
37757         * math/auto-libm-test-in: Do not mark underflow exceptions as
37758         possibly missing for bug 16351.
37759         * math/auto-libm-test-out: Regenerated.
37761         [BZ #18030]
37762         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
37763         of power of 2 down when low part has opposite sign.
37764         * math/libm-test.inc (logb_test_data): Add more tests.
37766 2015-02-26  Andreas Schwab  <schwab@suse.de>
37768         [BZ #18032]
37769         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
37770         over collating symbol inside a bracket expression.  Minor cleanup.
37771         * posix/tst-fnmatch3.c (do_test): Add test case.
37773 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37775         [BZ #18029]
37776         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
37777         Adjust exponent of power of 2 down when low part has opposite
37778         sign.
37779         * math/libm-test.inc (ilogb_test_data): Add more tests.
37781 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
37783         [BZ #15969]
37784         * locale/findlocale.c (_nl_find_locale): Fix constness error in
37785         the previous change.
37787         [BZ #15969]
37788         * locale/findlocale.c (_nl_find_locale): Retry archive search
37789         after alias expansion.
37791 2015-02-25  Roland McGrath  <roland@hack.frob.com>
37793         * iconv/tst-iconv3.c (main): Converted to ...
37794         (do_test): ... this.
37795         (TEST_FUNCTION): New macro.
37796         Include test-skeleton.c.
37798         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
37799         (convert): Make function static.
37800         (test_unalign): Likewise.  Add const to argument pointee types.
37801         (main): Replace with static function do_test.
37802         Print "Succeeded." only if RET is zero.
37803         (TEST_FUNCTION): New macro.
37804         Include test-skeleton.c.
37806         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
37807         returns a null pointer.
37809 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37811         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
37812         to __memcpy_ppc only for static builds.
37814 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
37816         [BZ #18020]
37817         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
37818         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
37819         * math/auto-libm-test-in: Add more tests of asinh.
37820         * math/auto-libm-test-out: Regenerated.
37821         * sysdeps/i386/fpu/libm-test-ulps: Update.
37822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37824 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
37826         [BZ #15850]
37827         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
37828         and ip6_mtuinfo definitions here.
37829         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
37830         in this define too.  Update comment.
37832 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
37834         * elf/sprof.c (load_shobj): Tweak error message to match others.
37836 2015-02-24  Kevin Easton  <kevin@guarana.org>
37838         [BZ #16145] (partial fix)
37839         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
37840         to reduce lock contention.
37842 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
37844         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
37845         (struct timex): Update time comment.
37846         (ADJ_SETOFFSET): Define.
37848 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
37850         [BZ #18019]
37851         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37852         2**56 not 2**28 as threshold for log (2x) formula.
37853         * math/auto-libm-test-in: Add more tests of acosh.
37854         * math/auto-libm-test-out: Regenerated.
37855         * sysdeps/i386/fpu/libm-test-ulps: Update.
37856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37858 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
37860         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
37861         parenthesis around the buf assignment.
37862         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
37864 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
37866         [BZ #16783]
37867         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
37868         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
37869         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
37870         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37871         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37872         * math/libm-test.inc (scalb_test_data): Add more tests.
37874 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37876         [BZ #17916]
37877         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
37878         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
37880 2015-02-24  Eric Rannaud  <e@nanocritical.com>
37882         [BZ #17523]
37883         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
37884         * io/bits/fcntl2.h (open): Use it.
37885         (openat): Likewise.
37886         * io/open.c (__libc_open): Likewise.
37887         * io/open64.c (__libc_open64): Likewise.
37888         * io/open64_2.c (__open64_2): Likewise.
37889         * io/open_2.c (__open_2): Likewise.
37890         * io/openat.c (__openat): Likewise.
37891         * io/openat64.c (__openat64): Likewise.
37892         * io/openat64_2.c (__openat64_2): Likewise.
37893         * io/openat_2.c (__openat_2): Likewise.
37894         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
37895         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
37896         * sysdeps/posix/open64.c (__libc_open64): Likewise.
37897         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
37898         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
37899         (__open_nocancel): Likewise.
37900         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
37901         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
37902         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
37904 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37906         [BZ #14841]
37907         * resolv/gethnamaddr.c (getanswer): Skip logging if
37908         RES_USE_DNSSEC is set.
37909         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
37911 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
37913         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
37915 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
37917         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
37918         201304L, for Unicode 7.
37920 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
37922         [BZ #17836]
37923         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
37924         shared library.  Add gmon-start.os otherwise.
37925         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
37926         $(objpfx)gmon-start.os if builing shared library.
37927         ($(objpfx)g$(static-start-installed-name)): Likewise.
37929 2015-02-23  Andreas Schwab  <schwab@suse.de>
37931         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
37933 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
37935         [BZ #17269]
37936         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
37937         (enlarge_userbuf): Likewise.
37939 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
37941         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
37942         * math/atest-exp.c (TIMEOUT): Adjust to 200.
37943         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
37944         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
37946 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
37948         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
37949         expression inside statement expression.
37951 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
37953         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
37954         <sysdeps/nptl/lowlevellock.h> and remove macros and
37955         functions that are now defined there.
37956         (SYS_futex): Remove.
37957         (lll_compare_and_swap): Remove.
37958         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
37960 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
37962         [BZ #17999]
37963         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
37964         instead of scandirat.
37965         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
37966         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
37967         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
37968         __scandirat.
37969         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
37970         (__scandirat): Declare.  Use libc_hidden_proto.
37971         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
37972         Remove variable.
37973         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37975 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
37977         [BZ #15319]
37978         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
37979         (MO): New macro.
37980         (__ieee754_atan2): For results with small absolute value, force
37981         underflow exception and remove excess range and precision from
37982         return value.
37983         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
37984         (MO): New macro.
37985         (__ieee754_atan2f): For results with small absolute value, force
37986         underflow exception and remove excess range and precision from
37987         return value.
37988         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
37989         (MO): New macro.
37990         (__atan): For results with small absolute value, force underflow
37991         exception and remove excess range and precision from return value.
37992         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
37993         (MO): New macro.
37994         (__atanf): For results with small absolute value, force underflow
37995         exception and remove excess range and precision from return value.
37996         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
37997         <math.h>.
37998         (__ieee754_atan2): Force underflow exception for results with
37999         small absolute value.
38000         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
38001         <math_private.h>.
38002         (atan): Force underflow exception for results with small absolute
38003         value.
38004         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
38005         (__atanf): Force underflow exception for results with small
38006         absolute value.
38007         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
38008         <math.h>.
38009         (__atanl): Force underflow exception for results with small
38010         absolute value.
38011         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
38012         (__atanl): Force underflow exception for results with small
38013         absolute value.
38014         * sysdeps/x86/fpu/bits/mathinline.h
38015         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
38016         (__ieee754_atan2): Only define inline for long double.
38017         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
38018         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
38019         * math/auto-libm-test-in: Do not mark underflow exceptions as
38020         possibly missing for bug 15319.  Add more tests of atan2.
38021         * math/auto-libm-test-out: Regenerated.
38022         * math/libm-test.inc (casin_test_data): Do not mark underflow
38023         exceptions as possibly missing for bug 15319.
38024         (casinh_test_data): Likewise.
38025         * sysdeps/i386/fpu/libm-test-ulps: Update.
38027 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
38029         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
38030         * sysdeps/mips/bits/endian.h: Fix comments.
38032 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
38034         [BZ #17996]
38035         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
38036         (hdestroy_r): Likewise.
38037         (hsearch_r): Likewise.
38038         (__hcreate_r): Declare and use libc_hidden_proto.
38039         (__hdestroy_r): Likewise.
38040         (__hsearch_r): Likewise.
38041         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
38042         (hcreate): Call __hcreate_r instead of hcreate_r.
38043         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
38044         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
38045         as weak alias of __hcreate_r.
38046         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
38047         __hdestroy_r.
38048         (hsearch_r): Rename to __hsearch_r and define as weak alias of
38049         __hsearch_r.
38050         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
38051         Remove variable.
38052         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38053         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38054         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38055         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38057 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38059         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
38060         arena_lock into a single arena_get.
38062 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
38064         * dl-reloc.c: Inlucde libc-internal.h.
38065         (_dl_try_allocate_static_tls): Call ALIGN_UP.
38066         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
38067         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
38068         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
38069         (grow_heap): Likewise.
38070         * malloc/malloc.c: Include libc-internal.h.
38071         (do_check_malloc): Call powerof2.
38072         (sysmalloc): Use pagesize. Call ALIGN_UP.
38073         (systrim): Use pagesize.
38074         (mremap_chunk): Use pagesize. Call ALIGN_UP.
38075         (__libc_valloc): Use pagesize.
38076         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
38078 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
38080         [BZ #17991]
38081         * include/sys/resource.h (__getrlimit64): Declare.  Use
38082         libc_hidden_proto.
38083         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
38084         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
38085         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
38086         getrlimit64.
38087         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
38088         __getrlimit64.
38089         [!getrlimit64] (getrlimit64): Define as weak alias of
38090         __getrlimit64.  Use libc_hidden_weak.
38091         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
38092         using __getrlimit64 not __new_getrlimit64.
38093         (__GI_getrlimit64): Likewise.
38094         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
38095         Likewise.
38096         (__GI_getrlimit64): Likewise.
38097         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
38098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
38099         (getrlimit): Add __getrlimit64 alias.
38100         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
38101         Likewise.
38102         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
38103         Remove variable.
38104         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38105         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38107 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
38109         * libio/fileops.c: Add missing sys/mman.h
38110         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
38112 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
38114         * manual/math.texi (Errors in Math Functions): Clarify goals
38115         regarding inexact and underflow exceptions.
38117 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
38119         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
38120         * sysdeps/mips/memset.S: Ditto.
38122 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
38124         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
38126 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38128         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
38129         (__v1longjmp): Remove versioned symbol.
38130         (__v1siglongjmp): Remove alias and versioned symbol.
38131         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
38132         (__v2siglongjmp): Likewise.
38134 2015-02-16  Torvald Riegel  <triegel@redhat.com>
38136         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
38138 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
38140         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
38142 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
38144         [BZ #17987]
38145         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
38146         zero result does not depend on the sign resulting from
38147         subtraction.
38148         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38149         Likewise.
38150         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38151         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38152         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38153         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38154         * math/libm-test.inc (remquo_test_data): Add more tests.
38156 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
38158         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
38159         Problem reported by J William Piggott.
38161 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
38163         [BZ #17978]
38164         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
38165         products 4 * y and 2 * y where those would overflow.
38166         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38167         Likewise.
38168         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38169         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38170         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38171         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38172         * math/libm-test.inc (remquo_test_data): Add more tests.
38174         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
38176         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
38177         [defined _COMPILING_NEWLIB].
38178         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
38179         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
38181         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
38182         [!defined __mips_isa_rev || __mips_isa_rev < 6].
38184 2015-02-16  Torvald Riegel  <triegel@redhat.com>
38186         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
38187         acquired.
38189 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
38191         [BZ #17792]
38192         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
38193         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
38194         HOST_STACK_END_ADDR): Likewise.
38196 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
38198         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
38199         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
38200         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
38202 2015-02-13  Roland McGrath  <roland@hack.frob.com>
38204         * sysdeps/generic/c++-types.data: New file.
38205         * sysdeps/generic/ld.abilist: New file.
38206         * sysdeps/generic/libBrokenLocale.abilist: New file.
38207         * sysdeps/generic/libanl.abilist: New file.
38208         * sysdeps/generic/libc.abilist: New file.
38209         * sysdeps/generic/libcrypt.abilist: New file.
38210         * sysdeps/generic/libdl.abilist: New file.
38211         * sysdeps/generic/libm.abilist: New file.
38212         * sysdeps/generic/libpthread.abilist: New file.
38213         * sysdeps/generic/libresolv.abilist: New file.
38214         * sysdeps/generic/librt.abilist: New file.
38216 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
38218         [BZ #17569]
38219         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38220         Compute absolute value of x as modified by fmod, not original
38221         value of x.
38222         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
38223         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
38224         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
38225         RUN_TEST_ffI_f1_mod8.
38226         (remquo_test_data): Add more tests.
38228 2015-02-13  Roland McGrath  <roland@hack.frob.com>
38230         * sysdeps/init_array/pt-crti.S: New file.
38232 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
38234         [BZ #17967]
38235         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
38236         __builtin_fmaf instead of relying on contraction of a * b + c.
38238 2015-02-12  J William Piggott  <elseifthen@gmx.com>
38240         [BZ #17969]
38241         * manual/time.texi: correct the zoneinfo path in the TZ Variable
38242         node.
38244 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
38246         [BZ #17964]
38247         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
38248         __builtin_fma instead of relying on contraction of a * b + c.
38250 2015-02-12  Roland McGrath  <roland@hack.frob.com>
38252         * Makeconfig (ASFLAGS): Add -Werror=undef.
38253         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
38254         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
38255         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
38257         * Makeconfig (after-link): New variable.
38258         (+link-pie, +link-pie-tests): Use it.
38259         (+link-static, +link-static-tests): Likewise.
38260         (+link, +link-tests): Likewise.
38261         * Makerules (build-module, build-module-asneeded): Likewise.
38262         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
38263         Likewise.
38264         * elf/Makefile ($(objpfx)ld.so): Likewise.
38266 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
38268         [BZ #17965]
38269         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
38270         both struct timeval and struct timespec.
38272 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
38274         [BZ #16560]
38275         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38276         and redefine.
38277         (__ieee754_exp2l): Do not multiply small fractional parts by
38278         M_LN2l.
38279         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
38280         small argument.
38281         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38282         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
38283         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
38284         * math/auto-libm-test-in: Add more tests of exp2.
38285         * math/auto-libm-test-out: Regenerated.
38287 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38289         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
38290         unaligned path.
38292 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38294         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
38295         little endian.
38297 2015-02-12  Andreas Schwab  <schwab@suse.de>
38299         [BZ #15790]
38300         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
38301         Filter out elision flags from value returned in kind.
38302         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
38303         * nptl/tst-pthread-mutexattr.c: New file.
38305 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38307         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
38308         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
38309         into gnu-gnu, and update comment to refer to abi-tags.
38311 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
38313         [BZ #15467]
38314         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
38315         (__sincos): Set errno to EDOM for infinite argument.
38316         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
38317         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
38318         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
38319         (__sincosl): Set errno to EDOM for infinite argument.
38320         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
38321         (__sincosl): Set errno to EDOM for infinite argument.
38322         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
38323         (__sincosl): Set errno to EDOM for infinite argument.
38324         * math/libm-test.inc (sincos_test_data): Test errno setting.
38326 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
38328         * string/strxfrm_l.c: Remove #define STRCMP.
38329         * string/strcoll_l.c: Remove #define STRLEN.
38330         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
38331         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
38333 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
38335         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
38336         * sysdeps/mips/mips32/sfp-machine.h: ... here.
38337         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
38338         * sysdeps/mips/mips64/Makefile: ... here.
38339         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
38340         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
38341         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
38342         * sysdeps/mips/mips64/sfp-machine.h: ... here.
38343         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
38344         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
38345         * sysdeps/mips/mips64/n64/Implies: Likewise.
38347 2015-02-10  Roland McGrath  <roland@hack.frob.com>
38349         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
38350         <sys/time.h>, <string.h>, and <errno.h>.
38351         (dest_offset, dest_address, value, zero): Remove unused variables.
38352         (ldouble): Remove typedef.
38353         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
38354         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
38355         1).  Fix code style.
38356         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
38357         (check): Function removed.
38358         (CHECK): New macro.
38359         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
38360         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
38361         Don't call set_sigaction_FP and remove_sigaction_FP here.
38362         (ldouble_test): Just use 'long double' as macro argument, no need for
38363         the 'ldouble' typedef.
38364         (do_test): Set up SIGFPE handler at start, using plain signal rather
38365         than sigaction.  Fix code style.
38367 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
38369         [BZ #17949]
38370         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
38371         jump label.
38373 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38375         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
38376         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38378         * sysdeps/powerpc/configure.ac: Remove file.
38379         * sysdeps/powerpc/configure: Likewise.
38381         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
38382         [sysdep_routines]: Remove wordcopy-power6 object.
38383         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38384         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
38385         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
38386         (__memmove_ppc32): Likewise.
38387         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
38388         file.
38389         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
38390         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
38391         Remove preprocessor.
38393         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
38394         [sysdep_routines]: Remove wide chars objects.
38395         [wcsmbs]: New rule for wide char objects.
38397         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38398         Remove wordcopy-power6 obejct.
38399         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
38400         Use local call for wordcopy and memcpy symbols.
38401         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
38402         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
38403         implementation for loader.
38404         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
38406         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38407         Remove wordcopy-power7 object.
38408         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
38409         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
38410         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
38411         (_wordcopy_fwd_dest_aligned): Likewise.
38412         (_wordcopy_bwd_aligned): Likewise.
38413         (_wordcopy_bwd_dest_aligned): Likewise.
38415         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
38416         Rewrite to call __memmove_ppc instead of include default
38417         implementation.
38419         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38420         Remove wide chars objects.
38421         [wcsmbs]: New rule for wide char objects.
38423 2015-02-09  Andreas Schwab  <schwab@suse.de>
38425         [BZ #17912]
38426         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38427         in terms of __O_DIRECTORY.
38429 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38431         * time/getdate.c: Include <stdbool.h>.
38432         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
38433         call PTR_MANGLE.
38434         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
38435         PTR_DEMANGLE.
38437 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
38439         Add ersatz _Static_assert on older C hosts
38440         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
38441         pre-C11 C platform that is not known to support _Static_assert.
38443 2015-02-07  Richard Braun  <rbraun@sceen.net>
38445         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
38446         sigstate.
38447         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
38449 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38451         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
38452         priority against unexistent AIO_PRIO_DELTA_MAX.
38453         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
38454         instead of int.
38455         * misc/fchflags.c (fchflags): Likewise.
38456         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
38457         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
38458         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
38459         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
38460         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
38461         Declare macros.
38462         [__USE_MISC] (chflags, fchflags): Declare functions.
38463         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
38464         EINVAL when nfds is greater than FD_SETSIZE.
38465         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
38466         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
38467         45.
38468         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
38469         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
38470         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
38471         MACH_RCV_TIMED_OUT.
38472         * hurd/hurd/signal.h (_hurd_self_sigstate,
38473         _hurd_critical_section_lock, _hurd_critical_section_unlock):
38474         Explicit casts from void *.
38475         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
38476         * abi-tags: Rename gnu-gnu os into gnu.
38478         [BZ #4719]
38479         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
38480         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
38481         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
38482         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
38483         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
38484         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
38486         [BZ #17944]
38487         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
38488         duplicates ADDR->sun_path with sockaddr LEN limitation.
38489         * sysdeps/mach/hurd/connect.c: Include <string.h>
38490         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
38491         * sysdeps/mach/hurd/sendmsg.c: Likewise.
38492         * sysdeps/mach/hurd/sendto.c: Likewise.
38493         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
38494         implementing it by hand.
38496 2015-02-06  Roland McGrath  <roland@hack.frob.com>
38498         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
38499         Use sfi_breg on ldr.
38500         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
38501         Likewise.
38503         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
38504         it's defined.
38505         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
38506         Test SIGSETXID only if it's defined.
38508         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
38510         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
38511         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
38513         * nptl/tst-align2.c: Moved ...
38514         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
38515         * nptl/Makefile (tests): Remove tst-align2.
38516         * sysdeps/unix/sysv/linux/Makefile
38517         [$(subdir) = nptl] (tests): Add tst-align-clone.
38518         * nptl/tst-getpid1.c: Moved ...
38519         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
38520         * nptl/tst-getpid2.c: Moved ...
38521         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
38522         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
38523         * sysdeps/unix/sysv/linux/Makefile
38524         [$(subdir) = nptl] (tests): ... here.
38525         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
38526         * sysdeps/unix/sysv/linux/Makefile
38527         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
38529         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
38530         Drop trailing \n from perror argument.  Use return rather than exit.
38532         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
38533         on [SA_SIGINFO].
38534         * nptl/tst-cancel21.c (do_test): Likewise.
38535         * debug/tst-backtrace6.c: Include <signal.h> first thing.
38536         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
38537         [!SA_SIGINFO]: Make it a stub test.
38539         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
38540         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
38542         * posix/tst-getlogin.c: Move to ...
38543         * login/tst-getlogin.c: ... here.
38544         * posix/Makefile (tests): Move tst-getlogin to ...
38545         * login/Makefile (tests): ... here.
38547         * libio/tst-atime.c (do_test): Move local variables SV and E
38548         inside [ST_NOATIME] conditional.
38550         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
38552         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
38554         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
38555         (wait_code): New function replaces macro.
38556         Call nanosleep rather than syscall.
38558         * nptl/pt-system.c: Rewritten.  Put everything under
38559         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38560         Use IFUNC to redirect when possible.
38562         * nptl/pt-longjmp.c: Rewritten.  Put everything under
38563         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38564         Use IFUNC to redirect when possible.
38566         * nptl/pt-fork.c: Rewritten.  Put everything under
38567         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38568         Use IFUNC to redirect when possible.
38569         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
38571         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
38572         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
38573         unconditionally nowadays.  This included the only reference to
38574         __vdso_clock_gettime that appears outside libc proper.
38575         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
38576         Remove version set (containing only __vdso_clock_gettime).
38577         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
38578         Add attribute_hidden.
38579         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
38580         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
38581         libc_hidden_data_def.
38582         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38583         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38585         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
38586         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
38587         setrpcent, and getrpcport to ...
38588         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
38589         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
38590         getrpcbynumber_r, and getrpcent_r to ...
38591         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
38592         * inet/getrpcbyname.c: Moved ...
38593         * sunrpc/getrpcbyname.c: ... here.
38594         * inet/getrpcbyname_r.c: Moved ...
38595         * sunrpc/getrpcbyname_r.c: ... here.
38596         * inet/getrpcbynumber.c: Moved ...
38597         * sunrpc/getrpcbynumber.c: ... here.
38598         * inet/getrpcbynumber_r.c: Moved ...
38599         * sunrpc/getrpcbynumber_r.c: ... here.
38600         * inet/getrpcent.c: Moved ...
38601         * sunrpc/getrpcent.c: ... here.
38602         * inet/getrpcent_r.c: Moved ...
38603         * sunrpc/getrpcent_r.c: ... here.
38604         * inet/Makefile (routines): Move those to ...
38605         * sunrpc/Makefile (routines): ... here.
38606         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
38607         the $(subdirs) list.
38608         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
38609         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
38610         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
38611         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
38613         * elf/Makefile (routines): Include $(all-dl-routines), not just
38614         $(dl-routines).
38615         (rtld-routines): Likewise.  Use = rather than :=.
38616         * sysdeps/aarch64/Makefile [$(subdir) = elf]
38617         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
38618         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
38619         * sysdeps/arm/Makefile: Likewise.
38620         * sysdeps/i386/Makefile: Likewise.
38621         * sysdeps/x86_64/Makefile: Likewise.
38622         * sysdeps/hppa/Makefile [$(subdir) = elf]
38623         (sysdep_routines, sysdep-rtld-routines): Don't add
38624         $(sysdep-dl-routines) to these.
38625         * sysdeps/ia64/Makefile: Likewise.
38626         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
38627         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
38628         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
38629         Don't add dl-static to these; sysdep-dl-routines alone is enough.
38630         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
38631         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
38632         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
38633         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
38634         * sysdeps/powerpc/Makefile [$(subdir) = elf]
38635         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
38636         these; sysdep-dl-routines alone is enough.
38638 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
38640         [BZ #17932]
38641         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
38642         where multiplication results in zero and third argument is finite
38643         and nonzero.
38644         * math/auto-libm-test-in: Add more tests of fma.
38645         * math/auto-libm-test-out: Regenerated.
38647         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
38648         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
38649         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
38650         (_FP_CMP_EQ): Likewise.
38651         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
38653         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
38654         extra argument CHECK_NAN.  Redefine as wrapper around
38655         _FP_EXTEND_CNAN.
38657 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
38659         * version.h (RELEASE): Set to "stable".
38660         (VERSION): Set to "2.21"
38661         * include/features.h (__GLIBC_MINOR__): Set to 21.
38663         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
38665 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38666             Paul Eggert  <eggert@cs.ucla.edu>
38668         [BZ #16618]
38669         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
38670         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
38671         size in bytes. Store needed elements in wpmax. Use needed size
38672         in bytes for extend_alloca.
38674 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
38676         * manual/install.texi: Latest tested versions are GCC 4.9.2,
38677         binutls 2.25, and texinfo 5.2.
38678         * INSTALL: Regenerate.
38679         * sysdeps/nios2/configure: Regenerate.
38680         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
38681         * manual/contrib.texi: Update.
38682         * po/be.po: Update.
38683         * po/bg.po: Update.
38684         * po/ca.po: Update.
38685         * po/cs.po: Update.
38686         * po/da.po: Update.
38687         * po/de.po: Update.
38688         * po/el.po: Update.
38689         * po/eo.po: Update.
38690         * po/es.po: Update.
38691         * po/fi.po: Update.
38692         * po/fr.po: Update.
38693         * po/gl.po: Update.
38694         * po/hr.po: Update.
38695         * po/hu.po: Update.
38696         * po/ia.po: Update.
38697         * po/id.po: Update.
38698         * po/it.po: Update.
38699         * po/ja.po: Update.
38700         * po/ko.po: Update.
38701         * po/lt.po: Update.
38702         * po/nb.po: Update.
38703         * po/nl.po: Update.
38704         * po/pl.po: Update.
38705         * po/pt_BR.po: Update.
38706         * po/ru.po: Update.
38707         * po/rw.po: Update.
38708         * po/sk.po: Update.
38709         * po/sl.po: Update.
38710         * po/sv.po: Update.
38711         * po/tr.po: Update.
38712         * po/uk.po: Update.
38713         * po/vi.po: Update.
38714         * po/zh_CN.po: Update.
38715         * po/zh_TW.po: Update.
38717         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
38718         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
38719         * sysdeps/hppa/dl-irel.h: Remove #warning.
38720         * sysdeps/hppa/entry.h: Provide prototype for
38721         __canonicalize_funcptr_for_compare and cast argument.
38722         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
38723         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
38724         * sysdeps/hppa/sotruss-lib.c: New file.
38725         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
38726         (atomic_compare_and_exchange_val_acq): Use __typeof__.
38727         (atomic_compare_and_exchange_bool_acq): Likewise.
38728         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
38729         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
38731         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
38732         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
38733         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
38735 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
38737         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
38738         called function in non-PIC case.
38740 2015-01-31  David S. Miller  <davem@davemloft.net>
38742         * sysdeps/sparc/sparc32/bits/atomic.h
38743         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
38744         unlock not after it.
38745         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
38746         volatile register usage warnings from the compiler.
38748         * sysdeps/sparc/nptl/sem_init.c: Delete.
38749         * sysdeps/sparc/nptl/sem_post.c: Delete.
38750         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
38751         * sysdeps/sparc/nptl/sem_wait.c: Delete.
38752         * sysdeps/sparc/sparc32/sem_init.c: New file.
38753         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
38754         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
38755         padding explicitly initialized.
38756         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
38757         padding for in-semaphore spinlock.
38758         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
38759         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
38760         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
38761         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
38762         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
38763         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
38764         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
38765         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
38766         version.
38767         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
38768         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
38770 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
38772         [BZ #17801]
38773         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38774         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
38775         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
38776         New.
38777         (index_AVX_Fast_Unaligned_Load): Likewise.
38778         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
38779         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
38780         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
38781         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
38782         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
38783         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
38784         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
38785         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
38786         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
38788 2015-01-29  Andreas Schwab  <schwab@suse.de>
38790         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
38792 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
38794         [BZ #17892]
38795         * nscd/nscd_stat.c (send_stats): Initialize DATA.
38797 2015-01-28  Martin Sebor  <msebor@redhat.com>
38799         * math/README.libm-test: Clarify. Add "How to read the test output."
38801 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
38803         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
38804         Define to 0.
38806 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
38808         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
38809         (__HAVE_64B_ATOMICS): Define to 0.
38811 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38813         [BZ #17885]
38814         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
38815         value to set as new flag.
38817         [BZ #16576]
38818         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
38819         and use _ARCH_PPCSQ instead.
38820         (__ieee754_sqrt): Likewise.
38821         (__ieee754_sqrtf): Likewise.
38822         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
38823         _ARCH_PPCSQ is defined.
38824         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
38825         fsqrt instruction.
38826         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
38827         _ARCH_PPCSQ is defined.
38828         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
38829         fsqrts instruction.
38830         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
38832 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38834         * iconv/loop.c: Suppress array out of bound warning caused by GCC
38835         bug (GCC BZ #64739).
38837 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
38839         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
38840         Mark _retval as used.
38841         (lll_futex_wake_unlock): Likewise.
38842         (lll_futex_timed_wait_requeue_pi): Likewise.
38844         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
38845         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
38846         register variables.
38848         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
38849         libm_hidden_def.
38851         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
38852         (__bswap_64): Mark as __always_inline.
38854 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
38856         [BZ #15378]
38857         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
38858         when none of the search directories exist.
38860 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38862         [BZ #17869]
38863         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
38864         power8 in .machine directive.
38866         [BZ #17868]
38867         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
38868         set dependency from opd value.
38870 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
38872         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38873         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
38874         architecture.
38876 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
38878         [BZ #17870]
38879         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
38880         with uint64_t.
38881         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
38882         (uint64_t) 1.
38883         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
38884         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
38885         Replace 1UL with (uint64_t) 1.
38886         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
38887         int with uint64_t.
38889 2015-01-23  Roland McGrath  <roland@hack.frob.com>
38891         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
38892         (if_freenameindex): Likewise.
38894         * resource/getrlimit64.c: Add missing libc_hidden_def.
38896 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
38898         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
38899         __label__.
38900         (_FP_FMA): Likewise.
38901         (_FP_TO_INT_ROUND): Likewise.
38902         (_FP_FROM_INT): Likewise.
38904 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38906         [BZ #16418]
38907         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
38908         Make code racy and cancel safe.
38910 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
38912         * sysdeps/arm/unwind-resume.h: Fix copyright year.
38913         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
38914         attribution.
38916         * pwd/tst-getpw.c: Rewrite.
38918         [BZ #17702]
38919         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
38920         (modules-names): Add moddummy1 and moddummy2.
38921         ($(objpfx)tst-rec-dlopen): Define.
38922         * dlfcn/moddummy1.c: New file.
38923         * dlfcn/moddummy2.c: New file.
38924         * dlfcn/tst-rec-dlopen.c: New file.
38925         * elf/dl-cache.c (_dl_load_cache_lookup):
38926         Return char*. Copy result with alloca/strcpy/strdup.
38927         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
38928         returns char*. Free cached. If not saving realname
38929         free cached.
38930         * elf/dl-open.c (dl_open_worker): Do not assert that
38931         _r_debug->r_state is RT_CONSISTENT.
38932         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
38933         returns char*.
38935 2015-01-21  Torvald Riegel  <triegel@redhat.com>
38936             Carlos O'Donell  <carlos@redhat.com>
38938         [BZ #12674]
38939         * nptl/sem_waitcommon.c: New file.
38940         * nptl/sem_wait.c: Include sem_waitcommon.c.
38941         (__sem_wait_cleanup, do_futex_wait): Remove.
38942         (__new_sem_wait): Adapt.
38943         (__new_sem_trywait): New function.
38944         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
38945         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
38946         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
38947         (sem_timedwait): Adapt.
38948         * nptl/sem_post.c (__new_sem_post): Adapt.
38949         (futex_wake): New function.
38950         (__old_sem_post): Add release MO fence.
38951         * nptl/sem_open.c (sem_open): Adapt.
38952         * nptl/sem_init.c (__new_sem_init): Adapt.
38953         (futex_private_if_supported): New function.
38954         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
38955         (__old_sem_getvalue): Add using previous code.
38956         * sysdeps/nptl/internaltypes.h: Adapt.
38957         * nptl/tst-sem13.c (do_test): Adapt.
38958         * nptl/tst-sem11.c (main): Adapt.
38959         * nptl/sem_trywait.c: Remove.
38960         * nptl/DESIGN-sem.txt: Remove.
38961         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
38962         (gen-as-const-headers): Remove structsem.sym.
38963         * nptl/structsem.sym: Remove.
38964         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
38965         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
38966         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
38967         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
38968         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
38969         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
38970         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
38971         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
38972         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
38973         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
38974         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
38975         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
38976         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
38977         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
38978         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
38979         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
38980         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
38981         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
38982         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
38983         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
38984         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
38985         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
38987 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
38989         * INSTALL: Regenerated.
38991         * po/libc.pot: Regenerated.
38993 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
38994             Sandra Loosemore  <sandra@codesourcery.com>
38995             Andrew Jenner  <andrew@codesourcery.com>
38996             Joseph Myers  <joseph@codesourcery.com>
38997             Nathan Sidwell  <nathan@codesourcery.com>
38999         * NEWS: Mention new Nios II port.
39000         * sysdeps/nios2/Implies: New file.
39001         * sysdeps/nios2/Makefile: New file.
39002         * sysdeps/nios2/Subdirs: New file.
39003         * sysdeps/nios2/Versions: New file.
39004         * sysdeps/nios2/__longjmp.S: New file.
39005         * sysdeps/nios2/abort-instr.h: New file.
39006         * sysdeps/nios2/backtrace.c: New file.
39007         * sysdeps/nios2/bits/endian.h: New file.
39008         * sysdeps/nios2/bits/fenv.h: New file.
39009         * sysdeps/nios2/bits/link.h: New file.
39010         * sysdeps/nios2/bits/setjmp.h: New file.
39011         * sysdeps/nios2/bsd-_setjmp.S: New file.
39012         * sysdeps/nios2/bsd-setjmp.S: New file.
39013         * sysdeps/nios2/configure: New generated file.
39014         * sysdeps/nios2/configure.ac: New file.
39015         * sysdeps/nios2/crti.S: New file.
39016         * sysdeps/nios2/crtn.S: New file.
39017         * sysdeps/nios2/dl-init.c: New file.
39018         * sysdeps/nios2/dl-machine.h: New file.
39019         * sysdeps/nios2/dl-sysdep.h: New file.
39020         * sysdeps/nios2/dl-tls.h: New file.
39021         * sysdeps/nios2/dl-trampoline.S: New file.
39022         * sysdeps/nios2/gccframe.h: New file.
39023         * sysdeps/nios2/gmp-mparam.h: New file.
39024         * sysdeps/nios2/jmpbuf-offsets.h: New file.
39025         * sysdeps/nios2/jmpbuf-unwind.h: New file.
39026         * sysdeps/nios2/ldsodefs.h: New file.
39027         * sysdeps/nios2/libc-tls.c: New file.
39028         * sysdeps/nios2/libm-test-ulps: New file.
39029         * sysdeps/nios2/machine-gmon.h: New file.
39030         * sysdeps/nios2/math-tests.h: New file.
39031         * sysdeps/nios2/math_private.h: New file.
39032         * sysdeps/nios2/memusage.h: New file.
39033         * sysdeps/nios2/nptl/Makefile: New file.
39034         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
39035         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
39036         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
39037         * sysdeps/nios2/nptl/pthreaddef.h: New file.
39038         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
39039         * sysdeps/nios2/nptl/tls.h: New file.
39040         * sysdeps/nios2/preconfigure: New file.
39041         * sysdeps/nios2/s_fma.c: New file.
39042         * sysdeps/nios2/s_fmaf.c: New file.
39043         * sysdeps/nios2/setjmp.S: New file.
39044         * sysdeps/nios2/sfp-machine.h: New file.
39045         * sysdeps/nios2/sotruss-lib.c: New file.
39046         * sysdeps/nios2/stackguard-macros.h: New file.
39047         * sysdeps/nios2/stackinfo.h: New file.
39048         * sysdeps/nios2/start.S: New file.
39049         * sysdeps/nios2/sysdep.h: New file.
39050         * sysdeps/nios2/tls-macros.h: New file.
39051         * sysdeps/nios2/tst-audit.h: New file.
39052         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
39053         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
39054         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
39055         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
39056         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
39057         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
39058         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
39059         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
39060         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
39061         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
39062         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
39063         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
39064         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
39065         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
39066         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
39067         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
39068         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
39069         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
39070         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
39071         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
39072         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
39073         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
39074         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
39075         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
39076         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
39077         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
39078         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
39079         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
39080         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
39081         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
39082         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
39083         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
39084         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
39085         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
39086         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
39087         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
39088         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
39089         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
39090         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
39091         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
39092         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
39093         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
39094         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
39095         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
39097 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39099         [BZ #17844]
39100         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
39101         (getutent): Use weak_alias in non SHARED case
39102         and default_symbol_version in SHARED case.
39103         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
39104         (getutent_r, pututline): Likewise.
39105         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
39106         (getutid): Likewise.
39107         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
39108         (getutid_r): Likewise.
39109         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
39110         (getutline): Likewise.
39111         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
39112         (getutline_r): Likewise.
39113         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
39114         (updwtmp): Likewise.
39116 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39118         [BZ #17848]
39119         * sysdeps/s390/s390-32/memcmp.S
39120         (memcmp_g5): Rename to __memcmp_g5.
39121         * sysdeps/s390/s390-32/memcpy.S
39122         (memcpy_g5): Rename to __memcpy_g5.
39123         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39124         (memcpy_mvcle) Rename to __memcpy_mvcle.
39125         * sysdeps/s390/s390-32/memset.S
39126         (memset_g5): Rename to __memset_g5.
39127         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39128         (IFUNC_RESOLVE): Prefix ifunc-resolve function
39129         and use prefixed functions.
39130         * sysdeps/s390/s390-32/multiarch/memcmp.S
39131         (memcmp_z196): Rename to __memcmp_z196.
39132         (memcmp_z10): Rename to __memcmp_z10.
39133         (memcmp): Set alias to __memcmp_g5.
39134         (bcmp): Set alias to __memcmp_g5.
39135         * sysdeps/s390/s390-32/multiarch/memcpy.S
39136         (memcpy_z196): Rename to __memcpy_z196.
39137         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39138         (memcpy_z10): Rename to __memcpy_z10.
39139         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39140         (memcpy): Set alias to __memcpy_g5.
39141         * sysdeps/s390/s390-32/multiarch/memset.S
39142         (memset_z196): Rename to __memset_z196.
39143         Jump to __memset_mvcle instead of memset_mvcle.
39144         (memset_z10): Rename to __memset_z10.
39145         Jump to __memset_mvcle instead of memset_mvcle.
39146         (memset_mvcle) Rename to __memset_mvcle.
39147         (memset): Set alias to __memset_g5.
39148         * sysdeps/s390/s390-64/memcmp.S
39149         (memcmp_z900): Rename to __memcmp_z900.
39150         * sysdeps/s390/s390-64/memcpy.S
39151         (memcpy_z900): Rename to __memcpy_z900.
39152         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39153         (memcpy_mvcle) Rename to __memcpy_mvcle.
39154         * sysdeps/s390/s390-64/memset.S
39155         (memset_z900): Rename to __memset_z900.
39156         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
39157         (IFUNC_RESOLVE): Prefix ifunc-resolve function
39158         and use prefixed functions.
39159         * sysdeps/s390/s390-64/multiarch/memcmp.S
39160         (memcmp_z196): Rename to __memcmp_z196.
39161         (memcmp_z10): Rename to __memcmp_z10.
39162         (memcmp): Set alias to __memcmp_z900.
39163         (bcmp): Set alias to __memcmp_z900.
39164         * sysdeps/s390/s390-64/multiarch/memcpy.S
39165         (memcpy_z196): Rename to __memcpy_z196.
39166         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39167         (memcpy_z10): Rename to __memcpy_z10.
39168         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39169         (memcpy): Set alias to __memcpy_z900.
39170         * sysdeps/s390/s390-64/multiarch/memset.S
39171         (memset_z196): Rename to __memset_z196.
39172         Jump to __memset_mvcle instead of memset_mvcle.
39173         (memset_z10): Rename to __memset_z10.
39174         Jump to __memset_mvcle instead of memset_mvcle.
39175         (memset_mvcle) Rename to __memset_mvcle.
39176         (memset): Set alias to __memset_z900.
39178 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
39180         [BZ #17748]
39181         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
39182         __fesetenv instead of fesetenv.
39184 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39186         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
39187         macro.
39189 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39191         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
39192         regression on LE.
39194         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
39195         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
39196         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39197         strncmp-power8 object.
39198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39199         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
39200         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
39201         * NEWS: Update.
39203 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39204             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39206         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
39207         trailing byte check.
39209 2015-01-13  David S. Miller  <davem@davemloft.net>
39211         * include/signal.h (__sigreturn): Guard with __USE_MISC.
39213 2015-01-13  Roland McGrath  <roland@hack.frob.com>
39215         * login/logout.c (logout): Use memset rather than bzero.
39216         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
39217         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
39218         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
39219         (_gethtbyaddr): Likewise.
39220         * locale/programs/simple-hash.c (bcopy): Macro removed.
39222 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39224         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39225         Add strcmp-power8 object.
39226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39227         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
39228         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
39229         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
39230         __strcmp_power8 implementation.
39231         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
39232         * NEWS: Update.
39234         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39235         Add strncpy-power8 and stpncpy-power8 objects.
39236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39237         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
39238         implementations.
39239         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
39240         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
39241         __stpncpy_power8 implementation.
39242         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
39243         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
39244         __strncpy_power8 implementation.
39245         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
39246         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
39247         * NEWS: Update.
39249         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
39250         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
39251         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
39253         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39254         strncat-power8 object.
39255         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
39256         __strcat_power8 implementation.
39257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39258         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
39259         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
39260         optimized strcat for power8.
39262         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39263         strcpy-power8 and stpcpy-power8 objects.
39264         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39265         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
39266         implementations.
39267         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
39268         multiarch stpcpy implementation for POWER8.
39269         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
39270         multiarch strcpy implementation for POWER8.
39271         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
39272         __strcpy_power8 function.
39273         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
39274         stpcpy for POWER8.
39275         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
39276         strcpy for POWER8.
39277         * NEWS: Update.
39279 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
39281         [BZ #16009]
39282         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
39283         weights and rules. Use do_xfrm_cached if data fits in cache,
39284         do_xfrm otherwise.  Moved former main loop to...
39285         * (do_xfrm_cached): New function.
39286         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
39287         find_idx, find_position and stack_push.
39288         * (find_idx): New function.
39289         * (find_position): Likewise.
39290         * localedata/sort-test.sh: Added test run for do_xfrm.
39291         * localedata/xfrm-test.c (main): Added command line option
39292         -nocache to run the test with strings that are too large for
39293         the STRXFRM cache.
39295 2015-01-13  Torvald Riegel  <triegel@redhat.com>
39297         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
39298         variable to lll_futex_wake call, not the value itself.
39300 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
39302         [BZ #17803]
39303         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
39304         twom64.  Adjust value to 0x1p-64L.
39305         (__scalblnl): Only return standard underflowing result for K <=
39306         -64 not K <= -63; adjust exponent for underflowing result by 64
39307         not 63.
39308         * math/libm-test.inc (scalbn_test_data): Add more tests.
39309         (scalbln_test_data): Likewise.
39311         [BZ #17834]
39312         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
39313         0x1p63L.
39314         (__scalblnl): Get new exponent of adjusted subnormal value from ES
39315         not HX.
39316         * math/libm-test.inc (scalbn_test_data): Add more tests.
39317         (scalbln_test_data): Likewise.
39319 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39320             Stefani Seibold  <stefani@seibold.net>
39322         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
39323         (sysdep_routines): Add dl-vdso here, ...
39324         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
39325         (sysdep_routines): ... not here.
39326         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
39327         fallback when vDSO is not presented.
39328         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
39329         Define with libc_hidden_proto/libc_hidden_data_def definitions.
39330         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
39331         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
39332         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
39333         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
39334         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
39335         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
39336         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
39337         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
39338         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
39339         fallback configurable symbol when vDSO is not available.
39340         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
39341         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
39342         be able to redefine fallback symbol when vDSO is not available.
39343         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
39344         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
39346 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39348         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
39349         (TLS_INIT_TP): Add tm_capable initialization.
39350         (TLS_DEFINE_INIT_TP): Likewise.
39351         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
39352         TCB.
39353         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
39354         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
39355         calculation.
39356         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
39357         transactoion is lock elision is built and TCB tm_capable is set.
39358         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
39359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39360         (INTERNAL_SYSCALL_NCS): Likewise.
39361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39362         (INTERNAL_SYSCALL_NCS): Likewise.
39363         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
39365         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
39366         for powerpc.
39367         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39368         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
39369         and remove it for 32 bits case.
39370         [pthread_rwlock_t] (__rwelision): New field for lock elision.
39371         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
39372         initialization.
39373         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
39374         Disable lock elision with rdlocks if elision is not available.
39376         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
39377         (sysdep_routines): Add lock elision objects.
39378         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39379         [pthread_mutex_t] (__spins): Rework to add lock elision field.
39380         [pthread_mutex_t] (__elision): Add field.
39381         [__PTHREAD_SPINS]: Adjust to init lock elision field.
39382         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
39383         elision definitions for powerpc.
39384         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
39385         implementation of lock elision for powerpc.
39386         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
39387         implementation of timed lock elision for powerpc.
39388         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
39389         implementation of trylock with lock elision for powerpc.
39390         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
39391         implementaion of unlock for lock elision for powerpc.
39392         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
39393         automatic enable lock elision for mutexes.
39394         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
39395         transaction execution definitions for powerpc.
39396         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
39397         definitions.
39398         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
39399         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
39400         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
39401         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
39402         * NEWS: Update.
39404 2015-01-09  Roland McGrath  <roland@hack.frob.com>
39406         * sysdeps/posix/shm-directory.c: Use <> rather than ""
39407         for #include of <shm-directory.h>.
39409 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
39411         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
39412         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
39414 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
39416         [BZ #17791]
39417         * NEWS: Mention bug fix.
39418         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
39419         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
39420         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
39422 2015-01-09  Torvald Riegel <triegel@redhat.com>
39424         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
39426 2015-01-09  Torvald Riegel <triegel@redhat.com>
39428         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
39430 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39432         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
39433         pointer and cast to uintptr_t.
39435 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39437         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
39438         removed.
39439         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
39441 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39443         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
39444         of 0.
39446 2015-01-08  Roland McGrath  <roland@hack.frob.com>
39448         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
39449         <nptl/pthreadP.h> instead.
39450         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
39452         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
39453         already defined.
39454         [__SIGRTMIN] (init): Function removed.
39455         [__SIGRTMIN] (initialized): Variable removed.
39456         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
39457         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
39458         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
39459         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
39460         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
39461         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
39462         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
39463         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
39464         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
39465         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
39466         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
39467         * sysdeps/nptl/allocrtsig.c: New file.
39468         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
39469         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
39470         * sysdeps/generic/testrtsig.h: File removed.
39472         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
39473         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
39475         * nptl/nptl-init.c (pthread_functions): Conditionalize
39476         .ptr__nptl_setxid initialization on [SIGSETXID].
39478         * sysdeps/nptl/sys/procfs.h: New file.
39479         * nptl_db/Makefile (headers): Add it.
39480         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
39482         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
39483         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
39484         * nptl/pthread_attr_setaffinity.c: Include it.
39485         * nptl/pthread_setattr_default_np.c: Likewise.
39486         * nptl/check-cpuset.h: New file.
39488 2015-01-08  Richard Henderson  <rth@redhat.com>
39490         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
39491         (CFLAGS-tst-execstack-prog.c): Likewise.
39492         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
39494 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
39495             Sandra Loosemore  <sandra@codesourcery.com>
39496             Andrew Jenner  <andrew@codesourcery.com>
39497             Joseph Myers  <joseph@codesourcery.com>
39498             Nathan Sidwell  <nathan@codesourcery.com>
39500         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
39501         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
39502         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
39503         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
39504         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
39505         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
39506         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
39507         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
39508         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
39509         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
39510         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
39511         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
39512         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
39513         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
39514         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
39515         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
39516         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
39518 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39520         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
39521         timespec struct member in syscall macro.
39522         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
39523         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
39524         first timeval struct member in syscall macro.
39525         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
39527 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
39529         [BZ #17748]
39530         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
39531         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
39532         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
39533         __feupdateenv and define as weak alias of __feupdateenv.  Use
39534         libm_hidden_weak.
39535         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
39536         libm_hidden_def.
39537         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
39538         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
39539         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39540         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
39541         libm_hidden_def.
39542         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
39543         __feupdateenv and define as weak alias of __feupdateenv.  Use
39544         libm_hidden_weak.
39545         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
39546         libm_hidden_def.
39547         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
39548         __feupdateenv and define as weak alias of __feupdateenv.  Use
39549         libm_hidden_weak.
39550         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
39551         libm_hidden_def.
39552         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39553         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39554         (__feupdateenv): Likewise.
39555         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
39556         __feupdateenv and define as weak alias of __feupdateenv.  Use
39557         libm_hidden_weak.
39558         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39559         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
39560         libm_hidden_def.
39561         * sysdeps/tile/math_private.h (__feupdateenv): New inline
39562         function.
39563         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
39564         libm_hidden_def.
39565         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
39566         __feupdateenv instead of feupdateenv.
39567         (default_libc_feupdateenv_test): Likewise.
39568         (libc_feresetround_ctx): Likewise.
39570 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39572         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
39573         prototype.
39575 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
39577         * posix/regcomp.c (parse_bracket_exp): Initialize type to
39578         COLL_SYM in a couple of places to avoid uninitialized variable
39579         wanings on tilegx gcc 4.8.2.
39581 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
39583         * sysdeps/aarch64/strcpy.S: New file.
39584         * sysdeps/aarch64/stpcpy.S: New file.
39585         * NEWS: Updated.
39587 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
39589         * sysdeps/aarch64/strrchr.S: New file.
39590         * NEWS: Updated.
39592 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
39594         [BZ #17658]
39595         * stdlib/setenv.c: Fix memory leak when setting large,
39596         duplicate string.
39598 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
39600         [BZ #17273]
39601         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
39602         and tabs from buffer before parsing fstab entry.
39603         * misc/tst-mntent.c (main): Add test for mount entry with
39604         trailing spaces and tabs.
39606 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
39608         [BZ #17748]
39609         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
39610         * math/fesetround.c (fesetround): Rename to __fesetround and
39611         define as weak alias of __fesetround.  Use libm_hidden_weak.
39612         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
39613         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
39614         * sysdeps/arm/fesetround.c (fesetround): Likewise.
39615         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
39616         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
39617         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
39618         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
39619         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
39620         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
39621         __fesetround_inline.
39622         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
39623         __fesetround_inline instead of __fesetround.
39624         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
39625         __fesetround and define as weak alias of __fesetround.  Use
39626         libm_hidden_weak.  Call __fesetround_inline instead of
39627         __fesetround.
39628         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
39629         __fesetround and define as weak alias of __fesetround.  Use
39630         libm_hidden_weak.
39631         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
39632         Likewise.
39633         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
39634         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39635         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
39636         * sysdeps/tile/math_private.h (__fesetround): New inline function.
39637         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
39638         __fesetround and define as weak alias of __fesetround.  Use
39639         libm_hidden_weak.
39640         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
39641         __fesetround instead of fesetround.
39642         (default_libc_feholdexcept_setround): Likewise.
39643         (libc_feholdsetround_ctx): Likewise.
39644         (libc_feholdsetround_noex_ctx): Likewise.
39646         [BZ #17748]
39647         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
39648         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
39649         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39650         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39651         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39652         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
39653         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39654         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
39655         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39656         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39657         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39658         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39659         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39660         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39661         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
39662         libm_hidden_def.
39663         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
39664         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
39665         Likewise.
39666         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39667         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39668         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39669         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39670         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
39671         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39672         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39673         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
39674         __fesetenv instead of fesetenv.
39675         (libc_feresetround_noex_ctx): Likewise.
39676         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
39677         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39678         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
39679         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
39680         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
39681         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39682         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39683         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39684         (__feupdateenv): Likewise.
39685         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39686         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39687         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39688         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
39690 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39692         [BZ #17806]
39693         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
39694         addresses have been freed.
39696 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39698         * resolv/res_init.c (__res_vinit): Improve comments about nserv
39699         and nservall.
39701 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
39703         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
39704         Clean up check_pf allocation pattern. addresses
39706 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39708         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
39709         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
39710         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
39711         * nptl/pthread_exit.c (__pthread_exit): Likewise.
39712         * nptl/pthread_join.c (pthread_join): Likewise.
39713         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
39714         * sysdeps/posix/waitid.c (__waitid): Likewise.
39715         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
39716         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
39717         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
39718         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
39719         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
39720         Likewise.
39721         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
39722         (__libc_pread64): Likewise.
39723         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
39724         (__libc_pwrite): Likewise.
39725         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
39726         (__libc_pwrite64): Likewsie.
39727         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
39728         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
39729         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
39730         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
39731         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
39732         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
39733         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
39735         Likewise.
39736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39737         (__libc_pread64): Likewise.
39738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
39739         Likewise.
39740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39741         (__libc_pwrite64): Likewise.
39742         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
39743         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
39744         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
39745         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
39746         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
39747         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
39748         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
39749         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
39750         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
39751         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
39752         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
39753         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
39754         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
39755         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
39756         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
39757         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
39758         Likewise.
39760 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
39762         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
39763         (CFLAGS-test-double.c): Likewise.
39764         (CFLAGS-test-ldouble.c): Likewise.
39765         (CPPFLAGS-test-ifloat.c): Likewise.
39766         (CPPFLAGS-test-idouble.c): Likewise.
39767         (CPPFLAGS-test-ildoubl.c): Likewise.
39768         (CFLAGS-test-test-fenv.c): Remove variable.
39769         (CFLAGS-test-misc.c): Likewise.
39771 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
39773         [BZ #17797]
39774         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
39775         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
39776         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
39777         CLOCKS_PER_SEC == 1000000.
39778         * time/clocktest.c (main): Replace %ld with %jd and cast to
39779         intmax_t.
39781 2015-01-05  Roland McGrath  <roland@hack.frob.com>
39783         * sysdeps/generic/unwind-resume.h: New file.
39784         * sysdeps/gnu/unwind-resume.c: Include it.
39785         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
39786         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
39787         argument list.
39788         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
39789         global rather than static.
39790         (_Unwind_Resume): Update user.
39791         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
39792         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
39793         rather than static.  Add __attribute__ ((cold)).
39794         (_Unwind_Resume, __gcc_personality_v0): Update callers.
39795         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
39796         * sysdeps/arm/arm-unwind-resume.S: New file.
39797         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
39798         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
39799         * sysdeps/arm/Makefile [$(subdir) = csu]
39800         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
39801         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39802         Add rt-arm-unwind-resume.
39803         [$(subdir) = nptl]
39804         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39805         Add pt-arm-unwind-resume.
39806         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
39807         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
39809 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39811         [BZ #17748]
39812         * include/fenv.h (__feholdexcept): Declare.  Use
39813         libm_hidden_proto.
39814         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
39815         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
39816         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39817         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
39818         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
39819         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
39820         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
39821         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39822         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
39823         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
39824         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39825         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
39826         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
39827         (feholdexcept): Likewise.
39828         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39829         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39830         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39831         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39832         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
39833         __feholdexcept instead of feholdexcept.
39834         (default_libc_feholdexcept_setround): Likewise.
39836 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39838         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
39839         to avoid using stl/str to align destination.
39841 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39843         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
39845 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39847         [BZ #17796]
39848         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
39849         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
39850         Define as weak alias not strong alias.
39852 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39854         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
39855         bltzal with addiupc.
39856         (RTLD_START): Ditto.
39858 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
39860         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
39861         for __vdso_* functions in declarations.
39862         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
39863         definitions.
39864         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
39865         INTERNAL_VSYSCALL): Use struct return types to check for error.
39867         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
39868         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
39869         function with cast from llround().
39870         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
39871         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
39872         Define.
39874 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39876         [BZ #17793]
39877         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
39878         Define as weak alias not strong alias.
39880         [BZ #17635]
39881         * ctype/ctype-c99.c: New file.  isblank implementation moved from
39882         ...
39883         * ctype/ctype-extn.c: ... here.
39884         (__isblank_l): Move to ...
39885         * ctype/ctype-c99_l.c: ... here.  New file.
39886         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
39887         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
39888         Remove variable.
39889         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
39890         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
39891         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
39892         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
39893         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
39895         [BZ #17777]
39896         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
39897         (posix_fadvise64): Define as weak alias not strong alias.
39898         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39899         (posix_fallocate64): Likewise.
39900         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
39901         Remove variable.
39902         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
39903         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
39904         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
39905         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
39906         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
39908 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
39910         [BZ #16191]
39911         * NEWS: Mention bug fix.
39912         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
39913         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
39914         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
39915         (HOST_STACK_END_ADDR): Likewise.
39917 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
39919         [BZ #17748]
39920         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
39921         * math/fegetround.c (fegetround): Rename to __fegetround and
39922         define as weak alias of __fegetround.  Use libm_hidden_weak.
39923         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
39924         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
39925         * sysdeps/arm/fegetround.c (fegetround): Likewise.
39926         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
39927         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
39928         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
39929         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
39930         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
39931         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
39932         Undefine after rather than before function definition; use
39933         parentheses around function name in definition.
39934         (__fegetround): Also undefine macro after function definition.
39935         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
39936         __fegetround and define as weak alias of __fegetround.  Use
39937         libm_hidden_weak.  Do not undefine as macro.
39938         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
39939         Likewise.
39940         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
39941         __fegetround and define as weak alias of __fegetround.  Use
39942         libm_hidden_weak.
39943         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39944         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
39945         * sysdeps/tile/math_private.h (__fegetround): New inline function.
39946         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
39947         __fegetround and define as weak alias of __fegetround.  Use
39948         libm_hidden_weak.
39949         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
39950         __fegetround instead of fegetround.
39952         [BZ #17782]
39953         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
39954         Condition macro definition on [__USE_MISC].
39956         [BZ #17781]
39957         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
39958         (struct sigaction): Change type of sa_flags field to int.
39960         [BZ #17780]
39961         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
39962         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
39963         __glibc_reserved0.
39965         * nptl/version.c (banner): Use single year in copyright notice.
39967         * NEWS: Update copyright dates.
39968         * catgets/gencat.c (print_version): Likewise.
39969         * csu/version.c (banner): Likewise.
39970         * debug/catchsegv.sh: Likewise.
39971         * debug/pcprofiledump.c (print_version): Likewise.
39972         * debug/xtrace.sh (do_version): Likewise.
39973         * elf/ldconfig.c (print_version): Likewise.
39974         * elf/ldd.bash.in: Likewise.
39975         * elf/pldd.c (print_version): Likewise.
39976         * elf/sotruss.sh: Likewise.
39977         * elf/sprof.c (print_version): Likewise.
39978         * iconv/iconv_prog.c (print_version): Likewise.
39979         * iconv/iconvconfig.c (print_version): Likewise.
39980         * locale/programs/locale.c (print_version): Likewise.
39981         * locale/programs/localedef.c (print_version): Likewise.
39982         * login/programs/pt_chown.c (print_version): Likewise.
39983         * malloc/memusage.sh (do_version): Likewise.
39984         * malloc/memusagestat.c (print_version): Likewise.
39985         * malloc/mtrace.pl: Likewise.
39986         * manual/libc.texinfo: Likewise.
39987         * nptl/version.c (banner): Likewise.
39988         * nscd/nscd.c (print_version): Likewise.
39989         * nss/getent.c (print_version): Likewise.
39990         * nss/makedb.c (print_version): Likewise.
39991         * posix/getconf.c (main): Likewise.
39992         * scripts/test-installation.pl: Likewise.
39993         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
39995 2015-01-02  Will Newton  <will.newton@linaro.org>
39997         * sysdeps/arm/armv7/configure: Removed.
39998         * sysdeps/arm/armv7/configure.ac: Likewise.
40000 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
40002         * All files with FSF copyright notices: Update copyright dates
40003         using scripts/update-copyrights.
40004         * intl/plural.c: Regenerated.
40005         * locale/programs/charmap-kw.h: Likewise.
40006         * locale/programs/locfile-kw.h: Likewise.
40008 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40010         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
40012 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
40014         [BZ #17748]
40015         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
40016         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
40017         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40018         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
40019         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40020         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
40021         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40022         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
40023         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40024         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40025         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40026         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40027         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40028         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40029         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
40030         libm_hidden_def.
40031         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
40032         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
40033         Likewise.
40034         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40035         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40036         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40037         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40038         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
40039         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40040         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
40041         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
40042         __fegetenv instead of fegetenv.
40043         (libc_feholdsetround_noex_ctx): Likewise.
40045 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
40047         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
40048         (Elf_MIPS_ABIFlags_v0): New structure.
40049         (EF_MIPS_FP64): Define.
40050         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
40051         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
40052         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
40053         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
40054         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
40055         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
40056         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
40057         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
40058         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
40059         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
40060         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
40061         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
40062         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
40063         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
40064         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
40065         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
40066         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
40067         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
40068         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
40069         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
40070         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
40071         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
40072         field.
40073         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
40074         EF_MIPS_FP64.
40075         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
40076         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
40077         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
40078         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
40079         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
40080         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
40081         * sysdeps/mips/tst-abi-interlink.c: Likewise.
40082         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
40083         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
40084         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
40085         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
40086         record the current FP ABI extension.
40087         (mips-mode-switch): Define to show if kernel headers support mode
40088         switching.
40089         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
40090         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
40091         supported SYSV ABI version to 3.
40092         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
40093         feature.
40095 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40096             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40098         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
40099         path.
40100         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
40102 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
40104         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
40105         __fegetround and redefine to call __fegetround.  Remove condition
40106         on [!__NO_MATH_INLINES].
40107         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
40108         function.
40109         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
40110         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40111         Remove macro.
40112         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
40113         instead of <fenv_libc.h>.
40114         (__llrintl): Call fegetround instead of __fegetround.
40115         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
40116         instead of <fenv_libc.h>.
40117         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40118         (__lrintl): Call fegetround instead of __fegetround.
40119         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
40120         instead of <fenv_libc.h>.
40121         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40122         (__rintl): Call fegetround instead of __fegetround.
40124 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40126         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
40127         arrays.
40129 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
40131         [BZ #17775]
40132         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
40133         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
40134         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
40136 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
40138         * sysdeps/i386/tls-macros.h: Include <features.h>.
40139         (TLS_LE): Use non-PIC version for GCC >= 5.0.
40140         (TLS_IE): Likewise.
40141         (TLS_LD): Likewise.
40142         (TLS_GD): Likewise.
40143         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
40144         define for GCC >= 5.0.
40146 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
40148         * math/test-fenv.c (test_single_exception, set_single_exc,
40149         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
40150         feexcp_mask_test, feenable_test, fe_single_test): Add
40151         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
40152         case where they are not used.
40153         * math/libm-test.inc: Likewise.
40154         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
40155         unused in the absence of FP rounding/exception support.
40156         * stdio-common/tst-printf-round.c: Likewise.
40157         * stdlib/tst-strtod-round.c: Likewise.
40158         * stdlib/tst-strtod-underflow.c: Likewise.
40160 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
40162         [BZ #17723]
40163         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
40164         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
40165         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40166         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40167         libm_hidden_weak.
40168         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
40169         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
40170         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
40171         libm_hidden_def.
40172         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40173         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40174         libm_hidden_weak.
40175         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
40176         Likewise.
40177         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
40178         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40179         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40180         libm_hidden_weak.
40181         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
40182         libm_hidden_def.
40183         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
40184         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
40185         (__feraiseexcept): Likewise.
40186         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40187         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40188         libm_hidden_weak.
40189         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
40190         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
40191         libm_hidden_def.
40192         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
40193         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
40194         Use libm_hidden_def.
40195         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
40196         libm_hidden_def.
40197         (feraiseexcept): Define as weak not strong alias.  Use
40198         libm_hidden_weak.
40199         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
40200         New inline function.  Factored out of ...
40201         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
40202         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
40203         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
40204         feraiseexcept.
40205         * math/w_acos.c (__acos): Likewise.
40206         * math/w_asin.c (__asin): Likewise.
40207         * math/w_ilogb.c (__ilogb): Likewise.
40208         * math/w_j0.c (y0): Likewise.
40209         * math/w_j1.c (y1): Likewise.
40210         * math/w_jn.c (yn): Likewise.
40211         * math/w_log.c (__log): Likewise.
40212         * math/w_log10.c (__log10): Likewise.
40213         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
40214         * sysdeps/aarch64/fpu/math_private.h
40215         (libc_feupdateenv_test_aarch64): Likewise.
40216         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
40217         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
40218         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
40219         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
40220         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
40221         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
40222         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
40223         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40224         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40225         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40227 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
40229         [BZ #17732]
40230         * io/test-utime.c (main): Replace %ld with %jd and cast to
40231         intmax_t.
40232         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
40233         * nptl/tst-mutex5.c: Include <stdint.h>.
40234         (do_test): Replace %ld with %jd and cast to intmax_t.
40235         * posix/tst-regex.c (run_test): Likewise.
40236         (run_test_backwards): Likewise.
40237         * rt/tst-clock.c: Include <stdint.h>.
40238         (clock_test): Replace %ld with %jd and cast to intmax_t.
40239         * rt/tst-cpuclock1.c: Include <stdint.h>.
40240         (do_test): Replace %lu with %ju and cast to uintmax_t.
40241         * rt/tst-cpuclock2.c: Include <stdint.h>.
40242         (do_test): Replace %lu with %ju and cast to uintmax_t.
40243         * rt/tst-mqueue1.c: Include <stdint.h>.
40244         (check_attrs): Replace %ld with %jd and cast to intmax_t.
40245         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
40246         intmax_t.
40247         * rt/tst-mqueue4.c (do_test): Likewise.
40248         * rt/tst-timer4.c: Include <stdint.h>.
40249         (check_ts): Replace %ld with %jd and cast to intmax_t.
40250         (do_test): Likewise.
40251         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
40252         and cast to intmax_t.
40253         * sysdeps/pthread/tst-timer.c (main): Likewise.
40254         * time/clocktest.c (main): Likewise.
40255         * time/tst-posixtz.c (do_test): Likewise.
40256         * timezone/tst-timezone.c (main): Likewise.
40258 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
40259             H.J. Lu  <hongjiu.lu@intel.com>
40261         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
40262         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
40263         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
40264         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
40265         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
40266         version if bit_Fast_Unaligned_Load is set.
40267         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40268         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40269         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40270         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40271         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40272         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40273         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40274         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
40275         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
40276         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
40277         to 4.
40278         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
40279         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
40280         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
40281         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
40283 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
40285         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
40286         instead of #if to avoid a Wundef warning.
40287         * stdlib/tst-limits.c (do_test): Likewise.
40289         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
40290         parallel other exception macros.
40291         (fegetenv): Convert from macro to extern inline so that it applies
40292         retroactively to inline functions already seen by the compiler.
40293         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
40295         * posix/Makefile (before-compile): Use $(objpfx) for
40296         posix-conf-vars-def.h.
40298 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40300         * posix/getconf.c (main): Use size_t for type of I.
40301         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
40302         NSPEC.
40304         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
40305         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
40306         * posix/posix-envs.def: Likewise.
40307         * sysdeps/posix/sysconf.c: Likewise.
40308         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
40309         (specs): Remove array.
40310         * scripts/gen-posix-conf-vars.awk: Support generation of specs
40311         array.
40313         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
40314         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
40315         (__sysconf): Use CONF_IS_* macros.
40317         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
40318         ($(objpfx)posix-conf-vars-def.h): New target.
40319         * posix/posix-conf-vars.list: New file.
40320         * posix/posix-conf-vars.h: New file.
40321         * posix/confstr.c: Include posix-conf-vars.h.
40322         (confstr): Use CONF_IS_* macros.
40323         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
40324         CONF_IS_* macros.
40325         * scripts/gen-posix-conf-vars.awk: New file.
40327 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
40329         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
40330         fegetround): Add no-op macros to avoid linknamespace issues.
40332         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
40333         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
40335         * sysdeps/unix/sysv/linux/tile/sysdep.h
40336         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
40337         assembly-specific section to avoid a redefinition warning.
40339         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
40340         long before casting to pointer to avoid a cast warning.
40342 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
40344         * sysdeps/tile/tilegx/Implies: New file.
40346 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
40348         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
40350 2014-12-23  Florian Weimer  <fweimer@redhat.com>
40352         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
40354 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40356         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
40357         not define.
40358         * sysdeps/unix/sysv/linux/utimes.c: Do not include
40359         <kernel-features.h>.
40360         (__utimes) [__NR_utimes]: Make code unconditional.
40361         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
40362         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40363         (__ASSUME_UTIMES): Do not undefine.
40364         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40365         (__ASSUME_UTIMES): Likewise.
40366         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
40367         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
40368         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
40369         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
40371 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
40373         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
40375 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
40377         [BZ #17747]
40378         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
40379         alias to weak alias for j0l, y0l.
40380         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
40381         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
40383         [BZ #17746]
40384         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
40385         conversion.
40387 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
40389         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
40390         to zero if not already defined.
40392 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40394         [BZ #17724]
40395         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
40396         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
40397         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
40398         (char *) casts added.
40399         * sysdeps/ieee754/k_standardf.c: New file.
40400         * sysdeps/ieee754/k_standardl.c: Likewise.
40401         * math/Makefile (libm-support): Remove k_standard.
40402         (libm-calls): Add k_standard.
40404 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40406         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
40407         Optimize to avoid an unnecessary FPCR read.
40409 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40411         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
40412         Optimize to reduce FPCR/FPSR accesses.
40414 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40416         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
40417         Call libc_fetestexcept_aarch64.
40419 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40421         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
40422         Call libc_fesetround_aarch64.
40424 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40426         [BZ #17733]
40427         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
40428         (__bind): Do not define as weak alias.
40429         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
40430         define.
40431         (__getsockname): Do not define as weak alias.
40433 2014-12-22  Will Newton  <will.newton@linaro.org>
40435         * manual/install.texi: Document that we require bison 2.7
40436         or above.
40437         * INSTALL: Regenerate.
40438         * configure.ac: Use AC_CHECK_PROG_VER instead of
40439         AC_PATH_PROG when checking for bison and check for
40440         version 2.7 or above.
40441         * configure: Regenerate.
40443 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
40445         [BZ #17745]
40446         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
40447         * sysdeps/tile/ffsll.c (ffsll): To here.
40449         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
40451 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
40453         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
40454         if not defined.
40455         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
40456         definition.
40457         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
40458         hidden ___tls_get_addr.
40459         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
40460         hidden __tls_get_addr.
40461         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
40462         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
40463         Likewise.
40465 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
40467         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
40468         _dl_init call.
40470 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
40472         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
40473         from "call _dl_init@PLT".
40474         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
40476 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
40478         * manual/search.texi: (Array Sort Function): Clarify stable sorting
40479         guarantees.
40481 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
40483         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
40485 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
40487         [BZ #17744]
40488         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
40489         strnlen.
40491 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
40493         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
40494         of multu on MIPSr6.
40495         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
40496         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
40497         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
40498         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
40499         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
40501 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
40503         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
40504         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
40505         (PTR_SUBU): Use subu for mips32r6/mips64r6.
40506         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
40507         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
40508         mips32r6/mips64r6.
40509         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
40511 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
40513         * string/strncat.c (STRNCAT): Simplify implementation.
40515 2014-12-19  David S. Miller  <davem@davemloft.net>
40517         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
40518         access the quad as both a long double and as a series of 4 words.
40520         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
40521         link_map->l_info array access.
40523 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
40525         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
40527         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
40528         * math/atest-exp2.c (TIMEOUT): Likewise.
40529         * math/atest-sincos.c (TIMEOUT): Likewise.
40531 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40533         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
40534         -Wno-error with -fno-builtin-lround.
40536 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40538         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
40539         Contains futex constants and functions moved over from ...
40540         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
40541         <lowlevellock-futex.h>.
40542         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
40543         (lll_timedwait_tid): Add comments and parentheses around macro
40544         arguments.
40546 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40548         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
40549         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
40550         (__lll_private_flag): Remove.
40551         (lll_futex_wait): Likewise.
40552         (lll_futex_timed_wait): Likewise.
40553         (lll_futex_wake): Likewise.
40554         (lll_futex_requeue): Likewise.
40555         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
40556         (__lll_timedwait_tid): Spell out argument names.
40557         (lll_timedwait_tid): Add comments and parentheses around macro
40558         arguments.
40559         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
40560         LLL_SHARED and LLL_PRIVATE usable from assembly code.
40562 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40564         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
40565         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
40566         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40567         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
40568         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
40569         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
40570         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
40571         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
40572         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
40573         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
40574         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
40575         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
40576         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
40577         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
40578         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
40579         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
40580         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
40581         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
40582         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
40584 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40586         * sysdeps/x86_64/x32/Makefile: New file.
40588 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40590         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
40591         1L with (mp_limb_t) 1.
40593 2014-12-17  Roland McGrath  <roland@hack.frob.com>
40595         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
40596         * nptl/libc_pthread_init.c: ... here.
40597         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
40598         * nptl/register-atfork.c: ... here.
40600         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
40601         Use pthread_sigmask rather than INTERNAL_SYSCALL.
40602         Use assert_perror to check its return value.
40603         (__gai_create_helper_thread): Likewise.
40605         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
40607         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
40609 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
40611         [BZ #17725]
40612         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
40613         __profil_counter.
40614         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
40615         Likewise.
40616         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
40617         Likewise.
40618         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
40619         Likewise.
40620         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
40621         (profil_counter): Likewise.
40622         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
40623         (profil_counter): Likewise.
40624         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
40625         Likewise.
40626         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
40627         Likewise.
40628         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
40629         (profil_counter): Likewise.
40630         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
40631         Likewise.
40632         [!__profil_counter] (profil_counter): Define as weak alias of
40633         __profil_counter.
40634         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
40635         (profil_counter): Rename to __profil_counter.
40636         [!__profil_counter] (profil_counter): Define as weak alias of
40637         __profil_counter.
40638         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
40639         (profil_counter): Rename to __profil_counter.
40640         [!__profil_counter] (profil_counter): Define as weak alias of
40641         __profil_counter.
40642         * sysdeps/posix/profil.c: Update comment referring to
40643         profil_counter.
40644         (__profil): Use __profil_counter instead of profil_counter.
40645         * sysdeps/posix/sprofil.c (profil_counter): Rename to
40646         __profil_counter.  Use __profil_counter_ushort and
40647         __profil_counter_uint in definitions.
40648         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
40649         instead of profil_counter_uint and profil_counter_ushort.
40651         [BZ #17722]
40652         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
40653         define as weak alias of __inet_makeaddr.
40654         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
40655         as weak alias of __inet_addr.
40656         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
40657         as weak alias of __inet_pton.  Use libc_hidden_weak.
40658         * include/arpa/inet.h (__inet_pton): Declare.  Use
40659         libc_hidden_proto.
40660         (inet_makeaddr): Don't use libc_hidden_proto.
40661         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
40662         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
40663         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
40664         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
40665         Remove variable.
40666         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40667         (test-xfail-POSIX/time.h/linknamespace): Likewise.
40669 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
40671         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
40673 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40675         * stdio-common/bug-vfprintf-nargs.c (do_test):
40676         Cast value to intptr_t to avoid format warning
40677         for usage with PRIdPTR printing macro.
40679 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40681         * libio/tst-widetext.c (do_test):
40682         Use format type %td instead of %Zd for ptrdiff_t
40683         in order to avoid format warning.
40685 2014-12-17  Andreas Schwab  <schwab@suse.de>
40687         * nscd/mem.c (gc): Add size_t cast to match printf format.
40689 2014-12-16  Roland McGrath  <roland@hack.frob.com>
40691         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
40692         (init): Apply PTR_MANGLE to pointers before storing them.
40693         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
40694         before using them.
40696 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
40698         [BZ #17719]
40699         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
40700         define as weak alias of __memrchr.
40701         (__memrchr): Do not define as strong alias of memrchr.
40702         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
40703         Remove variable.
40704         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40705         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40706         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40708         [BZ #17717]
40709         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
40710         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
40711         (if_indextoname): Rename to __if_indextoname and define as weak
40712         alias of __if_indextoname.  Use libc_hidden_weak.
40713         (if_freenameindex): Rename to __if_freenameindex and define as
40714         weak alias of __if_freenameindex.
40715         (if_nameindex): Rename to __if_nameindex and define as weak alias
40716         of __if_nameindex.
40717         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
40718         __if_nametoindex and define as weak alias of __if_nametoindex.
40719         Use libc_hidden_weak.
40720         (if_freenameindex): Rename to __if_freenameindex and define as
40721         weak alias of __if_freenameindex.
40722         (if_nameindex): Rename to __if_nameindex and define as weak alias
40723         of __if_nameindex.
40724         (if_indextoname): Rename to __if_indextoname and define as weak
40725         alias of __if_indextoname.  Use libc_hidden_weak.
40726         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
40727         __if_nametoindex and define as weak alias of __if_nametoindex.
40728         Use libc_hidden_weak.
40729         (if_freenameindex): Rename to __if_freenameindex and define as
40730         weak alias of __if_freenameindex.  Use libc_hidden_weak.
40731         (if_nameindex_netlink): Use __if_freenameindex instead of
40732         if_freenameindex.
40733         (if_nameindex): Rename to __if_nameindex and define as weak alias
40734         of __if_nameindex.  Use libc_hidden_weak.
40735         (if_indextoname): Rename to __if_indextoname and define as weak
40736         alias of __if_indextoname.  Use libc_hidden_weak.
40737         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
40738         libc_hidden_proto.
40739         [!_ISOMAC] (__if_freenameindex): Likewise.
40740         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
40741         if_nametoindex.
40742         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
40743         variable.
40744         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40745         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40746         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40747         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40748         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40749         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40750         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40752         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
40753         Remove variable.
40754         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40755         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40757 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40759         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
40760         subscript above bounds'
40762         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
40763         bounds.
40765 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
40767         * libio/tst-fopenloc.c: Use test-skeleton.c.
40769         * stdlib/tst-bsearch.c: Use test-skeleton.c.
40770         (entry): Rename to ITEM.
40771         (do_test, comp): Adjust.
40773         * stdio-common/tst-fseek.c: Use test-skeleton.c.
40775 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40777         * string/tester.c: Include <libc-internal.h>.
40778         (test_memset): Ignore -Wmemset-transposed-args.
40780 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40782         * misc/tst-mntent2.c (do_test): Fix warning.
40784 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40786         * elf/tst-unique4lib.cc(a): Mark as used.
40788 2014-12-16  Florian Weimer  <fweimer@redhat.com>
40790         [BZ #17630]
40791         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
40792         names.
40794 2014-12-16  Allan McRae  <allan@archlinux.org>
40796         * stdio-common/Makefile (tests): Re-add bug26.
40798 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
40800         [BZ #17657]
40801         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
40802         static array.
40804 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
40806         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
40807         (__lll_lock_wait): Likewise.
40808         (__lll_timedlock_wait): Likewise.
40809         (__lll_timedwait_tid): Likewise.
40810         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
40811         (__lll_robust_timedlock_wait): Likewise.
40812         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
40813         (lll_cond_trylock): Likewise.
40814         (__lll_lock): Likewise.
40815         (__lll_robust_lock): Likewise.
40816         (__lll_cond_lock): Likewise.
40817         (lll_robust_cond_lock): Likewise.
40818         (__lll_timedlock): Likewise.
40819         (__lll_robust_timedlock): Likewise.
40820         (__lll_unlock): Likewise.
40821         (__lll_robust_unlock): Likewise.
40822         (lll_wait_tid): Likewise.
40823         (lll_timedwait_tid): Likewise.
40825 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40827         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
40829 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40831         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
40833 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
40835         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
40836         * stdio-common/tst-sprintf.c: Likewise.
40838 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40840         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
40842 2014-12-15  Jeff Law  <law@redhat.com>
40844         [BZ #16617]
40845         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
40846         on the heap.  (CVE-2012-3406)
40847         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
40848         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
40849         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
40851 2014-12-15  Will Newton  <will.newton@linaro.org>
40853         * manual/install.texi: Bump required version of texinfo
40854         to 4.7 from 4.5.
40855         * INSTALL: Regenerated.
40856         * configure.ac: Check for makeinfo version 4.7 and above.
40857         * configure: Regenerated.
40859 2014-12-12  Roland McGrath  <roland@hack.frob.com>
40861         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
40862         PREFIX, string constant to insert between directory and name.
40863         * sysdeps/posix/shm_open.c: Update caller.
40864         * sysdeps/posix/shm_unlink.c: Likewise.
40865         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
40866         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
40867         (SEM_SHM_PREFIX): New macro.
40868         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
40869         [$(have-thread-library) = no].
40870         * nptl/Makefile (libpthread-routines): Add shm-directory.
40871         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
40872         * sysdeps/nptl/shm-directory.h: New file.
40873         * sysdeps/posix/shm-directory.c
40874         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
40875         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
40876         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
40877         INTERNAL_SYSCALL.
40878         (__where_is_shmfs): Function removed.
40879         (mountpoint, defaultmount, defaultdir, __namedsem_once):
40880         Variables removed.
40881         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
40882         Use SHM_GET_NAME.
40883         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
40885         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
40886         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
40887         unconditional for use inside libpthread.
40888         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
40890 2014-12-12  Roland McGrath  <roland@hack.frob.com>
40892         * nptl/pthread_getaffinity.c: New file.
40893         * nptl/pthread_setaffinity.c: New file.
40894         * nptl/pthread_getname.c: New file.
40895         * nptl/pthread_setname.c: New file.
40897         * nptl/pthread_create.c (START_THREAD_DEFN)
40898         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
40900 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40901             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40903         * resolv/res_send.c (send_vc): Disable warning resplen may
40904         be used uninitialized.
40906 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40908         * nptl/tst-mutex6.c
40909         (ATTR_NULL): New define checks ATTR against NULL.
40910         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
40911         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
40913 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
40915         [BZ #17581]
40916         * malloc/hooks.c
40917         (mem2mem_check): Revert my previous change.
40918         (malloc_check_get_size): Revert my previous change.
40919         (mem2chunk_check): Revert my previous change.
40921 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40923         * sysdeps/posix/shm-directory.c: New file.
40924         * sysdeps/posix/shm-directory.h: New file.
40925         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
40926         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
40927         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
40928         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
40929         Transmute EPERM to EACCES.
40930         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
40931         from ...
40932         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
40933         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
40935 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40937         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
40938         pointer and cast to uintptr_t.
40939         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
40940         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
40941         Add cast to avoid warning.
40942         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
40944 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
40946         * nptl/semaphore.h: Move to ...
40947         * sysdeps/pthread/semaphore.h: ... here.
40948         * Makefile (installed-headers): Change nptl/semaphore.h to
40949         sysdeps/pthread/semaphore.h.
40951 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40953         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
40954         generated error format strings.
40956         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
40957         -Wformat-extra-args warnings for scanf formats.
40958         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
40959         test of zero-length format (duh).
40960         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
40961         corner-case scanf format test.
40962         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
40963         generated fprintf format string.
40964         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
40965         corner-case sprintf format tests.
40966         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
40967         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
40968         -Wformat-extra-args warnings throughout.
40969         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
40970         (CFLAGS-scanf4.c): Likewise.
40971         (CFLAGS-scanf7.c): Likewise.
40972         (CFLAGS-tst-sprintf.c): Likewise.
40973         (CFLAGS-tst-printf.c): Likewise.
40974         (CFLAGS-tst-printfsz.c): Likewise.
40976 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
40978         * include/cpio.h: New file.
40979         * include/fmtmsg.h: Likewise.
40981         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
40982         corresponding format argument to size_t.
40983         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
40984         arguments.
40985         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
40986         corresponding format argument to size_t.
40987         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
40988         arguments.
40989         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
40990         corresponding format argument to size_t.
40991         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
40992         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
40993         (CFLAGS-tst-mbswcs2.c): Likewise.
40994         (CFLAGS-tst-mbswcs3.c): Likewise.
40995         (CFLAGS-tst-mbswcs4.c): Likewise.
40996         (CFLAGS-tst-mbswcs5.c): Likewise.
40997         (CFLAGS-tst-trans.c): Likewise.
40999 2014-12-11  Roland McGrath  <roland@hack.frob.com>
41001         * posix/regexbug1.c (main): Use "%s" format with regerror results,
41002         rather than assuming they won't contain any '%'s.
41004 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
41006         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
41007         inhibit_loop_to_libcall to avoid recursive calls.
41008         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
41009         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
41011 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
41013         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
41014         prototype.
41016 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
41018         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
41019         integer value instead of boolean.
41021 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
41023         * malloc/malloc.c: Fix powerof2 check.
41025 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41027         * locale/programs/locfile.h (maybe_swap_uint32):
41028         Remove inline and add unused attribute.
41030 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41032         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41033         Truncating assembler expression to a .long expression.
41035 2014-12-11  Andreas Schwab  <schwab@suse.de>
41037         * elf/rtld.c (struct map_args): Constify str member.
41038         (do_preload): Constify fname argument.
41040 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41042         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
41043         constants definition.
41045 2014-12-11  Andreas Schwab  <schwab@suse.de>
41047         [BZ #16657]
41048         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
41049         FORCE_ELISION instead of DO_ELISION.
41050         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
41051         Remove.
41052         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
41053         Likewise.
41055         * iconvdata/gconv-modules: Remove duplicate entry.
41057 2014-12-11  Will Newton  <will.newton@linaro.org>
41059         Merge gettext 0.19.3 into intl/.
41061         This involves a number of cosmetic changes to comments
41062         and ANSI function definitions and prototypes throughout
41063         all the files. The gettext copyright header is used but
41064         with the date ranges taken from the glibc copy.
41066         * NEWS: Add gettext merge to 2.21.
41067         * intl/bindtextdom.c: Switch to gettext copyright.
41068         Use ANSI definitions and prototypes.
41069         Use gl_* locking primitives rather than __libc_* ones.
41070         Use __builtin_expect rather than __glibc_likely/unlikely.
41071         * intl/dcgettext.c: Switch to gettext copyright.
41072         Use ANSI definitions and prototypes.
41073         * intl/dcigettext.c: Switch to gettext copyright.
41074         Use ANSI definitions and prototypes.
41075         (INTDIV0_RAISES_SIGFPE): New define.
41076         Use gl_* locking primitives rather than __libc_* ones.
41077         Include eval-plural.h instead of plural-eval.c.
41078         Use __builtin_expect rather than __glibc_likely/unlikely.
41079         * intl/dcngettext.c: Switch to gettext copyright.
41080         Use ANSI definitions and prototypes.
41081         * intl/dgettext.c: Likewise.
41082         * intl/dngettext.c: Likewise.
41083         * intl/plural-eval.c: Renamed to...
41084         * intl/eval-plural.h: ...this.
41085         * intl/explodename.c: Switch to gettext copyright.
41086         Use ANSI definitions and prototypes.
41087         (_nl_explode_name): Use strchr instead of __rawmemchr.
41088         * intl/finddomain.c: Switch to gettext copyright.
41089         Use ANSI definitions and prototypes.
41090         Use gl_* locking primitives rather than __libc_* ones.
41091         (_nl_find_domain): Use malloc rather than alloca for
41092         allocation of temporary locale name.
41093         * intl/gettext.c: Switch to gettext copyright.
41094         Use ANSI definitions and prototypes.
41095         * intl/gettextP.h: Switch to gettext copyright.
41096         Use ANSI definitions and prototypes.
41097         Use gl_* locking primitives rather than __libc_* ones.
41098         * intl/gmo.h: Switch to gettext copyright.
41099         (struct sysdep_string): Move struct segment_pair outside of
41100         struct definition.
41101         * intl/hash-string.c: Use ANSI definitions and prototypes.
41102         * intl/hash-string.h: Switch to gettext copyright.
41103         Use ANSI definitions and prototypes.
41104         * intl/l10nflist.c: Switch to gettext copyright.
41105         Use ANSI definitions and prototypes.
41106         (_nl_normalize_codeset): Avoid integer overflow.
41107         * intl/loadinfo.h: Switch to gettext copyright.
41108         Use ANSI definitions and prototypes.
41109         (LIBINTL_DLL_EXPORTED): New define.
41110         (PATH_SEPARATOR): New define.
41111         * intl/loadmsgcat.c: Switch to gettext copyright.
41112         * intl/localealias.c: Switch to gettext copyright.
41113         Use ANSI definitions and prototypes.
41114         (_nl_expand_alias): Use PATH_SEPARATOR.
41115         * intl/ngettext.c: Switch to gettext copyright.
41116         Use ANSI definitions and prototypes.
41117         * intl/plural-exp.c: Likewise.
41118         * intl/plural-exp.h: Switch to gettext copyright.
41119         Use ANSI definitions and prototypes.
41120         (struct expression): Move definition of enum operator outside
41121         of struct definition.
41122         * intl/plural.c: Regenerate.
41123         * intl/plural.y: Switch to gettext copyright.
41124         Use ANSI definitions and prototypes.
41125         Port to bison 3.0.
41126         * intl/textdomain.c: Switch to gettext copyright.
41127         Use ANSI definitions and prototypes.
41128         Use gl_* locking primitives rather than __libc_* ones.
41130 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
41132         * debug/warning-nop.c: Add used atrribute.
41134 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41136         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
41138         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
41139         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
41140         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
41142 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41143             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41145         [BZ #17634]
41146         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
41147         Undefine after defining function.  Define as weak alias of
41148         __wcschr.  Use libc_hidden_weak.
41149         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
41150         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
41151         (libc_hidden_def): Also define __GI___wcschr alias.
41152         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
41153         __wcschr and define as weak alias of __wcschr.
41154         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
41155         __wcschr.
41156         [!WCSCHR] (DEFAULT_WCSCHR): Define.
41157         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
41158         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
41159         libc_hidden_weak.  Do not use libc_hidden_def.
41160         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
41161         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
41162         __GI___wcschr alias.
41163         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
41164         [IS_IN (libc)] (wcschr): Define as macro expanding to
41165         __redirect_wcschr.
41166         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
41167         [IS_IN (libc)] (__wcschr_power6): Likewise.
41168         [IS_IN (libc)] (__wcschr_power7): Likewise.
41169         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
41170         instead of wcschr.
41171         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
41172         __libc_wcschr.
41173         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
41174         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
41175         __wcschr and define as weak alias of __wcschr.  Use
41176         libc_hidden_builtin_def.
41177         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
41178         as weak alias of __wcschr.  Use libc_hidden_weak.
41179         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
41180         wcschr.
41181         * time/era.c (_nl_init_era_entries): Likewise.
41182         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
41183         variable.
41184         (test-xfail-XPG3/time.h/linknamespace): Likewise.
41185         (test-xfail-XPG4/time.h/linknamespace): Likewise.
41187 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41189         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
41190         format for long int variable.
41192 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
41194         [BZ #10672]
41195         * manual/search.texi: (Array Sort Function): Remove claim how to make
41196         qsort stable.
41198 2014-12-10  Andreas Schwab  <schwab@suse.de>
41200         [BZ #12847]
41201         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
41202         user-controlled locks.
41204 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
41206         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
41207         register.
41209 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41211         * configure.ac (--disable-werror): New configure option.
41212         (enable_werror): New AC_SUBST.
41213         * configure: Regenerated.
41214         * config.make.in (enable-werror): New variable.
41215         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
41216         -Wno-error=undef.
41217         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
41218         * manual/install.texi (Configuring and compiling): Document
41219         --disable-werror.
41220         * INSTALL: Regenerated.
41221         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
41222         (CFLAGS-tst-chk2.c): Likewise.
41223         (CFLAGS-tst-chk3.c): Likewise.
41224         (CFLAGS-tst-chk4.cc): Likewise.
41225         (CFLAGS-tst-chk5.cc): Likewise.
41226         (CFLAGS-tst-chk6.cc): Likewise.
41227         (CFLAGS-tst-lfschk1.c): Likewise.
41228         (CFLAGS-tst-lfschk2.c): Likewise.
41229         (CFLAGS-tst-lfschk3.c): Likewise.
41230         (CFLAGS-tst-lfschk4.cc): Likewise.
41231         (CFLAGS-tst-lfschk5.cc): Likewise.
41232         (CFLAGS-tst-lfschk6.cc): Likewise.
41234         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
41235         (main): Disable -Wdeprecated-declarations around calls to
41236         register_printf_function.
41238         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
41239         (do_test): Disable -Wdiv-by-zero around some calls to
41240         fwrite_unlocked and fread_unlocked.
41242         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
41243         (DIAG_POP_NEEDS_COMMENT): Likewise.
41244         (_DIAG_STR1): Likewise.
41245         (_DIAG_STR): Likewise.
41246         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
41247         * stdio-common/bug21.c: Include <libc-internal.h>.
41248         (do_test): Disable -Wformat around call to sscanf.
41249         * stdio-common/scanf14.c: Include <libc-internal.h>.
41250         (main): Disable -Wformat around some calls to scanf functions.
41252 2014-12-09  Torvald Riegel  <triegel@redhat.com>
41254         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
41256 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41258         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
41259         stack variable alignment.
41261 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
41263         [BZ #17682]
41264         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
41265         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
41266         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
41267         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
41268         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
41269         __getrlimit instead of getrlimit.
41270         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
41271         __gettimeofday instead of gettimeofday.
41272         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
41273         Likewise.
41274         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
41275         Likewise.
41276         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41277         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
41278         Remove variable.
41279         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
41280         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
41282 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41284         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
41285         for wide-character tests.
41287 2014-12-04  Roland McGrath  <roland@hack.frob.com>
41289         * io/openat64.c: #include <libc-internal.h>
41290         (__openat64): Prototypify.  Use ignore_value on MODE.
41291         * io/openat.c: Likewise.
41292         * misc/reboot.c: #include <libc-internal.h>
41293         (reboot): Prototypify.  Use ignore_value on HOWTO.
41294         * misc/ptrace.c: #include <libc-internal.h>
41295         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
41297 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
41299         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
41300         XPG4, UNIX98 and XOPEN2K.
41301         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
41302         Remove variable.
41303         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
41305 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41307         * libio/fileops.c: Use ISO C style for function definitions.
41308         * libio/iofopen.c: Likewise.
41309         * libio/wfileops.c: Likewise.
41311         [BZ #17653]
41312         * libio/fileops.c (_IO_new_file_underflow): Unset cached
41313         offset on EOF.
41314         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
41315         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
41316         (fgets_func): Function pointer to fgets and fgetws.
41317         (do_ftell_test): Add test to verify ftell value after read
41318         EOF.
41319         (do_test): Set fgets_func.
41321         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
41322         O_TRUNC flag for w and w+ modes.
41323         (do_rewind_test): Likewise.
41324         (do_ftell_test): Likewise.
41325         (do_write_test): Likewise.
41327         [BZ #17647]
41328         * libio/fileops.c (do_ftell): Seek only when there are
41329         unflushed writes.
41330         * libio/wfileops.c (do_ftell_wide): Likewise.
41331         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
41332         test case.
41333         (do_one_test): Call it.
41335 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
41337         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
41338         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
41339         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
41340         Remove variable.
41341         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
41342         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
41343         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
41345 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
41347         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
41348         Remove variable.
41349         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
41351         [BZ #17668]
41352         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
41353         as weak alias of __getifaddrs.  Use libc_hidden_weak.
41354         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41355         __freeifaddrs.  Use libc_hidden_weak.
41356         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
41357         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
41358         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41359         __freeifaddrs.  Use libc_hidden_weak.
41360         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
41361         __getifaddrs and define as weak alias of __getifaddrs.  Use
41362         libc_hidden_weak.
41363         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41364         __freeifaddrs.  Use libc_hidden_weak.
41365         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
41366         Remove variable.
41367         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
41368         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
41370 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
41372         [BZ #17601]
41373         * sysdeps/mips/start.S (__start): Use indirect jump to call
41374         __libc_start_main.
41376 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
41378         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
41380         * nptl/tst-mutex1.c: Include <stdbool.h>.
41381         [!ATTR] (ATTR_NULL): New macro.
41382         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
41383         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
41384         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
41386         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
41387         to char *.
41389         [BZ #17665]
41390         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
41391         Change conditional to [__USE_MISC].
41393         [BZ #17664]
41394         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
41395         fgets_unlocked.
41396         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
41397         __fgets_unlocked.
41398         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
41399         fgets_unlocked.
41400         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
41401         Remove variable.
41402         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
41403         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
41404         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
41405         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
41406         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
41407         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
41408         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
41409         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
41410         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
41412         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
41414 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41416         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41417         Remove strpbrk objects.
41418         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41419         (__libc_ifunc_impl_list): Remove strpbrk implementation.
41420         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
41421         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
41422         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
41423         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
41425         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41426         Remove strcspn objects.
41427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41428         (__libc_ifunc_impl_list): Remove strcspn implementation.
41429         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
41430         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
41431         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
41432         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
41434         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41435         Remove strspn objetcs.
41436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41437         (__libc_ifunc_impl_list): Remove strspn implementation.
41438         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
41439         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41440         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
41441         * sysdeps/powerpc/powerpc64/strspn.S: New file.
41443 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
41445         [BZ #17581]
41446         * malloc/hooks.c
41447         (mem2mem_check): Add a terminator to the chain of checking blocks.
41448         (malloc_check_get_size): Use it here.
41449         (mem2chunk_check): Ditto.
41451 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41453         * sysdeps/powerpc/powerpc64/strtok.S: New file.
41454         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
41456 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
41458         * bits/ioctl-types.h: Indent preprocessor directives correctly.
41460         * nptl/nptl-init.c: Include libc-internal.h.
41461         (__pthread_initialize_minimal_internal): Use ROUND_UP.
41463         * elf/ldconfig.c (search_dir): Expand comment.
41465 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
41467         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
41468         variable.
41469         (linknamespace-symlist-stdlibs-tests): Likewise.
41470         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
41471         instead of $(objpfx)symlist-stdlibs.
41472         (linknamespace-libs-isoc): New variable.
41473         (linknamespace-libs): Use $(linknamespace-libs-isoc).
41474         (linknamespace-libs-ISO): New variable.
41475         (linknamespace-libs-ISO99): Likewise.
41476         (linknamespace-libs-ISO11): Likewise.
41477         (linknamespace-libs-XPG3): Likewise.
41478         (linknamespace-libs-XPG4): Likewise.
41479         (linknamespace-libs-POSIX): Likewise.
41480         (linknamespace-libs-UNIX98): Likewise.
41481         (linknamespace-libs-XOPEN2K): Likewise.
41482         (linknamespace-libs-POSIX2008): Likewise.
41483         (linknamespace-libs-XOPEN2K8): Likewise.
41484         ($(objpfx)symlist-stdlibs): Replace by
41485         $(linknamespace-symlist-stdlibs-tests).  Use
41486         $(linknamespace-libs-$*) as set of libraries.
41487         ($(linknamespace-header-tests)): Update dependencies.  Use
41488         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
41489         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
41490         * conform/linknamespace.pl: Remove comment about considering
41491         definitions of symbols from irrelevant libraries.
41493 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
41495         [BZ #13862]
41496         * elf/dl-tls.c: Include <atomic.h>.
41497         (oom): Remove #ifdef SHARED/#endif.
41498         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
41499         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
41500         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
41501         big enough.
41502         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
41503         * nptl/Makefile (tests): Add tst-stack4.
41504         (modules-names): Add tst-stack4mod.
41505         ($(objpfx)tst-stack4): New.
41506         (tst-stack4mod.sos): Likewise.
41507         ($(objpfx)tst-stack4.out): Likewise.
41508         ($(tst-stack4mod.sos)): Likewise.
41509         (clean): Likewise.
41510         * nptl/tst-stack4.c: New file.
41511         * nptl/tst-stack4mod.c: Likewise.
41513 2014-11-27  J. Brown  <jb999@gmx.de>
41515         * sysdeps/x86/bits/string.h: Add recent CPUs.
41517 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
41519         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
41520         sigblock.
41522         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
41523         feof.
41525         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
41526         variable.
41528 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
41530         * nscd/connections.c: Include libc-internal.h because of macro
41531         usage ignore_value.
41533 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41535         * string/bits/string3.h (__warn_memset_zero_len): Don't
41536         declare for gcc newer than 5.0.
41537         (memset): Don't test for zero-length __LEN for gcc newer than
41538         5.0.
41540 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
41542         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
41543         size_t for %zu format.
41545         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
41546         difference, not %ju.
41548 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
41550         * include/libc-internal.h (ignore_value): New macro.
41551         * nscd/connections.c (restart): Wrap calls to setuid and setgid
41552         with ignore_value.
41554         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
41555         definition.
41557         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
41558         pthread_cleanup_push to void *.
41560         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
41561         Undefine.
41563         [BZ #16619]
41564         [BZ #16740]
41565         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
41566         instead of 1L << 52.
41568         * libio/bug-rewind.c (do_test): Check fwscanf return values.
41569         * libio/bug-rewind2.c (do_test): Likewise.
41571         * debug/test-stpcpy_chk-ifunc.c: Remove file.
41572         * debug/test-strcpy_chk-ifunc.c: Likewise.
41573         * wcsmbs/test-wcschr-ifunc.c: Likewise.
41574         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41575         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41576         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41577         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41578         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41579         * Rules [$(multi-arch) = no] (tests): Do not filter out
41580         $(tests-ifunc).
41581         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
41582         * debug/Makefile (tests-ifunc): Remove variable.
41583         (tests): Do not add $(tests-ifunc).
41584         * wcsmbs/Makefile (tests-ifunc): Remove variable.
41585         (tests): Do not add $(tests-ifunc).
41586         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
41587         [TEST_IFUNC]: Remove conditionals.
41588         * string/test-string.h (TEST_IFUNC): Remove macro.
41589         [TEST_IFUNC]: Remove conditionals.
41591         * string/test-strchr.c [!WIDE] (L): New macro.
41592         [WIDE] (L): Likewise.
41593         (check1): Use CHAR instead of char.  Use L on string and character
41594         constants.
41596 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
41598         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
41599         tests.
41600         * sysdeps/powerpc/bits/atomic.h
41601         (__arch_atomic_exchange_and_add_32_acq): Add definition.
41602         (__arch_atomic_exchange_and_add_32_rel): Likewise.
41603         (atomic_exchange_and_add_acq): Likewise.
41604         (atomic_exchange_and_add_rel): Likewise.
41605         * sysdeps/powerpc/powerpc32/bits/atomic.h
41606         (__arch_atomic_exchange_and_add_64_acq): Add definition.
41607         (__arch_atomic_exchange_and_add_64_rel): Likewise.
41608         * sysdeps/powerpc/powerpc64/bits/atomic.h
41609         (__arch_atomic_exchange_and_add_64_acq): Add definition.
41610         (__arch_atomic_exchange_and_add_64_rel): Likewise.
41612 2014-11-26  Torvald Riegel  <triegel@redhat.com>
41614         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
41615         Change synchronization of __sched_fifo_min_prio and
41616         __sched_fifo_max_prio.
41617         * nptl/pthread_mutexattr_getprioceiling.c
41618         (pthread_mutexattr_getprioceiling): Likewise.
41619         * nptl/pthread_mutexattr_setprioceiling.c
41620         (pthread_mutexattr_setprioceiling): Likewise.
41621         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
41622         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
41623         Likewise.
41625 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
41627         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
41628         void.
41630 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
41632         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
41633         third argument const.
41635 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
41637         fnmatch: work around GCC compiler warning bug with uninit var
41638         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
41639         This works around a bug with x86-64 GCC 4.9.2 and earlier
41640         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
41641         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
41642         used uninitialized in this function [-Wmaybe-uninitialized]".
41644 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
41646         * posix/bug-regex31.c (main): Return RES not 0.
41648 2014-11-25  Anton Blanchard <anton@samba.org>
41650         * sysdeps/powerpc/bits/atomic.h
41651         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
41653 2014-11-24  Sterling Augustine  <saugustine@google.com>
41655         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
41657 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
41659         [BZ #17608]
41660         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
41662 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
41664         [BZ #17633]
41665         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
41666         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
41667         variable.
41668         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
41669         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
41671 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41673         * string/strncpy.c (strncpy): Improve performance by using memset.
41675 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41677         * string/strcpy.c (strcpy):
41678         Improve performance by using strlen and memcpy.
41680 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
41682         * string/strcoll_l.c (get_next_seq): __always_inline.
41683         * string/strcoll_l.c (do_compare): __always_inline.
41685 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41687         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
41688         defined.
41689         * include/mqueue.h: Likewise.
41690         * include/stdlib.h: Likewise.
41692         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
41693         (get_null_defines): Adjust.
41694         * sunrpc/Makefile: Adjust comment.
41695         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
41696         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
41697         (CFLAGS-interp.c): Likewise.
41698         (CFLAGS-ldconfig.c): Likewise.
41699         (CPPFLAGS-.os): Likewise.
41700         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41701         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41702         * extra-modules.mk (extra-modules.mk): Likewise.
41703         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
41704         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
41705         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
41706         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
41707         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
41708         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
41709         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
41710         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
41711         * iconvdata/Makefile (CPPFLAGS): Likewise.
41712         (cpp-srcs-left): Add libof for all iconvdata routines.
41713         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
41714         * include/assert.h: Likewise.
41715         * include/ctype.h: Likewise.
41716         * include/errno.h: Likewise.
41717         * include/libc-symbols.h: Likewise.
41718         * include/math.h: Likewise.
41719         * include/netdb.h: Likewise.
41720         * include/resolv.h: Likewise.
41721         * include/stdio.h: Likewise.
41722         * include/stdlib.h: Likewise.
41723         * include/string.h: Likewise.
41724         * include/sys/stat.h: Likewise.
41725         * include/wctype.h: Likewise.
41726         * intl/l10nflist.c: Likewise.
41727         * libidn/idn-stub.c: Likewise.
41728         * libio/libioP.h: Likewise.
41729         * nptl/libc_multiple_threads.c: Likewise.
41730         * nptl/pthreadP.h: Likewise.
41731         * posix/regex_internal.h: Likewise.
41732         * resolv/res_hconf.c: Likewise.
41733         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
41734         * sysdeps/arm/memmove.S: Likewise.
41735         * sysdeps/arm/sysdep.h: Likewise.
41736         * sysdeps/generic/_itoa.h: Likewise.
41737         * sysdeps/generic/symbol-hacks.h: Likewise.
41738         * sysdeps/gnu/errlist.awk: Likewise.
41739         * sysdeps/gnu/errlist.c: Likewise.
41740         * sysdeps/i386/i586/memcpy.S: Likewise.
41741         * sysdeps/i386/i586/memset.S: Likewise.
41742         * sysdeps/i386/i686/memcpy.S: Likewise.
41743         * sysdeps/i386/i686/memmove.S: Likewise.
41744         * sysdeps/i386/i686/mempcpy.S: Likewise.
41745         * sysdeps/i386/i686/memset.S: Likewise.
41746         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41747         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41748         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
41749         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
41750         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41751         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41752         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
41753         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41754         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41755         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41756         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41757         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41758         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41759         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41760         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41761         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41762         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
41763         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
41764         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
41765         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41766         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41767         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41768         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41769         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41770         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41771         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41772         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
41773         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41774         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
41775         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41776         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41777         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41778         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41779         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41780         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41781         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41782         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41783         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41784         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41785         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41786         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41787         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41788         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41789         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41790         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41791         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41792         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
41793         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
41794         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41795         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41796         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41797         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
41798         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
41799         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41800         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41801         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
41802         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41803         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
41804         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
41805         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41806         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41807         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41808         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
41809         * sysdeps/nptl/bits/libc-lock.h: Likewise.
41810         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
41811         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
41812         * sysdeps/posix/closedir.c: Likewise.
41813         * sysdeps/posix/opendir.c: Likewise.
41814         * sysdeps/posix/readdir.c: Likewise.
41815         * sysdeps/posix/rewinddir.c: Likewise.
41816         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
41817         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
41818         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41819         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41820         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41821         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
41822         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
41823         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
41824         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
41825         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
41826         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
41827         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
41828         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
41829         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
41830         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
41831         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
41832         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
41833         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
41834         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
41835         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
41836         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
41837         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
41838         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
41839         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
41840         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
41841         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
41842         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
41843         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
41844         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
41845         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
41846         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
41847         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
41848         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
41849         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
41850         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
41851         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
41852         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41853         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41854         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
41855         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
41856         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
41857         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
41858         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
41859         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
41860         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
41861         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
41862         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
41863         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
41864         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
41865         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
41866         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
41867         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
41868         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
41869         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
41870         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
41871         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
41872         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
41873         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
41874         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
41875         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
41876         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
41877         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
41878         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
41879         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
41880         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
41881         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
41882         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
41883         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
41884         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
41885         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
41886         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
41887         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
41888         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
41889         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
41890         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
41891         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
41892         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
41893         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
41894         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41895         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
41896         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
41897         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41898         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
41899         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
41900         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41901         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
41902         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
41903         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41904         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41905         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41906         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
41907         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
41908         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
41909         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41910         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41911         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
41912         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41913         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41914         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
41915         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
41916         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41917         * sysdeps/unix/alpha/sysdep.S: Likewise.
41918         * sysdeps/unix/alpha/sysdep.h: Likewise.
41919         * sysdeps/unix/make-syscalls.sh: Likewise.
41920         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41921         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41922         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41923         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
41924         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41925         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
41926         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
41927         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41928         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41929         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
41930         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41931         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41932         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41933         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
41934         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41935         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41936         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41937         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
41938         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
41939         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41940         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
41941         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41942         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41943         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41944         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41945         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41946         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
41948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
41949         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
41950         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41951         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41952         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41953         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41954         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41955         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41956         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41957         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41958         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41959         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41960         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41961         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41962         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41963         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41964         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41965         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41966         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41967         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41968         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41969         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41970         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41971         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41972         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41973         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41974         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
41975         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41976         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41977         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41978         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
41979         * sysdeps/x86_64/memcpy.S: Likewise.
41980         * sysdeps/x86_64/memmove.c: Likewise.
41981         * sysdeps/x86_64/memset.S: Likewise.
41982         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
41983         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41984         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41985         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
41986         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
41987         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41988         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41989         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41990         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41991         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41992         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41993         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41994         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
41995         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41996         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41997         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
41998         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
41999         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42000         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42001         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42002         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
42003         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42004         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42005         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42006         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42007         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42008         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42009         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
42010         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42011         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42012         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
42013         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42014         * sysdeps/x86_64/strcmp.S: Likewise.
42016         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
42018         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
42019         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
42020         * elf/rtld-Rules: Likewise.
42021         * elf/setup-vdso.h: Likewise.
42022         * include/assert.h: Likewise.
42023         * include/bits/stdlib-float.h: Likewise.
42024         * include/errno.h: Likewise.
42025         * include/sys/stat.h: Likewise.
42026         * include/unistd.h: Likewise.
42027         * sysdeps/aarch64/setjmp.S: Likewise.
42028         * sysdeps/alpha/setjmp.S: Likewise.
42029         * sysdeps/arm/__longjmp.S: Likewise.
42030         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
42031         * sysdeps/arm/setjmp.S: Likewise.
42032         * sysdeps/arm/sysdep.h: Likewise.
42033         * sysdeps/generic/_itoa.h: Likewise.
42034         * sysdeps/generic/dl-sysdep.h: Likewise.
42035         * sysdeps/generic/ldsodefs.h: Likewise.
42036         * sysdeps/i386/dl-tls.h: Likewise.
42037         * sysdeps/i386/setjmp.S: Likewise.
42038         * sysdeps/m68k/setjmp.c: Likewise.
42039         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
42040         * sysdeps/mach/hurd/opendir.c: Likewise.
42041         * sysdeps/posix/getcwd.c: Likewise.
42042         * sysdeps/posix/opendir.c: Likewise.
42043         * sysdeps/posix/profil.c: Likewise.
42044         * sysdeps/powerpc/dl-procinfo.h: Likewise.
42045         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42046         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42047         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42048         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42049         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
42050         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
42051         * sysdeps/s390/dl-tls.h: Likewise.
42052         * sysdeps/s390/s390-32/setjmp.S: Likewise.
42053         * sysdeps/s390/s390-64/setjmp.S: Likewise.
42054         * sysdeps/sh/sh3/setjmp.S: Likewise.
42055         * sysdeps/sh/sh4/setjmp.S: Likewise.
42056         * sysdeps/unix/alpha/sysdep.h: Likewise.
42057         * sysdeps/unix/arm/sysdep.S: Likewise.
42058         * sysdeps/unix/i386/sysdep.S: Likewise.
42059         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42060         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42061         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42062         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42063         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42064         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
42065         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
42066         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42067         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
42068         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
42069         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
42070         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42071         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42074         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42075         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42076         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42077         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42078         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42079         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42080         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42081         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42082         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42083         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42084         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42085         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42086         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42087         * sysdeps/x86_64/setjmp.S: Likewise.
42089         * include/math.h: Use IS_IN instead of IS_IN_libm.
42090         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
42091         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42092         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42093         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
42094         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42095         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42096         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42097         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42098         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42099         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42100         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
42101         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
42102         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
42103         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
42104         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
42105         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
42106         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
42107         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
42108         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
42109         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
42110         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
42111         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
42112         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
42113         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
42114         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
42115         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
42116         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
42117         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
42118         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
42119         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
42120         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
42121         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42122         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
42124         Likewise.
42125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
42126         Likewise.
42127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
42128         Likewise.
42129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
42130         Likewise.
42131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
42132         Likewise.
42133         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42134         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
42135         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42136         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42137         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42138         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
42140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
42141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
42142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
42143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
42144         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
42145         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
42146         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42147         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42148         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42149         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42150         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42151         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42152         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42153         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
42154         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
42155         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
42156         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
42157         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
42158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42159         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
42161         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
42162         * nptl/pthreadP.h: Likewise.
42163         * nptl_db/structs.def: Likewise.
42164         * sysdeps/arm/sysdep.h: Likewise.
42165         * sysdeps/nptl/bits/libc-lock.h: Likewise.
42166         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
42167         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
42168         * sysdeps/unix/alpha/sysdep.h: Likewise.
42169         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42170         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42171         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42172         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42173         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42174         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42175         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42176         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42177         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42178         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42179         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42180         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42181         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42182         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
42184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
42185         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42186         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42187         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42188         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42189         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42190         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42191         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42192         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42193         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
42194         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42196         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
42197         * nptl/pthreadP.h: Likewise.
42198         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42199         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42200         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42201         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42202         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42203         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42204         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42205         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42206         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42207         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42208         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42209         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42211         Likewise.
42212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42213         Likewise.
42214         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42215         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42216         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42217         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42218         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42219         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42220         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42221         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42223         * dlfcn/dladdr.c: Use IS_IN.
42224         * dlfcn/dladdr1.c: Likewise.
42225         * dlfcn/dlclose.c: Likewise.
42226         * dlfcn/dlerror.c: Likewise.
42227         * dlfcn/dlinfo.c: Likewise.
42228         * dlfcn/dlmopen.c: Likewise.
42229         * dlfcn/dlopen.c: Likewise.
42230         * dlfcn/dlsym.c: Likewise.
42231         * dlfcn/dlvsym.c: Likewise.
42233         * include/ifaddrs.h: Use IS_IN.
42234         * inet/check_pf.c: Likewise.
42235         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42236         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
42238         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
42239         IS_IN_ldconfig.
42240         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
42241         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
42243         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
42244         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
42245         IS_IN (libc).
42247         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
42249         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
42250         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42251         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
42252         * include/libc-symbols.h (IS_IN_LIB): New macro.
42253         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
42254         * include/netdb.h: Likewise.
42255         * include/stap-probe.h: Remove all uses of IN_LIB.
42257         * Makeconfig (module-cppflags-real): Define MODULE_NAME
42258         instead of IN_MODULE.
42259         * include/libc-symbols.h (IN_MODULE): Define using
42260         MODULE_NAME.
42261         (PASTE_NAME, PASTE_NAME1): New macros.
42262         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
42263         of IN_LIB.
42264         (STAP_PROBE_ASM): Likewise.
42266 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42268         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
42269         __mach_init in dlopened libc.
42271 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
42273         * sysdeps/arm/preconfigure.ac: Delete EABI check.
42274         * sysdeps/arm/preconfigure: Regenerate.
42276 2014-11-21  Roland McGrath  <roland@hack.frob.com>
42278         * nptl/pthread_create.c (__pthread_create_2_1): Set
42279         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
42280         when copying values from IATTR into PD.
42282 2014-11-21  Will Newton  <will.newton@linaro.org>
42283             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
42285         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
42286         Refactor inline-asm.  Also add comment.
42288         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
42289         ElfW macro instead of hardcoded Elf64 types.
42290         (la_aarch64_gnu_pltenter): Likewise.
42291         * sysdeps/aarch64/dl-machine.h
42292         (elf_machine_runtime_setup): Use ElfW(Addr).
42294         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
42295         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
42296         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
42297         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
42298         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
42299         (R_AARCH64_TLS_DTPMOD64): Rename to ..
42300         (R_AARCH64_TLS_DTPMOD): This.
42301         (R_AARCH64_TLS_DTPREL64): Rename to ...
42302         (R_AARCH64_TLS_DTPREL): This.
42303         (R_AARCH64_TLS_TPREL64): Rename to ...
42304         (R_AARCH64_TLS_TPREL): This.
42305         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
42306         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
42307         R_AARCH64_TLS_TPREL64.
42308         (elf_machine_rela): Likewise.
42310 2014-11-21  Torvald Riegel  <triegel@redhat.com>
42312         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
42313         by setting it to 0.  64b atomics are not supported currently.
42315 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42317         [BZ #16469]
42318         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
42319         search domain names.
42321 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42323         [BZ #16469]
42324         * NEWS: Update.
42325         * resolv/res_query.c (__libc_res_nquerydomain): Retain
42326         trailing dot.
42327         * posix/tst-getaddrinfo5.c: New.
42328         * posix/Makefile (tests): Add it.
42330 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42332         [BZ #14498]
42333         * NEWS: Fixed.
42334         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
42335         after parsing line but before break_if_match.
42336         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
42337         if there is a protocol mismatch.
42339 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
42341         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
42342         because the potential race is on the user-supplied stream.
42344 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42346         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
42347         string literal if not passed a buffer.
42348         * manual/job.texi (ctermid): Update reasoning, note deviation
42349         from posix, suggest mtasurace when not passed a buffer, for
42350         future non-preliminary safety notes.
42352 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42354         * manual/users.texi (cuserid): Fix MT-Safety note for the case
42355         of not passing it a buffer.
42356         Reported by Peng Haitao.
42358 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42360         * manual/Makefile ($(objpfx)stamp-summary): Require
42361         check-safety.sh to pass.
42362         * manual/check-safety.sh: Wish for verification that every
42363         @deftypefn and @deftypefun is followed by a @safety remark.
42365 2014-11-20  Roland McGrath  <roland@hack.frob.com>
42367         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
42369         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
42370         PTHREAD_CANCEL_ASYNCHRONOUS.
42371         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
42372         send SIGCANCEL.
42374         * nptl/default-sched.h: New file.
42375         * sysdeps/unix/sysv/linux/default-sched.h: New file.
42376         * nptl/pthread_create.c: Include it.
42377         (__pthread_create_2_1): Use collect_default_sched instead of making
42378         Linux syscalls here directly.
42380 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42382         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
42383         __pthread_once): Use C11 atomics.
42385 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42387         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
42389 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42391         * include/atomic.h (__atomic_link_error, __atomic_check_size,
42392         atomic_thread_fence_acquire, atomic_thread_fence_release,
42393         atomic_thread_fence_seq_cst, atomic_load_relaxed,
42394         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
42395         atomic_compare_exchange_weak_relaxed,
42396         atomic_compare_exchange_weak_acquire,
42397         atomic_compare_exchange_weak_release,
42398         atomic_exchange_acquire, atomic_exchange_release,
42399         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
42400         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
42401         atomic_fetch_and_acquire,
42402         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
42404 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42406         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
42407         USE_ATOMIC_COMPILER_BUILTINS): Define.
42408         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
42409         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42410         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
42411         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42412         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
42413         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42414         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
42415         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42416         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
42417         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42418         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
42419         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42420         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
42421         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42422         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
42423         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42424         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
42425         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42426         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
42427         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42428         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
42429         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42430         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
42431         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42432         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
42433         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42434         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
42435         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42436         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
42437         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42438         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
42439         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42440         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
42441         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42442         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
42443         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42444         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
42445         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42446         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
42447         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42449 2014-11-19  Roland McGrath  <roland@hack.frob.com>
42451         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
42452         the sched_priority value here.  It was already checked when the user
42453         called pthread_attr_setschedparam.
42455         * nptl/tst-bad-schedattr.c: New file.
42456         * nptl/Makefile (tests): Add it.
42458 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
42459             Florian Weimer  <fweimer@redhat.com>
42460             Joseph Myers  <joseph@codesourcery.com>
42461             Adam Conrad  <adconrad@0c3.net>
42462             Andreas Schwab  <schwab@suse.de>
42463             Brooks  <bmoses@google.com>
42465         [BZ #17625]
42466         * wordexp-test.c (__dso_handle): Add prototype.
42467         (__register_atfork): Likewise.
42468         (__app_register_atfork): New function.
42469         (registered_forks): New global.
42470         (register_fork): New function.
42471         (test_case): Add 3 new tests for WRDE_CMDSUB.
42472         (main): Call __app_register_atfork.
42473         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
42474         fork count is non-zero fail the test.
42475         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
42476         is set.
42477         (parse_dollars): Remove check for WRDE_NOCMD.
42478         (parse_dquote): Likewise.
42480 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42482         * Makeconfig (built-modules): List non-library modules to be
42483         built.
42484         (module-cppflags): Include libc-modules.h for
42485         everything except shlib-versions.v.i.
42486         (CPPFLAGS): Use it.
42487         (before-compile): Add libc-modules.h.
42488         ($(common-objpfx)libc-modules.h,
42489         $(common-objpfx)libc-modules.stmp): New targets.
42490         (common-generated): Add libc-modules.h and libc-modules.stmp.
42491         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
42492         * include/libc-symbols.h: Don't include libc-modules.h.
42493         * include/libc-modules.h: Remove file.
42494         * scripts/gen-libc-modules.awk: New script to generate
42495         libc-modules.h.
42496         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
42497         Depend on libc-modules.stmp.
42499         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
42501         * Makeconfig (in-module): Get value of libof set for the
42502         translation unit.
42503         (CPPFLAGS): Use $(in-module).
42504         * Makerules: Don't suffix routine names for nonlib.
42505         * include/libc-modules.h: New file.
42506         * include/libc-symbols.h: Include libc-modules.h
42507         (IS_IN): New macro to replace IS_IN_* macros.
42508         * elf/Makefile: Set libof-* for each routine.
42509         * elf/rtld-Rules: Likewise.
42510         * extra-modules.mk: Likewise.
42511         * iconv/Makefile: Likewise.
42512         * iconvdata/Makefile: Likewise.
42513         * locale/Makefile: Likewise.
42514         * malloc/Makefile: Likewise.
42515         * nss/Makefile: Likewise.
42516         * sysdeps/gnu/Makefile: Likewise.
42517         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
42518         * sysdeps/unix/sysv/linux/Makefile: Likewise.
42519         * sysdeps/s390/s390-64/Makefile: Likewise.
42520         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
42521         CPPFLAGS for nscd instead of nonlib.
42523 2014-11-18  Roland McGrath  <roland@hack.frob.com>
42525         * nptl/createthread.c: New file.
42527         * nptl/createthread.c: Moved ...
42528         * sysdeps/unix/sysv/linux/createthread.c: ... here.
42530         * nptl/createthread.c: Add proper top-line comment.
42531         (do_clone): Folded into ...
42532         (create_thread): ... here.  Take new arguments STOPPED_START and
42533         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
42534         increment __nptl_threads, do event-reporting logic, do
42535         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
42536         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
42537         resource cleanup if sched_setaffinity or sched_setscheduler fails,
42538         just send SIGCANCEL.
42539         * nptl/pthread_create.c: Forward-declare create_thread before
42540         including createthread.c.
42541         (start_thread): Use new macro START_THREAD_DEFN to replace defining
42542         declaration, and new macro START_THREAD_SELF to replace argument.
42543         Remove return statement.
42544         (report_thread_creation): New function.
42545         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
42546         synchronization logic, and __nptl_nthreads increment here, around
42547         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
42548         PD->parent_cancelhandling here, before create_thread.  When
42549         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
42550         __deallocate_stack, and ENOMEM translation here.
42552 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
42554         [BZ #17616]
42555         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
42556         (mptwo): Rename to __mptwo.
42557         (__inv): Use __mptwo instead of mptwo.
42558         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
42559         (mptwo): Rename to __mptwo.
42560         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
42561         of mpone and __mptwo instead of mptwo.
42562         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
42563         instead of mpone.
42564         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42565         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
42566         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
42567         of mpone and __mptwo instead of mptwo.
42568         (__mpranred): Use __mpone instead of mpone.
42569         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
42570         variable.
42571         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42572         (test-xfail-ISO99/math.h/linknamespace): Likewise.
42573         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42574         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42575         (test-xfail-ISO11/math.h/linknamespace): Likewise.
42576         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42577         (test-xfail-XPG3/math.h/linknamespace): Likewise.
42578         (test-xfail-XPG4/math.h/linknamespace): Likewise.
42579         (test-xfail-POSIX/math.h/linknamespace): Likewise.
42580         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42581         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42582         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42583         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42584         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42585         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42586         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42587         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42588         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42589         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42591 2014-11-18  Tom de Vries  <tom@codesoucery.com>
42593         * manual/signal.texi (Primitives Interrupted by Signals): In section,
42594         replace BSD Handler xref with BSD Signal Handling.
42596 2014-11-17  Richard Henderson  <rth@redhat.com>
42598         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
42599         (_FP_PACK_RAW_2): Remove.
42600         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
42601         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
42602         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
42603         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
42604         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
42605         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
42606         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
42607         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
42608         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
42609         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
42610         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
42611         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
42612         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
42613         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
42614         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
42615         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
42617 2014-11-14  Roland McGrath  <roland@hack.frob.com>
42619         * signal/signal.h [__USE_MISC]
42620         (struct sigvec): Remove type.
42621         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
42622         (sigvec): Remove declaration.
42623         * sysdeps/posix/sigvec.c: Moved ...
42624         * signal/sigvec.c: ... here, replacing old file.
42625         (struct sigvec): New type, copied from old signal.h definition.
42626         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
42627         (__sigvec): Convert definition to prototype.
42628         (sigvec): Replace weak_alias with compat_symbol.
42629         * signal/Versions (libc: GLIBC_2.21): New version set.
42630         * include/signal.h: Remove __sigvec declaration.
42631         * sysdeps/unix/bsd/sigvec.c: Remove file.
42632         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
42633         * manual/signal.texi (BSD Handler): Remove subsection.
42634         Move siginterrupt up to ...
42635         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
42636         (Blocking in BSD): Fold subsection into its parent.
42637         * NEWS: Mention sigvec removal.
42639 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
42641         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
42642         (DLA_FMS): Make definition conditional only on [__FMA4__].
42643         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
42644         definition.
42646         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
42647         Make definition conditional only on [PROF].
42648         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
42649         definition.
42650         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
42651         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
42653         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
42654         !__GNUC__].
42655         * include/signal.h (__sigpause): Move declaration above call to
42656         libc_hidden_proto.
42657         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
42658         variable.
42659         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42660         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42662 2014-11-14  David S. Miller  <davem@davemloft.net>
42664         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
42665         Define before including <string/memcpy.c> and <string/mempcpy.c>.
42667 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
42669         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
42670         * configure: Regenerated.
42671         * manual/install.texi (Tools for Compilation): Document a
42672         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
42673         compiler verified to work.
42674         * INSTALL: Regenerated.
42676         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
42677         redeclare with asm name.
42678         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
42679         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
42680         including <string.h>.
42681         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42682         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
42683         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42684         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
42685         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42686         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
42687         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42689 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
42691         * stdlib/strtol.c (__strtol): Use prototype definition.
42693         [BZ #17594]
42694         * stdlib/strtol.c (SYM__): New macro.
42695         (SYM__1): Likewise.
42696         (__strtol): Likewise.
42697         (strtol): Rename to __strtol and define as weak alias of
42698         __strtol.  Use libc_hidden_weak.
42700 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42702         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
42703         Use numbered labels in inline assembly.
42705 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42707         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
42708         Add setjmp LIBC_PROBE.
42709         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
42710         Likewise.
42711         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
42712         Add longjmp, longjmp_target LIBC_PROBE.
42713         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
42714         Likewise.
42716 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42718         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42719         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
42720         to get rid of unused variable warning.
42722 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42724         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
42725         Check for unwind_backtrace ==  NULL only in SHARED case.
42726         (__backchain_backtrace): Compile only in SHARED case.
42727         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
42728         Likewise.
42729         (__backchain_backtrace): Declare as static.
42731 2014-11-12  Roland McGrath  <roland@hack.frob.com>
42733         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
42734         (__libc_multiple_threads_ptr): Variable moved ...
42735         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
42737 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
42739         * conform/GlibcConform.pm: New file.
42740         * conform/conformtest.pl: Use GlibcConform module.
42741         * conform/linknamespace.pl: New file.
42742         * conform/list-header-symbols.pl: Likewise.
42743         * conform/Makefile (linknamespace-symlists-base): New variable.
42744         (linknamespace-symlists-tests): Likewise.
42745         (linknamespace-header-base): Likewise.
42746         (linknamespace-header-tests): Likewise.
42747         (tests-special): Add new tests.
42748         ($(linknamespace-symlists-tests)): New rule.
42749         (linknamespace-libs): New variable.
42750         ($(objpfx)symlist-stdlibs): New rule.
42751         ($(linknamespace-header-tests)): Likewise.
42752         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
42753         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
42754         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
42755         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
42756         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
42757         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
42758         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
42759         (test-xfail-ISO/math.h/linknamespace): Likewise.
42760         (test-xfail-ISO/signal.h/linknamespace): Likewise.
42761         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
42762         (test-xfail-ISO/time.h/linknamespace): Likewise.
42763         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42764         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
42765         (test-xfail-ISO99/math.h/linknamespace): Likewise.
42766         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42767         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42768         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42769         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42770         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
42771         (test-xfail-ISO11/math.h/linknamespace): Likewise.
42772         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42773         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42774         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42775         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
42776         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
42777         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
42778         (test-xfail-XPG3/math.h/linknamespace): Likewise.
42779         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
42780         (test-xfail-XPG3/search.h/linknamespace): Likewise.
42781         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
42782         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42783         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
42784         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
42785         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
42786         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
42787         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
42788         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
42789         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
42790         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
42791         (test-xfail-XPG4/math.h/linknamespace): Likewise.
42792         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
42793         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42794         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
42795         (test-xfail-XPG4/search.h/linknamespace): Likewise.
42796         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
42797         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
42798         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
42799         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
42800         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
42801         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42802         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
42803         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
42804         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
42805         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
42806         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
42807         (test-xfail-POSIX/math.h/linknamespace): Likewise.
42808         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
42809         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
42810         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
42811         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42812         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
42813         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42814         (test-xfail-POSIX/time.h/linknamespace): Likewise.
42815         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
42816         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
42817         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42818         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
42819         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
42820         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
42821         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
42822         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42823         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42824         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42825         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
42826         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
42827         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42828         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42829         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
42830         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42831         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
42832         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
42833         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
42834         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
42835         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42836         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42837         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
42838         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42839         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
42840         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
42841         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
42842         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
42843         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42844         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
42845         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
42846         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
42847         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
42848         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
42849         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42850         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42851         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
42852         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
42853         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
42854         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
42855         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42856         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
42857         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
42858         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42859         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
42860         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
42861         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
42862         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42863         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42864         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
42865         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
42866         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42867         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42868         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
42869         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
42870         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
42871         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
42872         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42873         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
42874         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
42875         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
42876         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
42877         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42878         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
42879         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42880         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
42881         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42882         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
42883         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
42884         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
42885         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42886         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42887         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42888         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42889         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
42890         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42891         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42892         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
42893         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
42894         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
42895         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
42896         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42897         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42898         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
42899         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42900         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
42901         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42902         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
42903         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
42904         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
42905         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42906         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
42907         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42908         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42909         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
42910         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42911         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42912         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
42914         [BZ #17589]
42915         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
42916         of fgets_unlocked.
42918         [BZ #17585]
42919         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
42920         (memmem): Rename to __memmem and define as weak alias of
42921         __memmem.  Use libc_hidden_weak.
42922         (__memmem): Use libc_hidden_def.
42923         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
42924         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
42925         memmem.
42927         [BZ #17582]
42928         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
42929         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
42930         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
42931         and define as weak alias of __fgets_unlocked.  Use
42932         libc_hidden_weak.
42933         (__fgets_unlocked): Use libc_hidden_def.
42934         * include/stdio.h (__fgets_unlocked): Declare.  Use
42935         libc_hidden_proto.
42936         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
42937         __fgets_unlocked instead of fgets_unlocked.
42938         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
42939         (GET_NPROCS_CONF_PARSER): Likewise.
42940         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
42941         (GET_NPROCS_CONF_PARSER): Likewise.
42943         [BZ #17574]
42944         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
42945         weak alias of __wmemset.  Use libc_hidden_weak.
42946         (__wmemset): Use libc_hidden_def.
42947         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
42948         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
42949         of wmemset.
42951         [BZ #17573]
42952         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
42953         with asm name __mempcpy.
42954         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
42956         [BZ #17572]
42957         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
42958         and define as weak alias of __rawmemchr.
42959         (__rawmemchr): Do not define as strong alias of rawmemchr.
42961         [BZ #17571]
42962         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
42963         alias of __qsort_r.
42964         (qsort): Call __qsort_r instead of qsort_r.
42965         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
42966         (__qsort_r): Declare.  Call libc_hidden_proto.
42967         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
42968         instead of qsort_r.
42969         * nscd/gai.c (__qsort_r): Define to qsort_r.
42970         * posix/tst-rfc3484.c (__qsort_r): Likewise.
42971         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
42972         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
42974         [BZ #17570]
42975         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
42976         define as weak alias of __malloc_info.
42978         [BZ #17584]
42979         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
42980         as weak alias of __rewinddir.  Don't use libc_hidden_def.
42981         (__rewinddir): Use libc_hidden_def.
42982         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
42983         as weak alias of __rewinddir.  Don't use libc_hidden_def.
42984         (__rewinddir): Use libc_hidden_def.
42985         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
42986         weak alias of __rewinddir.  Don't use libc_hidden_def.
42987         (__rewinddir): Use libc_hidden_def.
42988         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
42989         (__rewinddir): Use libc_hidden_proto.
42990         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
42991         rewinddir.
42992         (__getcwd): Use __rewinddir instead of rewinddir.
42994         [BZ #17583]
42995         * libio/fileno.c (fileno): Rename to __fileno and define as weak
42996         alias of __fileno.  Use libc_hidden_weak.
42997         (__fileno): Use libc_hidden_def.
42998         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
42999         * libio/ftello.c (ftello): Rename to __ftello and define as weak
43000         alias of __ftello.
43001         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
43002         __ftello.
43003         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
43004         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
43005         libc_hidden_def.
43006         (fread_unlocked): Don't use libc_hidden_ver.
43007         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
43008         and define as weak alias of __fread_unlocked.  Don't use
43009         libc_hidden_def.
43010         (__fread_unlocked): Use libc_hidden_def.
43011         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
43012         (ftello): Don't use libc_hidden_proto.
43013         (__ftello): Declare.  Use libc_hidden_proto.
43014         (fread_unlocked): Don't use libc_hidden_proto.
43015         (__fread_unlocked): Declare.  Use libc_hidden_proto.
43016         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
43017         and __ftello instead of fileno, fread_unlocked and ftello.
43019 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43021         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
43022         GOT12.
43023         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
43024         Likewise.
43025         (_dl_start_user): Likewise.
43026         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
43028 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
43029             Siddhesh Poyarekar  <siddhesh@redhat.com>
43031         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
43032         Move argv and envp down instead of moving argc up.
43033         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
43035 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
43037         [BZ #17506]
43038         * test-skeleton.c (main): Return successful if one of
43039         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
43040         * string/tst-strcoll-overflow.c: Define expected status.
43042 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
43044         [BZ #17475]
43045         * locale/iso-639.def: Define Bhili and Tulu language codes.
43047 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
43049         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
43051 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
43053         [BZ #17555]
43054         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
43056 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
43058         * configure.ac: Updated check of minimal required version to
43059         2.22.
43060         * manual/install.texi (Tools for Compilation): Updated version
43061         number.
43062         * configure: Regenerated.
43063         * INSTALL: Likewise.
43065 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
43067         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
43068         __tls_get_addr.
43070 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
43072         * include/sys/wait.h (__libc_waitpid): Remove declaration.
43073         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
43074         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43075         libc_hidden_weak.
43076         (waitpid): Define as alias of __waitpid.
43077         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
43078         __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/sysv/linux/i386/syscalls.list (waitpid): Remove
43083         __libc_waitpid alias.
43084         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
43085         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
43086         Likewise.
43087         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
43088         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
43089         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
43090         alias.
43091         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
43092         __waitpid.
43093         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43094         libc_hidden_weak.
43095         (waitpid): Define as alias of __waitpid.
43097 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
43099         * manual/llio.texi: Add comment that write safety has been
43100         fixed in Linux.
43102         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
43103         (localplt-build-dso): Add elf/ld.so.
43104         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
43105         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
43106         and free for ld.so.
43107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
43108         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
43109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
43110         Likewise.
43111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43112         Likewise.
43113         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
43114         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
43115         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
43116         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
43117         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
43118         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
43119         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
43120         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
43121         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
43122         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
43123         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
43125 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
43127         [BZ #14132]
43128         * include/libc-symbols.h (INTUSE): Remove macro.
43129         (INTDEF): Likewise.
43130         (INTVARDEF): Likewise.
43131         (_INTVARDEF): Likewise.
43132         (INTDEF2): Likewise.
43133         (INTVARDEF2): Likewise.
43134         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
43135         rtld_hidden_def instead of INTVARDEF.
43136         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
43137         (_dl_starting_up_internal): Remove declaration.
43138         (_dl_starting_up): Use rtld_hidden_proto.
43139         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
43140         declaration.
43141         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
43142         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
43143         _dl_starting_up.
43144         * elf/dl-writev.h (_dl_writev): Likewise.
43145         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
43146         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
43147         _dl_starting_up_internal.
43149 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43151         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
43152         test-skeleton.c.
43154 2014-11-05  Will Newton  <will.newton@linaro.org>
43156         * benchtests/Makefile: (bench-malloc): Add malloc thread
43157         scalability benchmark.
43158         * benchtests/bench-malloc-threads.c: New file.
43160 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
43162         * sysdeps/aarch64/strchrnul.S: New file.
43164 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43166         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
43167         definition.
43168         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43169         Likewise.
43170         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43171         Likewise.
43172         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43173         Likewise.
43174         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43175         Likewise.
43176         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43177         Likewise.
43179 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
43181         * catgets/test-gencat.c: Use test-skeleton.c.
43182         * catgets/tst-catgets.c: Likewise.
43183         * csu/tst-empty.c: Likewise.
43184         * elf/tst-audit2.c: Likewise.
43185         * elf/tst-global1.c: Likewise.
43186         * elf/tst-pathopt.c: Likewise.
43187         * elf/tst-piemod1.c: Likewise.
43188         * elf/tst-tls10.c: Likewise.
43189         * elf/tst-tls11.c: Likewise.
43190         * elf/tst-tls12.c: Likewise.
43191         * gnulib/tst-gcc.c: Likewise.
43192         * iconvdata/tst-e2big.c: Likewise.
43193         * iconvdata/tst-loading.c: Likewise.
43194         * iconv/tst-iconv1.c: Likewise.
43195         * iconv/tst-iconv2.c: Likewise.
43196         * inet/test-inet6_opt.c: Likewise.
43197         * inet/tst-gethnm.c: Likewise.
43198         * inet/tst-network.c: Likewise.
43199         * inet/tst-ntoa.c: Likewise.
43200         * intl/tst-codeset.c: Likewise.
43201         * intl/tst-gettext2.c: Likewise.
43202         * intl/tst-gettext3.c: Likewise.
43203         * intl/tst-ngettext.c: Likewise.
43204         * intl/tst-translit.c: Likewise.
43205         * io/test-stat.c: Likewise.
43206         * libio/test-fmemopen.c: Likewise.
43207         * libio/tst-freopen.c: Likewise.
43208         * libio/tst-sscanf.c: Likewise.
43209         * libio/tst-ungetwc1.c: Likewise.
43210         * libio/tst-ungetwc2.c: Likewise.
43211         * libio/tst-widetext.c: Likewise.
43212         * localedata/tst-ctype.c: Likewise.
43213         * localedata/tst-digits.c: Likewise.
43214         * localedata/tst-leaks.c: Likewise.
43215         * localedata/tst-mbswcs1.c: Likewise.
43216         * localedata/tst-mbswcs2.c: Likewise.
43217         * localedata/tst-mbswcs3.c: Likewise.
43218         * localedata/tst-mbswcs4.c: Likewise.
43219         * localedata/tst-mbswcs5.c: Likewise.
43220         * localedata/tst-setlocale.c: Likewise.
43221         * localedata/tst-trans.c: Likewise.
43222         * localedata/tst-wctype.c: Likewise.
43223         * localedata/tst-xlocale1.c: Likewise.
43224         * login/tst-grantpt.c: Likewise.
43225         * malloc/tst-calloc.c: Likewise.
43226         * malloc/tst-malloc.c: Likewise.
43227         * malloc/tst-mallocstate.c: Likewise.
43228         * malloc/tst-mcheck.c: Likewise.
43229         * malloc/tst-mtrace.c: Likewise.
43230         * malloc/tst-obstack.c: Likewise.
43231         * math/atest-exp2.c: Likewise.
43232         * math/atest-exp.c: Likewise.
43233         * math/atest-sincos.c: Likewise.
43234         * math/test-matherr.c: Likewise.
43235         * math/test-misc.c: Likewise.
43236         * math/test-powl.c: Likewise.
43237         * math/tst-definitions.c: Likewise.
43238         * misc/tst-dirname.c: Likewise.
43239         * misc/tst-efgcvt.c: Likewise.
43240         * misc/tst-fdset.c: Likewise.
43241         * misc/tst-hsearch.c: Likewise.
43242         * misc/tst-mntent2.c: Likewise.
43243         * nptl/tst-sem7.c: Likewise.
43244         * nptl/tst-sem8.c: Likewise.
43245         * nptl/tst-sem9.c: Likewise.
43246         * nss/test-netdb.c: Likewise.
43247         * posix/tst-fnmatch.c: Likewise.
43248         * posix/tst-getlogin.c: Likewise.
43249         * posix/tst-gnuglob.c: Likewise.
43250         * posix/tst-mmap.c: Likewise.
43251         * pwd/tst-getpw.c: Likewise.
43252         * resolv/tst-inet_ntop.c: Likewise.
43253         * rt/tst-timer.c: Likewise.
43254         * stdio-common/test-fseek.c: Likewise.
43255         * stdio-common/test-popen.c: Likewise.
43256         * stdio-common/test-vfprintf.c: Likewise.
43257         * stdio-common/tst-cookie.c: Likewise.
43258         * stdio-common/tst-fileno.c: Likewise.
43259         * stdio-common/tst-gets.c: Likewise.
43260         * stdio-common/tst-obprintf.c: Likewise.
43261         * stdio-common/tst-perror.c: Likewise.
43262         * stdio-common/tst-sprintf2.c: Likewise.
43263         * stdio-common/tst-sprintf3.c: Likewise.
43264         * stdio-common/tst-sprintf.c: Likewise.
43265         * stdio-common/tst-swprintf.c: Likewise.
43266         * stdio-common/tst-tmpnam.c: Likewise.
43267         * stdio-common/tst-unbputc.c: Likewise.
43268         * stdio-common/tst-wc-printf.c: Likewise.
43269         * stdlib/tst-environ.c: Likewise.
43270         * stdlib/tst-fmtmsg.c: Likewise.
43271         * stdlib/tst-limits.c: Likewise.
43272         * stdlib/tst-rand48-2.c: Likewise.
43273         * stdlib/tst-rand48.c: Likewise.
43274         * stdlib/tst-random2.c: Likewise.
43275         * stdlib/tst-random.c: Likewise.
43276         * stdlib/tst-strtol.c: Likewise.
43277         * stdlib/tst-strtoll.c: Likewise.
43278         * stdlib/tst-tls-atexit.c: Likewise.
43279         * stdlib/tst-xpg-basename.c: Likewise.
43280         * string/test-ffs.c: Likewise.
43281         * string/tst-bswap.c: Likewise.
43282         * string/tst-inlcall.c: Likewise.
43283         * string/tst-strtok.c: Likewise.
43284         * string/tst-strxfrm.c: Likewise.
43285         * sysdeps/x86_64/tst-audit10.c: Likewise.
43286         * sysdeps/x86_64/tst-audit3.c: Likewise.
43287         * sysdeps/x86_64/tst-audit4.c: Likewise.
43288         * sysdeps/x86_64/tst-audit5.c: Likewise.
43289         * time/tst-ftime_l.c: Likewise.
43290         * time/tst-getdate.c: Likewise.
43291         * time/tst-mktime3.c: Likewise.
43292         * time/tst-mktime.c: Likewise.
43293         * time/tst-posixtz.c: Likewise.
43294         * time/tst-strptime2.c: Likewise.
43295         * time/tst-strptime3.c: Likewise.
43296         * wcsmbs/tst-btowc.c: Likewise.
43297         * wcsmbs/tst-mbrtowc.c: Likewise.
43298         * wcsmbs/tst-mbsrtowcs.c: Likewise.
43299         * wcsmbs/tst-wchar-h.c: Likewise.
43300         * wcsmbs/tst-wcpncpy.c: Likewise.
43301         * wcsmbs/tst-wcrtomb.c: Likewise.
43302         * wcsmbs/tst-wcsnlen.c: Likewise.
43303         * wcsmbs/tst-wcstof.c: Likewise.
43305 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
43307         [BZ #14132]
43308         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
43309         INTDEF.
43310         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
43311         declaration.
43312         (_dl_mcount): Use rtld_hidden_proto.
43313         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
43314         _dl_mcount.
43315         * elf/rtld.c (_rtld_global_ro): Likewise.
43317         [BZ #14132]
43318         * elf/dl-init.c (_dl_init): Don't use INTDEF.
43319         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
43320         of _dl_init_internal.
43321         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
43322         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
43323         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
43324         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
43325         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
43326         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
43327         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
43328         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
43329         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
43330         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
43331         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
43332         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
43333         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43334         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43335         * sysdeps/tile/dl-start.S (_start): Likewise.
43336         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
43337         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
43339         [BZ #14132]
43340         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
43341         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
43342         (rtld_progname): Make macro definition unconditional.
43343         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
43344         INTDEF.
43345         (dlmopen_doit): Do not use INTUSE with _dl_argv.
43346         (dl_main): Likewise.
43347         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
43348         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
43349         instead of _dl_argv_internal.
43350         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43351         __GI__dl_argv instead of INTUSE(_dl_argv).
43352         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
43353         __GI__dl_argv instead of _dl_argv_internal.
43355         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
43356         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
43357         macro.
43358         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
43359         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
43360         New macro.
43361         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
43362         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
43363         macro.
43364         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
43365         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
43367 2014-11-04  Andreas Schwab  <schwab@suse.de>
43369         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
43371 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43373         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
43374         mtvsrd instruction in binary form.
43376 2014-11-03  Andreas Schwab  <schwab@suse.de>
43378         [BZ #17522]
43379         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
43380         for less than MB_LEN_MAX use a local buffer of that size.
43381         * libio/tst-fputws.c: New file.
43382         * libio/Makefile (tests): Add tst-fputws.
43384 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
43386         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
43387         the size of the fpu_fr.fpu_dregs[] array.
43389 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
43391         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
43392         (__nanosleep): Do not define as alias.
43393         (nanosleep): Define as alias of __nanosleep.
43394         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
43395         __libc_nanosleep name.
43397 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
43399         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
43400         install.texi in comment.
43402 2014-10-31  Torvald Riegel  <triegel@redhat.com>
43404         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
43405         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
43406         ... add here and use lwsync or sync ...
43407         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
43408         ... and add here using lwsync.
43410 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
43412         * elf/dl-machine-reject-phdr.h: New file.
43413         * elf/dl-load.c: #include that.
43414         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
43415         if that returned true.
43417 2014-10-31  Roland McGrath  <roland@hack.frob.com>
43419         [BZ #17496]
43420         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
43421         gen-as-const-headers chunk.  Add a big scare comment after the last
43422         safe place to touch before-compile.
43424 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
43426         * manual/install.texi (Tools for Compilation): Update autoconf
43427         version requirements.
43428         * INSTALL: Regenerated.
43430         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
43431         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
43432         (__libc_pselect): Likewise.
43434         [BZ #14138]
43435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
43436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43440 2014-10-31  Torvald Riegel  <triegel@redhat.com>
43442         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
43443         correct barrier instruction.
43444         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
43445         Likewise.
43446         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
43447         Likewise.
43449 2014-10-30  Roland McGrath  <roland@hack.frob.com>
43451         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
43452         after defining inlines.  Instead, just use parens to defeat macro
43453         expansion of __isctype in its declaration.
43455 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
43457         * include/sys/uio.h (__libc_readv): Remove declaration.
43458         (__libc_writev): Likewise.
43459         * misc/readv.c (__libc_readv): Rename to __readv.
43460         (__readv): Do not define as alias.
43461         (readv): Define as alias of __readv.
43462         * misc/writev.c (__libc_writev): Rename to __writev.
43463         (__writev): Do not define as alias.
43464         (writev): Define as alias of __writev.
43465         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
43466         (__readv): Do not define as alias.
43467         (readv): Define unconditionally as alias of __readv.
43468         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
43469         (__writev): Do not define as alias.
43470         (writev): Define unconditionally as alias of __writev.
43471         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
43472         name.
43473         (writev): Do not define __libc_writev name.
43475 2014-10-30  Roland McGrath  <roland@hack.frob.com>
43477         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
43478         (convert_charseq): New function, broken out of ...
43479         (use_from_charmap): ... here.  Call it.
43480         (use_to_charmap): Use convert_charseq and free instead of duplicating
43481         its code with a variable-length stack struct.
43483 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
43485         * include/fcntl.h (__libc_creat): Remove declaration.
43486         * io/creat.c (__libc_creat): Rename to creat.
43487         (creat): Do not define as alias.
43488         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
43489         of creat instead of __libc_creat.
43490         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
43491         to creat.
43492         (creat): Do not define as alias.
43493         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
43494         __libc_creat.
43495         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
43496         __libc_creat name.
43497         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
43498         Likewise.
43500 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
43502         * manual/llio.texi: Add comments discussing why write() may be
43503         considered MT-unsafe on Linux.
43505 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
43507         * dl-load.c (local_strdup): Remove.
43508         (expand_dynamic_string_token): Use __strdup.
43509         (decompose_rpath): Likewise.
43510         (_dl_map_object): Likewise.
43512 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
43514         [BZ #14132]
43515         * sysdeps/generic/unwind-dw2-fde.c
43516         (__register_frame_info_bases_internal): Do not declare.
43517         (__register_frame_info_table_bases_internal): Likewise.
43518         (__deregister_frame_info_bases_internal): Likewise.
43519         (__register_frame_info_bases): Declare and use hidden_proto before
43520         definition.  Use hidden_def instead of INTDEF.
43521         (__register_frame_info_table_bases): Likewise.
43522         (__deregister_frame_info_bases): Likewise.
43523         (__register_frame_info): Do not use INTUSE.
43524         (__register_frame): Likewise.
43525         (__register_frame_info_table): Likewise.
43526         (__register_frame_table): Likewise.
43527         (__deregister_frame_info): Likewise.
43528         (__deregister_frame): Likewise.
43530 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
43532         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43533         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
43534         not undefine.
43535         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
43536         Likewise.
43537         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
43538         Likewise.
43540 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
43542         [BZ #14138]
43543         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
43544         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
43545         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
43546         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
43547         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
43548         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
43549         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
43550         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
43551         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
43552         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
43553         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
43554         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
43555         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
43556         syscall.
43557         (setfsuid): Likewise.
43558         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
43559         (setfsuid): Likewise.
43560         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
43561         (setfsuid): Likewise.
43562         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
43563         Likewise.
43564         (setfsuid): Likewise.
43565         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
43566         (setfsuid): Likewise.
43567         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
43568         Likewise.
43569         (setfsuid): Likewise.
43571 2014-10-27  Andreas Schwab  <schwab@suse.de>
43573         [BZ #17501]
43574         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
43575         check for Slow_SSE4_2 feature bit.
43576         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
43577         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43578         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
43579         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
43581 2014-10-24  Roland McGrath  <roland@hack.frob.com>
43583         * configure.ac: Validate compiler version with a empirical test of
43584         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
43585         $CC -v output.
43586         * configure: Regenerated.
43588         * inet/htons.c (htons): Prototypify.
43589         * inet/htonl.c (htonl): Likewise.
43591 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43593         * string/strncat.c (strncat): Improve performance by using strlen.
43595 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43597         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
43599 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43601         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
43602         Call libc_fetestexcept_aarch64.
43604 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43606         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
43607         Call libc_feholdexcept_aarch64.
43609 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43611         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
43612         Call get_rounding_mode.
43614 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43616         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
43617         Simplify logic.
43619 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43621         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
43622         Simplify logic.
43624 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
43626         [BZ #14138]
43627         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
43628         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
43629         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
43630         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
43631         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
43632         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
43633         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
43634         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
43635         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
43636         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
43637         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
43638         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
43639         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
43640         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
43641         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
43642         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
43643         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
43644         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
43645         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
43646         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
43647         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
43648         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
43649         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
43650         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
43651         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
43652         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
43653         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
43654         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
43655         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
43656         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
43657         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
43658         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
43659         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
43660         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
43661         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
43662         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
43663         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
43664         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
43665         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
43666         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
43667         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
43668         syscall.
43669         (geteuid): Likewise.
43670         (getgid): Likewise.
43671         (getuid): Likewise.
43672         (getresgid): Likewise.
43673         (getresuid): Likewise.
43674         (getgroups): Likewise.
43675         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
43676         (geteuid): Likewise.
43677         (getgid): Likewise.
43678         (getuid): Likewise.
43679         (getresgid): Likewise.
43680         (getresuid): Likewise.
43681         (getgroups): Likewise.
43682         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
43683         (geteuid): Likewise.
43684         (getgid): Likewise.
43685         (getuid): Likewise.
43686         (getresgid): Likewise.
43687         (getresuid): Likewise.
43688         (getgroups): Likewise.
43689         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
43690         Likewise.
43691         (geteuid): Likewise.
43692         (getgid): Likewise.
43693         (getuid): Likewise.
43694         (getresgid): Likewise.
43695         (getresuid): Likewise.
43696         (getgroups): Likewise.
43697         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
43698         (geteuid): Likewise.
43699         (getgid): Likewise.
43700         (getuid): Likewise.
43701         (getresgid): Likewise.
43702         (getresuid): Likewise.
43703         (getgroups): Likewise.
43704         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
43705         Likewise.
43706         (geteuid): Likewise.
43707         (getgid): Likewise.
43708         (getuid): Likewise.
43709         (getgroups): Likewise.
43711         [BZ #14138]
43712         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
43713         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
43714         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
43715         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43716         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
43717         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
43718         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
43719         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
43720         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
43721         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
43722         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
43723         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
43724         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
43725         __chown.
43726         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
43727         (lchown): Likewise.
43728         (fchown): Likewise.
43729         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
43730         Likewise.
43731         (lchown): Likewise.
43732         (fchown): Likewise.
43733         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
43734         (lchown): Likewise.
43735         (fchown): Likewise.
43736         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
43737         Likewise.
43738         (lchown): Likewise.
43739         (fchown): Likewise.
43741 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43743         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
43744         Simplify logic.
43746 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43748         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43749         Cleanup logic.
43751 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43753         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43754         Remove unused include.
43756 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43758         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
43759         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
43760         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
43761         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
43763 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
43764             Helge Deller <deller@gmx.de>
43766         [BZ #17508]
43767         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
43768         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
43769         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
43771 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
43773         [BZ #14132]
43774         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
43775         Remove macro definition.
43776         (__ashrdi3_v_glibc20): Likewise.
43777         (__lshrdi3_v_glibc20): Likewise.
43778         (__cmpdi2_v_glibc20): Likewise.
43779         (__ucmpdi2_v_glibc20): Likewise.
43780         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
43781         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43782         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43783         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43784         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43785         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
43787 2014-10-22  Roland McGrath  <roland@hack.frob.com>
43789         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
43790         old GNU extension [0] syntax.
43791         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
43792         alloca rather than an array member with variable length.
43793         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
43794         * nscd/nscd.c (invalidate_db): New function, broken out of ...
43795         (parse_opt): ... here.  Likewise use alloca there.
43796         Validate the -i argument before checking for rootness.
43797         (send_shutdown): New function, broken out of ...
43798         (parse_opt): ... here.
43800 2014-10-22  Roland McGrath  <roland@hack.frob.com>
43802         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
43803         macro to get at the _rt_local_ro field.
43804         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
43805         ([PIC] case) or _dl_hwcap ([!PIC] case).
43806         * sysdeps/arm/setjmp.S: Likewise.
43808         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
43809         * sysdeps/arm/configure.ac: New check to define it.
43810         * sysdeps/arm/configure: Regenerated.
43811         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
43812         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
43813         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
43814         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
43815         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
43816         Use move/movt pair instead of a load.
43817         (LDST_GLOBAL): Macro removed.
43818         (LDR_GLOBAL): New macro replaces it.
43819         (LDR_HIDDEN): New macro.
43820         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
43821         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
43823         * setjmp/tst-setjmp-static.c: New file.
43824         * setjmp/Makefile (tests): Add it.
43825         (tests-static): New variable.
43827 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
43829         [BZ #17485]
43830         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
43832 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
43834         [BZ #14132]
43835         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
43837 2014-10-21  Roland McGrath  <roland@hack.frob.com>
43839         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
43841 2014-10-20  Roland McGrath  <roland@hack.frob.com>
43843         * io/fts.c (dirent_not_directory): New function.
43844         (fts_build): Call it.
43846 2014-10-20  Roland McGrath  <roland@hack.frob.com>
43848         * nptl/version.c (__nptl_main): Use normal __write rather than
43849         INTERNAL_SYSCALL.
43850         (banner): Update copyright years.
43852         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
43853         gettimeofday.
43854         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43855         * nptl/pthread_cond_timedwait.c: Likewise.
43856         * nptl/pthread_mutex_timedlock.c: Likewise.
43857         * nptl/sem_timedwait.c: Likewise.
43859         * sysdeps/nptl/bits/libc-lock.h
43860         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
43861         (__libc_lock_init_recursive): Return void, not 0.
43862         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
43863         (__libc_rwlock_init): Likewise.
43864         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
43866 2014-10-20  Torvald Riegel  <triegel@redhat.com>
43868         [BZ #15215]
43869         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
43870         (__pthread_once_slow): ... here.
43871         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
43872         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
43874 2014-10-20  Torvald Riegel  <triegel@redhat.com>
43876         [BZ #15215]
43877         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
43878         __PTHREAD_ONCE_FORK_GEN_INCR): New.
43879         * sysdeps/nptl/fork.c (__libc_fork): Use them.
43880         * nptl/pthread_once.c (__pthread_once): Likewise.
43881         Update comments.
43883 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
43885         [BZ #14138]
43886         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
43887         name.
43888         (writev): Use __libc_writev as strong name.
43889         * sysdeps/unix/sysv/linux/readv.c: Remove file.
43890         * sysdeps/unix/sysv/linux/writev.c: Likewise.
43892 2014-10-17  Roland McGrath  <roland@hack.frob.com>
43894         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
43896         * sysdeps/i386/nptl/tls.h
43897         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
43898         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
43899         New macros.
43900         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
43901         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
43902         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
43903         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
43904         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
43905         Call CHECK_THREAD_SYSINFO instead of doing an assert.
43907         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
43908         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
43909         on [__NR_futex].
43910         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
43911         broken out of ...
43912         (__pthread_mutex_init): ... here.  Call it.
43913         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
43914         Conditionalize PI cases on [__NR_futex].
43915         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
43916         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
43917         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
43919         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
43920         conditional on [SIGSETXID].
43921         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
43922         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
43923         is defined.  Likewise for SIGSETXID.
43924         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
43925         Conditionalize definitions on [SIGSETXID].
43926         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
43927         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
43928         unblocking on [SIGCANCEL].
43930         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
43931         [__NR_set_robust_list].
43933 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43935         * string/strcoll_l.c (get_next_seq): Fix up formatting.
43936         (do_compare): Likewise.
43938 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
43940         [BZ #15884]
43941         * string/strcoll_l.c: Don't include stdio.h.
43942         (coll_seq): Remove members idxarr and rulearr.
43943         (get_next_seq_cached): Remove function.
43944         (get_next_seq): Likewise.
43945         (get_next_seq_nocache): Rename to get_next_seq.
43946         (do_compare): Remove function.
43947         (do_compare_nocache): Rename to do_compare.
43948         (STRCOLL): Remove weight and rules cache.
43950 2014-10-16  Roland McGrath  <roland@hack.frob.com>
43952         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
43953         * sysdeps/arm/sfp-machine.h: ... to here.
43954         * sysdeps/arm/Implies: Remove arm/soft-fp.
43956 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
43958         * conform/data/sys/utsname.h-data (*_t): Allow.
43959         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
43960         [POSIX] (WEXITED): Do not expect constant.
43961         [POSIX] (WSTOPPED): Likewise.
43962         [POSIX] (WNOHANG): Likewise.
43963         [POSIX] (WNOWAIT): Likewise.
43964         [POSIX] (siginfo_t): Do not expect type or elements.
43965         [POSIX] (pid_t): Do not expect type.
43966         [POSIX] (signal.h): Do not allow header.
43967         [POSIX] (sys/resource.h): Likewise.
43968         [POSIX] (si_*): Do not allow pattern.
43969         [POSIX] (W*): Likewise.
43970         [POSIX] (P_*): Likewise.
43971         [POSIX] (BUS_*): Likewise.
43972         [POSIX] (CLD_*): Likewise.
43973         [POSIX] (FPE_*): Likewise.
43974         [POSIX] (ILL_*): Likewise.
43975         [POSIX] (POLL_*): Likewise.
43976         [POSIX] (SEGV_*): Likewise.
43977         [POSIX] (SI_*): Likewise.
43978         [POSIX] (TRAP_*): Likewise.
43979         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
43980         variable.
43982 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
43984         [BZ #12926]
43985         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
43986         infinite loop when __recvmsg returns 0.
43988 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
43990         * CANCEL-FCT-WAIVE: Remove file.
43991         * CANCEL-FILE-WAIVE: Likewise.
43993         [BZ #14132]
43994         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
43995         instead of INTVARDEF.
43996         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43997         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
43998         rtld_hidden_data_def instead of INTVARDEF.
43999         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
44000         * elf/dl-deps.c (expand_dst): Likewise.
44001         * elf/dl-load.c (_dl_dst_count): Likewise.
44002         (_dl_dst_substitute): Likewise.
44003         (decompose_rpath): Likewise.
44004         (_dl_init_paths): Likewise.
44005         (open_path): Likewise.
44006         (_dl_map_object): Likewise.
44007         * elf/rtld.c (dl_main): Likewise.
44008         (process_dl_audit): Likewise.
44009         (process_envvars): Likewise.
44010         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
44011         Remove declaration.
44012         (__libc_enable_secure): Use rtld_hidden_proto.
44014 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44016         * elf/dl-load.c
44017         (add_path): New function broken out of _dl_rtld_di_serinfo.
44018         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
44020 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
44022         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
44023         parentheses around macro arguments.
44024         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
44025         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
44026         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
44027         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
44028         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
44029         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44030         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44031         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
44032         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
44033         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
44034         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
44035         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
44036         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
44037         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
44038         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
44039         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
44040         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
44041         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
44042         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
44043         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
44044         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
44045         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
44046         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
44047         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44048         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44049         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
44050         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
44051         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
44052         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
44053         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
44054         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
44055         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
44056         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
44057         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
44058         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
44059         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
44060         Likewise.
44061         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
44062         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44063         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44064         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
44065         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
44066         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
44067         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
44068         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
44069         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
44070         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
44071         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
44072         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
44073         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
44074         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
44075         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
44076         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44077         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44078         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
44079         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
44080         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
44081         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
44082         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
44083         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
44084         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
44085         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
44086         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
44087         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
44088         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
44089         (_FP_FRAC_SRS_1): Likewise.
44090         (_FP_FRAC_CLZ_1): Likewise.
44091         (_FP_MUL_MEAT_1_imm): Likewise.
44092         (_FP_MUL_MEAT_1_wide): Likewise.
44093         (_FP_MUL_MEAT_1_hard): Likewise.
44094         (_FP_SQRT_MEAT_1): Likewise.
44095         (_FP_FRAC_ASSEMBLE_1): Likewise.
44096         (_FP_FRAC_DISASSEMBLE_1): Likewise.
44097         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
44098         (__FP_CLZ_2): Likewise.
44099         (_FP_MUL_MEAT_2_wide): Likewise.
44100         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
44101         (_FP_MUL_MEAT_2_gmp): Likewise.
44102         (_FP_MUL_MEAT_2_120_240_double): Likewise.
44103         (_FP_SQRT_MEAT_2): Likewise.
44104         (_FP_FRAC_ASSEMBLE_2): Likewise.
44105         (_FP_FRAC_DISASSEMBLE_2): Likewise.
44106         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
44107         (_FP_FRAC_CLZ_4): Likewise.
44108         (_FP_MUL_MEAT_4_wide): Likewise.
44109         (_FP_MUL_MEAT_4_gmp): Likewise.
44110         (_FP_SQRT_MEAT_4): Likewise.
44111         (_FP_FRAC_ASSEMBLE_4): Likewise.
44112         (_FP_FRAC_DISASSEMBLE_4): Likewise.
44113         * soft-fp/op-common.h (_FP_CMP): Likewise.
44114         (_FP_CMP_EQ): Likewise.
44115         (_FP_CMP_UNORD): Likewise.
44116         (_FP_TO_INT): Likewise.
44117         (_FP_FROM_INT): Likewise.
44118         [!__FP_CLZ] (__FP_CLZ): Likewise.
44119         (_FP_DIV_HELP_imm): Likewise.
44120         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
44121         Likewise.
44122         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
44123         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
44124         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
44125         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
44126         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
44127         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
44128         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
44129         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
44130         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
44131         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
44132         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
44133         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
44134         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
44135         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
44136         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
44137         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
44138         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
44139         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
44140         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
44141         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
44142         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
44143         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
44144         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
44145         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
44146         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
44147         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
44148         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
44149         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
44150         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
44151         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
44152         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
44153         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
44154         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
44155         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
44156         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
44157         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
44158         (FP_UNPACK_RAW_SP): Likewise.
44159         (FP_PACK_RAW_S): Likewise.
44160         (FP_PACK_RAW_SP): Likewise.
44161         (FP_UNPACK_S): Likewise.
44162         (FP_UNPACK_SP): Likewise.
44163         (FP_UNPACK_SEMIRAW_S): Likewise.
44164         (FP_UNPACK_SEMIRAW_SP): Likewise.
44165         (FP_PACK_S): Likewise.
44166         (FP_PACK_SP): Likewise.
44167         (FP_PACK_SEMIRAW_S): Likewise.
44168         (FP_PACK_SEMIRAW_SP): Likewise.
44169         (_FP_SQRT_MEAT_S): Likewise.
44170         (FP_CMP_S): Likewise.
44171         (FP_CMP_EQ_S): Likewise.
44172         (FP_CMP_UNORD_S): Likewise.
44173         (FP_TO_INT_S): Likewise.
44174         (FP_FROM_INT_S): Likewise.
44176         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
44178         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
44179         (FP_EX_INVALID_IMZ): Likewise.
44180         (FP_EX_INVALID_IMZ_FMA): Likewise.
44181         (FP_EX_INVALID_ISI): Likewise.
44182         (FP_EX_INVALID_ZDZ): Likewise.
44183         (FP_EX_INVALID_IDI): Likewise.
44184         (FP_EX_INVALID_SQRT): Likewise.
44185         (FP_EX_INVALID_CVI): Likewise.
44186         (FP_EX_INVALID_VC): Likewise.
44187         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
44188         "invalid" exceptions.
44189         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
44190         (_FP_ADD_INTERNAL): Likewise.
44191         (_FP_MUL): Likewise.
44192         (_FP_FMA): Likewise.
44193         (_FP_DIV): Likewise.
44194         (_FP_CMP_CHECK_NAN): Likewise.
44195         (_FP_SQRT): Likewise.
44196         (_FP_TO_INT): Likewise.
44197         (FP_EXTEND): Likewise.
44199 2014-10-09  Allan McRae  <allan@archlinux.org>
44201         * po/fr.po: Update French translation from translation project.
44203 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
44205         [BZ #14132]
44206         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
44207         of INTDEF.
44208         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
44209         (__cxa_atexit): Use libc_hidden_proto.
44210         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
44212         [BZ #14132]
44213         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
44214         declaration.
44215         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
44216         [!_ISOMAC] (__iswspace_l_internal): Likewise.
44217         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
44218         [!_ISOMAC] (__iswctype_internal): Likewise.
44219         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
44220         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
44221         alias.
44222         (fcntl): Remove __fcntl_internal alias.
44223         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
44224         __connect_internal alias.
44225         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
44226         Likewise.
44228         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
44229         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
44230         FP_DENORM_ZERO.
44231         (_FP_CHECK_FLUSH_ZERO): New macro.
44232         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
44233         (_FP_CMP): Likewise.
44234         (_FP_CMP_EQ): Likewise.
44235         (_FP_TO_INT): Do not set inexact for subnormal arguments if
44236         FP_DENORM_ZERO.
44237         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
44238         (FP_TRUNC): Likewise.
44240         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
44241         treated as invalid conversion, not as normal exponent.
44243         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
44244         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
44245         (_FP_CMP_EQ): Likewise.
44246         (_FP_CMP_UNORD): Likewise.
44247         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
44248         (FP_CMP_EQ_D): Likewise.
44249         (FP_CMP_UNORD_D): Likewise.
44250         * soft-fp/extended.h (FP_CMP_E): Likewise.
44251         (FP_CMP_EQ_E): Likewise.
44252         (FP_CMP_UNORD_E): Likewise.
44253         * soft-fp/quad.h (FP_CMP_Q): Likewise.
44254         (FP_CMP_EQ_Q): Likewise.
44255         (FP_CMP_UNORD_Q): Likewise.
44256         * soft-fp/single.h (FP_CMP_S): Likewise.
44257         (FP_CMP_EQ_S): Likewise.
44258         (FP_CMP_UNORD_S): Likewise.
44259         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
44260         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
44261         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
44262         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
44263         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
44264         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
44265         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
44266         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
44267         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
44268         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
44269         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
44270         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
44271         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
44272         to FP_CMP_Q.
44273         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
44274         FP_CMP_Q.
44275         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
44276         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
44277         FP_CMP_EQ_Q.
44278         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
44279         FP_CMP_Q.
44280         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
44281         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
44282         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
44283         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
44284         FP_CMP_EQ_Q.
44285         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
44286         FP_CMP_Q.
44287         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
44288         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
44289         FP_CMP_EQ_Q.
44290         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
44291         FP_CMP_Q.
44292         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
44293         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
44294         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
44295         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
44296         FP_CMP_EQ_Q.
44298         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
44299         a subnormal result, set the underflow exception if trapping on
44300         underflow is enabled.
44301         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
44302         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
44303         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
44304         redefine to 0.
44305         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
44306         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44307         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44308         * soft-fp/extendxftf2.c (__extendxftf2): Use
44309         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
44311         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
44312         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
44313         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44314         FP_HANDLE_EXCEPTIONS.
44315         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
44316         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44317         FP_HANDLE_EXCEPTIONS.
44318         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
44319         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44320         FP_HANDLE_EXCEPTIONS.
44321         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
44322         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44323         FP_HANDLE_EXCEPTIONS.
44325 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
44327         [BZ #14132]
44328         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
44329         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
44330         use INTUSE.
44331         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
44332         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
44333         Remove alias.
44334         (__adjtimex): Define using libc_hidden_ver.
44335         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
44336         Remove declaration.
44337         (ntp_gettime): Call __adjtimex directly.
44338         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
44339         Remove declaration.
44340         (ntp_gettimex): Call __adjtimex directly.
44341         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
44342         __adjtimex_internal alias.
44344 2014-10-08  Roland McGrath  <roland@hack.frob.com>
44346         [BZ #17460]
44347         * nscd/nscd.c (more_help): Rewrite list of tables collection
44348         using xstrdup and asprintf.
44350         * nscd/nscd_conf.c: Remove local xstrdup declaration.
44352 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44353             Roland McGrath  <roland@hack.frob.com>
44355         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
44356         (do_lookup_unique): ... local function 'enter' here; update callers.
44358 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
44360         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
44361         compat_symbol calls on [SHARED].
44362         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
44363         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
44364         Remove.
44365         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44366         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
44367         (oldsetrlimit): Remove.
44368         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44370         (lchown): New syscall entry.
44371         (oldsetrlimit): Remove.
44372         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44373         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
44374         (oldsetrlimit): Remove.
44375         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44377         [BZ #14138]
44378         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
44379         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
44380         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
44381         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
44382         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
44383         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
44384         (fchown): Likewise.
44385         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
44386         (fchown): Likewise.
44387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
44388         Likewise.
44390 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44392         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
44393         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
44394         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
44395         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
44396         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
44397         Likewise.
44398         (__old_sem_post): Likewise.
44400 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
44402         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
44403         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
44404         HAVE_CLOCK_GETTIME_VSYSCALL macros.
44405         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
44406         Use INLINE_VSYSCALL macro.
44407         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
44408         __vdso_clock_gettime.
44409         * sysdeps/unix/sysv/linux/tile/init-first.c
44410         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
44411         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
44412         __vdso_clock_gettime.
44414         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
44415         to set up frame more cleanly.
44417         * sysdeps/tile/memcmp.c: New file.
44419         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
44421         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
44422         * sysdeps/tile/tilegx/strcasestr.c: New file.
44423         * sysdeps/tile/tilegx/strnlen.c: New file.
44424         * sysdeps/tile/tilegx/strstr.c: New file.
44426         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
44428 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
44430         * nptl/tst-setuid3.c: Write errors to stdout.
44432 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44434         * elf/dl-deps.c
44435         (preload): New functions broken out of _dl_map_object_deps.
44436         (_dl_map_object_deps):  Remove a nested function. Update call sites.
44438 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
44440         [BZ #14138]
44441         * sysdeps/unix/sysv/linux/execve.c: Remove file.
44442         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
44444 2014-10-01  Steve Ellcey  <sellcey@mips.com>
44446         * sysdeps/mips/strcmp.S: New.
44448 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
44450         [BZ #14138]
44451         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
44452         (linkat): Likewise.
44453         (mkdirat): Likewise.
44454         (readlinkat): Likewise.
44455         (renameat): Likewise.
44456         (symlinkat): Likewise.
44457         (unlinkat): Likewise.
44458         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
44459         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
44460         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
44461         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
44462         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
44463         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
44464         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
44466 2014-09-30  Will Newton  <will.newton@linaro.org>
44468         * math/math.h: Define long double math functions if
44469         _LIBC_TEST is defined.
44470         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
44472         * localedata/Makefile: Move assignment to tests-special
44473         into an ifdef testing run-built-tests.
44474         * timezone/Makefile: Likewise.
44476 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
44478         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
44479         with $(BASH) not $(SHELL).
44481 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
44482             Matthew LeGendre  <legendre1@llnl.gov>
44484         [BZ #17411]
44485         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
44486         l_reloc_result.
44488 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44490         * stdio-common/printf_fp.c
44491         (hack_digit): New function, broken out of ...
44492         (__printf_fp): ... local function here.  Update call sites.
44493         hack_digit now takes an additional parameter that is a pointer
44494         to a struct of the referenced locals.  Those locals moved inside
44495         the struct and references updated.
44497 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
44499         * aclocal.m4: Require autoconf 2.69.
44500         * configure: Regenerated.
44501         * sysdeps/aarch64/configure: Likewise.
44502         * sysdeps/alpha/configure: Likewise.
44503         * sysdeps/arm/armv7/configure: Likewise.
44504         * sysdeps/arm/configure: Likewise.
44505         * sysdeps/ia64/configure: Likewise.
44506         * sysdeps/mach/configure: Likewise.
44507         * sysdeps/mips/configure: Likewise.
44508         * sysdeps/s390/configure: Likewise.
44509         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
44510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
44512         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
44513         file.
44514         * sysdeps/ia64/configure.ac: Likewise.
44516 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
44518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
44519         specify symbol version for ld.so.  Do not include entry for
44520         libpthread.
44521         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44522         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44523         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44525         [BZ #14171]
44526         * Makeconfig [$(build-shared) = yes]
44527         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
44528         makefiles.
44529         [$(build-shared) = yes && $(soversions.mk-done) = t]
44530         ($(common-objpfx)gnu/lib-names.h): Remove rule.
44531         [$(build-shared) = yes && $(soversions.mk-done) = t]
44532         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
44533         to Makerules.
44534         [$(build-shared) = yes && $(soversions.mk-done) = t]
44535         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
44536         here.
44537         [$(build-shared) = yes && $(soversions.mk-done) = t]
44538         (common-generated): Don't append gnu/lib-names.h and
44539         gnu/lib-names.stmp here.
44540         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
44541         (lib-names-h-abi): New variable.
44542         [$(build-shared) = yes && $(soversions.mk-done) = t]
44543         (lib-names-stmp-abi): Likewise.
44544         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44545         abi-variants] (before-compile): Append
44546         $(common-objpfx)$(lib-names-h-abi).
44547         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44548         abi-variants] (common-generated): Append gnu/lib-names.h.
44549         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44550         abi-variants] (install-others-nosubdir): Depend on
44551         $(inst_includedir)/$(lib-names-h-abi).
44552         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44553         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
44554         [$(build-shared) = yes && $(soversions.mk-done) = t]
44555         ($(common-objpfx)$(lib-names-h-abi)): New rule.
44556         [$(build-shared) = yes && $(soversions.mk-done) = t]
44557         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
44558         [$(build-shared) = yes && $(soversions.mk-done) = t]
44559         (common-generated): Append $(lib-names-h-abi) and
44560         $(lib-names-stmp-abi).
44561         * scripts/lib-names.awk: Do not handle multi being set.
44562         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
44563         Remove variable.
44564         (abi-lp64_be-ld-soname): Likewise.
44565         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
44566         Likewise.
44567         (abi-hard-ld-soname): Likewise.
44568         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
44569         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
44570         Remove variable.
44571         (abi-o32_hard-ld-soname): Likewise.
44572         (abi-o32_soft_2008-ld-soname): Likewise.
44573         (abi-o32_hard_2008-ld-soname): Likewise.
44574         (abi-n32_soft-ld-soname): Likewise.
44575         (abi-n32_hard-ld-soname): Likewise.
44576         (abi-n32_soft_2008-ld-soname): Likewise.
44577         (abi-n32_hard_2008-ld-soname): Likewise.
44578         (abi-n64_soft-ld-soname): Likewise.
44579         (abi-n64_hard-ld-soname): Likewise.
44580         (abi-n64_soft_2008-ld-soname): Likewise.
44581         (abi-n64_hard_2008-ld-soname): Likewise.
44582         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
44583         Likewise.
44584         (abi-64-v2-ld-soname): Likewise.
44585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
44586         ld.so entries.
44587         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
44588         variable.
44589         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
44590         entry.
44591         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
44592         variable.
44593         (abi-64-ld-soname): Likewise.
44594         (abi-x32-ld-soname): Likewise.
44595         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
44596         entry.
44597         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44599 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
44601         [BZ #14138]
44602         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
44603         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
44604         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
44605         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
44606         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
44607         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
44608         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
44609         syscall entry for GLIBC_2.2 symbol version.
44610         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
44611         Likewise.
44612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44613         (setrlimit): Likewise.
44614         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
44615         Likewise.
44617 2014-09-23  Will Newton  <will.newton@linaro.org>
44619         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
44620         _LINUX_ARM_SYSDEP_H include guard too.
44621         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
44622         define.
44624 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
44626         * sysdeps/unix/sysv/linux/eventfd.c:
44627         Make first argument unsigned.
44628         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
44629         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
44631 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
44633         [BZ #16852]
44634         * socket/recvmmsg.c (recvmmsg): Drop const argument.
44635         * socket/sys/socket.h: Likewise.
44636         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
44638 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44640         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
44642 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
44644         * time/tst-ftime.c: New test.
44645         * time/Makefile (tests): Add tst-ftime.
44647 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
44649         * soft-fp/extended.h: Fix comment formatting.
44650         * soft-fp/op-1.h: Likewise.
44651         * soft-fp/op-2.h: Likewise.
44652         * soft-fp/op-4.h: Likewise.
44653         * soft-fp/op-8.h: Likewise.
44654         * soft-fp/op-common.h: Likewise.
44655         * soft-fp/soft-fp.h: Likewise.
44657         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
44659 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
44661         [BZ #6652]
44662         * Makeconfig (soversions-default-setname): Remove variable.
44663         ($(common-objpfx)soversions.i): Don't pass default_setname to
44664         soversions.awk.
44665         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
44666         oldest_abi to abi-versions.awk.
44667         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
44668         * config.make.in (oldest-abi): Remove variable.
44669         * configure.ac (--enable-oldest-abi): Remove configure option.
44670         * configure: Regenerated.
44671         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
44672         text.
44673         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
44674         * scripts/soversions.awk: Do not handle default_setname variable.
44675         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
44676         variable.
44677         * sysdeps/mach/hurd/configure: Regenerated.
44678         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
44679         variable.
44680         * sysdeps/unix/sysv/linux/configure: Regenerated.
44682 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44684         * elf/Makefile (CFLAGS-interp.c): Remove.
44685         ($(elf-objpfx)runtime-linker.h): Generate header with linker
44686         path string.
44687         * elf/interp.c: Include generated runtime-linker.h
44689         * Makerules (lib%.so): Don't include $(+interp) in
44690         prerequisites.
44691         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
44692         * dlfcn/eval.c: Remove file.
44694         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
44695         macros.
44697         [BZ #17266]
44698         * misc/sys/cdefs.h: Define __extern_always_inline for clang
44699         4.2 and newer.
44701         [BZ #17370]
44702         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
44704 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44705             Jakub Jelinek  <jakub@redhat.com>
44707         [BZ #17266]
44708         * libio/stdio.h: Check definition of __fortify_function
44709         instead of __extern_always_inline to include bits/stdio2.h.
44710         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
44711         check if __extern_always_inline is defined.
44712         [__USE_MISC || __USE_XOPEN]: Likewise.
44713         [__USE_ISOC99] Likewise.
44714         * misc/sys/cdefs.h (__fortify_function): Define only if
44715         __extern_always_inline is defined.
44716         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
44717         __extern_always_inline and __extern_inline only for g++-4.3
44718         and newer or a compatible gcc.
44720 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
44722         [BZ #17371]
44723         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44724         last change to handle zero prefix length.
44726 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44728         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
44729         _SC_REGEX_VERSION.
44731         * posix/getconf.c (vars): Add _POSIX_IPV6 and
44732         _POSIX_RAW_SOCKETS.
44734 2014-09-13  Allan McRae  <allan@archlinux.org>
44736         * po/ru.po: Update Russian translation from translation project.
44738 2014-09-12  Roland McGrath  <roland@hack.frob.com>
44740         * locale/programs/locale.c (show_locale_vars): Inline local function
44741         into its sole call site.  Clean up some style nits.
44742         (print_item): New function, broken out of ...
44743         (show_info): ... local function here.  Clean up style nits.
44745         * locale/programs/ld-ctype.c (set_one_default): New function, broken
44746         out of ...
44747         (set_class_defaults): ... local function set_default here.
44748         Define set_default as a macro locally to pass constant parameters.
44749         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
44750         rather than a shared local.
44752         * stdlib/rpmatch.c (try): New function, broken out of ...
44753         (rpmatch): ... local function here.  Also, prototypify definition.
44755 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
44757         * scripts/soversions.awk: Do not handle configuration names.
44758         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
44759         vendor and os variables to soversions.awk.
44760         * configure.ac: Do not modify gnu-* host_os.
44761         * configure: Regenerated
44762         * shlib-versions: Remove first column with configuration names.
44763         * nptl/shlib-versions: Likewise.
44764         * nptl_db/shlib-versions: Likewise.
44765         * sysdeps/hppa/shlib-versions: Likewise.
44766         * sysdeps/m68k/shlib-versions: Likewise.
44767         * sysdeps/mach/hurd/shlib-versions: Likewise.
44768         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
44769         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
44770         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
44771         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
44772         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
44773         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
44774         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
44775         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
44776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44777         Likewise.
44778         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44779         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44780         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44781         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44782         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44783         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
44784         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44785         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
44788         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
44789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
44790         Regenerated.
44791         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
44792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44793         Condition symbol version definitions on [HAVE_ELFV2_ABI].
44795         * shlib-versions: Remove OS-specific entries.  Moved to files in
44796         sysdeps.
44797         * sysdeps/mach/hurd/shlib-versions: New file.
44798         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44800         * nptl/shlib-versions: Remove architecture-specific entries.
44801         Moved to files in sysdeps.
44802         * shlib-versions: Likewise.
44803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
44804         file.
44805         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44806         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44807         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44808         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44810         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
44811         (UDP_NO_CHECK6_RX): Likewise.
44813 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44815         * sysdeps/posix/sysconf.c (__sysconf): Spell
44816         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
44818 2014-08-12  Florian Weimer  <fweimer@redhat.com>
44820         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
44821         loading.
44822         * iconv/Versions (__gconv_transliterate): Export for use from
44823         gconv modules.
44824         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
44825         (struct __gconv_trans_data, __gconv_trans_fct,
44826         __gconv_trans_context_fct, __gconv_trans_query_fct,
44827         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
44828         definitions.
44829         (struct __gconv_step_data): Remove __trans member.
44830         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
44831         longer hidden.  Remove unused trans_data argument.
44832         * iconv/gconv_int.h (struct trans_struct): Remove definition.
44833         (__gconv_translit_find): Remove declaration.
44834         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
44835         prototype.
44836         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
44837         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
44838         trans_data argument.  Add hidden definition.
44839         (__gconv_translit_find): Remove.
44840         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
44841         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
44842         * iconv/skeleton.c: Remove transliteration initialization.
44843         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
44844         __gconv_step_data initialization.
44845         * libio/iofwide.c (__libio_translit_): Remove.
44846         (_IO_fwide): Adjust struct __gconv_step_data initialization.
44847         * wcsmbs/btowc.c (__btowc): Likewise.
44848         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44849         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44850         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
44851         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
44852         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
44853         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
44854         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
44855         * wcsmbs/wctob.c (wctob): Likewise.
44857 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44859         [BZ #16194]
44860         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
44861         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
44862         register usage.
44863         * sysdeps/x86/Makefile: Adjust.
44865 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44866             Roland McGrath  <roland@hack.frob.com>
44868         * locale/weight.h: Add include guard.
44869         (findidx): Make static rather than auto; take new parameters
44870         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
44871         * locale/weightwc.h: Likewise.
44872         * posix/fnmatch_loop.c
44873         (FCT): Change type of EXTRA from int32_t to wint_t.
44874         Don't include either header inside the function.
44875         Call FINDIDX rather than findidx, and pass new arguments.
44876         #undef FINDIDX at the end of the file.
44877         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
44878         FINDIDX before including fnmatch_loop.c for the non-wide version.
44879         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
44880         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
44881         for the wide version.
44882         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
44883         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
44884         Pass new arguments to findidx.
44885         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
44886         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
44887         Don't #include it inside the function.  Pass new arguments to findidx.
44888         * posix/regex_internal.h
44889         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
44890         (re_string_elem_size_at): Don't #include it inside the function.
44891         Pass new arguments to findidx.
44892         * string/strcoll_l.c: #include WEIGHT_H at top level.
44893         (get_next_seq): Don't #include it inside the function.
44894         Pass new arguments to findidx.
44895         (get_next_seq_nocache): Likewise.
44896         * string/strxfrm_l.c: #include WEIGHT_H at top level.
44897         (STRXFRM): Don't #include it inside the function.
44898         Pass new arguments to findidx.
44900 2014-09-11  Florian Weimer  <fweimer@redhat.com>
44902         [BZ #17344]
44903         * malloc/malloc.c (unlink): Turn asserts into a call to
44904         malloc_printerr.
44906 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
44908         [BZ #17370]
44909         * libio/wfileops (do_ftell_wide): Free OUT.
44911 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
44913         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
44915 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44917         [BZ #17363]
44918         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
44919         group if the current group is empty.
44921 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44923         * benchtests/bench-memset.c (test_main): Add more test from size
44924         from 32 to 512 bytes.
44925         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44926         Add POWER8 memset object.
44927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44928         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
44929         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
44930         implementation.
44931         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
44932         Likewise.
44933         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
44934         multiarch POWER8 memset optimization.
44935         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
44936         POWER8 memset optimization.
44938         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44939         Remove bzero multiarch objects.
44940         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
44941         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
44942         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
44943         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
44944         Remove define.
44945         [__bzero]: Redefine to specific name.
44946         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
44947         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
44948         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
44949         define.
44950         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44951         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44953 2014-09-10  Florian Weimer  <fweimer@redhat.com>
44955         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
44956         warnings into errors.
44958         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
44959         __cxa_thread_atexit_impl prototype.
44961 2014-09-09  Steve Ellcey  <sellcey@mips.com>
44963         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
44964         Fix capitalization of error message.
44966 2014-09-09  Steve Ellcey  <sellcey@mips.com>
44968         * sysdeps/mips/preconfigure: Modify ABI tests.
44970 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
44972         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
44974 2014-09-07  Roland McGrath  <roland@hack.frob.com>
44975             Carlos O'Donell  <carlos@systemhalted.org>
44977         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
44978         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
44979         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
44980         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
44981         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
44982         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
44983         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
44984         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
44985         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
44986         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
44987         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
44988         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
44989         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
44990         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
44991         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
44992         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
44993         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
44994         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
44995         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
44996         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
44997         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
44998         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
44999         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
45000         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
45001         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
45002         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
45003         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
45004         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
45005         Deconditionalize the code that was previously under [RESET_PID].
45006         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
45007         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
45008         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
45009         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
45010         include sysdep.h.
45012 2014-09-08  Allan McRae  <allan@archlinux.org>
45014         * version.h (RELEASE): Set to "development".
45015         (VERSION): Set to "2.20.90"
45017 2014-09-07  Allan McRae  <allan@archlinux.org
45019         * version.h (RELEASE): Set to "stable".
45020         (VERSION): Set to "2.20"
45021         * include/features.h (__GLIBC_MINOR__): Set to 20.
45023         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
45024         Liebler.
45026         * po/ko.po: Update Korean translation from translation project.
45028 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
45030         [BZ #17354]
45031         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
45032         macro for handling signed relocations.
45034 2014-09-03  Florian Weimer  <fweimer@redhat.com>
45036         [BZ #17325]
45037         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
45038         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
45039         assert.
45040         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
45041         * iconvdata/ibm935.c (BODY): Likewise.
45042         * iconvdata/ibm937.c (BODY): Likewise.
45043         * iconvdata/ibm939.c (BODY): Likewise.
45044         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
45045         assert.
45046         * iconvdata/Makefile (iconv-test.out): Pass module list to test
45047         script.
45048         * iconvdata/run-iconv-test.sh: New test loop for checking for
45049         decoder crashers.
45051 2014-09-02  Khem Raj  <raj.khem@gmail.com>
45053         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
45054         libm_hidden_ver.
45056 2014-09-01  Allan McRae  <allan@archlinux.org>
45058         * po/eo.po: Update Esperanto translation from translation project.
45060         * po/ca.po: Update Catalan translation from translation project.
45062 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45064         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
45065         __proc_dostop call.
45067 2014-08-27  Mark Wielaard  <mjw@redhat.com>
45069         [BZ #17319]
45070         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
45071         to call set_thread_area instead of hand written asm.
45072         (__NR_set_thread_area): Removed define.
45073         (TLS_FLAG_WRITABLE): Likewise.
45074         (__ASSUME_SET_THREAD_AREA): Remove check.
45075         (TLS_EBX_ARG): Remove define.
45076         (TLS_LOAD_EBX): Likewise.
45078 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45080         Simplify atomicity of socket creation in bind.
45082         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
45083         looking up the name after linking the file.
45085 2014-08-27  Allan McRae  <allan@archlinux.org>
45087         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45089 2014-08-26  Florian Weimer  <fweimer@redhat.com>
45091         [BZ #17187]
45092         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
45093         trans_compare, open_translit, __gconv_translit_find):
45094         Remove module loading code.
45096 2014-08-26  Allan McRae  <allan@archlinux.org>
45098         * po/vi.po: Update Vietnamese translation from translation project.
45100         * po/uk.po: Update Ukrainian translation from translation project.
45102         * po/fr.po: Update French translation from translation project.
45104         * po/ru.po: Update Russian translation from translation project.
45106         * po/pl.po: Update Polish translation from translation project.
45108         * po/cs.po: Update Czech translation from translation project.
45110         * po/de.po: Update German translation from translation project.
45112         * po/bg.po: Update Bulgarian translation from translation project.
45114         * po/sv.po: Update Sweedish translation from translation project.
45116         * po/nl.po: Update Dutch translation from translation project.
45118         * po/es.po: Update Spanish translation from translation project.
45120 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45122         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
45124         * catgets/Makefile (CPPFLAGS-gencat): Remove.
45125         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
45126         (CPPFLAGS-iconvconfig): Likewise.
45127         * timezone/Makefile (CPPFLAGS-zic): Likewise.
45129         * include/libc-symbols.h: Remove unnecessary check for
45130         NOT_IN_libc.
45131         * nptl/pthreadP.h: Likewise.
45132         * sysdeps/aarch64/setjmp.S: Likewise.
45133         * sysdeps/alpha/setjmp.S: Likewise.
45134         * sysdeps/arm/sysdep.h: Likewise.
45135         * sysdeps/i386/setjmp.S: Likewise.
45136         * sysdeps/m68k/setjmp.c: Likewise.
45137         * sysdeps/posix/getcwd.c: Likewise.
45138         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45139         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
45140         * sysdeps/s390/s390-32/setjmp.S: Likewise.
45141         * sysdeps/s390/s390-64/setjmp.S: Likewise.
45142         * sysdeps/sh/sh3/setjmp.S: Likewise.
45143         * sysdeps/sh/sh4/setjmp.S: Likewise.
45144         * sysdeps/unix/alpha/sysdep.h: Likewise.
45145         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
45146         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45147         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
45148         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
45149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45151         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45152         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45153         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45154         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45155         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45156         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
45157         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45158         * sysdeps/x86_64/setjmp.S: Likewise.
45160 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
45162         [BZ #17263]
45163         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
45164         <stdint.h>.
45165         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
45166         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
45168 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45170         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
45172         [BZ #17262]
45173         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
45174         and __x86_64__ when disabling x87 inline functions.
45176 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45178         [BZ #17259]
45179         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
45180         asm statement with __cpuid_count.
45182 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
45184         * configure.ac: Change __ehdr_start code to dereference the struct.
45185         Run readelf on the output to look for relocations.
45186         * configure: Regenerated.
45188 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
45190         [BZ #17261]
45191         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
45192         value to 0.
45193         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
45195 2014-08-12  Roland McGrath  <roland@hack.frob.com>
45197         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
45199 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
45201         [BZ #16892]
45202         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
45203         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
45205 2014-08-12  Sean Anderson  <seanga2@gmail.com>
45207         * malloc/malloc.c: Fix typo in comment.
45209 2014-08-09  Allan McRae  <allan@archlinux.org>
45211         * Regenerate libc.po.
45213 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
45215         * intl/tst-gettext2.sh: Check every lang file for creation.
45217 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
45219         * sysdeps/aarch64/fpu/math_private.h
45220         (libc_feholdsetround_noex_aarch64_ctx): New function.
45222 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
45224         * sysdeps/arm/armv6/strcpy.S (strcpy):
45225         Fix performance issue in misaligned cases.
45227 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45229         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
45230         Move definition from termios.h.
45231         (struct termio): Likewise.
45232         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45233         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
45234         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
45235         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
45236         Likewise.
45237         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
45238         Move definition to ioctl-types.h
45239         (struct termio): Likewise.
45240         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45241         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
45242         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
45243         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
45244         Likewise.
45246 2014-08-05  Richard Henderson  <rth@redhat.com>
45248         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
45249         exceptions.
45250         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
45251         Add fraiseexcpt.
45252         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
45253         Use __feraiseexcept.
45254         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
45255         Protect libm symbols with IS_IN_libm.
45257         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
45259 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
45261         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
45263 2014-08-04  Will Newton  <will.newton@linaro.org>
45265         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
45266         file.
45268 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
45270         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
45271         variants for each function.
45273 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45275         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
45276         appended ...
45277         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
45278         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
45279         appended ...
45280         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
45281         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
45282         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
45283         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
45284         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
45285         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
45286         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
45287         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
45288         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
45289         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
45290         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
45291         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
45292         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
45293         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
45294         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
45295         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
45296         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
45297         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
45298         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
45299         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
45300         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
45301         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
45302         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
45303         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
45304         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
45305         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
45306         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
45307         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
45308         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
45309         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
45310         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
45311         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
45312         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
45313         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
45314         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
45315         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
45316         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
45317         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
45318         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
45319         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
45320         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
45321         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
45322         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
45323         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
45324         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
45325         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
45326         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
45327         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
45328         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
45329         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
45330         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
45331         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
45332         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
45333         Update #include.
45334         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
45335         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
45337 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45339         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
45340         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
45341         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
45342         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
45343         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
45344         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
45346 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45348         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
45349         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
45350         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45351         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
45353 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45355         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
45356         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
45357         (__libc_vfork): Define function under this name.
45358         (__vfork): Define as an alias.
45359         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
45360         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
45362 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45364         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
45365         that was previously under [RESET_PID].
45366         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
45368 2014-08-04  Andreas Schwab  <schwab@suse.de>
45370         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
45372 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
45374         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
45375         (main): Likewise.
45377 2014-08-01  Roland McGrath  <roland@hack.frob.com>
45379         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
45381 2014-08-01  Richard Henderon  <rth@redhat.com>
45383         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
45384         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
45385         typo in exact zero test.
45386         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45387         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45388         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45390 2014-08-01  Roland McGrath  <roland@hack.frob.com>
45392         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
45393         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
45394         * sysdeps/arm/sysdep.h: ... here.
45395         [!__ASSEMBLER__]: Include <stdint.h>.
45397 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45399         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
45400         (HAVE_WCTYPE_H): Likewise.
45401         (HAVE_ISWCTYPE): Likewise.
45402         (ENABLE_NLS): Likewise.
45403         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
45404         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
45406         * posix/regex_internal.c: Check if DEBUG is defined and is
45407         set.
45409         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
45410         (HAVE_MBSRTOWCS): Likewise.
45411         * posix/fnmatch.c: Include string.h unconditionally.
45413 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
45415         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
45416         reversal.
45418 2014-07-31  Roland McGrath  <roland@hack.frob.com>
45420         * sysdeps/generic/safe-fatal.h: New file.
45421         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
45422         * nptl/forward.c: Include it.
45423         (__pthread_unwind): Use __safe_fatal as default action, rather
45424         than a bogus use of INTERNAL_SYSCALL that could never work.
45426         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
45427         * configure.ac (libc_cv_builtin_trap): New test.
45428         * configure: Regenerated.
45429         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
45430         (ABORT_INSTRUCTION): Define using __builtin_trap.
45432         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
45433         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
45434         * sysdeps/nptl/nptl-signals.h: New file.
45435         * nptl/pthreadP.h: Include <nptl-signals.h>.
45437 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
45439         * sysdeps/s390/s390-64/utf16-utf32-z9.c
45440         (ONE_DIRECTION): Define.
45441         * sysdeps/s390/s390-64/utf8-utf16-z9.c
45442         (ONE_DIRECTION): Define.
45443         * sysdeps/s390/s390-64/utf8-utf32-z9.c
45444         (ONE_DIRECTION): Define.
45446 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
45448         * sysdeps/s390/Makefile: Delete file.
45449         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
45450         * sysdeps/s390/__longjmp.c: Delete file.
45451         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
45452         Remove fields __flags and __reserved.
45453         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
45454         and add versioning.
45455         * sysdeps/s390/rtld-__longjmp.c: Delete file.
45456         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
45457         * sysdeps/s390/rtld-setjmp.S: Likewise.
45458         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
45459         * sysdeps/s390/s390-32/__longjmp.c: ... here.
45460         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
45461         * sysdeps/s390/s390-32/setjmp.S: ... here.
45462         Add versioning.
45463         (__sigsetjmp): Remove setting __flags field.
45464         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
45465         * sysdeps/s390/s390-64/__longjmp.c: ... here.
45466         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
45467         * sysdeps/s390/s390-64/setjmp.S: ... here.
45468         Add versioning.
45469         (__sigsetjmp): Remove setting __flags field.
45470         * sysdeps/s390/setjmp.S: Delete file.
45471         * sysdeps/s390/sigjmp.c: Likewise.
45472         * sysdeps/s390/v1-longjmp.c: Likewise.
45473         * sysdeps/s390/v1-setjmp.h: Likewise.
45474         * sysdeps/s390/v1-sigjmp.c: Likewise.
45475         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
45476         Remove v1-longjmp_chk.
45477         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
45478         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
45479         Include debug/longjmp_chk.c and add versioning.
45480         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
45481         Include nptl/pt-longjmp.c and add versioning.
45482         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
45483         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
45484         Include __longjmp.c.
45485         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45486         Move to ...
45487         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
45488         (__getcontext): Remove setting __flags field.
45489         Add versioning.
45490         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45491         Don't restore upper high grps.
45492         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
45493         Likewise.
45494         (__swapcontext): Remove setting uc_flags field.
45495         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
45496         Delete file.
45497         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45498         Include __longjmp.c.
45499         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45500         Move to ...
45501         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
45502         (__getcontext): Remove setting __flags field.
45503         Add versioning.
45504         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
45505         (__swapcontext): Remove setting uc_flags field.
45506         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
45507         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
45508         Remove fields uc_high_gprs and __reserved.
45509         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
45510         New file with reverted content.
45511         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
45512         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
45513         Regenerated.
45514         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
45515         Regenerated.
45517 2014-07-31  Andreas Schwab  <schwab@suse.de>
45519         * config.h.in (HAVE_IFUNC): Define to 0.
45520         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
45521         definedness.
45523 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
45525         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45526         memmove-avx-unaligned, memcpy-avx-unaligned and
45527         mempcpy-avx-unaligned.
45528         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45529         Add tests for AVX memcpy functions.
45530         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
45531         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
45532         memcpy_chk.
45533         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
45534         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
45535         memmove_chk.
45536         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
45537         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
45538         mempcpy_chk.
45539         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
45540         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
45541         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
45543 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45545         [BZ #17213]
45546         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
45547         powerpc64le.
45549 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
45551         [BZ #16839]
45552         * manual/llio.texi: Add section about open file description locks.
45553         * manual/examples/ofdlocks.c: Example of open file description
45554         lock usage.
45555         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
45556         F_OFD_SETLK, and F_OFD_SETLKW.
45558 2014-07-23  Allan McRae  <allan@archlinux.org>
45560         * po/es.po: Update Spanish translation from translation project.
45562 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
45564         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
45566 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
45568         [BZ #17078]
45569         * sysdeps/arm/dl-machine.h (elf_machine_rela)
45570         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
45571         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
45573 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
45575         [BZ #17088]
45576         * math/fesetenv.c (__fesetenv)
45577         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
45578         * math/feupdateenv.c (__feupdateenv)
45579         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
45581         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
45582         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45583         (__ASSUME_SOCKETCALL): Do not define.
45585         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
45586         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
45587         (__ASSUME_SOCKETCALL): Do not define.
45588         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
45589         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45590         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45591         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45592         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45593         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
45594         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45595         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45597         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
45598         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
45599         (__ASSUME_SOCKETCALL): Do not define.
45600         (__ASSUME_IPC64): Define unconditionally.
45601         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45602         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45603         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45604         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45605         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
45606         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45607         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
45608         Likewise.
45610         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
45611         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
45612         (__ASSUME_SOCKETCALL): Do not define.
45613         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
45614         (__ASSUME_FUTEX_LOCK_PI): Likewise.
45615         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45616         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45617         (__ASSUME_REQUEUE_PI): Define unconditionally.
45618         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
45619         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
45620         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45621         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
45622         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45623         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45625         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
45626         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
45627         (__ASSUME_SOCKETCALL): Do not define.
45628         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
45629         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45630         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45631         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
45632         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45633         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45635         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
45636         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
45637         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45638         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
45639         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45640         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
45641         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45642         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
45643         (__ASSUME_GETCPU_SYSCALL): Likewise.
45645         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
45646         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
45647         cases for individual architectures.
45648         * sysdeps/gnu/configure: Regenerated.
45649         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
45650         LIBC_SLIBDIR_RTLDDIR.
45651         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
45652         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
45653         LIBC_SLIBDIR_RTLDDIR.
45654         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
45655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
45656         LIBC_SLIBDIR_RTLDDIR.
45657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
45658         Regenerated.
45659         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
45660         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
45661         file.
45662         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
45663         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
45664         file.
45665         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
45666         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
45667         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
45668         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
45670         * sysdeps/aarch64/shlib-versions: Move to ...
45671         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
45672         * sysdeps/alpha/shlib-versions: Move to ...
45673         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
45674         * sysdeps/arm/shlib-versions: Move to ...
45675         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
45676         * sysdeps/hppa/shlib-versions: Move all contents except for
45677         libgcc_s entry to ...
45678         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
45679         entry from ...
45680         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
45681         * sysdeps/ia64/shlib-versions: Move to ...
45682         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
45683         entry from ...
45684         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
45685         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
45686         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
45687         * sysdeps/microblaze/shlib-versions: Move to ...
45688         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
45689         * sysdeps/mips/shlib-versions: Move to ...
45690         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
45691         entry from ...
45692         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
45693         * sysdeps/tile/shlib-versions: Move to ...
45694         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
45695         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
45696         from ...
45697         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
45698         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
45699         entry from ...
45700         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
45702 2014-07-17  Will Newton  <will.newton@linaro.org>
45704         * sysdeps/arm/bits/atomic.h
45705         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
45706         (__arch_compare_and_exchange_bool_16_int): Likewise.
45707         (__arch_compare_and_exchange_bool_64_int): Likewise.
45709         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
45710         into an #else block.
45712 2014-07-16  Roland McGrath  <roland@hack.frob.com>
45714         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
45715         just Linux configurations.  Test empirically that the compiler sets
45716         __ARM_EABI__, rather than using the tuple to decide.
45717         * sysdeps/arm/preconfigure: Regenerated.
45718         * sysdeps/unix/sysv/linux/arm/configure: File removed.
45719         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
45720         contents appended ...
45721         * sysdeps/arm/configure.ac: ... here.
45722         * sysdeps/arm/configure: Regenerated.
45724 2014-07-15  Roland McGrath  <roland@hack.frob.com>
45726         * nptl/pthread_kill.c: New file.
45727         * nptl/pthread_sigmask.c: New file.
45728         * nptl/pthread_sigqueue.c: New file.
45730         * sysdeps/nptl/lowlevellock.h: New file.
45731         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
45732         * sysdeps/nptl/lowlevellock-futex.h: New file.
45734         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
45735         Remove dead declarations.
45737 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
45739         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
45740         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
45741         config-cflags-avx2.
45742         * sysdeps/x86_64/configure.ac: Likewise.
45743         * sysdeps/i386/configure: Regenerated.
45744         * sysdeps/x86_64/configure: Likewise.
45745         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45746         memset-avx2 only if config-cflags-avx2 is yes.
45747         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45748         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
45749         defined.
45750         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
45751         only if HAVE_AVX2_SUPPORT is defined.
45752         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45754 2014-07-14  Alan Modra  <amodra@gmail.com>
45756         [BZ #17153]
45757         * elf/elf.h (DT_PPC64_NUM): Correct value.
45758         * NEWS: Add to fixed bug list.
45760 2014-07-13  Jim Meyering  <meyering@fb.com>
45762         [BZ 17150]
45763         regex: don't deref NULL upon heap allocation failure
45764         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
45765         failure in one more place.
45766         To trigger the segfault, configure grep -with-included-regex,
45767         build it, and run these commands:
45768         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
45770 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
45772         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
45774 2014-07-11  Richard Henderson  <rth@redhat.com>
45776         * sysdeps/aarch64/libm-test-ulps: Update.
45778 2014-07-10  Florian Weimer  <fweimer@redhat.com>
45780         [BZ #17135]
45781         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
45782         * nptl/allocatestack.c (__nptl_setxid_error): New function.
45783         (__nptl_setxid): Initialize error member.  Call
45784         __nptl_setxid_error.
45785         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
45786         * nptl/descr.h (struct xid_command): Add error member.
45787         * nptl/tst-setuid3.c: New file.
45788         * nptl/Makefile (tests): Add it.
45790 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45792         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
45793         New define.
45794         (__lll_trylock): Use __lll_base_trylock.
45795         (__lll_cond_trylock): Likewise.
45797 2014-07-10  Roland McGrath  <roland@hack.frob.com>
45799         * nptl/pthread_create.c (start_thread): Use atomic_or and
45800         lll_futex_wake directly rather than lll_robust_dead.
45801         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45802         (lll_robust_dead): Macro removed.
45803         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
45804         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45805         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45806         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45807         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45808         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45809         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45810         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45811         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45812         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45813         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45814         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45815         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45816         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45817         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45819         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
45820         Use atomic_compare_and_exchange_val_acq directly rather than
45821         lll_robust_trylock.
45822         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45823         (__lll_robust_trylock, lll_robust_trylock): Removed.
45824         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45825         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45826         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45827         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45828         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45829         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45830         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45831         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45832         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45833         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45834         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45835         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45836         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45837         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45839 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45841         * manual/locale.texi (Locale Names): New section documenting
45842         locale name syntax.  Adjust menu and node chaining accordingly.
45843         (Choosing Locale): Reference Locale Names, Locale Categories.
45844         Mention setting LC_ALL=C.  Reflect that name syntax is now
45845         documented.
45846         (Locale Categories): New section title.  Reference Locale Names.
45847         LC_ALL is an environment variable, but not a category.
45848         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
45849         description, now in Locale Name.  Reference that section.  Locale
45850         name syntax is now documented.
45852 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45854         [BZ #17137]
45855         * locale/findlocale.c (name_present, valid_locale_name): New
45856         functions.
45857         (_nl_find_locale): Use the loc_name variable to store name
45858         candidates.  Call name_present and valid_locale_name to check and
45859         validate locale names.  Return an error if the locale is invalid.
45861 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45863         * locale/setlocale.c (setlocale): Use strdup for allocating
45864         composite name copy.
45866 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45868         Sync up with gnulib.
45869         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
45870         [!_LIBC && ENABLE_NLS]: Include gettext.h.
45871         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
45872         and _GL_ARG_NONNULL.
45873         [USE_UNLOCKED_IO]: Include unlocked-io.h.
45874         [!_LIBC]: Include code for Windows and Cygwin.
45875         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
45876         Include prototype for int strerror_r.
45877         [!_LIBC] (is_open): New function.
45878         (flush_stdout): New function.
45879         (print_errno_message): Use it.
45880         (error): Likewise.
45881         (error_at_line): Likewise.
45882         (error_tail) Add function attribute macros.  Use
45883         __builtin_expect.
45885         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
45887         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
45889         * io/ftw.c: Include sys/param.h unconditionally.
45891         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
45893         [BZ #17125]
45894         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
45895         libc_freeres_ptr.
45896         (freecache): New function to free CACHE on exit.
45898         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
45899         initialization.
45901 2014-07-09  David S. Miller  <davem@davemloft.net>
45903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45905         * sysdeps/sparc/nptl/internaltypes.h: Delete.
45906         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
45907         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
45908         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
45909         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
45910         * sysdeps/sparc/nptl/sem_init.c: Likewise.
45911         * sysdeps/sparc/nptl/sem_post.c: Likewise.
45912         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
45913         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
45914         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
45915         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
45916         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
45917         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
45919 2014-07-09  Andreas Schwab  <schwab@suse.de>
45921         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
45922         output.
45923         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
45924         (do_test): Likewise.
45926         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45928 2014-07-09  Will Newton  <will.newton@linaro.org>
45930         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
45931         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
45932         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
45933         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
45934         * sysdeps/hppa/start.S (_start): Likewise.
45936 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
45938         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
45940         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
45941         defined.
45943 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45945         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
45946         after checking that it is non-NULL.
45948         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
45950 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45952         * sysdeps/powerpc/memmove.c: Remove file.
45953         * sysdeps/powerpc/powerpc32/power4/memcopy.h
45954         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
45955         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
45956         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
45957         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
45958         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
45959         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
45960         string memmove instead of removed powerpc one.
45962         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45963         [weak_alias]: Fix compiler warning due trailing data.
45964         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
45965         [weak_alias]: Likewise.
45966         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
45967         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
45969         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45970         (__libc_ifunc_impl_list): Add memmove functions.
45972 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45974         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
45975         Remove code.
45976         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
45977         Likewise.
45978         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
45979         Likewise.
45980         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
45981         Likewise.
45982         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
45983         Likewise.
45984         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
45985         Likewise.
45986         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
45987         Likewise.
45988         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
45989         Likewise.
45990         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
45991         Likewise.
45992         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
45993         Likewise.
45994         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
45995         Likewise.
45996         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
45997         Likewise.
45998         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
45999         Likewise.
46000         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
46001         Likewise.
46002         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
46003         Likewise.
46004         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
46005         Likewise.
46006         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
46007         Likewise.
46009 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46011         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
46012         to avoid alignment traps in non-cacheable memory.
46013         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46015         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
46016         multiarch objects.
46017         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
46018         file: multiarch power7 memmove.
46019         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
46020         multiarch default memmove.
46021         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
46022         multiarch memove for powerpc32/power4.
46024         * string/bcopy.c: Use full path to include memmove.c.
46025         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
46026         multiarch objects.
46027         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
46028         bcopy for powerpc64.
46029         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
46030         bcopy for powerpc64.
46031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
46032         and memmove implementations.
46033         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
46034         optimized multiarch memmove for POWER7/powerpc64.
46035         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
46036         default multiarch memmove for powerpc64.
46037         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
46038         multiarch for powerpc64.
46039         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
46040         for POWER7/powerpc64.
46041         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
46042         memmove for POWER7/powerpc64.
46044         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
46045         glibc default one.
46047         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
46048         __ELF_NATIVE_CLASS equal to 64.
46050 2014-07-07  Roland McGrath  <roland@hack.frob.com>
46052         * sysdeps/nptl/lowlevellock.h: File removed.
46054         * NEWS: NPTL is no longer an add-on!
46055         * nptl/internaltypes.h: Moved ...
46056         * sysdeps/nptl/internaltypes.h: ... here.
46057         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
46058         * sysdeps/nptl/fork.c: Likewise.
46059         * sysdeps/nptl/gai_misc.h: Likewise.
46060         * sysdeps/nptl/librt-cancellation.c: Likewise.
46061         * sysdeps/nptl/jmp-unwind.c: Likewise.
46062         * sysdeps/nptl/setxid.h: Likewise.
46063         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
46064         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
46065         * sysdeps/unix/sysv/linux/arm/Implies: New file.
46066         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
46067         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
46068         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
46069         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
46070         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
46071         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
46072         * sysdeps/unix/sysv/linux/mips/Implies: New file.
46073         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
46074         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
46075         * sysdeps/unix/sysv/linux/sh/Implies: New file.
46076         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
46077         * sysdeps/unix/sysv/linux/tile/Implies: New file.
46078         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
46079         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
46080         * nptl/Makeconfig: Moved ...
46081         * sysdeps/nptl/Makeconfig: ... here.
46082         * nptl/configure: File removed.
46083         * nptl/ANNOUNCE: File removed.
46084         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
46085         * sysdeps/unix/sysv/linux/configure: Regenerated.
46087         * nptl/Makefile (routines): Add libc_pthread_init,
46088         libc_multiple_threads, register-atfork and unregister-atfork.
46089         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
46090         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
46091         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
46092         pthread-pi-defines.sym, structsem.sym.
46093         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
46094         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
46095         [$(subdir) = nptl] (tests): Add tst-setgetname.
46096         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
46097         * sysdeps/unix/sysv/linux/sigaction.c: Just include
46098         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
46099         [!LIBC_SIGACTION]: Remove aliases.
46100         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
46101         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
46102         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
46103         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
46104         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
46105         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
46106         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46107         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46108         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
46109         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
46110         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
46111         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
46112         __libc_allocate_rtsig_private.
46113         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
46114         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
46115         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
46116         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
46117         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
46118         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
46119         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
46120         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
46121         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
46122         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
46123         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
46124         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
46125         * nptl/internaltypes.h: ... here.
46126         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
46127         * sysdeps/nptl/jmp-unwind.c: ... here.
46128         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
46129         * nptl/libc-lowlevellock.c: ... here.
46130         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
46131         * nptl/libc_multiple_threads.c: ... here.
46132         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
46133         * nptl/libc_pthread_init.c: ... here.
46134         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
46135         * nptl/lowlevelbarrier.sym: ... here.
46136         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
46137         * nptl/lowlevelcond.sym: ... here.
46138         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
46139         * nptl/lowlevellock.c: ... here.
46140         * nptl/lowlevellock.h: Moved ...
46141         * sysdeps/nptl/lowlevellock.h: ... here.
46142         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
46143         * nptl/lowlevelrobustlock.c: ... here.
46144         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
46145         * nptl/lowlevelrobustlock.sym: ... here.
46146         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
46147         * nptl/lowlevelrwlock.sym: ... here.
46148         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
46149         * nptl/pt-fork.c: ... here.
46150         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
46151         * nptl/pthread-pi-defines.sym: ... here.
46152         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
46153         * nptl/pthread_attr_getaffinity.c: ... here.
46154         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
46155         * nptl/pthread_attr_setaffinity.c: ... here.
46156         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
46157         * nptl/pthread_mutex_cond_lock.c: ... here.
46158         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46159         Update #include.
46160         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
46161         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
46162         * nptl/pthread_once.c: ... here, replacing old file.
46163         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
46164         * nptl/pthread_yield.c: ... here.
46165         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
46166         * nptl/register-atfork.c: ... here.
46167         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
46168         * nptl/sem_post.c: ... here.
46169         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
46170         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
46171         * nptl/sem_timedwait.c: ... here.
46172         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
46173         * nptl/sem_trywait.c: ... here.
46174         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
46175         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
46176         * nptl/sem_wait.c: ... here.
46177         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
46178         * nptl/structsem.sym: ... here.
46179         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
46180         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
46181         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
46182         * nptl/unregister-atfork.c: ... here.
46183         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
46184         * nptl/unwindbuf.sym: ... here.
46185         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
46186         * sysdeps/nptl/fork.c: ... here.
46187         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
46188         * sysdeps/nptl/fork.h: ... here.
46189         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
46190         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
46191         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
46192         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
46193         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
46194         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
46195         * sysdeps/unix/sysv/linux/getpid.c: ... here.
46196         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
46197         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
46198         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
46199         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
46200         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
46201         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
46202         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
46203         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
46204         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
46205         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
46206         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
46207         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
46208         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
46209         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
46210         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
46211         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
46212         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
46213         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
46214         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
46215         * sysdeps/unix/sysv/linux/raise.c: ... here.
46216         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
46217         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
46218         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
46219         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
46220         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
46221         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
46222         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
46223         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
46224         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
46225         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
46226         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
46227         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
46228         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
46229         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
46230         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
46232 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46234         * sysdeps/generic/memcopy.h: Add comment for
46235         MEMCPY_OK_FOR_FWD_MEMMOVE.
46237 2014-07-04  Will Newton  <will.newton@linaro.org>
46239         * string/memchr.c: Merge from gnulib.
46240         [_LIBC]: Remove conditionals.
46241         (__ptr_t): Remove define.
46242         (LONG_MAX_32_BITS): Likewise.
46243         (LONG_MAX): Likewise.
46244         (MEMCHR): Use ANSI prototype and optimize algorithm.
46246         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
46248 2014-07-03  Roland McGrath  <roland@hack.frob.com>
46250         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
46251         (lll_futex_timed_wait_bitset): Fix syscall argument count.
46253         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
46254         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
46255         in a bare environment with no <stdlib.h> installed.
46256         * sysdeps/nptl/configure: Regenerated.
46258         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
46260         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
46261         AC_EGREP_CPP for kernel header checks, so they only succeed if
46262         including <linux/version.h> actually works right.
46263         * sysdeps/unix/sysv/linux/configure: Regenerated.
46265         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
46266         value so it's not diagnosed as unused.
46268         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
46269         thing) with "ifeq ($(subdir),rt)".
46271 2014-07-03  Richard Henderson  <rth@redhat.com>
46273         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
46274         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
46275         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
46277         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
46278         (math_force_eval): New.
46280         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
46281         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
46283         * sysdeps/alpha/fpu/s_round.c: Remove file.
46284         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
46286         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
46287         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
46288         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
46289         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
46290         (_dl_start, print_statistics): Likewise.
46291         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
46292         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
46294         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46295         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46296         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46297         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46298         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46299         (HP_SMALL_TIMING_AVAIL): Define.
46300         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46301         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46302         (HP_SMALL_TIMING_AVAIL): Define.
46303         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46304         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46306         * sysdeps/aarch64/hp-timing.h: New file.
46308         * sysdeps/generic/hp-timing.h: Remove dead comment.
46309         * sysdeps/generic/hp-timing-common.h: New file.
46310         * sysdeps/alpha/hp-timing.h: Include it.
46311         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
46312         * sysdeps/i386/i686/hp-timing.h: Likewise.
46313         * sysdeps/ia64/hp-timing.h: Likewise.
46314         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46315         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46316         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46317         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46318         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
46319         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
46320         (hp_timing_t): New.
46322         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
46323         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
46324         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
46325         * elf/rtld.c (_dl_start_final): Likewise.
46326         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
46327         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46328         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46329         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46330         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46331         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46332         (HP_TIMING_DIFF_INIT): Remove.
46333         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46334         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46335         (HP_TIMING_DIFF_INIT): Remove.
46336         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46337         * sysdeps/i386/i686/hp-timing.c: Remove file.
46338         * sysdeps/x86_64/hp-timing.c: Remove file.
46339         * sysdeps/ia64/hp-timing.c: Remove file.
46340         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
46341         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
46342         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
46343         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
46345         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
46346         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
46347         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
46348         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46349         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46350         (HP_TIMING_ACCUM): Remove.
46351         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46352         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
46353         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46355         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
46356         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
46357         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
46358         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
46359         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
46360         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
46361         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
46362         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
46364         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
46366 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
46368         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
46370 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46372         Sync up with gettext.
46373         * intl/loadmsgcat.c: Define O_BINARY if not defined.
46374         [_MSC_VER]: Include malloc.h
46375         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
46376         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
46377         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
46378         TEMP_FAILURE_RETRY.  Cast return of alloca.
46379         [!_LIBC] Call gl_rwlock_init.
46380         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
46382 2014-07-02  Roland McGrath  <roland@hack.frob.com>
46384         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
46385         before checking its value.
46387 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46389         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
46391         * debug/memcpy_chk.c: Don't include pagecopy.h.
46392         * debug/mempcpy_chk.c: Likewise.
46393         * string/memcpy.c: Likewise.
46394         * string/memmove.c: Likewise.
46395         * sysdeps/powerpc/memmove.c: Likewise.
46396         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
46397         definition of PAGE_COPY_FWD_MAYBE here...
46398         * sysdeps/generic/pagecopy.h: ... from here.
46399         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
46401 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46402             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46404         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
46405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
46406         optimizations.
46407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46408         (__libc_ifunc_impl_list): Likewise.
46409         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
46410         multiarch strcat for PPC64.
46411         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
46412         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
46414 2014-07-02  Roland McGrath  <roland@hack.frob.com>
46416         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
46418 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46420         * intl/loadmsgcat.c: Remove declaration of
46421         get_sysdep_segment_value.
46422         (get_sysdep_segment_value): Use ISO C style.
46423         (_nl_load_domain): Use ISO C style.  Get rid of redundant
46424         semicolon.  Fix typo and formatting in comment.
46425         (_nl_unload_domain): Use ISO C style.
46427         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
46429 2014-07-02  Will Newton  <will.newton@linaro.org>
46431         * malloc/obstack.c: Merge from gnulib master.
46432         [HAVE_CONFIG_H]: Remove conditional code.
46433         [!_LIBC]: Include config.h.
46434         [!ELIDE_CODE]: Don't include inttypes.h, include
46435         stdint.h unconditionally.
46436         (print_and_abort): Mark as _Noreturn.
46437         (_obstack_allocated_p): Mark as __attribute_pure__.
46438         (obstack_free): Rename to __obstack_free.
46439         [!__attribute__]: Remove conditional code.
46440         * malloc/obstack.h: Merge from gnulib master.
46441         [__cplusplus]: Move conditional down.
46442         [!__attribute_pure__]: Define __attribute_pure__ here
46443         if it is not already defined.
46444         (_obstack_memory_used): Mark as __attribute_pure__.
46445         [!__obstack_free]: Define as obstack_free.
46446         [__GNUC__]: Remove check for ancient NeXT gcc.
46448 2014-07-02  Will Newton  <will.newton@linaro.org>
46449             Paul Eggert  <eggert@cs.ucla.edu>
46451         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
46453 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46455         * resolv/gethnamaddr.c: Add comment warning that the file is
46456         not maintained.
46458 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
46460         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
46461         entries.
46463         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
46464         entry for aio_cancel and aio_cancel64.
46465         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
46466         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
46467         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
46468         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
46469         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
46470         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
46471         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
46472         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
46473         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
46474         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
46475         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
46476         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
46477         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
46479 2014-07-01  Roland McGrath  <roland@hack.frob.com>
46481         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
46482         * nptl/pthread_mutex_lock.c: Likewise.
46483         * nptl/pthread_mutex_timedlock.c: Likewise.
46484         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
46486 2014-07-01  Richard henderson  <rth@redhat.com>
46488         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
46489         (__isnan, __isnanl): Remove.
46490         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
46492         * sysdeps/alpha/fpu/libm-test-ulps: Update.
46494 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
46496         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46498 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46500         * resolv/nss_dns/dns-host.c (getanswer_r)
46501         [MULTI_PTRS_ARE_ALIASES]: Remove code.
46503 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
46505         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46506         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
46507         undefine.
46508         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
46509         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
46511 2014-07-01  Roland McGrath <roland@hack.frob.com>
46513         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
46514         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
46516         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
46517         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
46519         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
46520         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
46521         ... here.
46522         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
46523         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
46525         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
46526         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
46527         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
46528         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
46530         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
46531         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
46532         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
46533         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
46534         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
46535         Moved ...
46536         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
46537         ... here.
46538         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
46539         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
46540         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
46541         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
46542         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
46543         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
46544         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
46545         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
46546         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
46547         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
46548         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
46549         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
46550         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
46551         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
46552         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
46553         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
46554         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
46555         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
46556         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
46557         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
46558         ... here.
46559         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
46560         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
46561         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
46562         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
46563         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
46564         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
46565         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
46566         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
46568 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
46570         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
46571         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
46572         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
46573         Add sysdep.
46575 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46579 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
46581         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
46582         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
46584         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46586         * sysdeps/arm/libm-test-ulps: Regenerated.
46588 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
46589             Roland McGrath <roland@hack.frob.com>
46591         * test-skeleton.c (signal_handler): Kill the whole process group
46592         before killing the child individually.
46593         (main): Report any failure on `setpgid'.
46595 2014-06-30  Roland McGrath  <roland@hack.frob.com>
46597         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
46598         from _TLS_H to _ARM_NPTL_TLS_H.
46599         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
46600         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
46602 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
46604         [BZ #16539]
46605         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
46606         (__expm1l): Return argument unchanged when small but not
46607         subnormal.
46609         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
46610         include macro name.
46611         (_FP_UNPACK_RAW_1_P): Likewise.
46612         (_FP_PACK_RAW_1): Likewise.
46613         (_FP_PACK_RAW_1_P): Likewise.
46614         (_FP_MUL_MEAT_1_wide): Likewise.
46615         (_FP_MUL_MEAT_DW_1_hard): Likewise.
46616         (_FP_MUL_MEAT_1_hard): Likewise.
46617         (_FP_DIV_MEAT_1_imm): Likewise.
46618         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
46619         (_FP_DIV_MEAT_1_udiv): Likewise.
46620         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
46621         (_FP_UNPACK_RAW_2): Likewise.
46622         (_FP_UNPACK_RAW_2_P): Likewise.
46623         (_FP_PACK_RAW_2): Likewise.
46624         (_FP_PACK_RAW_2_P): Likewise.
46625         (_FP_MUL_MEAT_DW_2_wide): Likewise.
46626         (_FP_MUL_MEAT_2_wide): Likewise.
46627         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
46628         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
46629         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
46630         (_FP_MUL_MEAT_2_gmp): Likewise.
46631         (_FP_DIV_MEAT_2_udiv): Likewise.
46632         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
46633         (_FP_FRAC_SRL_4): Likewise.
46634         (_FP_FRAC_SRST_4): Likewise.
46635         (_FP_FRAC_SRS_4): Likewise.
46636         (_FP_UNPACK_RAW_4): Likewise.
46637         (_FP_UNPACK_RAW_4_P): Likewise.
46638         (_FP_PACK_RAW_4): Likewise.
46639         (_FP_PACK_RAW_4_P): Likewise.
46640         (_FP_MUL_MEAT_DW_4_wide): Likewise.
46641         (_FP_MUL_MEAT_4_wide): Likewise.
46642         (_FP_MUL_MEAT_4_gmp): Likewise.
46643         (umul_ppppmnnn): Likewise.
46644         (_FP_DIV_MEAT_4_udiv): Likewise.
46645         (__FP_FRAC_ADD_4): Likewise.
46646         (__FP_FRAC_SUB_3): Likewise.
46647         (__FP_FRAC_SUB_4): Likewise.
46648         (__FP_FRAC_DEC_3): Likewise.
46649         (__FP_FRAC_DEC_4): Likewise.
46650         (__FP_FRAC_ADDI_4): Likewise.
46651         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
46652         (_FP_FRAC_SRL_8): Likewise.
46653         (_FP_FRAC_SRS_8): Likewise.
46655         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
46656         include macro name.
46657         (FP_UNPACK_RAW_EP): Likewise.
46658         (FP_PACK_RAW_E): Likewise.
46659         (FP_PACK_RAW_EP): Likewise.
46660         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
46661         (_FP_ISSIGNAN): Likewise.
46662         (_FP_ADD_INTERNAL): Likewise.
46663         (_FP_FMA): Likewise.
46664         (_FP_CMP): Likewise.
46665         (_FP_SQRT): Likewise.
46666         (_FP_TO_INT): Likewise.
46667         (_FP_FROM_INT): Likewise.
46668         (FP_EXTEND): Likewise.
46669         (_FP_DIV_MEAT_N_loop): Likewise.
46671 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
46673         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
46674         throughout.
46676 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
46678         [BZ #17097]
46679         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
46680         result with correct sign in case of exponents that produce
46681         overflow except for X very close to 1.
46683 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
46685         mktime: merge #if/#ifdef usage from glibc
46686         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
46687         as that works with both Glibc's and Gnulib's style.
46688         See thread starting at Siddhesh Poyarekar's bug report at:
46689         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
46691 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46693         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
46694         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
46695         * sysdeps/tile/tilegx/memmove.c: Remove file.
46697 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46699         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
46700         abi-name definition.
46701         * scripts/soversions.awk: Do not handle or generate ABI lines.
46702         * shlib-versions: Remove ABI entries.
46703         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
46704         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
46706 2014-06-27  Roland McGrath  <roland@hack.frob.com>
46708         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
46709         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
46710         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
46711         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
46712         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
46713         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
46714         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
46715         Moved ...
46716         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
46717         ... here.
46718         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
46719         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
46720         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
46721         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
46722         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
46723         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
46724         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
46725         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
46726         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
46727         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
46728         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
46729         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
46730         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
46731         Moved ...
46732         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
46733         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
46734         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
46735         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
46736         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
46737         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
46738         Moved ...
46739         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
46740         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
46741         Moved ...
46742         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
46743         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
46744         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
46745         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
46746         Moved ...
46747         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
46748         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
46749         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
46750         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
46751         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
46752         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
46753         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
46754         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
46755         Moved ...
46756         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
46757         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
46758         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
46759         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
46760         Moved ...
46761         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
46762         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
46763         Moved ...
46764         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
46765         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
46766         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
46767         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
46768         Moved ...
46769         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
46770         ... here.
46771         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
46772         Identical file removed.
46773         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
46774         Moved ...
46775         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
46776         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
46777         Identical file removed.
46778         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
46779         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
46780         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
46781         Moved ...
46782         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
46783         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
46784         Identical file removed.
46785         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
46786         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
46787         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
46788         Identical file removed.
46789         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
46790         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
46791         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
46792         Identical file removed.
46793         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
46794         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
46795         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
46796         Identical file removed.
46797         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
46798         Moved ...
46799         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
46800         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
46801         Identical file removed.
46802         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
46803         Moved ...
46804         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
46805         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
46806         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
46807         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
46808         Identical file removed.
46809         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
46810         Moved ...
46811         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
46812         ... here.
46813         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
46814         Identical file removed.
46815         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
46816         Moved ...
46817         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
46818         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
46819         Identical file removed.
46820         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
46821         Moved ...
46822         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
46823         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
46824         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
46825         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
46826         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
46827         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
46828         Moved ...
46829         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
46830         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
46831         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
46833         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
46834         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
46835         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
46836         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
46837         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
46839 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
46841         [BZ #17092]
46842         * nscd/nscd.c (monitor_child): Return exit status of child
46843         instead of return value from wait syscall.
46845 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46847         * configure.ac (libc_commonpagesize): Remove variable.
46848         (libc_relro_required): Likewise.
46849         (libc_cv_z_relro): Remove configure test.
46850         * configure: Regenerated.
46851         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
46852         variable.
46853         (libc_relro_required): Likewise.
46854         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
46855         (libc_relro_required): Likewise.
46856         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
46857         (libc_relro_required): Likewise.
46858         * sysdeps/arm/preconfigure: Regenerated.
46859         * sysdeps/ia64/preconfigure: Remove file.
46860         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
46861         variable.
46862         (libc_relro_required): Likewise.
46864         [BZ #16561]
46865         [BZ #16562]
46866         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
46867         (__ieee754_yn): Set FE_TONEAREST mode internally and then
46868         recompute overflowing results in original rounding mode.
46869         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
46870         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
46871         recompute overflowing results in original rounding mode.
46872         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
46873         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46874         recompute overflowing results in original rounding mode.
46875         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
46876         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46877         recompute overflowing results in original rounding mode.
46878         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
46879         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46880         recompute overflowing results in original rounding mode.
46881         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
46882         (libc_feholdsetround_ctx): New macro.
46883         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
46884         * sysdeps/i386/fpu/libm-test-ulps: Update.
46885         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
46887 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46889         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
46890         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
46891         corresponding .cpsetup call.
46893 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46895         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
46896         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
46897         * sysdeps/arm/Makefile [$(subdir) = csu]
46898         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
46899         (static-only-routines): Add aeabi_read_tp here.
46900         (shared-only-routines): Add libc-aeabi_read_tp here.
46901         (CFLAGS-libc-start.c): Add -fexceptions here.
46902         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
46903         (sysdep_routines, static-only-routines, shared-only-routines):
46904         Don't add to these here.
46905         (CFLAGS-libc-start.c): Likewise.
46907         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
46908         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46909         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
46910         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46911         * sysdeps/arm/Makefile [$(subdir) = rt]
46912         (librt-sysdep_routines, librt-shared-only-routines):
46913         Append rt-aeabi_unwind_cpp_pr1 here.
46914         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
46915         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
46916         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
46917         (libpthread-sysdep_routines, libpthread-shared-only-routines):
46918         Append nptl-aeabi_unwind_cpp_pr1 here.
46919         (tests): Filter out tst-cleanupx4 here.
46920         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
46921         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
46922         Don't do those here.
46924 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46926         * scripts/list-sources.sh: Do not handle ports specially.
46928 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46930         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
46931         * sysdeps/arm/feupdateenv.c: Likewise.
46933         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
46935 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46937         * manual/texinfo.tex: Update to version 2014-05-05.10 with
46938         trailing whitespace removed.
46939         * scripts/config.guess: Update to version 2014-03-23.
46940         * scripts/config.sub: Update to version 2014-05-01
46941         * scripts/install-sh: Update to version 2013-12-25.23.
46942         * scripts/move-if-change: Update from gnulib.
46944 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46946         * debug/memmove_chk.c: Remove pagecopy.h include.
46948 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
46950         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
46951         identical to gnulib mktime.
46953 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46955         * configure.ac: Do not test for machine being rs6000.  Do not test
46956         for powerpc*-*soft.
46957         * configure: Regenerated.
46959         [BZ #11505]
46960         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
46961         test.
46962         * configure: Regenerated.
46963         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
46964         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
46965         Remove configure test.
46966         * sysdeps/arm/configure: Regenerated.
46967         * sysdeps/nptl/configure.ac: Do not check
46968         libc_cv_asm_cfi_directives.
46969         * sysdeps/nptl/configure: Regenerated.
46970         * sysdeps/x86_64/nptl/configure.ac: Remove file.
46971         * sysdeps/x86_64/nptl/configure: Remove generated file.
46972         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
46973         unconditional.
46974         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
46976 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46978         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
46979         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
46980         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
46981         it is defined.
46983         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
46984         instead of whether it is defined.
46985         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
46986         * sysdeps/hppa/dl-machine.h: Likewise.
46987         * sysdeps/ia64/dl-machine.h: Likewise.
46988         * sysdeps/m68k/dl-machine.h: Likewise.
46989         * sysdeps/microblaze/dl-machine.h: Likewise.
46990         * sysdeps/mips/dl-machine.: Likewise.
46991         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46992         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46993         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46994         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46995         * sysdeps/sh/dl-machine.h: Likewise.
46996         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46997         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46998         * sysdeps/tile/dl-machine.h: Likewise.
46999         * sysdeps/x86_64/dl-machine.h: Likewise.
47001         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
47002         code.
47003         (verify_persistent_db): Likewise.
47005 2014-06-26  Roland McGrath  <roland@hack.frob.com>
47007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
47008         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
47009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
47010         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
47011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47012         Moved ...
47013         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
47014         ... here.
47015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
47016         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
47017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
47018         Identical file removed.
47019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
47020         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
47021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
47022         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
47023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
47024         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
47025         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
47026         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
47027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
47028         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
47029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47030         Moved ...
47031         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
47032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
47033         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
47034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
47035         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
47036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47037         Moved ...
47038         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
47039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
47040         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
47041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
47042         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
47043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47044         Identical file removed.
47045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
47046         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
47047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
47048         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
47049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47050         Moved ...
47051         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
47052         ... here.
47053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
47054         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
47055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
47056         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
47057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
47058         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
47059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
47060         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
47061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
47062         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
47063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47064         Moved ...
47065         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
47066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
47067         Moved ...
47068         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
47069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
47070         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
47071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47072         Moved ...
47073         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
47074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
47075         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
47077         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
47078         folded into ...
47079         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
47080         * sysdeps/unix/sysv/linux/s390/Versions
47081         (libpthread: GLIBC_2.19): New version set.
47082         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
47083         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
47084         (librt: GLIBC_2.3.3): New version set.
47085         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
47086         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
47087         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
47088         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
47089         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
47090         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
47091         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
47092         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
47093         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
47094         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
47095         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
47096         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
47097         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
47098         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
47099         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
47100         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
47101         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
47102         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
47103         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
47104         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
47105         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
47106         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
47107         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
47108         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
47109         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
47110         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
47111         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
47112         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
47113         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
47114         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
47115         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
47116         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
47117         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
47118         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
47119         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
47120         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
47121         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
47122         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
47123         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
47124         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
47125         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
47126         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
47127         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
47128         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
47129         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
47131         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
47132         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
47133         (__libc_vfork): Define the function under this name.
47134         [!NOT_IN_libc] (__vfork): Make this an alias.
47135         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
47136         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
47137         * sysdeps/unix/sysv/linux/s390/s390-64/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         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
47142         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
47143         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
47144         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
47145         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47147         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
47148         code that was previously under [RESET_PID].
47149         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
47150         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
47151         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
47153         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
47154         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
47155         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
47156         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
47157         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
47158         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
47159         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
47160         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
47161         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
47162         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
47163         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
47164         Moved ...
47165         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
47166         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
47167         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
47168         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
47169         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
47170         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
47171         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
47172         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
47173         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
47174         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
47175         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
47176         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
47177         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
47178         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
47179         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
47180         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
47181         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
47182         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
47183         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
47184         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
47185         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
47186         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
47187         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
47188         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
47189         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
47190         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
47191         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
47192         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
47193         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
47195 2014-06-25  Roland McGrath  <roland@hack.frob.com>
47197         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
47198         that was previously under [RESET_PID].
47199         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
47201 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47203         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
47204         not undefine and redefine.
47205         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
47206         [O_CLOEXEC]: Make code unconditional.
47207         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
47208         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
47209         <kernel-features.h>.
47210         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
47211         conditional variable definition.
47212         (shm_open) [O_CLOEXEC]: Make code unconditional.
47213         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
47214         code.
47216         * configure.ac (USE_REGPARMS): Don't define here.
47217         * configure: Regenerated.
47218         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
47219         * sysdeps/i386/configure: Regenerated.
47221         * nptl/createthread.c: Don't include kernel-features.h.
47222         * nptl/pthread_cancel.c: Likewise.
47223         * nptl/pthread_condattr_setclock.c: Likewise.
47224         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
47225         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
47226         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
47227         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
47228         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
47229         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
47230         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
47231         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
47232         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
47233         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
47234         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
47235         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
47236         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
47237         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
47238         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
47239         * nscd/gai.c: Likewise.
47240         * nss/nss_db/db-open.c: Likewise.
47241         * sysdeps/generic/ldsodefs.h: Likewise.
47242         * sysdeps/sh/nptl/tls.h: Likewise.
47243         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47244         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
47245         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
47246         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
47247         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
47248         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47249         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
47250         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47251         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
47252         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
47253         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
47254         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
47255         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
47256         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
47257         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
47258         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
47259         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
47260         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
47261         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
47262         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
47263         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
47264         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
47265         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
47266         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
47267         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
47268         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
47269         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
47270         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
47271         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
47272         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
47273         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
47274         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
47275         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
47276         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47277         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47278         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47279         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47280         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
47281         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
47282         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
47283         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47284         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
47285         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
47286         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47287         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
47288         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
47289         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
47290         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
47291         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
47292         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
47293         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
47294         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
47295         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
47296         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47297         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
47298         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47299         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
47300         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
47301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
47303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
47304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
47305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
47306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
47307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
47308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
47309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
47312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
47313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
47314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
47315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
47321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
47322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
47323         * sysdeps/unix/sysv/linux/pread.c: Likewise.
47324         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
47325         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
47326         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
47327         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
47328         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
47329         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
47330         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
47331         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
47332         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
47333         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
47334         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
47335         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
47336         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
47337         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
47338         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
47339         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47340         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
47341         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
47342         * sysdeps/unix/sysv/linux/system.c: Likewise.
47343         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
47344         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
47345         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47346         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47347         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47348         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47349         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47351         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
47352         * configure: Regenerated.
47353         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
47355         * configure.ac (base_machine): Do not set specially for particular
47356         machines here.
47357         * configure: Regenerated.
47358         * sysdeps/powerpc/preconfigure: Move machine and base_machine
47359         settings from configure.ac.
47360         * sysdeps/i386/preconfigure: New file.
47361         * sysdeps/s390/preconfigure: Likewise.
47362         * sysdeps/sh/preconfigure: Likewise.
47363         * sysdeps/sparc/preconfigure: Likewise.
47365 2014-06-25  Roland McGrath  <roland@hack.frob.com>
47367         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
47368         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
47369         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
47370         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
47371         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
47372         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
47373         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
47374         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
47375         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
47376         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
47377         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
47378         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
47379         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
47380         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
47381         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
47382         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
47383         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
47384         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
47385         * sysdeps/sparc/sparc64/Makefile: ... appended here.
47387         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
47388         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
47389         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
47390         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
47391         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
47392         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
47393         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
47394         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
47395         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
47396         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
47397         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
47398         * sysdeps/sparc/sparc32/sem_post.c: ... here.
47399         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
47400         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
47401         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
47402         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
47403         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
47404         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
47405         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
47406         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
47407         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
47408         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
47409         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
47410         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
47411         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
47412         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
47413         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
47414         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
47415         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
47416         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
47417         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
47418         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
47419         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
47420         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
47421         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
47422         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
47423         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
47424         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
47426         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
47427         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
47428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
47429         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
47430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47431         Moved ...
47432         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
47433         ... here.
47434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
47435         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
47436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
47437         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
47438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
47439         Moved ...
47440         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
47441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
47442         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
47443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
47444         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
47445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
47446         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
47447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47448         Moved ...
47449         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
47450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47451         Moved ...
47452         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
47453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
47454         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
47455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47456         Moved ...
47457         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
47458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
47459         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
47460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
47461         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
47462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
47463         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
47464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
47465         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
47466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47467         Moved ...
47468         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
47469         ... here.
47470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
47471         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
47472         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
47473         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
47474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
47475         Moved ...
47476         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
47477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
47478         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
47479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
47480         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
47481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
47482         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
47483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47484         Moved ...
47485         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
47486         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47487         Moved ...
47488         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
47489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
47490         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
47491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47492         Moved ...
47493         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
47494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
47495         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
47496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
47497         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
47499 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47501         * timezone/checktab.awk: Update from tzcode 2014e.
47502         * timezone/private.h: Likewise.
47503         * timezone/tzfile.h: Likewise.
47504         * timezone/zdump.c: Likewise.
47505         * timezone/zic.c: Likewise.
47507         * sysdeps/unix/sysv/linux/kernel-features.h
47508         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
47509         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
47510         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
47511         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47512         Remove conditional code.
47514 2014-06-25  Will Newton  <will.newton@linaro.org>
47516         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
47517         (_dl_arm_cap_flags): Add HWCAP2 values.
47518         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
47519         (_DL_HWCAP_COUNT): Increase to 37.
47520         (_DL_HWCAP_LAST): New define.
47521         (_DL_HWCAP2_LAST): New define.
47522         (_dl_procinfo): Add support for printing
47523         AT_HWCAP2 entries.
47524         (_dl_string_hwcap): Use _dl_hwcap_string.
47526 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47530 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47532         * README: Do not mention ports directory.
47534         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
47535         Remove macro.
47536         * sysdeps/unix/sysv/linux/futimes.c: Do not include
47537         <kernel-features.h>.
47538         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
47539         conditional variable definition.
47540         (__futimes): Update comment.
47541         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
47542         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
47544         [BZ #16560]
47545         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
47546         arguments close to 0.
47547         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
47548         Likewise.
47549         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
47550         Likewise.
47551         * math/auto-libm-test-in: Add more tests of exp10.
47552         * math/auto-libm-test-out: Regenerated.
47553         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47555         * sysdeps/unix/sysv/linux/kernel-features.h
47556         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
47557         * sysdeps/unix/sysv/linux/readv.c: Do not include
47558         <kernel-features.h>.
47559         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47560         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
47561         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
47562         unconditional.
47563         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
47564         conditional code.
47565         * sysdeps/unix/sysv/linux/writev.c: Do not include
47566         <kernel-features.h>.
47567         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47568         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
47569         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
47570         unconditional.
47571         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
47572         conditional code.
47574 2014-06-25  Will Newton  <will.newton@linaro.org>
47576         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
47577         comment changes throughout the file.  Remove checks
47578         for HAVE_*_H definitions that are not required.
47579         (__gen_tempname): Call abort if an unknown kind value is
47580         passed.
47582 2014-06-25  Andreas Schwab  <schwab@suse.de>
47584         [BZ #17086]
47585         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
47586         scalbln, scalblnf, scalblnl in libc.
47588 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47590         [BZ #17086]
47591         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
47592         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47593         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47595 2014-06-24  Roland McGrath  <roland@hack.frob.com>
47597         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
47598         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
47599         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
47600         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
47601         Update #include.
47602         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
47603         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
47604         Update #include.
47605         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
47606         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
47607         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
47608         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
47609         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
47610         * sysdeps/x86/bits/pthreadtypes.h: ... here.
47611         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
47612         * sysdeps/x86/bits/semaphore.h: ... here.
47613         * sysdeps/x86/nptl/elide.h: Moved ...
47614         * sysdeps/x86/elide.h: ... here.
47615         * sysdeps/x86_64/nptl/Implies: File removed.
47616         * sysdeps/i386/nptl/Implies: File removed.
47618 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
47620         [BZ #16539]
47621         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
47622         return the argument for normal arguments with exponent below -64.
47623         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47624         Likewise.
47625         * math/auto-libm-test-in: Add another test of expm1.
47626         * math/auto-libm-test-out: Regenerated.
47628         [BZ #16287]
47629         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
47630         calling __erfcl for arguments at least 16.
47631         * math/auto-libm-test-in: Add more tests of erf.
47632         * math/auto-libm-test-out: Regenerated.
47634         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
47635         individual architectures.
47636         * sysdeps/unix/sysv/linux/configure: Regenerated.
47637         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
47638         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
47639         * sysdeps/unix/sysv/linux/powerpc/configure.ac
47640         (ldd_rewrite_script): Define variable.
47641         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
47642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
47643         file.
47644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
47645         generated file.
47646         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
47647         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
47648         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
47649         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
47650         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
47651         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
47652         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
47653         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
47655 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47657         [BZ #17084]
47658         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
47659         Rename member __data.d to __data.__elision_data.
47661 2014-06-24  Wilco  <wdijkstr@arm.com>
47663         * NEWS: Add 16918 to fixed bug list.
47665 2014-06-24  Wilco  <wdijkstr@arm.com>
47667         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
47669 2014-06-24  Wilco  <wdijkstr@arm.com>
47671         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
47672         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
47673         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
47674         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
47675         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
47676         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
47677         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
47678         Use _FPU_MASK_RM.
47680 2014-06-24  Wilco  <wdijkstr@arm.com>
47682         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
47684 2014-06-24  Wilco  <wdijkstr@arm.com>
47686         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
47687         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
47688         * sysdeps/arm/fesetround.c (fesetround): Remove space.
47689         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
47691 2014-06-24  Wilco  <wdijkstr@arm.com>
47693         [BZ #16918]
47694         * sysdeps/arm/feupdateenv.c (feupdateenv):
47695         Rewrite to reduce FPSCR accesses and fix return value.
47697 2014-06-24  Wilco  <wdijkstr@arm.com>
47699         * sysdeps/arm/fclrexcpt.c (feclearexcept):
47700         Optimize to avoid unnecessary FPSCR writes.
47701         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
47702         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
47703         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
47704         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
47706 2014-06-24  Wilco  <wdijkstr@arm.com>
47708         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
47709         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
47710         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
47711         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
47712         Call libc_fetestexcept_vfp.
47713         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
47714         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
47715         __SOFTFP__ ifdef so that they can be built for softfp.
47717 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47719         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
47720         argument type signed char.
47722         * Makerules (check-abi): Dump diff of symlist if the test
47723         fails.
47725 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47727         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
47728         using abort.
47730         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47731         Remove unused variable ST.
47733 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
47735         [BZ #16354]
47736         [BZ #17061]
47737         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
47738         small arguments before calling __expm1.
47739         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
47740         small arguments before calling __expm1f.
47741         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
47742         small arguments before calling __expm1l.
47743         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47744         Likewise.
47745         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
47746         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
47747         spurious underflow for some cosh tests.
47748         * math/auto-libm-test-out: Regenerated.
47749         * sysdeps/i386/fpu/libm-test-ulps: Update.
47751         [BZ #17050]
47752         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
47753         (__ieee754_y1): Set errno if return value overflows.
47754         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
47755         (__ieee754_y1f): Set errno if return value overflows.
47756         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
47757         (__ieee754_y1l): Set errno if return value overflows.
47758         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
47759         (__ieee754_y1l): Set errno if return value overflows.
47760         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
47761         * math/auto-libm-test-out: Regenerated.
47763         * math/gen-auto-libm-tests.c: Document use of
47764         ignore-zero-inf-sign.
47765         (input_flag_type): Add value flag_ignore_zero_inf_sign.
47766         (input_flags): Add ignore-zero-inf-sign.
47767         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
47768         * math/gen-libm-test.pl (generate_testfile): Handle
47769         ignore-zero-inf-sign.
47770         * math/auto-libm-test-in: Mark some cpow tests with
47771         ignore-zero-inf-sign and some with xfail-rounding.
47772         * math/auto-libm-test-out: Regenerated.
47773         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
47774         * sysdeps/i386/fpu/libm-test-ulps: Update.
47775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47777         [BZ #16315]
47778         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
47779         overflowing or underflowing operations take place with sign of
47780         result.
47781         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47782         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47783         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
47784         (__ieee754_pow): Recompute overflowing and underflowing results in
47785         original rounding mode.
47786         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
47787         (__powl_helper): Allow negative argument X and scale negated value
47788         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
47789         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
47790         overflowing or underflowing operations take place with sign of
47791         result.
47792         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
47793         Include <math.h>.
47794         * math/auto-libm-test-in: Add more tests of pow.
47795         * math/auto-libm-test-out: Regenerated.
47796         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
47797         (pow_tonearest_test_data): Remove.
47798         (pow_test_tonearest): Likewise.
47799         (pow_towardzero_test_data): Likewise.
47800         (pow_test_towardzero): Likewise.
47801         (pow_downward_test_data): Likewise.
47802         (pow_test_downward): Likewise.
47803         (pow_upward_test_data): Likewise.
47804         (pow_test_upward): Likewise.
47805         (main): Don't call removed functions.
47806         * sysdeps/i386/fpu/libm-test-ulps: Update.
47807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47809 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
47812         Moved ...
47813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
47814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47815         Moved ...
47816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
47817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47818         Moved ...
47819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
47820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47821         Moved ...
47822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
47823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47824         File removed.
47825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47826         File removed.
47827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
47828         File removed.
47829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
47830         File removed.
47831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
47832         File removed.
47833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
47834         File removed.
47835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
47836         File removed.
47837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47838         File removed.
47839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
47840         File removed.
47841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47842         File removed.
47843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
47844         File removed.
47845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
47846         File removed.
47847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
47848         Moved ...
47849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
47850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
47851         Moved ...
47852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
47853         ... here.
47854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
47855         Moved ...
47856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
47857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
47858         Moved ...
47859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
47860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
47861         Moved ...
47862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
47863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
47864         Moved ...
47865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
47866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
47867         Moved ...
47868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
47869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
47870         Moved ...
47871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
47872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
47873         Moved ...
47874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
47875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
47876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
47877         ... here.
47878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
47879         Moved ...
47880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
47881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47882         Moved ...
47883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
47884         ... here.
47885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
47886         Moved ...
47887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
47888         ... here.
47889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47890         Moved ...
47891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
47892         ... here.
47893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47894         Moved ...
47895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
47896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47897         Moved ...
47898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
47899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
47900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
47901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47902         Moved ...
47903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
47904         ... here.
47905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47906         Moved ...
47907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
47908         ... here.
47909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47910         Moved ...
47911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
47912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47913         Moved ...
47914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
47915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47916         Moved ...
47917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
47918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47919         Moved ...
47920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
47921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47922         Moved ...
47923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
47924         ... here.
47925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47926         Moved ...
47927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
47928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47929         Moved ...
47930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
47931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47932         Moved ...
47933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
47934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47935         Moved ...
47936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
47937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
47938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
47939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47940         Moved ...
47941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
47942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47943         Moved ...
47944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
47945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47946         Moved ...
47947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
47948         ... here.
47949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47950         Moved ...
47951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
47952         ... here.
47953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47954         Moved ...
47955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
47956         ... here.
47957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47958         Moved ...
47959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
47960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47961         Moved ...
47962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
47963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47964         Moved ...
47965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
47966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47967         Moved ...
47968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
47969         ... here.
47970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47971         Moved ...
47972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
47973         ... here.
47974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47975         Moved ...
47976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
47977         ... here.
47978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47979         Moved ...
47980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
47981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47982         Moved ...
47983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
47985 2014-06-23  Will Newton  <will.newton@linaro.org>
47986             Wilco  <wdijkstr@arm.com>
47988         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
47989         implementation.  Include get-rounding-mode.h.
47990         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
47991         [!libc_feholdsetround_noex_ctx]: Define
47992         libc_feholdsetround_noex_ctx.
47993         [!libc_feholdsetround_noexf_ctx]: Define
47994         libc_feholdsetround_noexf_ctx.
47995         [!libc_feholdsetround_noexl_ctx]: Define
47996         libc_feholdsetround_noexl_ctx.
47997         (libc_feholdsetround_ctx): New function.
47998         (libc_feresetround_ctx): New function.
47999         (libc_feholdsetround_noex_ctx): New function.
48000         (libc_feresetround_noex_ctx): New function.
48002 2014-06-23  Roland McGrath  <roland@hack.frob.com>
48004         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
48005         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
48006         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
48007         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
48008         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
48009         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
48011         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
48012         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
48013         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
48014         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
48015         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
48016         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
48017         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
48018         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
48019         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
48020         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
48021         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
48022         Moved ...
48023         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
48024         ... here.
48025         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
48026         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
48027         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
48028         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
48029         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
48030         Moved ...
48031         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
48032         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
48033         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
48034         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
48035         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
48036         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
48037         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
48038         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
48039         Moved ...
48040         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
48041         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
48042         Moved ...
48043         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
48044         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
48045         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
48046         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
48047         Moved ...
48048         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
48049         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
48050         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
48051         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
48052         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
48053         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
48054         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
48055         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
48056         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
48057         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
48058         Moved ...
48059         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
48060         ... here.
48061         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
48062         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
48063         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
48064         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
48065         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
48066         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
48067         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
48068         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
48069         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
48070         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
48071         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
48072         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
48073         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
48074         Moved ...
48075         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
48076         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
48077         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
48078         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
48079         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
48080         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
48081         Moved ...
48082         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
48083         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
48084         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
48085         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
48086         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
48088         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
48089         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
48090         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
48091         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
48092         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
48093         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
48094         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
48095         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
48096         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
48097         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
48098         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
48099         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
48100         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
48101         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
48102         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
48103         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
48104         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
48105         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
48106         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
48107         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
48108         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
48109         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
48110         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
48111         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
48112         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
48113         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
48114         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
48115         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
48117 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
48119         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
48120         (FALLOC_FL_COLLAPSE_RANGE): New macro.
48121         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
48122         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
48123         (IPV6_PMTUDISC_INTERFACE): Likewise.
48124         (IPV6_PMTUDISC_OMIT): Likewise.
48126 2014-06-23  Andreas Schwab  <schwab@suse.de>
48128         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
48129         Remove unused errout label.
48131 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48133         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
48134         macro: hardware supports Vector Crypto instructions.
48136 2014-06-23  Will Newton  <will.newton@linaro.org>
48138         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
48139         rather than __builtin_expect.
48141         * elf/dl-lookup.c (undefined_msg): Remove variable.
48142         (_dl_lookup_symbol_x): Replace undefined_msg with string
48143         literal.
48145         * elf/dl-lookup.c (do_lookup_unique): New function.
48146         (do_lookup_x): Move STB_GNU_UNIQUE handling code
48147         to a separate function.
48149 2014-06-23  Andreas Schwab  <schwab@suse.de>
48151         [BZ #17079]
48152         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
48153         before reading the next line.
48155 2014-06-23  Will Newton  <will.newton@linaro.org>
48157         * test-skeleton.c (signal_handler): Use printf and %m
48158         rather than perror.  Use printf rather than fprintf to
48159         stderr.  Use puts rather than fputs to stderr.
48160         (main): Likewise.
48162 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
48164         * nscd/nscd.c (thread_info_t): Remove typedef.
48165         (thread_info): Remove variable.
48167 2014-06-21  Allan McRae  <allan@archlinux.org>
48169         * NEWS: Mention CVE-2014-4043.
48171 2014-06-20  Roland McGrath  <roland@hack.frob.com>
48173         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
48174         * nptl/smp.h: ... here.
48176         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
48178         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
48179         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
48180         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
48181         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
48183         * nptl/allocatestack.c: Include <stack-aliasing.h>.
48184         * nptl/stack-aliasing.h: New file.
48185         * sysdeps/i386/i686/stack-aliasing.h: New file.
48186         * sysdeps/i386/i686/nptl/Makefile: File removed.
48187         * sysdeps/x86_64/stack-aliasing.h: New file.
48188         * sysdeps/x86_64/nptl/Makefile
48189         (CFLAGS-pthread_create.c): Variable removed.
48191         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
48192         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
48193         old file.
48194         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
48195         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
48196         old file.
48198 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
48200         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48201         (__ASSUME_SIGFRAME_V2): Remove macro.
48202         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
48203         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
48204         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
48205         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
48206         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
48207         Declare as function.  Remove conditional macro definitions.
48208         (__default_rt_sa_restorer): Likewise.
48209         (__default_sa_restorer_v1): Remove declaration.
48210         (__default_sa_restorer_v2): Likewise.
48211         (__default_rt_sa_restorer_v1): Likewise.
48212         (__default_rt_sa_restorer_v2): Likewise.
48213         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
48214         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
48215         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
48217 2014-06-20  Roland McGrath  <roland@hack.frob.com>
48219         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
48220         (libpthread-routines): Add sysdep.
48221         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
48222         * sysdeps/unix/sysv/linux/sparc/Versions
48223         (libpthread: GLIBC_2.3.3): New version set.
48224         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
48225         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
48226         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
48227         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
48228         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
48229         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
48230         Moved ...
48231         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
48232         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
48233         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
48234         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
48235         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
48236         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
48237         * sysdeps/sparc/nptl/sem_init.c: ... here.
48238         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
48239         * sysdeps/sparc/nptl/sem_post.c: ... here.
48240         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
48241         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
48242         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
48243         * sysdeps/sparc/nptl/sem_wait.c: ... here.
48244         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
48245         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
48246         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
48247         (libpthread-routines): Add cpu_relax.
48248         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
48249         File removed.
48250         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
48251         (librt: GLIBC_2.3.3): New version set.
48252         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
48253         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
48254         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
48255         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
48256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
48257         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
48258         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
48259         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
48260         Moved ...
48261         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
48262         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
48263         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
48264         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
48265         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
48266         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
48267         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
48268         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
48269         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
48270         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
48271         Moved ...
48272         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
48273         Update #include.
48274         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
48275         Moved ...
48276         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
48277         Update #include.
48278         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
48279         Moved ...
48280         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
48281         Update #include.
48282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
48283         Moved ...
48284         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
48285         Update #include.
48286         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
48287         Moved ...
48288         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
48289         Update #include.
48290         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
48291         Moved ...
48292         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
48293         Update #include.
48294         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
48295         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
48296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
48297         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
48298         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
48299         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
48300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
48301         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
48302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
48303         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
48304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48305         Moved ...
48306         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
48307         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
48308         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
48309         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
48310         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
48312 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48314         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
48315         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
48316         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
48317         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
48318         * nscd/nscd.c: Likewise.
48319         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
48320         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
48321         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
48322         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
48324         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
48325         <kernel-features.h>.
48326         (init_mq_netlink): Remove conditional have_sock_cloexec
48327         definitions.  Remove code conditional on have_sock_cloexec < 0.
48328         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
48329         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
48330         * sysdeps/unix/sysv/linux/opensock.c: Do not include
48331         <kernel-features.h>.
48332         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
48333         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
48335 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
48337         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48338         Add tests for memset_chk and memset.
48340         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
48341         with AVX2_Usable.
48343 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
48345         [BZ #16046]
48346         * elf/tst-dl-iter-static.c: New file.
48347         * elf/Makefile (tests-static): Add tst-dl-iter-static.
48349         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
48350         error.
48352 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48354         * sysdeps/unix/sysv/linux/kernel-features.h
48355         (__ASSUME_F_GETOWN_EX): Remove macro.
48356         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
48357         <kernel-features.h>.
48358         (miss_F_GETOWN_EX): Remove variable or macro.
48359         (do_fcntl): Do not check miss_F_GETOWN_EX.
48360         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
48362         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
48363         Remove macro.
48364         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
48365         [!__ASSUME_AT_RANDOM]: Remove conditional code.
48366         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
48368         * sysdeps/unix/sysv/linux/kernel-features.h
48369         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
48370         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
48371         [ADJ_OFFSET_SS_READ]: Make code unconditional.
48372         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
48374 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
48376         [BZ #17075]
48377         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
48378         Fix calculation of the symbol's value.
48379         * sysdeps/arm/tst-armtlsdescloc.c: New file.
48380         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
48381         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
48382         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
48383         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
48384         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
48385         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
48386         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
48387         (modules-names): Add `tst-armtlsdescmod',
48388         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
48389         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
48390         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
48391         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
48392         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
48393         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
48394         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
48395         ($(objpfx)tst-armtlsdescloc): New dependency.
48396         ($(objpfx)tst-armtlsdescextnow): Likewise.
48397         ($(objpfx)tst-armtlsdescextlazy): Likewise.
48398         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
48399         TLS scheme support.
48400         * sysdeps/arm/configure: Regenerate.
48402 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48404         * include/fcntl.h (__atfct_seterrno): Remove prototype.
48405         (__atfct_seterrno_2): Likewise.
48406         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
48407         <kernel-features.h>.
48408         (__ASSUME_ATFCTS): Do not undefine and redefine.
48409         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
48410         (__have_atfcts): Remove conditional definition.
48411         (__fxstatat([__NR_fstatat64]: Make code unconditional.
48412         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
48413         unreachable if [__ASSUME_ATFCTS].
48414         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
48415         not undefine and redefine.
48416         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
48417         <kernel-features.h>.
48418         (faccessat) [__NR_faccessat]: Make code unconditional.
48419         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
48420         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
48421         <kernel-features.h>.
48422         (fchmodat) [__NR_fchmodat]: Make code unconditional.
48423         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
48424         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
48425         <kernel-features.h>.
48426         (fchownat) [__NR_fchownat]: Make code unconditional.
48427         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
48428         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
48429         <kernel-features.h>.
48430         (futimesat) [__NR_futimesat]: Make code unconditional.
48431         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
48432         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48433         <kernel-features.h>.
48434         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
48435         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48436         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48437         <kernel-features.h>.
48438         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
48439         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
48440         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
48441         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48442         <kernel-features.h>.
48443         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
48444         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48445         * sysdeps/unix/sysv/linux/linkat.c: Do not include
48446         <kernel-features.h>.
48447         (linkat) [__NR_linkat]: Make code unconditional.
48448         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48449         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
48450         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
48451         <kernel-features.h>.
48452         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
48453         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
48454         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
48455         <kernel-features.h>.
48456         (mkdirat) [__NR_mkdirat]: Make code unconditional.
48457         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
48458         * sysdeps/unix/sysv/linux/openat.c: Do not include
48459         <kernel-features.h>.
48460         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
48461         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
48462         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
48463         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
48464         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
48465         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
48466         <kernel-features.h>.
48467         (readlinkat) [__NR_readlinkat]: Make code unconditional.
48468         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
48469         result of INLINE_SYSCALL directly, not via int variable.
48470         * sysdeps/unix/sysv/linux/renameat.c: Do not include
48471         <kernel-features.h>.
48472         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
48473         (renameat) [__NR_renameat]: Make code unconditional.
48474         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
48475         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
48476         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
48477         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
48478         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
48479         (__ASSUME_ATFCTS): Do not undefine and redefine.
48480         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
48481         <kernel-features.h>.
48482         (symlinkat) [__NR_symlinkat]: Make code unconditional.
48483         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48484         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
48485         <kernel-features.h>.
48486         (unlinkat) [__NR_unlinkat]: Make code unconditional.
48487         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48488         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
48489         (__ASSUME_ATFCTS): Do not undefine and redefine.
48490         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48491         <kernel-features.h>.
48492         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
48493         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48494         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48495         <kernel-features.h>.
48496         (__xmknodat) [__NR_mknodat]: Make code unconditional.
48497         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
48499 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
48501         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
48503 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
48505         [BZ #17069]
48506         * posix/regcomp.c (parse_reg_exp): Deallocate partially
48507         constructed tree before returning error.
48508         * posix/bug-regexp36.c: Expand test case.
48510 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
48512         [BZ #6803]
48513         * math/libm-test.inc (scalbln_test_date):
48514         Add errno expectations.
48515         * math/w_scalblnf.c: New File.
48516         Add wrapper which checks for setting errno to ERANGE.
48517         Add weak_alias for corresponding scalbln function.
48518         * math/w_scalbln.c: Likewise.
48519         * math/w_scalblnl.c: Likewise.
48520         * math/Makefile (libm-calls): Add w_scalbln.
48521         * sysdeps/ieee754/flt-32/s_scalblnf.c:
48522         Remove weak_alias for corresponding scalbln function.
48523         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48524         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48525         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48526         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48527         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
48528         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48529         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
48530         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48531         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
48532         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
48533         Remove long_double_symbol for scalblnl function in libm, libc.
48534         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
48535         Add wrapper which checks for setting errno to ERANGE.
48536         Add long_double_symbol for scalblnl function in libm, libc.
48537         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
48538         Remove long_double_symbol for scalblnl in libm.
48539         * sysdeps/ieee754/ldbl-128ibm/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.
48542         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
48543         Do not use wrapper because of own implementation.
48545 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
48547         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
48548         3 bytes for __pad1 for x32.
48549         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
48551 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
48552             H.J. Lu  <hongjiu.lu@intel.com>
48554         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
48555         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
48556         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48557         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48558         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
48560 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
48562         [BZ #17069]
48563         * posix/regcomp.c (parse_expression): Deallocate partially
48564         constructed tree before returning error.
48565         * posix/Makefile.c (tests): Add bug-regex36.
48566         (generated): Add bug-regex36.mtrace.
48567         (tests-special): Add $(objpfx)bug-regex36-mem.out
48568         (bug-regex36-ENV): New variable.
48569         ($(objpfx)bug-regex36-mem.out): New rule.
48570         * posix/bug-regex36.c: New file.
48572 2014-06-19  Will Newton  <will.newton@linaro.org>
48574         * malloc/malloc.c (systrim): If extra is zero then return
48575         early.
48577 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48579         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
48581 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
48583         * sysdeps/aarch64/strchr.S: New file.
48585 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
48587         [BZ #17022]
48588         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
48589         from arguments -2 or below.
48590         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48591         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
48593 2014-06-18  Andreas Schwab  <schwab@suse.de>
48595         [BZ #17062]
48596         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
48597         of a bracket expr not to run off the end of the string.
48598         * posix/Makefile (tests): Add tst-fnmatch3.
48599         * posix/tst-fnmatch3.c: New file.
48601 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
48603         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
48604         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48605         [$(cross-compiling) = no]: Likewise.
48606         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48607         [$(cross-compiling) = no]: Likewise.
48609 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48611         [BZ #17031]
48612         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
48613         double, adjusted for any remainder from the high double.
48614         * math/libm-test.inc (nearbyint): Add tests.
48615         (rint): Likewise.
48617 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48619         * nptl/sysdeps/powerpc/Makefile: Moved ...
48620         * sysdeps/powerpc/nptl/Makefile: ... here.
48621         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
48622         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
48623         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
48624         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
48625         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
48626         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
48627         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
48628         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
48629         * nptl/sysdeps/powerpc/tls.h: Moved ...
48630         * sysdeps/powerpc/nptl/tls.h: ... here.
48632 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
48634         [BZ #16681]
48635         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
48636         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
48637         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
48638         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
48639         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
48640         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
48641         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
48642         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
48643         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
48645 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
48647         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
48649 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
48651         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
48652         defined operator.
48654         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
48655         $TIMEOUTFACTOR.
48657 2014-06-16  Florian Weimer  <fweimer@redhat.com>
48659         [BZ #17058]
48660         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
48661         non-executed part of the test.
48663 2014-06-16  Andreas Schwab  <schwab@suse.de>
48665         * string/bits/string2.h (strdup, strndup): Update feature guard.
48667 2014-06-14  David S. Miller  <davem@davemloft.net>
48669         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48671 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
48673         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
48674         that was previously under [RESET_PID].
48675         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
48677         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
48678         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
48679         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
48680         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48681         (__libc_vfork): New strong alias.
48682         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
48684 2014-06-14 Andi Kleen  <ak@linux.intel.com>
48686         * sysdeps/generic/elide.h: New file.
48688 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
48690         * Makefile (installed-headers): Adjust path of pthread.h header.
48692 2014-06-13  Roland McGrath  <roland@hack.frob.com>
48694         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
48695         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
48696         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
48697         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
48699         * nptl/sysdeps/s390/Makefile: Moved ...
48700         * sysdeps/s390/nptl/Makefile: ... here.
48701         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
48702         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
48703         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
48704         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
48705         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
48706         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
48707         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
48708         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
48709         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
48710         * sysdeps/s390/nptl/pthreaddef.h: ... here.
48711         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
48712         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
48713         * nptl/sysdeps/s390/tls.h: Moved ...
48714         * sysdeps/s390/nptl/tls.h: ... here.
48716         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
48717         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
48719 2014-06-13  David S. Miller  <davem@davemloft.net>
48721         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
48722         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
48723         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
48724         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
48725         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
48726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
48727         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
48728         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
48729         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
48730         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
48731         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
48732         Remove RESET_PID cpp guards.
48733         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
48734         Remove RESET_PID cpp guards.
48735         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
48737 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
48739         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
48740         __sp to uintptr_t.
48742 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48744         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
48745         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
48746         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
48747         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
48748         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
48749         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
48750         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
48751         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
48752         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
48753         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
48754         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
48755         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
48756         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
48757         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
48758         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
48759         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
48760         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
48761         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
48762         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
48763         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
48765         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
48766         (pthread_rwlock_rdlock): Add elision.
48767         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
48768         (pthread_rwlock_wrlock): Add elision.
48769         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
48770         (pthread_rwlock_trywrlock): Add elision.
48771         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
48772         (pthread_rwlock_tryrdlock): Add elision.
48773         * nptl/pthread_rwlock_unlock.c: Include elide.h.
48774         (pthread_rwlock_tryrdlock): Add elision unlock.
48775         * nptl/sysdeps/pthread/pthread.h:
48776         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
48777         (PTHREAD_RWLOCK_INITIALIZER,
48778         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
48779         Handle new elision field.
48780         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
48781         * sysdeps/arm/nptl/bits/pthreadtypes.h
48782         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48783         * sysdeps/sh/nptl/bits/pthreadtypes.h
48784         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48785         * sysdeps/tile/nptl/bits/pthreadtypes.h
48786         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48787         * sysdeps/a/nptl/bits/pthreadtypes.h
48788         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48789         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
48790         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48791         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
48792         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48793         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
48794         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48795         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
48796         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48797         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
48798         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48799         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
48800         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48801         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
48802         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48803         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
48804         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48805         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
48806         (elision_init): Set try_xbegin to zero when no RTM.
48807         * sysdeps/x86/nptl/bits/pthreadtypes.h
48808         (pthread_rwlock_t): Change __pad1 to __rwelision.
48809         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48811 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48813         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
48814         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
48815         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
48816         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
48818 2014-06-13  Meador Inge  <meadori@codesourcery.com>
48820         [BZ #16996]
48821         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
48822         that the cached result has been set before returning it.
48824 2014-06-12  Roland McGrath  <roland@hack.frob.com>
48826         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
48827         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
48828         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
48829         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
48830         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
48831         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
48833         * nptl/sysdeps/sparc/Makefile: Moved ...
48834         * sysdeps/sparc/nptl/Makefile: ... here.
48835         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
48836         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
48837         * nptl/sysdeps/sparc/tls.h: Moved ...
48838         * sysdeps/sparc/nptl/tls.h: ... here.
48839         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
48840         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
48841         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
48842         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
48843         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
48844         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
48845         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
48846         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
48847         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
48848         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
48849         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
48850         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
48851         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
48852         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
48853         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
48854         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
48855         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
48856         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
48857         Update #include.
48858         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
48859         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
48860         Update #include.
48861         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
48862         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
48863         Update #include.
48864         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
48865         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
48866         Update #include.
48868         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
48870         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
48871         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
48873         * sysdeps/pthread/posix-timer.h: Include <list.h>.
48874         (struct list_links): Type removed.
48875         (struct thread_node, struct timer_node): Replace struct list_links
48876         with struct list_head.
48877         (list_unlink_ip): Likewise.
48878         * sysdeps/pthread/timer_routines.c
48879         (timer_free_list, thread_free_list, thread_active_list): Likewise.
48880         (list_append, list_insbefore): Likewise.
48881         (list_init): Function removed.
48882         (thread_init, init_module): Use INIT_LIST_HEAD instead.
48883         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
48884         * sysdeps/pthread/Makefile: ... here, new file.
48886         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
48887         * sysdeps/nptl/Implies: ... here.
48888         * sysdeps/unix/sysv/linux/Implies: Add nptl.
48889         * nptl/sysdeps/pthread/list.h: Moved ...
48890         * include/list.h: ... here.
48891         * nptl/sysdeps/pthread/createthread.c: Moved ...
48892         * nptl/createthread.c: ... here.
48893         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
48894         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
48895         * nptl/pt-longjmp.c: ... here.
48896         * nptl/sysdeps/pthread/Makefile: Moved ...
48897         * sysdeps/nptl/Makefile: ... here.
48898         * nptl/sysdeps/pthread/Subdirs: Moved ...
48899         * sysdeps/nptl/Subdirs: ... here.
48900         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
48901         * sysdeps/nptl/aio_misc.h: ... here.
48902         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
48903         * sysdeps/nptl/bits/libc-lock.h: ... here.
48904         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
48905         * sysdeps/nptl/bits/libc-lockP.h: ... here.
48906         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
48907         * sysdeps/nptl/bits/stdio-lock.h: ... here.
48908         * nptl/sysdeps/pthread/configure: Moved ...
48909         * sysdeps/nptl/configure: ... here.
48910         * nptl/sysdeps/pthread/configure.ac: Moved ...
48911         * sysdeps/nptl/configure.ac: ... here.
48912         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
48913         * sysdeps/nptl/gai_misc.h: ... here.
48914         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
48915         * sysdeps/nptl/librt-cancellation.c: ... here.
48916         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
48917         * sysdeps/nptl/malloc-machine.h: ... here.
48918         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
48919         * sysdeps/nptl/pthread-functions.h: ... here.
48920         * nptl/sysdeps/pthread/pthread.h: Moved ...
48921         * sysdeps/nptl/pthread.h: ... here.
48922         * nptl/sysdeps/pthread/setxid.h: Moved ...
48923         * sysdeps/nptl/setxid.h: ... here.
48924         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
48925         * sysdeps/nptl/sigfillset.c: ... here.
48926         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
48927         * sysdeps/nptl/tcb-offsets.h: ... here.
48928         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
48929         * sysdeps/nptl/tst-mqueue8x.c: ... here.
48930         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
48931         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
48932         * nptl/sysdeps/pthread/allocalim.h: Moved ...
48933         * sysdeps/pthread/allocalim.h: ... here.
48934         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
48935         * sysdeps/pthread/bits/sigthread.h: ... here.
48936         * nptl/sysdeps/pthread/flockfile.c: Moved ...
48937         * sysdeps/pthread/flockfile.c: ... here.
48938         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
48939         * sysdeps/pthread/ftrylockfile.c: ... here.
48940         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
48941         * sysdeps/pthread/funlockfile.c: ... here.
48942         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
48943         * sysdeps/pthread/posix-timer.h: ... here.
48944         * nptl/sysdeps/pthread/timer_create.c: Moved ...
48945         * sysdeps/pthread/timer_create.c: ... here.
48946         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
48947         * sysdeps/pthread/timer_delete.c: ... here.
48948         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
48949         * sysdeps/pthread/timer_getoverr.c: ... here.
48950         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
48951         * sysdeps/pthread/timer_gettime.c: ... here.
48952         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
48953         * sysdeps/pthread/timer_routines.c: ... here.
48954         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
48955         * sysdeps/pthread/timer_settime.c: ... here.
48956         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
48957         * sysdeps/pthread/tst-timer.c: ... here.
48958         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
48959         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
48961         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
48962         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
48964         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
48965         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
48966         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
48967         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
48968         Update #include target.
48969         * nptl/sysdeps/i386/i686/Makefile: Moved ...
48970         * sysdeps/i386/i686/nptl/Makefile: ... here.
48971         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
48972         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
48973         Update #include target.
48974         * nptl/sysdeps/i386/i686/tls.h: Moved ...
48975         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
48976         * nptl/sysdeps/i386/Makefile: Moved ...
48977         * sysdeps/i386/nptl/Makefile: ... here.
48978         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
48979         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
48980         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
48981         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
48982         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
48983         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
48984         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
48985         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
48986         * sysdeps/i386/nptl/pthreaddef.h: ... here.
48987         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
48988         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
48989         * nptl/sysdeps/i386/tls.h: Moved ...
48990         * sysdeps/i386/nptl/tls.h: ... here.
48992         * sysdeps/sh/Makefile [$(subdir) = csu]
48993         (gen-as-const-headers): Add tcb-offsets.sym.
48994         * nptl/sysdeps/sh/Makefile: File removed.
48995         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
48996         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
48997         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
48998         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
48999         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
49000         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
49001         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
49002         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
49003         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
49004         * sysdeps/sh/nptl/pthreaddef.h: ... here.
49005         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
49006         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
49007         * nptl/sysdeps/sh/tls.h: Moved ...
49008         * sysdeps/sh/nptl/tls.h: ... here.
49009         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
49010         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
49011         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
49012         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
49013         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
49014         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
49015         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
49016         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
49017         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
49018         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
49019         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
49020         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
49021         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
49022         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
49023         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
49024         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
49025         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
49026         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
49027         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
49028         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
49029         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
49030         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
49031         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
49032         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
49033         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
49034         Moved ...
49035         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
49036         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
49037         Moved ...
49038         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
49039         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
49040         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
49041         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
49042         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
49043         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
49044         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
49045         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
49046         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
49047         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
49048         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
49049         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
49050         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
49051         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
49052         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
49053         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
49054         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
49055         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
49056         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
49058 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
49060         * posix/spawn_faction_addopen.c: Include string.h.
49062 2014-06-11  Roland McGrath  <roland@hack.frob.com>
49064         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
49065         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
49066         * nptl/sysdeps/x86_64/Makefile: Moved ...
49067         * sysdeps/x86_64/nptl/Makefile: ... here.
49068         * nptl/sysdeps/x86_64/configure: Moved ...
49069         * sysdeps/x86_64/nptl/configure: ... here.
49070         * nptl/sysdeps/x86_64/configure.ac: Moved ...
49071         * sysdeps/x86_64/nptl/configure.ac: ... here.
49072         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
49073         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
49074         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
49075         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
49076         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
49077         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
49078         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
49079         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
49080         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
49081         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
49082         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
49083         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
49084         * nptl/sysdeps/x86_64/tls.h: Moved ...
49085         * sysdeps/x86_64/nptl/tls.h: ... here.
49086         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
49087         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
49088         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
49089         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
49091         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
49093 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49097 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
49099         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
49100         type.
49101         [POSIX] (off_t): Likewise.
49102         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
49103         [POSIX] (S_ISBLK): Require macro.
49104         [POSIX] (S_ISCHR): Likewise.
49105         [POSIX] (S_ISDIR): Likewise.
49106         [POSIX] (S_ISFIFO): Likewise.
49107         [POSIX] (S_ISREG): Likewise.
49108         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
49109         optional-macro.
49110         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
49111         type.
49112         [POSIX] (time_t): Likewise.
49113         [POSIX] (timer_t): Likewise.
49115 2014-06-11  Florian Weimer  <fweimer@redhat.com>
49117         [BZ #17048]
49118         * posix/spawn_int.h (struct __spawn_action): Make the path string
49119         non-const to support deallocation.
49120         * posix/spawn_faction_addopen.c
49121         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
49122         * posix/spawn_faction_destroy.c
49123         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
49124         path in all spawn_do_open actions.
49125         * posix/tst-spawn.c (do_test): Exercise the copy operation in
49126         posix_spawn_file_actions_addopen.
49128 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
49130         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
49131         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
49132         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
49133         conditional code always true.
49134         (__libc_vfork): New alias.
49136 2014-06-11  Roland McGrath  <roland@hack.frob.com>
49138         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49139         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
49141         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
49143         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49144         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
49146         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
49147         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
49149         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49150         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
49152 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49154         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
49155         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
49156         multiarch strcmp for PPC64.
49157         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
49158         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
49159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
49160         multiarch optimizations.
49161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49162         (__libc_ifunc_impl_list): Likewise.
49164 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49166         * benchtests/scripts/validate_benchout.py: New script.
49167         * benchtests/Makefile (bench-func): Call it.
49168         * benchtests/scripts/benchout.schema.json: New file.
49170 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
49172         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
49173         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
49174         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
49175         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
49176         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
49177         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
49178         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
49179         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
49180         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
49181         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
49182         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
49183         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
49184         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
49185         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
49186         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
49187         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
49188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
49189         Moved ...
49190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
49191         ... here.
49192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
49193         Moved ...
49194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
49195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
49196         Moved ...
49197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
49198         ... here.
49199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
49200         Moved ...
49201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
49202         ... here.
49203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
49204         Moved ...
49205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
49206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
49207         Moved ...
49208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
49209         ... here.
49210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
49211         Moved ...
49212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
49213         ... here.
49214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
49215         Moved ...
49216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
49217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
49218         Moved ...
49219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
49220         ... here.
49221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
49222         Moved ...
49223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
49224         ... here.
49225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
49226         Moved ...
49227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
49228         ... here.
49229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
49230         Moved ...
49231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
49232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
49233         Moved ...
49234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
49235         ... here.
49236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
49237         Moved ...
49238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
49239         ... here.
49240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
49241         Moved ...
49242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
49243         ... here.
49244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
49245         Moved ...
49246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
49247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
49248         Moved ...
49249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
49250         ... here.
49251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
49252         Moved ...
49253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
49254         ... here.
49255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
49256         Moved ...
49257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
49258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
49259         Moved ...
49260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
49261         ... here.
49262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
49263         Moved ...
49264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
49265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
49266         Moved ...
49267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
49268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
49269         Moved ...
49270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
49271         ... here.
49272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
49273         Moved ...
49274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
49275         ... here.
49276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
49277         Moved ...
49278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
49279         ... here.
49280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
49281         Moved ...
49282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
49283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
49284         Moved ...
49285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
49286         ... here.
49287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
49288         Moved ...
49289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
49290         ... here.
49291         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
49292         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
49293         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
49294         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
49295         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
49296         Moved ...
49297         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
49298         ... here.
49299         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
49300         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
49301         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
49302         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
49303         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
49304         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
49305         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
49306         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
49307         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
49308         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
49309         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
49310         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
49311         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
49312         Moved ...
49313         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
49314         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
49315         Moved ...
49316         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
49317         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
49318         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
49319         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
49320         Moved ...
49321         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
49322         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
49323         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
49324         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
49325         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
49326         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
49327         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
49329 2014-06-10  Wilco  <wdijkstr@arm.com>
49331         * math/test-fenv-return.c: New file.
49332         * math/Makefile: Add new test test-fenv-return.
49334 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
49336         [BZ #17042]
49337         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
49338         when x - 1 is zero.
49339         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
49340         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
49341         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
49342         0.0L for an argument of 1.0L.
49343         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
49344         Likewise.
49345         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
49346         value when x - 1 is zero.
49347         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
49348         * sysdeps/i386/fpu/libm-test-ulps: Update.
49349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49351 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
49353         [BZ #15119]
49354         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
49356 2014-06-09  Roland McGrath  <roland@hack.frob.com>
49358         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
49359         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
49361 2014-06-09  Roland McGrath  <roland@hack.frob.com>
49363         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49364         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
49366         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49367         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
49369         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49370         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
49372         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49373         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
49375         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
49376         if not already defined.
49377         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
49378         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
49379         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
49380         (TLS_INIT_TP): Use it.
49381         (TLS_DEFINE_INIT_TP): New macro.
49382         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
49384 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
49386         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
49387         constant.
49388         [POSIX] (IXANY): Likewise.
49389         [POSIX] (OLCUC): Likewise.
49390         [POSIX || POSIX2008] (CBAUD): Do not allow.
49391         [POSIX || POSIX2008] (DEFECHO): Likewise.
49392         [POSIX || POSIX2008] (ECHOCTL): Likewise.
49393         [POSIX || POSIX2008] (ECHOKE): Likewise.
49394         [POSIX || POSIX2008] (ECHOPRT): Likewise.
49395         [POSIX || POSIX2008] (EXTA): Likewise.
49396         [POSIX || POSIX2008] (EXTB): Likewise.
49397         [POSIX || POSIX2008] (FLUSHO): Likewise.
49398         [POSIX || POSIX2008] (LOBLK): Likewise.
49399         [POSIX || POSIX2008] (PENDIN): Likewise.
49400         [POSIX || POSIX2008] (SWTCH): Likewise.
49401         [POSIX || POSIX2008] (VDISCARD): Likewise.
49402         [POSIX || POSIX2008] (VDSUSP): Likewise.
49403         [POSIX || POSIX2008] (VLNEXT): Likewise.
49404         [POSIX || POSIX2008] (VREPRINT): Likewise.
49405         [POSIX || POSIX2008] (VSTATUS): Likewise.
49406         [POSIX || POSIX2008] (VWERASE): Likewise.
49407         (B*): Change to B[0123456789]*.
49408         * conform/data/time.h-data [POSIX || UNIX98]
49409         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
49410         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49411         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
49412         [POSIX] (tm_*): Do not allow.
49414 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
49416         * Makefile (install): Don't set LANGUAGE.
49417         * Makefile.in (install): Likewise.
49418         * assert/Makefile (test-assert-ENV): Remove variable.
49419         (test-assert-perr-ENV): Likewise.
49420         * elf/Makefile (neededtest4-ENV): Likewise.
49421         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49422         [$(cross-compiling) = no]: Don't set LANGUAGE.
49423         * io/ftwtest-sh (LANG): Remove variable.
49424         * libio/Makefile (tst-widetext-ENV): Likewise.
49425         * manual/install.texi (Running make install): Don't refer to
49426         environment settings for make install.
49427         * INSTALL: Regenerated.
49428         * nptl/tst-tls6.sh: Don't set LANG.
49429         * posix/globtest.sh (LANG): Remove variable.
49430         * string/Makefile (tester-ENV): Likewise.
49431         (inl-tester-ENV): Likewise.
49432         (noinl-tester-ENV): Likewise.
49433         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49434         [$(cross-compiling) = no]: Don't set LANGUAGE.
49435         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
49436         without explicit environment settings.
49438 2014-06-06  Roland McGrath  <roland@hack.frob.com>
49440         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
49441         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
49442         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
49443         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
49445 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
49447         * crypt/crypt-private.h [DOS]: Add some includes taken from the
49448         other files in the crypt directory.
49449         * crypt/crypt.c: Remove duplicate includes.
49450         * crypt/crypt-entry.c: Likewise.
49451         * crypt/crypt_util.c: Likewise.
49453 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
49455         * Makeconfig (run-program-env): New variable.
49456         (run-program-prefix-before-env): Likewise.
49457         (run-program-prefix-after-env): Likewise.
49458         (run-program-prefix): Define in terms of new variables.
49459         (built-program-cmd-before-env): New variable.
49460         (built-program-cmd-after-env): Likewise.
49461         (built-program-cmd): Define in terms of new variables.
49462         (test-program-prefix-before-env): New variable.
49463         (test-program-prefix-after-env): Likewise.
49464         (test-program-prefix): Define in terms of new variables.
49465         (test-program-cmd-before-env): New variable.
49466         (test-program-cmd-after-env): Likewise.
49467         (test-program-cmd): Define in terms of new variables.
49468         * Rules (make-test-out): Use $(run-program-env).
49469         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
49470         (help): Do not mention environment variables.  Mention
49471         --timeoutfactor option.
49472         (timeoutfactor): New variable.
49473         (blacklist_exports): Remove function.
49474         (exports): Remove variable.
49475         (command): Do not include ${exports}.
49476         * manual/install.texi (Configuring and compiling): Do not mention
49477         test wrappers preserving environment variables.  Mention that last
49478         assignment to a variable must take precedence.
49479         * INSTALL: Regenerated.
49480         * benchtests/Makefile (run-bench): Use $(run-program-env).
49481         * catgets/Makefile ($(objpfx)test1.cat): Use
49482         $(built-program-cmd-before-env), $(run-program-env) and
49483         $(built-program-cmd-after-env).
49484         ($(objpfx)test2.cat): Do not specify environment variables
49485         explicitly.
49486         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
49487         $(run-program-env) and $(built-program-cmd-after-env).
49488         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
49489         $(run-program-env) and $(test-program-cmd-after-env).
49490         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
49491         explicitly.
49492         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
49493         run_program_env and test_program_cmd_after_env arguments.
49494         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
49495         * elf/tst-pathopt.sh: Use run_program_env argument.
49496         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
49497         $(test-wrapper-env) and $(run-program-env).
49498         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
49499         run_program_env arguments.
49500         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
49501         * intl/Makefile ($(objpfx)tst-gettext.out): Use
49502         $(test-program-prefix-before-env), $(run-program-env) and
49503         $(test-program-prefix-after-env).
49504         ($(objpfx)tst-gettext2.out): Likewise.
49505         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
49506         run_program_env and test_program_prefix_after_env arguments.
49507         * intl/tst-gettext2.sh: Likewise.
49508         * intl/tst-gettext4.sh: Do not set environment variables
49509         explicitly.
49510         * intl/tst-gettext6.sh: Likewise.
49511         * intl/tst-translit.sh: Likewise.
49512         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
49513         $(test-program-prefix-before-env), $(run-program-env) and
49514         $(test-program-prefix-after-env).
49515         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
49516         run_program_env and test_program_prefix_after_env arguments.
49517         * math/Makefile (run-regen-ulps): Use $(run-program-env).
49518         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
49519         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
49520         explicitly with each use of ${test_wrapper_env}.
49521         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
49522         $(test-program-prefix-before-env), $(run-program-env) and
49523         $(test-program-prefix-after-env).
49524         * posix/tst-getconf.sh: Do not set environment variables
49525         explicitly.
49526         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
49527         run_program_env and test_program_prefix_after_env arguments.
49528         * stdio-common/tst-printf.sh: Do not set environment variables
49529         explicitly.
49530         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
49531         $(test-program-prefix-before-env), $(run-program-env) and
49532         $(test-program-prefix-after-env).
49533         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
49534         run_program_env and test_program_prefix_after_env arguments.
49535         Split $test calls into $test_pre and $test.
49536         * timezone/Makefile (build-testdata): Use
49537         $(built-program-cmd-before-env), $(run-program-env) and
49538         $(built-program-cmd-after-env).
49540 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49542         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
49543         strlen for non SHARED builds.
49545 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49547         * nptl/allocatestack.c (check_list): Inlined function...
49548         (__reclaim_stacks): ... here.
49550 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
49552         [BZ #15698]
49553         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
49554         memory overrun.
49556 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
49558         * Rules (make-test-out): Include
49559         LOCPATH=$(common-objpfx)localedata in default environment.
49560         * debug/Makefile (tst-chk1-ENV): Remove variable.
49561         (tst-chk2-ENV): Likewise.
49562         (tst-chk3-ENV): Likewise.
49563         (tst-chk4-ENV): Likewise.
49564         (tst-chk5-ENV): Likewise.
49565         (tst-chk6-ENV): Likewise.
49566         (tst-lfschk1-ENV): Likewise.
49567         (tst-lfschk2-ENV): Likewise.
49568         (tst-lfschk3-ENV): Likewise.
49569         (tst-lfschk4-ENV): Likewise.
49570         (tst-lfschk5-ENV): Likewise.
49571         (tst-lfschk6-ENV): Likewise.
49572         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
49573         (tst-iconv7-ENV): Likewise.
49574         * intl/Makefile (LOCPATH-ENV): Likewise.
49575         (tst-codeset-ENV): Likewise.
49576         (tst-gettext3-ENV): Likewise.
49577         (tst-gettext5-ENV): Likewise.
49578         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
49579         (tst-fopenloc-ENV): Likewise.
49580         (tst-fgetws-ENV): Remove variable.
49581         (tst-ungetwc1-ENV): Likewise.
49582         (tst-ungetwc2-ENV): Likewise.
49583         (bug-ungetwc2-ENV): Likewise.
49584         (tst-swscanf-ENV): Likewise.
49585         (bug-ftell-ENV): Likewise.
49586         (tst-fgetwc-ENV): Likewise.
49587         (tst-fseek-ENV): Likewise.
49588         (tst-ftell-partial-wide-ENV): Likewise.
49589         (tst-ftell-active-handler-ENV): Likewise.
49590         (tst-ftell-append-ENV): Likewise.
49591         * posix/Makefile (tst-fnmatch-ENV): Likewise.
49592         (tst-regexloc-ENV): Likewise.
49593         (bug-regex1-ENV): Likewise.
49594         (tst-regex-ENV): Likewise.
49595         (tst-regex2-ENV): Likewise.
49596         (bug-regex5-ENV): Likewise.
49597         (bug-regex6-ENV): Likewise.
49598         (bug-regex17-ENV): Likewise.
49599         (bug-regex18-ENV): Likewise.
49600         (bug-regex19-ENV): Likewise.
49601         (bug-regex20-ENV): Likewise.
49602         (bug-regex22-ENV): Likewise.
49603         (bug-regex23-ENV): Likewise.
49604         (bug-regex25-ENV): Likewise.
49605         (bug-regex26-ENV): Likewise.
49606         (bug-regex30-ENV): Likewise.
49607         (bug-regex32-ENV): Likewise.
49608         (bug-regex33-ENV): Likewise.
49609         (bug-regex34-ENV): Likewise.
49610         (bug-regex35-ENV): Likewise.
49611         (tst-rxspencer-ENV): Likewise.
49612         (tst-rxspencer-no-utf8-ENV): Likewise.
49613         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
49614         (tst-sscanf-ENV): Likewise.
49615         (tst-swprintf-ENV): Likewise.
49616         (tst-swscanf-ENV): Likewise.
49617         (test-vfprintf-ENV): Likewise.
49618         (scanf13-ENV): Likewise.
49619         (bug14-ENV): Likewise.
49620         (tst-grouping-ENV): Likewise.
49621         * stdlib/Makefile (tst-strtod-ENV): Likewise.
49622         (tst-strtod3-ENV): Likewise.
49623         (tst-strtod4-ENV): Likewise.
49624         (tst-strtod5-ENV): Likewise.
49625         (testmb2-ENV): Likewise./
49626         * string/Makefile (tst-strxfrm-ENV): Likewise.
49627         (tst-strxfrm2-ENV): Likewise.
49628         (bug-strcoll1-ENV): Likewise.
49629         (test-strcasecmp-ENV): Likewise.
49630         (test-strncasecmp-ENV): Likewise.
49631         * time/Makefile (tst-strptime-ENV): Likewise.
49632         (tst-ftime_l-ENV): Likewise.
49633         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
49634         (tst-mbrtowc-ENV): Likewise.
49635         (tst-wcrtomb-ENV): Likewise.
49636         (tst-mbrtowc2-ENV): Likewise.
49637         (tst-c16c32-1-ENV): Likewise.
49638         (tst-mbsnrtowcs-ENV): Likewise.
49640 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
49642         * manual/resource.texi (How to get information about the memory
49643         subsystem?): Fix typo.
49644         Reported by Peon de la Parra Ivan <peon@keba.com>
49646 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
49648         [BZ #16882]
49649         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
49650         (pthread_spin_lock): Branch out of spin loop to proper location.
49651         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
49652         (pthread_spin_lock): Likewise.
49654         * nptl/tst-spin4.c: New test.
49655         * nptl/Makefile (tests): Add tst-spin4.
49657 2014-06-03  Andreas Schwab  <schwab@suse.de>
49659         [BZ #15946]
49660         * resolv/res_send.c (send_dg): Reload file descriptor after
49661         calling reopen.
49663 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
49665         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49667 2014-06-03  Richard Henderson  <rth@redhat.com>
49669         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
49670         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
49671         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
49672         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
49673         in the SAVE_PID block.
49674         (__libc_vfork): New alias.
49675         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
49677         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
49678         child in registers, not on the stack.  Remove RESET_PID conditionals.
49679         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
49681 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49683         * sysdeps/aarch64/libm-test-ulps: Regenerate.
49685 2014-06-03  Wilco  <wdijkstr@arm.com>
49687         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
49688         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
49689         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49690         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
49691         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
49692         Likewise.
49694 2014-06-03  Wilco  <wdijkstr@arm.com>
49696         * sysdeps/aarch64/fpu/math_private.h
49697         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
49698         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
49699         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
49700         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49701         Fix declarations.
49703 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
49705         * crypt/crypt-private.h: Include ufc-crypt.h.
49706         (__b64_from_24bit): Declare extern.
49707         * crypt/crypt_util.c(__b64_from_24bit): New function.
49708         (b64t): New static const variable.
49709         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
49710         (b64t): Remove variable.
49711         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
49712         * crypt/sha256-crypt.c: Include crypt-private.h.
49713         (b64t): Remove variable.
49714         (__sha256_crypt_r): Remove b64_from_24bit and replace
49715         with __b64_from_24bit.
49716         * crypt/sha512-crypt.c: Likewise.
49718 2014-06-02  Roland McGrath  <roland@hack.frob.com>
49720         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
49721         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
49722         Label the code __libc_vfork rather than __vfork.
49723         [!NOT_IN_libc] (vfork): Define as weak alias.
49724         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
49725         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
49726         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
49728 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49730         * malloc/malloc.c (malloc_info): Fix format specifier for
49731         n_mmaps.
49733 2014-06-02  Wilco  <wdijkstr@arm.com>
49735         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
49736         FPCR write.
49738 2014-06-02  Wilco  <wdijkstr@arm.com>
49740         [BZ #17009]
49741         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
49742         Rewrite to reduce FPCR/FPSR accesses.
49744 2014-06-01  David S. Miller  <davem@davemloft.net>
49746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49748 2014-05-31  David S. Miller  <davem@davemloft.net>
49750         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
49751         to occur in round to nearest mode when |x| >= 2.0
49753 2014-05-30  Richard Henderson  <rth@twiddle.net>
49755         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
49756         (PSEUDO_RET_NOERRNO): Remove.
49757         (ret): Don't redefine.
49758         (ret_NOERRNO): Define in terms of ret.
49759         (ret_ERRVAL): Likewise.
49761         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
49762         use of PSEUDO_RET; perform the error check directly.
49764 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
49766         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
49767         with __int128_t.
49769 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49771         * malloc/malloc (malloc_info): Fix formatting.
49773 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49774             Roland McGrath  <roland@hack.frob.com>
49776         * malloc/malloc (malloc_info): Also print mmapped statistics.
49778 2014-05-30  Roland McGrath  <roland@hack.frob.com>
49780         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
49781         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
49783 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
49785         * malloc/malloc.c (malloc_info): Inline mi_arena.
49787 2014-05-29  Richard Henderson  <rth@twiddle.net>
49789         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
49790         Remove comma before expanding ASM_ARGS_##nr.
49791         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
49792         Make _x0 a strict output; make _x8 a strict input; adjust expansion
49793         of ASM_ARGS_##nr.
49794         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
49795         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
49796         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
49797         (ASM_ARGS_1): Add leading comma.
49799         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
49800         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
49801         to __errno_location.
49802         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
49803         Remove the expected plt for __errno_location.
49805         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49806         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
49807         call to __read_tp.
49809         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49810         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
49811         it and break it down.
49812         (DOCARGS_0, DOCARGS_1): Do nothing.
49813         (DOCARGS_2): Update to store into the new stack frame.
49814         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
49815         (UNDOCARGS_1): Update to restore from the new stack frame.
49816         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
49817         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
49819         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49820         (SINGLE_THREAD_P): New parameter for result regno.
49821         (PSEUDO): Update to match; use cbz instead of beq.
49823         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49824         Use ENTRY to define the _nocancel entry point.  Share the syscall
49825         and syscall error check paths with the cancel path.
49826         (PSEUDO_END): New.
49828         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
49829         whitespace; tabs before and after asm mnemonics.
49831 2014-05-29  Eric Wong  <normalperson@yhbt.net>
49833         [BZ #15132]
49834         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49835         Call fstat64 or stat64 internally, depending on arguments passed.
49836         Replace stat buffer argument with file descriptor argument.
49837         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
49838         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49839         Pass fd to __internal_statvfs instead of calling fstat64.
49840         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
49841         Pass fd to __internal_statvfs64 instead of calling fstat64.
49842         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
49843         Pass -1 to __internal_statvfs instead of calling stat64.
49844         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
49845         Pass -1 to __internal_statvfs64 instead of calling stat64.
49847 2014-05-28  Roland McGrath  <roland@hack.frob.com>
49849         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
49850         that was previously under [RESET_PID].
49851         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
49853         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
49854         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
49856 2014-05-27  Roland McGrath  <roland@hack.frob.com>
49858         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
49860         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
49861         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
49863 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
49865         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
49867 2014-05-27  Andreas Schwab  <schwab@suse.de>
49869         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
49870         TLS_INIT_TP macro.
49871         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
49872         * elf/rtld.c (init_tls, dl_main): Likewise.
49873         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
49874         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
49875         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
49876         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
49877         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
49878         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
49879         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
49880         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
49881         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
49882         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
49883         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
49884         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
49885         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
49886         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
49887         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
49888         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
49889         * sysdeps/generic/tls.h: Update description.
49891 2014-05-27  Will Newton  <will.newton@linaro.org>
49893         [BZ #16990]
49894         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
49895         and restore r2 rather than just restoring.
49897 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49899         [BZ #16724]
49900         * libio/tst-ftell-append.c: New test case.
49901         * libio/Makefile (tests): Add test case.
49902         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
49903         append mode.
49904         * libio/wfileops.c (do_ftell_wide): Likewise.
49906 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49910         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
49911         ...
49912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
49913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49914         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
49915         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
49916         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
49917         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
49918         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
49919         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
49920         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
49921         Moved ...
49922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
49923         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
49924         Moved ...
49925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
49926         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
49927         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
49928         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
49929         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
49930         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
49931         ...
49932         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
49933         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
49934         Moved ...
49935         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
49936         here.
49937         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
49938         ...
49939         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
49940         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
49941         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
49943         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
49944         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
49945         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
49946         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
49948         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
49949         merge into ...
49950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
49951         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
49952         ...
49953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
49954         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
49955         ...
49956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
49957         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
49958         Moved ...
49959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
49960         here.
49961         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
49962         Moved ...
49963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
49964         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
49965         Moved ...
49966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
49968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
49969         conditional [RESET_PID].
49970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
49971         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
49972         removed.
49973         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
49974         removed.
49976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
49977         <tcb-offsets.h>.
49978         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49979         (__libc_vfork): New strong alias.
49980         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
49981         removed.
49982         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
49983         Removed.
49985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
49986         <tcb-offsets.h>.
49987         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
49988         (__libc_vfork): New strong alias.
49989         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
49990         removed.
49991         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
49992         removed.
49994 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
49996         * malloc/malloc.c (mi_arena): New function.
49997         (malloc_info): Remove nested function mi_arena. Call non-nosted
49998         function mi_arena.
50000 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50002         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
50003         by insrwi.
50004         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
50005         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
50006         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
50007         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
50008         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
50009         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
50010         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
50012 2014-05-26  Andreas Schwab  <schwab@suse.de>
50014         [BZ #16984]
50015         * locale/programs/repertoire.c (repertoire_read): Add slash
50016         between I18NPATH element and file name.
50017         * locale/programs/locfile.c (locfile_read): Likewise.
50019 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
50021         * nptl/pthread_mutexattr_settype.c
50022         (__pthread_mutexattr_settype):
50023         Disable lock elision for PTHREAD_MUTEX_NORMAL.
50025 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
50027         * nptl/tst-mutex5 (do_test):
50028         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
50030 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50032         * benchtests/README: Document 'init' directive.
50033         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
50034         BENCH_INIT.
50035         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
50036         (parse_file): Recognize 'init' directive.
50038 2014-05-26  Kyle McMartin  <kyle@redhat.com>
50040         [BZ #16796]
50041         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
50042         alignment of struct pthread.
50044 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50046         [BZ #16878]
50047         * nscd/netgroupcache.c (addgetnetgrentX): Look for
50048         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50049         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
50050         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50052 2014-05-25  Richard Henderson  <rth@twiddle.net>
50054         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50055         (SINGLE_THREAD_P_PIC): Remove.
50056         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
50057         (SINGLE_THREAD_P_PIC): Remove.
50059         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
50060         branch to syscall error ...
50061         (PSEUDO): ... here.
50062         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
50063         from __local_syscall_error to .Lsyscall_error.
50064         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
50065         (SYSCALL_ERROR): Update label name.
50067         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50068         Do not use DOARGS/UNDOARGS.
50069         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
50070         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
50071         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
50072         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
50073         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
50075         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
50076         block comment.
50078         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
50079         define if !NOT_IN_libc.
50080         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
50081         define with non-default symbol versions.
50083 2014-05-23  Richard Henderson  <rth@twiddle.net>
50085         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
50086         (vfork, __vfork): Define via compat_symbol.
50088         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
50089         [!HAVE_IFUNC] (vfork_compat): Remove.
50090         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
50092 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
50094         [BZ #16978]
50095         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
50096         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
50097         variable.
50099 2014-05-23  Richard Henderson  <rth@twiddle.net>
50101         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
50102         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
50103         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
50104         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
50106         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
50107         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
50108         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
50109         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
50110         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
50111         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
50112         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
50113         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
50114         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
50115         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
50116         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
50117         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
50118         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
50119         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
50120         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
50121         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
50122         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
50123         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
50124         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
50125         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
50126         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
50127         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
50128         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
50129         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
50130         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
50131         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
50132         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
50133         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
50134         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
50135         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
50136         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
50137         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
50138         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
50139         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
50140         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
50141         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
50142         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
50143         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
50144         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
50145         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
50146         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
50147         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
50148         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
50149         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
50150         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
50151         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
50152         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
50153         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
50154         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
50155         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
50156         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
50157         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
50158         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
50159         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
50160         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
50161         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
50163         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
50164         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
50165         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
50166         before exiting on error.
50167         (__libc_vfork): New strong alias.
50168         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
50169         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
50171         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
50172         that was previously under [RESET_PID].
50173         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
50175         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
50177 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
50179         [BZ #16977]
50180         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
50181         value when x - 1 is zero.
50182         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
50183         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
50184         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
50185         0.0L for an argument of 1.0L.
50186         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
50187         Likewise.
50188         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
50189         value when x - 1 is zero.
50190         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
50191         * sysdeps/i386/fpu/libm-test-ulps: Update.
50192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50194 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
50196         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
50197         alphasort and versionsort.
50199 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50201         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
50202         macro.
50203         [copysignf]: Likewise.
50205 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50207         * crypt/md5-crypt.c: Fix formatting.
50209 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
50211         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
50212         (b64_from_24bit): New function.
50214 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50216         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
50217         libc_hidden_builtin_def to ifunc.
50218         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
50219         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
50221 2014-05-21  Roland McGrath  <roland@hack.frob.com>
50223         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
50224         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
50226 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
50228         * nscd/Depend (linuxthreads): Remove.
50229         (nptl): Add.
50230         * resolv/Depend (linuxthreads): Remove.
50231         * rt/Depend (linuxthreads): Remove.
50233         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
50234         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
50235         $(common-objpfx)elf/.
50236         (link-libc-before-gnulib): Likewise.
50237         (elfobjdir): Remove variable.
50238         * Makefile (install): Use $(elf-objpfx) instead of
50239         $(common-objpfx)elf/.
50240         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
50241         $(elfobjdir)/.
50242         (link-libc-deps): Likewise.
50243         ($(common-objpfx)libc.so): Likewise.
50244         ($(common-objpfx)linkobj/libc.so): Likewise.
50245         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
50246         instead of $(common-objpfx)elf/.
50247         (symbolic-link-list): Likewise.
50248         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50249         [$(cross-compiling) = no]: Likewise.
50250         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
50251         $(elfobjdir)/.
50252         (static-gnulib-arch): Likewise.
50253         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50254         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
50255         $(common-objpfx)elf/.
50257 2014-05-21  Richard Henderson  <rth@redhat.com>
50259         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50260         (SINGLE_THREAD_P): Use the correct width load.  Fold
50261         into the ldr offset.
50263         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
50264         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
50266 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
50268         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
50269         (libgcc_s_resume): Use __attribute_used__.
50270         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
50271         Likewise.
50273 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50275         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
50276         optimization when used with float constants.
50278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50280 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
50282         [BZ #16915]
50283         * locale/nl_langinfo_l.c: Make direct reference to every
50284         _nl_current_CATEGORY symbol.
50285         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
50286         (tests-static): Add tst-langinfo-static.
50287         (tests-special): Add tst-langinfo-static.out.
50288         ($(objpfx)tst-langinfo.out): Redirect output.
50289         ($(objpfx)tst-langinfo-static.out): New.
50290         * localedata/tst-langinfo.sh: Send output to stdout.
50291         * localedata/tst-langinfo-static.c: New file.
50293         [BZ #16965]
50294         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
50295         when the shift amount is modulo the limb size.
50297 2014-05-20  Richard Henderson  <rth@redhat.com>
50299         [BZ #16967]
50300         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
50301         Change type of sa_flags from unsigned int to int.
50303         [BZ #16966]
50304         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
50306         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
50308 2014-05-20  Will Newton  <will.newton@linaro.org>
50310         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50311         Test the return value of the system call in the nocancel case.
50313 2014-05-20  Will Newton  <will.newton@linaro.org>
50314             Yvan Roux  <yvan.roux@linaro.org>
50316         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
50317         #include of asm/ptrace.h.
50318         (PTRACE_GET_THREAD_AREA): Remove #undef.
50319         (PTRACE_GETHBPREGS): Likewise.
50320         (PTRACE_SETHBPREGS): Likewise.
50321         (struct user_regs_struct): New structure.
50322         (struct user_fpsimd_struct): New structure.
50323         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
50324         #include of asm/ptrace.h and second #include of sys/user.h.
50325         (PTRACE_GET_THREAD_AREA): Remove #undef.
50326         (PTRACE_GETHBPREGS): Likewise.
50327         (PTRACE_SETHBPREGS): Likewise.
50328         (ELF_NGREG): Use new struct user_regs_struct.
50329         (elf_fpregset_t): Use new struct user_fpsimd_struct.
50331 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50333         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
50334         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
50336 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
50338         [BZ #16958]
50339         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
50340         membar to avoid block loads/stores to overlap previous stores.
50342 2014-05-17  Richard Henderson  <rth@redhat.com>
50344         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
50345         Create the __##syscall_name##_nocancel entry point.
50346         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
50347         Remove; let the sysdep-cancel.h code create it.
50349 2014-05-17  David S. Miller  <davem@davemloft.net>
50351         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
50352         Protect with __USE_GNU.
50353         (TIOCSET_TEMPT): Likewise.
50354         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
50355         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
50356         these are already provided in bits/ioctl-types.h
50358 2014-05-16  Roland McGrath  <roland@hack.frob.com>
50360         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
50361         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
50363         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
50364         Use wait4 regardless of [__NR_waitpid].
50366 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50368         PR libgcc/60166
50369         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50370         (_FP_NANSIGN_Q): Set the quiet bit.
50372 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
50374         * benchtests/Makefile
50375         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
50376         not $(common-objpfx)math/libm.so.
50377         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
50378         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
50379         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
50380         $(common-objpfx)dlfcn/libdl.so.
50381         ($(objpfx)tst-audit8): Depend on $(libm), not
50382         $(common-objpfx)math/libm.so.
50383         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
50384         not $(common-objpfx)dlfcn/libdl.so.
50385         * math/Makefile
50386         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50387         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
50388         [$(build-shared) = yes].
50389         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
50390         $(common-objpfx)nptl/libpthread.so.
50391         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
50392         $(common-objpfx)math/libm.so$(libm.so-version) or
50393         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
50394         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
50395         $(common-objpfx)dlfcn/libdl.so.
50396         * setjmp/Makefile (link-libm): Remove variable.
50397         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
50398         * stdio-common/Makefile (link-libm): Remove variable.
50399         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
50400         * stdlib/Makefile (link-libm): Remove variable.
50401         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
50402         ($(objpfx)tst-strtod-round): Likewise.
50403         ($(objpfx)tst-tininess): Likewise.
50404         ($(objpfx)tst-strtod-underflow): Likewise.
50405         ($(objpfx)tst-strtod6): Likewise.
50406         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
50407         $(libdl), not $(common-objpfx)nptl/libpthread.so and
50408         $(common-objpfx)dlfcn/libdl.so.
50410 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50412         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
50413         BSD terminal modes definitions.
50415 2014-05-16  Roland McGrath  <roland@hack.frob.com>
50417         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
50418         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
50420         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
50421         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
50422         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
50423         Don't do #include_next.
50424         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
50425         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
50426         Don't do #include_next.
50427         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
50428         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
50429         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
50430         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
50432 2014-05-16  Allan McRae  <allan@archlinux.org>
50434         * po/sv.po: Update Swedish translation from translation project.
50436         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
50437         in sed expression.
50439 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
50441         [BZ #16917]
50442         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
50443         errno if the TIOCGPTN ioctl fails with an error different than
50444         EINVAL.
50445         * login/tst-ptsname.c: New file.
50446         * login/Makefile (tests): Add tst-ptsname.
50448         [BZ #16943]
50449         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
50450         and prlimit64.
50452 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50454         [BZ #16849]
50455         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
50456         herrno to return EAI_AGAIN.
50458 2014-05-14  Roland McGrath  <roland@hack.frob.com>
50460         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
50461         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
50462         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
50463         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
50464         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
50465         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
50466         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
50467         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
50468         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
50469         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
50470         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
50471         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
50472         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
50473         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
50474         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
50475         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
50476         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
50477         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
50478         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
50479         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
50480         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
50481         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
50482         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
50483         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
50484         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
50485         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
50486         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
50487         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
50488         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
50489         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
50490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
50491         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
50492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
50493         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
50494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50495         Moved ...
50496         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
50497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
50498         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
50499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
50500         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
50501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
50502         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
50503         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
50504         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
50505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
50506         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
50507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
50508         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
50509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
50510         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
50511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
50512         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
50513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
50514         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
50515         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
50516         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
50517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
50518         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
50519         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
50520         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
50521         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
50522         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
50523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50524         Moved ...
50525         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
50526         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
50527         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
50528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
50529         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
50530         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
50531         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
50532         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
50533         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
50534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
50535         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
50536         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
50537         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
50538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
50539         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
50540         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
50541         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
50542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
50543         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
50544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50545         Moved ...
50546         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
50547         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
50548         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
50550         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
50551         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
50552         (libpthread-sysdep_routines): Add elision-related stuff here instead.
50553         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
50554         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
50555         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
50556         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
50557         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
50558         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
50559         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
50560         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
50561         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
50562         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
50563         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
50564         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
50565         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
50566         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
50567         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
50568         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
50569         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
50570         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
50571         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
50572         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
50573         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
50574         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
50575         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
50576         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
50577         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
50578         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
50579         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
50580         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
50582         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
50583         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
50585         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
50586         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
50587         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
50588         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
50589         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
50590         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
50591         Moved ...
50592         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
50593         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
50594         Moved ...
50595         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
50596         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
50597         Moved ...
50598         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
50599         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
50600         Moved ...
50601         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
50602         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
50603         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
50604         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
50605         Moved ...
50606         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
50607         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
50608         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
50609         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
50610         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
50611         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
50612         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
50613         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
50614         Moved ...
50615         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
50616         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50617         Moved ...
50618         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50619         ... here.
50620         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
50621         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
50622         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
50623         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
50624         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50625         Moved ...
50626         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50627         ... here.
50628         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
50629         Moved ...
50630         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
50631         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
50632         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
50633         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
50634         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
50635         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
50636         Moved ...
50637         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
50638         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
50639         Moved ...
50640         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
50641         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
50642         Moved ...
50643         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
50644         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
50645         Moved ...
50646         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
50647         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
50648         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
50649         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
50650         Moved ...
50651         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
50652         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
50653         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
50654         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
50655         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
50656         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
50657         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
50658         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
50659         Moved ...
50660         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
50661         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50662         Moved ...
50663         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50664         ... here.
50665         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
50666         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
50667         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
50668         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
50669         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50670         Moved ...
50671         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50672         ... here.
50673         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
50674         Moved ...
50675         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
50676         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
50677         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
50678         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
50679         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
50680         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
50681         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
50682         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
50683         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
50684         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
50685         Moved ...
50686         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
50687         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
50688         Moved ...
50689         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
50690         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
50691         Moved ...
50692         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
50693         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
50694         Moved ...
50695         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
50696         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
50697         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
50698         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
50699         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
50700         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
50701         Moved ...
50702         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
50703         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
50704         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
50705         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
50706         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
50707         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
50708         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
50709         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
50710         Moved ...
50711         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
50712         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50713         Moved ...
50714         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50715         ... here.
50716         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
50717         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
50718         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
50719         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
50720         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50721         Moved ...
50722         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50723         ... here.
50724         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
50725         Moved ...
50726         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
50727         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
50728         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
50729         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
50730         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
50731         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
50732         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
50733         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
50734         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
50735         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
50736         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
50738         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
50739         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
50741         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
50742         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
50744         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
50745         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
50746         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
50747         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
50748         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
50749         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
50750         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
50751         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
50752         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
50753         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
50754         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
50755         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
50756         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
50757         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
50758         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
50759         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
50760         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
50761         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
50762         Moved ...
50763         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
50764         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
50765         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
50766         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
50767         Moved ...
50768         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
50769         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
50770         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
50771         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
50772         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
50773         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
50774         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
50775         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
50776         Moved ...
50777         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
50778         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
50779         Moved ...
50780         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
50781         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
50782         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
50783         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
50784         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
50785         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
50786         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
50787         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
50788         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
50789         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
50790         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
50791         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
50792         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
50793         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
50794         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
50795         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
50796         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
50798         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
50799         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
50800         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
50801         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
50802         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
50804         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
50805         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
50806         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
50807         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
50808         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
50809         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
50810         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
50811         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
50812         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
50813         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
50815         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
50816         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
50818         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
50819         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
50820         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
50821         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
50822         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
50823         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
50824         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
50825         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
50826         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
50827         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
50828         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
50829         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
50830         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
50831         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
50832         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
50833         Update #include.
50834         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
50835         Likewise.
50836         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
50837         Likewise.
50838         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
50839         Likewise.
50840         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
50841         Likewise.
50842         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
50843         Likewise.
50844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
50845         Likewise.
50846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
50847         Likewise.
50848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
50849         Likewise.
50850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
50851         Likewise.
50852         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
50853         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
50854         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
50855         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
50856         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
50857         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
50858         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
50859         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
50860         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
50861         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
50862         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
50863         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
50864         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
50865         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
50866         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
50868         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
50869         that was previously under [RESET_PID].
50870         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
50871         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
50872         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
50874         * sysdeps/i386/nptl/Implies: New file.
50875         * sysdeps/x86_64/nptl/Implies: New file.
50876         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
50877         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
50878         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
50879         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
50881         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
50882         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50883         (__libc_vfork): New strong alias.
50884         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
50885         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
50887         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
50888         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50889         (__libc_vfork): New strong alias.
50890         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
50891         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
50893         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
50894         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50895         (__libc_vfork): New strong alias.
50896         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
50897         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
50898         * nptl/pt-vfork.c: New file.
50899         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
50900         (libpthread: GLIBC_2.20): New version set (empty).
50902 2014-05-14  Will Newton  <will.newton@linaro.org>
50904         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
50905         rather than #if.
50907 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
50909         [BZ #16564]
50910         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
50911         arguments with exponent 65 or above.
50912         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
50913         arguments 0x1p113L or above.
50914         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
50915         to arguments 0x1p107L or above.
50916         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
50917         positive arguments with exponent 65 or above.
50918         * math/auto-libm-test-in: Add more tests of log1p.
50919         * math/auto-libm-test-out: Regenerated.
50921         [BZ #16928]
50922         * math/s_cacos.c (__cacos): Ensure zero real part of result from
50923         non-finite arguments is +0.
50924         * math/s_cacosf.c (__cacosf): Likewise.
50925         * math/s_cacosl.c (__cacosl): Likewise.
50926         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
50927         * sysdeps/i386/fpu/libm-test-ulps: Update.
50928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50930         [BZ #16927]
50931         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
50932         value.
50933         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
50934         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
50935         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
50936         for explicit high bit of mantissa when testing for argument equal
50937         to 1.
50938         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
50939         * sysdeps/i386/fpu/libm-test-ulps: Update.
50940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50942         [BZ #16516]
50943         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
50944         (__erf): Scale by 16 instead of 8 in potentially underflowing
50945         case.  Ensure exception if result actually underflows.
50946         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
50947         (__erff): Scale by 16 instead of 8 in potentially underflowing
50948         case.  Ensure exception if result actually underflows.
50949         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
50950         (efx8): Remove variable.
50951         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50952         case.  Ensure exception if result actually underflows.
50953         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
50954         (efx8): Remove variable.
50955         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50956         case.  Ensure exception if result actually underflows.
50957         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
50958         (efx8): Remove variable.
50959         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50960         case.  Ensure exception if result actually underflows.
50961         * math/auto-libm-test-in: Add more tests of erf.
50962         * math/auto-libm-test-out: Regenerated.
50964 2014-05-14  Andreas Schwab  <schwab@suse.de>
50966         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
50967         Remove code conditionalized on USE___THREAD.
50969         * config.h.in (HAVE_PT_CHOWN): Define as 0.
50970         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
50971         not definedness.
50973 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
50975         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
50976         Define unconditionally.
50977         (__ASSUME_O_CLOEXEC): Likewise.
50978         (__ASSUME_SOCK_CLOEXEC): Likewise.
50979         (__ASSUME_IN_NONBLOCK): Likewise.
50980         (__ASSUME_PIPE2): Likewise.
50981         (__ASSUME_EVENTFD2): Likewise.
50982         (__ASSUME_SIGNALFD4): Likewise.
50983         (__ASSUME_DUP3): Likewise.
50984         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50985         (__ASSUME_DUP3): Do not define.
50986         (__ASSUME_EVENTFD2): Likewise.
50987         (__ASSUME_IN_NONBLOCK): Likewise.
50988         (__ASSUME_O_CLOEXEC): Likewise.
50989         (__ASSUME_PIPE2): Likewise.
50990         (__ASSUME_SIGNALFD4): Likewise.
50991         (__ASSUME_SOCK_CLOEXEC): Likewise.
50992         (__ASSUME_UTIMES): Undefine.
50993         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50994         (__ASSUME_UTIMES): Do not define.
50995         (__ASSUME_O_CLOEXEC): Likewise.
50996         (__ASSUME_SOCK_CLOEXEC): Likewise.
50997         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
50998         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
50999         0x020621].
51000         (__ASSUME_PIPE2): Likewise.
51001         (__ASSUME_EVENTFD2): Likewise.
51002         (__ASSUME_SIGNALFD4): Likewise.
51003         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
51004         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
51005         Do not define.
51006         (__ASSUME_EVENTFD2): Likewise.
51007         (__ASSUME_SIGNALFD4): Likewise.
51008         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
51009         (__ASSUME_32BITUIDS): Likewise.
51010         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
51011         (__ASSUME_IPC64): Likewise.
51012         (__ASSUME_ST_INO_64_BIT): Likewise.
51013         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
51014         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
51015         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51016         (__ASSUME_UTIMES): Do not define.
51017         (__ASSUME_PSELECT): Likewise.
51018         (__ASSUME_PPOLL): Likewise.
51019         (__ASSUME_O_CLOEXEC): Likewise.
51020         (__ASSUME_SOCK_CLOEXEC): Likewise.
51021         (__ASSUME_IN_NONBLOCK): Likewise.
51022         (__ASSUME_PIPE2): Likewise.
51023         (__ASSUME_EVENTFD2): Likewise.
51024         (__ASSUME_SIGNALFD4): Likewise.
51025         (__ASSUME_DUP3): Likewise.
51026         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51027         (__ASSUME_UTIMES): Likewise.
51028         (__ASSUME_O_CLOEXEC): Likewise.
51029         (__ASSUME_SOCK_CLOEXEC): Likewise.
51030         (__ASSUME_IN_NONBLOCK): Likewise.
51031         (__ASSUME_PIPE2): Likewise.
51032         (__ASSUME_EVENTFD2): Likewise.
51033         (__ASSUME_SIGNALFD4): Likewise.
51034         (__ASSUME_DUP3): Likewise.
51035         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51036         (__ASSUME_UTIMES): Likewise.
51037         (__ASSUME_O_CLOEXEC): Likewise.
51038         (__ASSUME_SOCK_CLOEXEC): Likewise.
51039         (__ASSUME_IN_NONBLOCK): Likewise.
51040         (__ASSUME_PIPE2): Likewise.
51041         (__ASSUME_EVENTFD2): Likewise.
51042         (__ASSUME_SIGNALFD4): Likewise.
51043         (__ASSUME_DUP3): Likewise.
51044         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
51045         Likewise.
51046         (__ASSUME_UTIMES): Likewise.
51047         (__ASSUME_EVENTFD2): Likewise.
51048         (__ASSUME_SIGNALFD4): Likewise.
51049         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51050         (__ASSUME_O_CLOEXEC): Likewise.
51051         (__ASSUME_SOCK_CLOEXEC): Likewise.
51052         (__ASSUME_IN_NONBLOCK): Likewise.
51053         (__ASSUME_PIPE2): Likewise.
51054         (__ASSUME_EVENTFD2): Likewise.
51055         (__ASSUME_SIGNALFD4): Likewise.
51056         (__ASSUME_DUP3): Likewise.
51057         (__ASSUME_UTIMES): Undefine.
51059         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
51060         feclearexcept.  Remove symbol versioning code.
51061         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
51062         symbol versioning code.
51063         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
51064         symbol versioning code.
51065         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
51066         feupdateenv.  Remove symbol versioning code.
51067         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
51068         fegetexceptflag.  Remove symbol versioning code.
51069         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
51070         fesetexceptflag.  Remove symbol versioning code.
51071         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
51072         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
51073         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
51074         (__posix_fadvise64_l32): Remove prototype.
51075         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
51076         code.
51078 2014-05-13  Roland McGrath  <roland@hack.frob.com>
51080         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
51081         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
51082         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
51083         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
51085 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
51087         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
51088         current working directory
51090 2014-05-13  Roland McGrath  <roland@hack.frob.com>
51092         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
51093         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
51094         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
51095         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
51096         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
51097         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
51098         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
51099         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
51100         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
51101         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
51102         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
51103         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
51104         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
51105         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
51106         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
51107         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
51108         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
51109         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
51110         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
51111         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
51112         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
51113         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
51114         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
51115         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
51116         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
51117         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
51118         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
51119         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
51120         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
51121         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
51122         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
51123         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
51124         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
51125         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
51126         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
51127         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
51128         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
51129         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
51130         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
51131         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
51132         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
51133         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
51135         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
51136         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
51138         * sysdeps/unix/sysv/linux/arm/Makefile
51139         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
51140         Add rt-aeabi_unwind_cpp_pr1.
51141         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
51142         Add nptl-aeabi_unwind_cpp_pr1.
51143         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
51144         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
51145         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
51146         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
51147         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
51148         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
51150         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
51151         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
51152         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
51153         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
51155         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
51156         Deconditionalize the code that was previously under [RESET_PID].
51157         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
51159         * sysdeps/generic/exit-thread.h: New file.
51160         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
51161         * include/unistd.h (__exit_thread): Remove declaration.
51162         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
51163         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
51164         * csu/libc-start.c: Include <exit-thread.h>.
51165         (LIBC_START_MAIN): Pass no argument to __exit_thread.
51166         * nptl/pthread_create.c: Include <exit-thread.h>.
51167         (start_thread): Call __exit_thread in place of __exit_thread_inline.
51168         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
51169         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
51170         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
51171         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
51172         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
51173         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
51174         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
51175         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
51176         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
51177         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
51178         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
51179         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
51180         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
51181         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
51182         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
51183         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
51185 2014-05-13  Andreas Schwab  <schwab@suse.de>
51187         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
51189 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
51191         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
51192         (__ASSUME_UTIMES): Do not condition on kernel version.
51193         (__ASSUME_PSELECT): Define unconditionally.
51194         (__ASSUME_PPOLL): Likewise.
51195         (__ASSUME_ATFCTS): Likewise.
51196         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
51197         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
51198         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
51199         (__ASSUME_UTIMENSAT): Define unconditionally.
51200         (__ASSUME_PRIVATE_FUTEX): Likewise.
51201         (__ASSUME_FALLOCATE): Likewise.
51202         (__ASSUME_O_CLOEXEC): Likewise.
51203         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
51204         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
51205         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
51206         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
51207         (__ASSUME_IN_NONBLOCK): Likewise.
51208         (__ASSUME_PIPE2): Likewise.
51209         (__ASSUME_EVENTFD2): Likewise.
51210         (__ASSUME_SIGNALFD4): Likewise.
51211         (__ASSUME_DUP3): Likewise.
51212         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51213         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
51214         (__ASSUME_AT_RANDOM): Likewise.
51215         (__ASSUME_PREADV): Likewise.
51216         (__ASSUME_PWRITEV): Likewise.
51217         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
51218         (__ASSUME_F_GETOWN_EX): Define unconditionally.
51219         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
51220         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
51221         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
51222         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51223         (__ASSUME_O_CLOEXEC): Define unconditionally.
51224         (__ASSUME_PSELECT): Do not undefine conditionally.
51225         (__ASSUME_PPOLL): Likewise.
51226         (__ASSUME_ATFCTS): Likewise.
51227         (__ASSUME_SET_ROBUST_LIST): Likewise.
51228         (__ASSUME_UTIMENSAT): Likewise.
51229         (__ASSUME_FDATASYNC): Define unconditionally.
51230         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51231         (__ASSUME_SIGFRAME_V2): Likewise.
51232         )__ASSUME_EVENTFD2): Likewise.
51233         (__ASSUME_SIGNALFD4): Likewise.
51234         (__ASSUME_PSELECT): Do not undefine conditionally.
51235         (__ASSUME_PPOLL): Likewise.
51236         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51237         (__ASSUME_PSELECT): Define unconditionally.
51238         (__ASSUME_PPOLL): Likewise.
51239         (__ASSUME_O_CLOEXEC): Likewise.
51240         (__ASSUME_SOCK_CLOEXEC): Likewise.
51241         (__ASSUME_IN_NONBLOCK): Likewise.
51242         (__ASSUME_PIPE2): Likewise.
51243         (__ASSUME_EVENTFD2): Likewise.
51244         (__ASSUME_SIGNALFD4): Likewise.
51245         (__ASSUME_DUP3): Likewise.
51246         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51247         (__ASSUME_O_CLOEXEC): Likewise.
51248         (__ASSUME_SOCK_CLOEXEC): Likewise.
51249         (__ASSUME_IN_NONBLOCK): Likewise.
51250         (__ASSUME_PIPE2): Likewise.
51251         (__ASSUME_EVENTFD2): Likewise.
51252         (__ASSUME_SIGNALFD4): Likewise.
51253         (__ASSUME_DUP3): Likewise.
51254         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51255         (__ASSUME_EVENTFD2): Likewise.
51256         (__ASSUME_SIGNALFD4): Likewise.
51257         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51259 2014-05-12  Andreas Schwab  <schwab@suse.de>
51261         [BZ #16932]
51262         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
51263         (_nss_nis_gethostbyname4_r): Return error if item length is larger
51264         than maximum RPC packet size.
51265         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
51266         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
51267         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
51268         (_nss_nis_getservbyport_r): Likewise.
51270 2014-05-12  Will Newton  <will.newton@linaro.org>
51272         * malloc/Makefile (tests): Add tst-mallopt.
51273         * malloc/tst-mallopt.c: New file.
51275 2014-05-09  Roland McGrath  <roland@hack.frob.com>
51277         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
51278         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
51280 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51282         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
51283         (tst-tlsmod6.so): Likewise.
51285 2014-05-09  Roland McGrath  <roland@hack.frob.com>
51287         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
51289 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
51291         [BZ #16064]
51292         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
51293         and <dl-procinfo.h>.
51294         (__fegetenv): Save SSE state in envp->__eip if supported.
51295         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
51296         envp->__eip if supported.
51297         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
51298         and <dl-procinfo.h>.
51299         (__fesetenv): Always set __eip, __cs_selector, __opcode,
51300         __data_offset and __data_selector in environment to 0.  Set SSE
51301         state if supported.
51302         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
51303         test-fenv-sse.
51304         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
51305         -mfpmath=sse.
51306         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
51308 2014-05-09  Will Newton  <will.newton@linaro.org>
51310         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
51311         and libc_relro_required for ARM.
51312         * sysdeps/arm/preconfigure: Regenerate.
51314 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
51315             Stefan Liebler  <stli@linux.vnet.ibm.com>
51317         * config.make.in (enable-lock-elision): New Makefile variable.
51318         * configure.ac: Likewise.
51319         * configure: Regenerate.
51320         * sysdeps/s390/configure.ac:
51321         Add check for gcc transactions support.
51322         * sysdeps/s390/configure: Regenerate.
51323         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
51324         Build elision files if enabled.
51325         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
51326         Add lock elision support for s390.
51327         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
51328         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
51329         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
51330         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
51331         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
51332         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
51333         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
51334         Likewise.
51335         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
51336         Likewise.
51337         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
51338         Likewise.
51339         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
51340         Likewise.
51341         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
51342         (__lll_timedlock_elision, __lll_lock_elision)
51343         (__lll_unlock_elision, __lll_trylock_elision)
51344         (lll_timedlock_elision, lll_lock_elision)
51345         (lll_unlock_elision, lll_trylock_elision): Add.
51346         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51347         (pthread_mutex_t): Add lock elision support for s390.
51349 2014-05-14  Wilco  <wdijkstr@arm.com>
51351         * sysdeps/arm/fclrexcpt.c: Cleanup.
51352         * sysdeps/arm/fedisblxcpt.c: Cleanup.
51353         * sysdeps/arm/feenablxcpt.c: Cleanup.
51354         * sysdeps/arm/fegetenv.c: Cleanup.
51355         * sysdeps/arm/fegetexcept.c: Cleanup.
51356         * sysdeps/arm/fegetround.c: Cleanup.
51357         * sysdeps/arm/feholdexcpt.c: Cleanup.
51358         * sysdeps/arm/fesetenv.c: Cleanup.
51359         * sysdeps/arm/fesetround.c: Cleanup.
51360         * sysdeps/arm/feupdateenv.c: Cleanup.
51361         * sysdeps/arm/fgetexcptflg.c: Cleanup.
51362         * sysdeps/arm/fraiseexcpt.c: Cleanup.
51363         * sysdeps/arm/fsetexcptflg.c: Cleanup.
51364         * sysdeps/arm/ftestexcept.c: Cleanup.
51365         * sysdeps/arm/get-rounding-mode.h: Cleanup.
51366         * sysdeps/arm/setfpucw.c: Cleanup.
51368 2014-05-09  Will Newton  <will.newton@linaro.org>
51370         * sysdeps/arm/armv7/strcmp.S: New file.
51371         * NEWS: Mention addition of ARMv7 optimized strcmp.
51373 2014-05-08  Roland McGrath  <roland@hack.frob.com>
51375         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
51376         look for %.ac rather than %.in.
51378         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
51379         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
51380         * sysdeps/mach/hurd/configure: Regenerated.
51381         * sysdeps/unix/sysv/linux/configure: Regenerated.
51383         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
51385 2014-05-07  Steve Ellcey  <sellcey@mips.com>
51387         [BZ #16922]
51388         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
51389         (LONG_SUB): Ditto.
51390         (PTR_SUB): Ditto.
51392 2014-05-07  Andreas Schwab  <schwab@suse.de>
51394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
51395         when skipping over non-matching result from nscd.
51397 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
51399         [BZ #16876]
51400         * nptl/sockperf.c (client): Check socket return value.
51402         [BZ #16877]
51403         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
51404         nscd security class.
51406 2014-05-06  Roland McGrath  <roland@hack.frob.com>
51408         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
51409         * sysdeps/arm/unwind.h: ... here.
51411 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
51413         [BZ #16916]
51414         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
51415         Define.
51417 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51419         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
51420         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
51421         multiarch strncpy for PPC64.
51422         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
51423         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
51424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
51425         multiarch optimizations.
51426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51427         (__libc_ifunc_impl_list): Likewise.
51428         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
51429         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
51430         multiarch stpncpy for PPC64.
51431         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
51432         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
51434 2014-05-06  Andreas Schwab  <schwab@suse.de>
51436         [BZ #16912]
51437         * gmon/mcount.c (_MCOUNT_DECL): Use
51438         atomic_compare_and_exchange_bool_acq instead of
51439         catomic_compare_and_exchange_bool_acq.
51441 2014-05-05  Roland McGrath  <roland@hack.frob.com>
51443         * elf/Makefile (others, install-bin): Remove pldd.
51444         (pldd-modules): Variable removed.
51445         ($(objpfx)pldd): Target removed.
51446         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
51447         (others, install-bin): Append pldd here.
51448         ($(objpfx)pldd): New target.
51450         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
51451         to 0, so the first #if test emitted later doesn't see it undefined.
51452         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
51453         * sysdeps/gnu/errlist.c: Regenerated.
51455 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51457         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51458         [libc_hidden_builtin_def]: Define to empty value.
51459         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
51460         [libc_hidden_builtin_def]: Likewise.
51461         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
51462         [libc_hidden_builtin_def]: Likewise.
51463         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
51464         [libc_hidden_builtin_def]: Likewise.
51465         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
51466         __redirect_memcpy and define ifunc as default hidden symbol.
51467         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
51468         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
51470 2014-05-04  Adam Conrad  <adconrad@0c3.net>
51472         * locale/iso-4217.def: Reintroduce XDR currency.
51474 2014-05-04  Allan McRae  <allan@archlinux.org>
51476         * po/eo.po: Update Esperanto translation from translation project.
51478 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
51480         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
51481         and FEATURE_INDEX_MAX to 1.
51482         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
51484 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51486         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
51487         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
51488         * iconvdata/big5.c (ONE_DIRECTION): Define.
51489         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
51490         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
51491         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
51492         * iconvdata/cp932.c (ONE_DIRECTION): Define.
51493         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
51494         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
51495         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
51496         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
51497         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
51498         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
51499         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
51500         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
51501         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
51502         * iconvdata/gbk.c (ONE_DIRECTION): Define.
51503         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
51504         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
51505         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
51506         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
51507         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
51508         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
51509         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
51510         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
51511         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
51512         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
51513         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
51514         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
51515         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
51516         * iconvdata/iso646.c (ONE_DIRECTION): Define.
51517         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
51518         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
51519         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
51520         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
51521         * iconvdata/johab.c (ONE_DIRECTION): Define.
51522         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
51523         * iconvdata/sjis.c (ONE_DIRECTION): Define.
51524         * iconvdata/t.61.c (ONE_DIRECTION): Define.
51525         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
51526         * iconvdata/tscii.c (ONE_DIRECTION): Define.
51527         * iconvdata/uhc.c (ONE_DIRECTION): Define.
51528         * iconvdata/unicode.c (ONE_DIRECTION): Define.
51529         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
51530         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
51531         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
51533 2014-05-01  Roland McGrath  <roland@hack.frob.com>
51535         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
51536         (_IO_JUMPS_OFFSET): Define to 0.
51538         * nptl/sysdeps/pthread/bits/libc-lock.h
51539         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
51540         (__libc_lock_define_initialized_recursive): Always define using
51541         initializer.  Modern compilers treat uninitialized (implicit zero) and
51542         explicit zero initializers the same (i.e. put the datum in bss).
51544 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51546         * nscd/nscd-client.h: Include <string.h>.
51548 2014-05-01  David S. Miller  <davem@davemloft.net>
51550         [BZ #16885]
51551         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
51552         multiple zero bytes exist at the end of a string.
51553         Reported by Aurelien Jarno <aurelien@aurel32.net>
51555         * string/test-strcmp.c (check): Add explicit test for situations where
51556         there are multiple zero bytes after the first.
51558 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51560         [BZ #16890]
51561         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
51562         when compiling wprintf.
51563         * stdio-common/tstdiomisc.c (t3): New function.
51564         (main): Call it.
51566 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51568         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
51569         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
51570         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
51571         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
51573 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51575         * stdlib/longlong.h: Updated from GCC.
51577 2014-05-01  Will Newton  <will.newton@linaro.org>
51578             Bernard Ogden  <bernie.ogden@linaro.org>
51580         * NEWS: Update fixed bug list.
51582         [BZ #15119]
51583         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
51585 2014-04-30  David S. Miller  <davem@davemloft.net>
51587         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
51588         (libc_feholdexcept_setround_sparc_ctx): New function.
51589         (libc_fesetenv_sparc_ctx): Likewise.
51590         (libc_feupdateenv_sparc_ctx): Likewise.
51591         (libc_feholdsetround_sparc_ctx): Likewise.
51592         (libc_feholdexcept_setround_ctx): Define.
51593         (libc_feholdexcept_setroundf_ctx): Likewise.
51594         (libc_feholdexcept_setroundl_ctx): Likewise.
51595         (libc_fesetenv_ctx): Likewise.
51596         (libc_fesetenvf_ctx): Likewise.
51597         (libc_fesetenvl_ctx): Likewise.
51598         (libc_feupdateenv_ctx): Likewise.
51599         (libc_feupdateenvf_ctx): Likewise.
51600         (libc_feupdateenvl_ctx): Likewise.
51601         (libc_feresetround_ctx): Likewise.
51602         (libc_feresetroundf_ctx): Likewise.
51603         (libc_feresetroundl_ctx): Likewise.
51604         (libc_feholdsetround_ctx): Likewise.
51605         (libc_feholdsetroundf_ctx): Likewise.
51606         (libc_feholdsetroundl_ctx): Likewise.
51608         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51609         with __USE_GNU instead of XOPEN cpp guards.
51611         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
51612         0.
51614         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51615         with XOPEN cpp guards.
51617 2014-04-30  Julian Brown  <julian@codesourcery.com>
51619         [BZ #16888]
51620         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
51621         handling.
51623 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
51625         [BZ #9894]
51626         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
51627         Change to 2.6.32.
51628         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
51629         * sysdeps/unix/sysv/linux/configure: Regenerated.
51630         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
51631         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
51632         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
51633         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
51634         * README: Update reference to required Linux kernel version.
51635         * manual/install.texi (Linux): Update reference to required Linux
51636         kernel headers version.
51637         * INSTALL: Regenerated.
51639         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
51640         header inclusion.
51641         [POSIX] (limits.h): Likewise.
51642         [POSIX] (math.h): Likewise.
51643         [POSIX] (sys/wait.h): Likewise.
51644         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
51645         function.
51646         [POSIX] (stddef.h): Do not allow header inclusion.
51648 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51650         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
51652 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
51654         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
51655         Return immediately after lll_futex_wake.
51657 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51659         [BZ #16791]
51660         * nscd/nscd-client.h (datahead_init_common): Initialize entire
51661         structure.
51662         (datahead_init_pos): Call datahead_init_common early.
51663         (datahead_init_neg): Likewise.
51665         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
51666         datahead_init_neg): New functions.
51667         * nscd/aicache.c (addhstaiX): Use them.
51668         * nscd/grpcache.c (cache_addgr): Likewise.
51669         * nscd/hstcache.c (cache_addhst): Likewise.
51670         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51671         * nscd/netgroupcache.c (do_notfound): Likewise.
51672         (addgetnetgrentX): Likewise.
51673         (addinnetgrX): Likewise.
51674         * nscd/pwdcache.c (cache_addpw): Likewise.
51675         * nscd/servicescache.c (cache_addserv): Likewise.
51677 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51678             Atsushi Onoe  <atsushi@onoe.org>
51680         [BZ #14308]
51681         [BZ #12994]
51682         [BZ #13651]
51683         * resolv/res_query.c (__libc_res_nsearch): Return if at least
51684         one response is valid.
51685         * resolv/res_send.c (send_dg): Check for validity of other
51686         response if the current response is a referral.
51688 2014-04-29  Steve Ellcey  <sellcey@mips.com>
51690         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
51692 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
51694         [BZ #16823]
51695         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
51696         Always divide by positive zero when computing -Inf result.
51697         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51698         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
51700 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51702         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
51703         FPSCR if value do not change.
51704         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
51705         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
51706         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
51707         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
51708         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
51709         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
51710         function.
51712 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
51714         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
51715         * sysdeps/unix/sysv/linux/hppa: Move directory from
51716         ports/systeps/unix/sysv/linux/hppa.
51717         * README: Update listing for hppa-*-linux-gnu.
51719 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
51721         [BZ #16754]
51722         * manual/stdio.texi (Hook functions): Fix types of stream hook
51723         functions.
51724         [BZ #16854]
51725         * socket/sys/socket.h: Fix typo in comment.
51727 2014-04-28  Wilco  <wdijkstr@arm.com>
51729         * sysdeps/arm/fenv_private.h: New file.
51730         * sysdeps/arm/math_private.h: New file.
51731         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
51733 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
51735         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
51736         with __int128_t.
51737         (La_x86_64_retval): Likewise.
51739 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
51741         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
51742         fpsr if value didn't change.
51743         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
51744         to fpcr if value didn't change.
51745         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
51746         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
51747         fpsr or fpcr if value didn't change.
51748         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51749         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
51750         fpcr if value didn't change.
51751         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
51752         to fpsr if value didn't change.
51754 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51756         * nptl/tst-sem3.c: Use test-skeleton.c
51757         (main): Rename to do_test.  Use return instead of
51758         exit.
51759         * nptl/tst-sem4.c: Use test-skeleton.c
51760         (main): Rename to do_test.
51762 2014-04-22  David S. Miller  <davem@davemloft.net>
51764         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
51765         (struct sigaction): New struct member __glibc_reserved0, change
51766         type of sa_flags to int.
51768 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
51770         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
51771         (COUNT_LEADING_ZEROS_0): Define for AArch64.
51773 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51775         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
51776         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
51778 2014-04-22  Will Newton  <will.newton@linaro.org>
51779             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
51781         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
51782         (__longjmp): Add longjmp and longjmp_target SystemTap
51783         probes.
51784         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
51785         (__sigsetjmp): Add setjmp SystemTap probe.
51787 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
51789         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
51790         match manual order.
51792 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51794         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
51796         * sysdeps/powerpc/fpu/fenv_private.h
51797         (libc_feholdexcept_setroundl_ctx): Define to
51798         libc_feholdexcept_setround_ppc_ctx.
51799         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
51800         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
51801         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
51802         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
51804 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
51806         * sysdeps/aarch64/math-tests.h: New file.
51808 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
51810         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
51811         New.
51812         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51813         Check and set bit_AVX2_Usable.
51814         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
51815         macro.
51816         (bit_AVX2): Likewise.
51817         (index_AVX2_Usable): Likewise.
51818         (CPUID_AVX2): Likewise.
51819         (HAS_AVX2): Likewise.
51821 2014-04-17  Will Newton  <will.newton@linaro.org>
51823         * manual/setjmp.texi (System V contexts): Add note that
51824         calling setcontext on a context created by a call to a
51825         signal handler is undefined.  Update text to note that
51826         setcontext from a signal handler is possible but not
51827         recommended.
51829         [BZ #16629]
51830         * stdlib/tst-setcontext.c: Include signal.h.
51831         (main): Check that the signal stack before and
51832         after swapcontext is the same.
51834         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
51835         Re-implement to restore registers in user code and avoid
51836         rt_sigreturn system call.
51838 2014-04-17  Wilco  <wdijkstr@arm.com>
51840         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
51841         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
51842         * math/test-fenv.c: Skip exception trap tests on targets which only
51843         support non-stop mode.
51845 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
51846             Wilco Dijkstra  <wilco.dijkstra@arm.com>
51848         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
51849         (libc_feholdsetround_aarch64_ctx)
51850         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
51851         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
51852         (libc_feresetround_ctx, libc_feresetroundf_ctx)
51853         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
51854         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
51855         (libc_feresetround_noexl_ctx): Define.
51857 2014-04-16  Richard Henderson  <rth@redhat.com>
51859         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
51861         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
51862         unwind tables.
51864         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
51865         const from the non-libc, non-ldso copy.
51867         * sysdeps/alpha/libm-test-ulps: Regenerate.
51869 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
51870             Wilco Dijkstra  <wilco.dijkstra@arm.com>
51872         * sysdeps/aarch64/fpu/math_private.h: New file.
51874 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51876         * sysdeps/aarch64/libm-test-ulps: Regenerate.
51878 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
51880         [BZ #16275]
51881         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
51882         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
51883         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
51884         Intel MPX bound registers before _dl_profile_fixup.
51885         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
51886         registers after _dl_profile_fixup.  Save and restore bound
51887         registers bnd0/bnd1 when calling _dl_call_pltexit.
51888         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
51889         (LR_BND_OFFSET): Likewise.
51890         (LRV_BND0_OFFSET): Likewise.
51891         (LRV_BND1_OFFSET): Likewise.
51893 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51895         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
51896         to...
51897         * sysdeps/mach/hurd/i386/tls.h: ... here.
51898         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
51899         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
51900         fields.
51902 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51904         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
51906 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
51908         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51910 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
51912         [BZ #14770]
51913         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
51914         * sysdeps/s390/configure: Regenerate.
51916         [BZ #16824]
51917         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
51918         Set round-to-nearest internally to reduce error accumulation.
51920 2014-04-16  Alan Modra  <amodra@gmail.com>
51922         [BZ #16740]
51923         [BZ #16619]
51924         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
51925         * math/libm-test.inc (frexp_test_data): Add tests.
51926         * NEWS: Update fixed bug list.
51928 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51930         * benchtests/Makefile: Depend on libraries in build directory.
51931         (bench-math): Separate out math tests.
51932         (bench-pthread): Separate out pthread tests.
51933         (bench): Include math and pthread tests.
51935 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
51937         [BZ #16831]
51938         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
51939         _dl_debug_initialize.
51941         * configure.ac: Remove SELinux header check.
51942         * configure: Regenerate.
51943         * nscd/selinux.c (perms): Array of const char* to permission names.
51944         (nscd_request_avc_has_perm): Call security_deny_unknown to find
51945         default policy. Call string_to_security_class and string_to_av_perm to
51946         translate strings. Enforce default policy and call avs_has_perm with
51947         results of translated strings.
51949 2014-04-13  David S. Miller  <davem@davemloft.net>
51951         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51953 2014-04-12  Allan McRae  <allan@archlinux.org>
51955         [BZ #16838]
51956         * manual/string.texi (Collation Functions): Fix qsort argument
51957         order in example.
51958         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51960 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
51962         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
51963         Make the test a no-op if there are no exceptions defined.
51965 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
51967         * elf/Makefile (tests): make tst-dlopen-aout conditional on
51968         enable-hardcoded-path-in-tests
51970 2014-04-11  Will Newton  <will.newton@linaro.org>
51972         * benchtests/Makefile (extra-objs): Add json-lib.o.
51973         (bench-func): Tidy up JSON output.
51974         * benchtests/bench-skeleton.c: Include json-lib.h.
51975         (main): Use JSON library functions to do output of
51976         benchmark results.
51977         * benchtests/bench-timing-type.c (main): Output the
51978         timing type simply, leaving formatting to the user.
51979         * benchtests/json-lib.c: New file.
51980         * benchtests/json-lib.h: Likewise.
51982 2014-04-11  Torvald Riegel  <triegel@redhat.com>
51984         [BZ #15215]
51985         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
51986         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
51987         memory barriers.  Add comments.
51988         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
51989         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
51990         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
51991         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
51992         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
51993         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
51995 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51997         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
51998         * sysdeps/s390/s390-64/configure.ac: ... this ...
51999         * sysdeps/s390/configure.ac: ... to here.
52000         * sysdeps/s390/s390-32/configure: Delete file.
52001         * sysdeps/s390/s390-64/configure: Delete file.
52002         * sysdeps/s390/configure: Regenerate.
52004 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
52006         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
52008 2014-04-11  Will Newton  <will.newton@linaro.org>
52010         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
52011         to zero if it is not defined elsewhere.  (mtrim): Test
52012         the value of MALLOC_DEBUG with #if rather than #ifdef.
52014 2014-04-10 Torvald Riegel  <triegel@redhat.com>
52016         * benchtests/pthread_once-inputs: New file.
52017         * benchtests/pthread_once-source.c: New file.
52018         * benchtests/README: Update documentation.
52020 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
52021             H.J. Lu  <hongjiu.lu@intel.com>
52023         [BZ #16275]
52024         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
52025         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
52026         * sysdeps/x86_64/configure: Regenerated.
52027         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
52028         macro.
52029         (REGISTER_SAVE_RAX): Likewise.
52030         (REGISTER_SAVE_RCX): Likewise.
52031         (REGISTER_SAVE_RDX): Likewise.
52032         (REGISTER_SAVE_RSI): Likewise.
52033         (REGISTER_SAVE_RDI): Likewise.
52034         (REGISTER_SAVE_R8): Likewise.
52035         (REGISTER_SAVE_R9): Likewise.
52036         (REGISTER_SAVE_BND0): Likewise.
52037         (REGISTER_SAVE_BND1): Likewise.
52038         (REGISTER_SAVE_BND2): Likewise.
52039         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
52040         bound registers when calling _dl_fixup.
52042 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52044         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
52045         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
52046         of its definition.
52047         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
52048         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
52049         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
52050         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
52051         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
52052         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
52053         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
52055 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
52057         [BZ #15514]
52058         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
52059         pathconf(_PC_NAME_MAX).
52061 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52063         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
52064         Remove macro usage.
52065         (__PTHREAD_SPINS): Move definition to ...
52066         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52067         (__PTHREAD_SPINS): ... here.
52068         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52069         (__PTHREAD_SPIN): Likewise.
52070         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
52071         (__PTHREAD_SPIN): Likewise.
52072         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
52073         (__PTHREAD_SPIN): Likewise.
52074         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
52075         (__PTHREAD_SPIN): Likewise.
52076         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
52077         (__PTHREAD_SPIN): Likewise.
52078         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
52079         (__PTHREAD_SPIN): Likewise.
52080         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
52081         (__PTHREAD_SPIN): Likewise.
52082         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
52083         (__PTHREAD_SPIN): Likewise.
52084         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
52085         (__PTHREAD_SPIN): Likewise.
52086         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
52087         (__PTHREAD_SPIN): Likewise.
52088         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
52089         (__PTHREAD_SPIN): Likewise.
52090         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
52091         (__PTHREAD_SPIN): Likewise.
52093         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
52094         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
52095         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
52096         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
52097         imply folder.
52098         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
52099         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
52100         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
52101         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
52102         correct imply path.
52103         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
52104         strlen symbol for non multi-arch builds.
52105         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
52106         missing hidden_def and weak_alias.
52108 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
52110         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
52112 2014-04-07  Will Newton  <will.newton@linaro.org>
52114         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
52115         and contents.  [!_LIBC] Remove #ifndef and contents.
52116         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
52117         * string/memccpy.c (__memccpy): Use ANSI prototype.
52118         * string/memfrob.c (memfrob): Likewise.
52119         * string/strcoll.c (STRCOLL): Likewise.
52120         * string/strlen.c (strlen): Likewise.
52121         * string/strtok.c (STRTOK): Likewise.
52122         * string/strcat.c: Remove unused #include of memcopy.h.
52123         (strcat): Use ANSI prototype.
52124         * string/strchr.c: Remove unused #include of memcopy.h.
52125         (strchr): Use ANSI prototype.
52126         * string/strcmp.c: Remove unused #include of memcopy.h.
52127         (strcmp): Use ANSI prototype.
52128         * string/strcpy.c: Remove unused #include of memcopy.h.
52129         (strcpy): Use ANSI prototype.
52131 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52133         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
52134         * config.make.in (config-extra-cppflags): Set it from
52135         libc_extra_cppflags.
52136         * configure.ac (libc_extra_cflags): Make it accumulate over
52137         configure fragments.
52138         (libc_extra_cppflags): New flag.
52139         * configure. Regenerate.
52140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
52141         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
52142         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
52143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
52145         [BZ #16815]
52146         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
52147         result for FE_DOWNWARD rounding mode.
52148         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
52149         Likewise.
52150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52152 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
52154         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
52155         in function argument name.
52157 2014-04-03  David Svoboda  <svoboda@cert.org>
52159         [BZ #5666]
52160         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
52161         explicitly.
52163 2014-04-03  Roland McGrath  <roland@hack.frob.com>
52165         * elf/dl-unmap-segments.h: New file.
52166         * sysdeps/generic/ldsodefs.h
52167         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
52168         * elf/dl-close.c: Include <dl-unmap-segments.h>.
52169         * elf/dl-fptr.c: Likewise.
52170         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
52171         * sysdeps/aarch64/tlsdesc.c: Likewise.
52172         * sysdeps/arm/tlsdesc.c: Likewise.
52173         * sysdeps/i386/tlsdesc.c: Likewise.
52174         * sysdeps/tile/dl-runtime.c: Likewise.
52175         * sysdeps/x86_64/tlsdesc.c: Likewise.
52176         * elf/dl-load.h: New file.
52177         * elf/dl-load.c: Include it.
52178         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
52179         Macros moved to dl-load.h.
52180         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
52181         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
52182         Use _dl_unmap_segments in place of __munmap.
52183         Break out segment-mapping loop into ...
52184         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
52186 2014-04-03  Will Newton  <will.newton@linaro.org>
52188         * elf/dl-lookup.c (do_lookup_x): Remove comment
52189         referring to nested function and move variable
52190         declarations down to before first use.
52192 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
52194         [BZ #16799]
52195         [BZ #16800]
52196         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
52197         with 0 numerator.
52198         * math/s_catanf.c (__catanf): Likewise.
52199         * math/s_catanh.c (__catanh): Likewise.
52200         * math/s_catanhf.c (__catanhf): Likewise.
52201         * math/s_catanhl.c (__catanhl): Likewise.
52202         * math/s_catanl.c (__catanl): Likewise.
52203         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
52204         by positive zero when computing -Inf result.
52205         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
52206         (catanh_test): Likewise.
52207         * sysdeps/i386/fpu/libm-test-ulps: Update.
52208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52210         [BZ #16789]
52211         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
52212         instead of using underflowing value in computing result.
52213         * math/s_clog10.c (__clog10): Likewise.
52214         * math/s_clog10f.c (__clog10f): Likewise.
52215         * math/s_clog10l.c (__clog10l): Likewise.
52216         * math/s_clogf.c (__clogf): Likewise.
52217         * math/s_clogl.c (__clogl): Likewise.
52218         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
52219         (clog10_test): Likewise.
52220         * sysdeps/i386/fpu/libm-test-ulps: Update.
52221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52223 2014-04-02  Alan Modra  <amodra@gmail.com>
52225         [BZ #16739]
52226         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
52227         output when value is near a power of two.  Use int64_t for lx and
52228         remove casts.  Use decimal rather than hex exponent constants.
52229         Don't use long double multiplication when double will suffice.
52230         * math/libm-test.inc (nextafter_test_data): Add tests.
52231         * NEWS: Add 16739 and 16786 to bug list.
52233         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
52235         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
52237 2014-04-01  Will Newton  <will.newton@linaro.org>
52239         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
52240         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
52242 2014-04-01  Florian Weimer  <fweimer@redhat.com>
52244         [BZ #13347]
52245         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
52246         * nptl/tst-setuid2.c: New file.
52247         * nptl/Makefile (xtests): Add tst-setuid2.
52249 2014-04-01  Alan Modra  <amodra@gmail.com>
52251         [BZ #16786]
52252         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
52254 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
52256         [BZ #6803]
52257         [BZ #6804]
52258         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
52259         set errno as appropriate.
52260         * math/w_scalbf.c (__scalbf): Likewise.
52261         * math/w_scalbl.c (__scalbl): Likewise.
52262         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
52263         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
52264         * math/libm-test.inc (scalb_test_data): Add errno expectations.
52265         Add more NaN tests.
52267         [BZ #16349]
52268         * math/w_atan2.c: Include <errno.h>.
52269         (__atan2): Set errno for result underflowing to zero.
52270         * math/w_atan2f.c: Include <errno.h>.
52271         (__atan2f): Set errno for result underflowing to zero.
52272         * math/w_atan2l.c: Include <errno.h>.
52273         (__atan2l): Set errno for result underflowing to zero.
52274         * math/auto-libm-test-in: Don't allow missing errno for some atan2
52275         tests.
52276         * math/auto-libm-test-out: Regenerated.
52278 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52280         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
52281         Encode instruction correctly in little endian.
52282         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
52283         Likewise.
52284         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
52285         Likewise.
52286         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
52287         Likewise.
52288         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
52289         Likewise.
52291 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
52293         [BZ #9894]
52294         * sysdeps/unix/sysv/linux/kernel-features.h
52295         [__sparc__ && !__arch64__ && !__sparc_v9__]
52296         (__ASSUME_SET_ROBUST_LIST): Do not define.
52297         [__sparc__ && !__arch64__ && !__sparc_v9__]
52298         (__ASSUME_FUTEX_LOCK_PI): Likewise.
52299         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
52300         Likewise.
52301         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52302         (__ASSUME_FUTEX_LOCK_PI): Undefine.
52303         (__ASSUME_REQUEUE_PI): Likewise.
52304         (__ASSUME_SET_ROBUST_LIST): Likewise.
52305         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52306         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
52307         Undefine.
52308         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52309         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
52310         Likewise.
52311         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
52312         Likewise.
52313         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
52314         Likewise.
52315         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52316         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
52317         Undefine.
52318         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
52319         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
52320         Likewise.
52322         [BZ #16648]
52323         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52324         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
52325         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
52327 2014-03-31  Will Newton  <will.newton@linaro.org>
52329         * benchtests/Makefile (bench): Add ffs and ffsll to list
52330         of tests.
52331         * benchtests/ffs-inputs: New file.
52332         * benchtests/ffsll-inputs: Likewise.
52334 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
52336         [BZ #16770]
52337         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
52338         too large before casting to int.
52339         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
52340         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
52341         * math/libm-test.inc (scalb_test_data): Add more tests.
52343 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52345         * benchtests/Makefile (DETAILED_OPT): New make option.
52346         (bench-func): Run benchmark program with -d if DETAILED_OPT is
52347         set.
52348         * benchtests/bench-skeleton.c: Include stdbool.h.
52349         (main): Store and print timings per input.
52350         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
52351         member to each argument value.
52352         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
52353         (_print_arg_data): Initialize per-input timing to 0.
52355         * benchtests/Makefile (timing-type): New binary.
52356         (bench-clean): Also remove bench-timing-type.
52357         (bench): New target for timing-type.
52358         (bench-func): Print output in JSON format.
52359         * benchtests/bench-skeleton.c (main): Print output in JSON
52360         format.
52361         * benchtests/bench-timing-type.c: New file.
52362         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
52363         (TIMING_PRINT_STATS): Remove.
52364         * benchtests/scripts/bench.py (_print_arg_data): Store variant
52365         name separately.
52367         * benchtests/bench-modf.c: Remove.
52368         * benchtests/modf-inputs: New inputs file.
52370 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
52372         [BZ #16362]
52373         * math/s_clog10.c (M_PI_LOG10E): New macro.
52374         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
52375         imaginary parts are 0.
52376         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
52377         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
52378         imaginary parts are 0.
52379         * math/s_clog10l.c (M_PI_LOG10El): New macro.
52380         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
52381         imaginary parts are 0.
52382         * math/libm-test.inc (clog10_test_data): Update expected results
52383         for when real and imaginary parts are 0.
52385 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
52387         * elf/dl-load.c: Finish conversion of __builtin_expect into
52388         __glibc_{un}likely.
52390 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
52392         [BZ #16348]
52393         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
52394         1+x for argument with exponent below -67.
52395         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
52396         Likewise.
52397         * math/auto-libm-test-in: Add more tests of exp.
52398         * math/auto-libm-test-out: Regenerated.
52400 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52402         [BZ #16759]
52403         * inet/getnetgrent_r.c (get_nonempty_val): New function.
52404         (nscd_getnetgrent): Use it.
52406         [BZ #16760]
52407         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
52408         of stpcpy.
52410 2014-03-27  Andi Kleen  <ak@linux.intel.com>
52412         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
52413         (lll_robust_lock, lll_cond_lock, lll_timedlock)
52414         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
52415         (lll_robust_unlock): Remove out of line section. Use cfi
52416         intrinsics.
52417         (LLL_STUB_UNWIND_INFO*): Remove.
52418         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
52419         (lll_robust_lock, lll_cond_lock, lll_timedlock)
52420         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
52421         (lll_robust_unlock): Remove out of line section. Use cfi
52422         intrinsics.
52423         (LLL_STUB_UNWIND_INFO*): Remove.
52425 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52427         [BZ #16758]
52428         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
52429         blank values.
52431 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
52433         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
52435 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
52437         [BZ #16198]
52438         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
52439         fnstenv.
52440         * math/test-fenv-preserve.c: New file.
52441         * math/Makefile (tests): Add test-fenv-preserve.
52443 2014-03-26  Will Newton <will.newton@linaro.org>
52445         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
52447 2014-03-25  Roland McGrath  <roland@hack.frob.com>
52449         * scripts/versionlist.awk: Partition the version sets and emit all
52450         GLIBC_* (sorted) before all others (sorted).
52452 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
52454         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
52455         GLIBC_2.2.5 version.
52457 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52459         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
52460         calls.
52462         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
52463         previous change.
52465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52467 2014-03-25  Andreas Schwab  <schwab@suse.de>
52469         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
52470         label to be used after in6ailist is initialized.
52472 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52474         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52475         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
52477 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
52479         [BZ #16357]
52480         [BZ #16599]
52481         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
52482         min_plus_half.
52483         (fp_formats): Update initializers.
52484         (init_fp_formats): Initialize new field.
52485         (output_for_one_input_case): Allow underflow for results up to
52486         min_plus_half.
52487         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
52488         * math/auto-libm-test-in: Don't mark some underflows from asin and
52489         atanh as spurious.
52490         * math/auto-libm-test-out: Regenerated.
52491         * sysdeps/i386/fpu/libm-test-ulps: Update.
52492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52494 2014-03-25  Andreas Schwab  <schwab@suse.de>
52496         * libio/Makefile (tst-ftell-partial-wide-ENV)
52497         (tst-ftell-active-handler-ENV): Define.
52499 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
52501         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
52503 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
52505         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
52507 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
52509         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
52510         * sysdeps/x86_64/fpu/multiarch/e_exp.c
52511         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
52513 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
52515         [BZ #16634]
52516         * elf/dl-load.c (open_verify): Add mode parameter.
52517         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
52518         (open_path): Change from boolean 'secure' to complete flag 'mode'
52519         (_dl_map_object): Adjust.
52520         * elf/Makefile (tests): Add tst-dlopen-aout.
52521         * elf/tst-dlopen-aout.c: New test.
52523 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
52525         [BZ #16714]
52526         * sysdeps/unix/sysv/linux/s390/bits/stat.h
52527         (struct stat): Rename member pad0 to __glibc_reserved0.
52529         [BZ #16712]
52530         * sysdeps/s390/s390-32/bits/wordsize.h
52531         (__WORDSIZE32_SIZE_ULONG): New define.
52532         * sysdeps/s390/s390-64/bits/wordsize.h
52533         (__WORDSIZE32_SIZE_ULONG): Likewise.
52534         * sysdeps/generic/stdint.h (SIZE_MAX):
52535         Define as UL if __WORDSIZE32_SIZE_ULONG.
52537         [BZ #16713]
52538         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
52539         (__glibc_reserved0): New variable.
52540         (sa_flags): Change type to int.
52542         * posix/Makefile (before-compile): Use += before-compile instead
52543         of a :=.
52545         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52546         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
52548 2014-03-20  Andreas Schwab  <schwab@suse.de>
52550         [BZ #16743]
52551         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
52552         non-matching result from nscd.
52554 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52556         * scripts/bench.py: Moved to ...
52557         * benchtests/scripts/bench.py: ... here.
52558         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
52560 2014-03-24  Andreas Schwab  <schwab@suse.de>
52562         [BZ #16002]
52563         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
52564         alloca_account and account alloca use for struct in6ailist.
52566 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
52568         [BZ #16284]
52569         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
52570         rounding mode to recompute results that overflow to infinity or
52571         underflow to zero.
52572         * math/auto-libm-test-in: Don't mark tests as expected to fail for
52573         bug 16284.
52574         * math/auto-libm-test-out: Regenerated.
52575         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
52576         (ccosh_test): Likewise.
52577         (csin_test_data): Use plus_oflow.
52578         (csin_test): Use ALL_RM_TEST.
52579         (csinh_test_data): Use plus_oflow.
52580         (csinh_test): Use ALL_RM_TEST.
52581         * sysdeps/i386/fpu/libm-test-ulps: Update.
52582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52584 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
52586         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
52587         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
52588         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
52590         [BZ #16731]
52591         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
52592         when x - 1 is zero.
52593         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
52594         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
52595         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
52596         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
52597         argument is 1.
52598         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
52599         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
52600         zero.
52601         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
52602         * sysdeps/i386/fpu/libm-test-ulps: Update.
52603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52605 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52607         * scripts/bench.pl: Remove file.
52608         * scripts/bench.py: New benchmark script.
52609         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
52610         * benchtests/README: Mention python dependency.
52611         * scripts/pylintrc: New file.
52612         * scripts/pylint: New file.
52614         * bits/mathdef.h: Use #ifdef instead of #if.
52615         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
52616         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52617         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
52618         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52619         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
52620         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52622 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52623             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52625         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
52626         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
52627         and strpbrk-ppc64 objects.
52628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52629         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
52630         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
52631         multiarch strpbrk for POWER7.
52632         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
52633         multiarch strpbrk for PPC64.
52634         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
52635         ifunc selector.
52636         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
52637         strpbrk for POWER7.
52639 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
52641         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
52642         (atan_test): Likewise.
52643         (atanh_test_data): Use NO_TEST_INLINE for two tests.
52644         (atanh_test): Use ALL_RM_TEST.
52645         (atan2_test_data): Likewise.
52646         (cabs_test): Likewise.
52647         (cacosh_test): Likewise.
52648         (carg_test): Likewise.
52649         (casin_test): Likewise.
52650         (casinh_test): Likewise.
52651         (cbrt_test): Likewise.
52652         (csqrt_test): Likewise.
52653         (erf_test): Likewise.
52654         (erfc_test): Likewise.
52655         (pow10_test): Likewise.
52656         (exp2_test): Likewise.
52657         (hypot_test): Likewise.
52658         (j0_test): Likewise.
52659         (j1_test): Likewise.
52660         (lgamma_test): Likewise.
52661         (gamma_test): Likewise.
52662         (sincos_test): Likewise.
52663         (tanh_test): Likewise.
52664         (y0_test): Likewise.
52665         (y1_test): Likewise.
52666         * sysdeps/i386/fpu/libm-test-ulps: Update.
52667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52669 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52671         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
52672         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
52673         and strcspn-ppc64 objects.
52674         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52675         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
52676         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
52677         multiarch strcspn for POWER7.
52678         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
52679         multiarch strcspn for PPC64.
52680         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
52681         ifunc selector.
52682         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
52683         strcspn for POWER7.
52685 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
52687         * math/gen-libm-test.pl (generate_testfile): Expect only function
52688         name as argument to AUTO_TESTS_* and pass results for all rounding
52689         modes to parse_args.
52690         (parse_auto_input): Separate inputs of automatic tests from
52691         outputs before storing in %auto_tests.
52692         * math/libm-test.inc (acos_test_data): Update call to
52693         AUTO_TESTS_f_f.
52694         (acos_test): Use ALL_RM_TEST.
52695         (acos_tonearest_test_data): Remove.
52696         (acos_test_tonearest): Likewise.
52697         (acos_towardzero_test_data): Likewise.
52698         (acos_test_towardzero): Likewise.
52699         (acos_downward_test_data): Likewise.
52700         (acos_test_downward): Likewise.
52701         (acos_upward_test_data): Likewise.
52702         (acos_test_upward): Likewise.
52703         (acosh_test_data): Update call to AUTO_TESTS_f_f.
52704         (asin_test_data): Likewise.
52705         (asin_test): Use ALL_RM_TEST.
52706         (asin_tonearest_test_data): Remove.
52707         (asin_test_tonearest): Likewise.
52708         (asin_towardzero_test_data): Likewise.
52709         (asin_test_towardzero): Likewise.
52710         (asin_downward_test_data): Likewise.
52711         (asin_test_downward): Likewise.
52712         (asin_upward_test_data): Likewise.
52713         (asin_test_upward): Likewise.
52714         (asinh_test_data): Update call to AUTO_TESTS_f_f.
52715         (atan_test_data): Likewise.
52716         (atanh_test_data): Likewise.
52717         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
52718         (cabs_test_data): Update call to AUTO_TESTS_c_f.
52719         (carg_test_data): Likewise.
52720         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
52721         (ccos_test_data): Update call to AUTO_TESTS_c_c.
52722         (ccosh_test_data): Likewise.
52723         (cexp_test_data): Likewise.
52724         (clog_test_data): Likewise.
52725         (clog10_test_data): Likewise.
52726         (cos_test_data): Update call to AUTO_TESTS_f_f.
52727         (cos_test): Use ALL_RM_TEST.
52728         (cos_tonearest_test_data): Remove.
52729         (cos_test_tonearest): Likewise.
52730         (cos_towardzero_test_data): Likewise.
52731         (cos_test_towardzero): Likewise.
52732         (cos_downward_test_data): Likewise.
52733         (cos_test_downward): Likewise.
52734         (cos_upward_test_data): Likewise.
52735         (cos_test_upward): Likewise.
52736         (cosh_test_data): Update call to AUTO_TESTS_f_f.
52737         (cosh_test): Use ALL_RM_TEST.
52738         (cosh_tonearest_test_data): Remove.
52739         (cosh_test_tonearest): Likewise.
52740         (cosh_towardzero_test_data): Likewise.
52741         (cosh_test_towardzero): Likewise.
52742         (cosh_downward_test_data): Likewise.
52743         (cosh_test_downward): Likewise.
52744         (cosh_upward_test_data): Likewise.
52745         (cosh_test_upward): Likewise.
52746         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
52747         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
52748         (ctan_test_data): Likewise.
52749         (ctan_test): Use ALL_RM_TEST.
52750         (ctan_tonearest_test_data): Remove.
52751         (ctan_test_tonearest): Likewise.
52752         (ctan_towardzero_test_data): Likewise.
52753         (ctan_test_towardzero): Likewise.
52754         (ctan_downward_test_data): Likewise.
52755         (ctan_test_downward): Likewise.
52756         (ctan_upward_test_data): Likewise.
52757         (ctan_test_upward): Likewise.
52758         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
52759         (ctanh_test): Use ALL_RM_TEST.
52760         (ctanh_tonearest_test_data): Remove.
52761         (ctanh_test_tonearest): Likewise.
52762         (ctanh_towardzero_test_data): Likewise.
52763         (ctanh_test_towardzero): Likewise.
52764         (ctanh_downward_test_data): Likewise.
52765         (ctanh_test_downward): Likewise.
52766         (ctanh_upward_test_data): Likewise.
52767         (ctanh_test_upward): Likewise.
52768         (erf_test_data): Update call to AUTO_TESTS_f_f.
52769         (erfc_test_data): Likewise.
52770         (exp_test_data): Likewise.
52771         (exp_test): Use ALL_RM_TEST.
52772         (exp_tonearest_test_data): Remove.
52773         (exp_test_tonearest): Likewise.
52774         (exp_towardzero_test_data): Likewise.
52775         (exp_test_towardzero): Likewise.
52776         (exp_downward_test_data): Likewise.
52777         (exp_test_downward): Likewise.
52778         (exp_upward_test_data): Likewise.
52779         (exp_test_upward): Likewise.
52780         (exp10_test_data): Update call to AUTO_TESTS_f_f.
52781         (exp10_test): Use ALL_RM_TEST.
52782         (exp10_tonearest_test_data): Remove.
52783         (exp10_test_tonearest): Likewise.
52784         (exp10_towardzero_test_data): Likewise.
52785         (exp10_test_towardzero): Likewise.
52786         (exp10_downward_test_data): Likewise.
52787         (exp10_test_downward): Likewise.
52788         (exp10_upward_test_data): Likewise.
52789         (exp10_test_upward): Likewise.
52790         (exp2_test_data): Update call to AUTO_TESTS_f_f.
52791         (expm1_test_data): Likewise.
52792         (expm1_test): Use ALL_RM_TEST.
52793         (expm1_tonearest_test_data): Remove.
52794         (expm1_test_tonearest): Likewise.
52795         (expm1_towardzero_test_data): Likewise.
52796         (expm1_test_towardzero): Likewise.
52797         (expm1_downward_test_data): Likewise.
52798         (expm1_test_downward): Likewise.
52799         (expm1_upward_test_data): Likewise.
52800         (expm1_test_upward): Likewise.
52801         (fma_test_data): Update call to AUTO_TESTS_fff_f.
52802         (fma_test): Use ALL_RM_TEST.
52803         (fma_towardzero_test_data): Remove.
52804         (fma_test_towardzero): Likewise.
52805         (fma_downward_test_data): Likewise.
52806         (fma_test_downward): Likewise.
52807         (fma_upward_test_data): Likewise.
52808         (fma_test_upward): Likewise.
52809         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
52810         (j0_test_data): Update call to AUTO_TESTS_f_f.
52811         (j1_test_data): Likewise.
52812         (jn_test_data): Update call to AUTO_TESTS_if_f.
52813         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
52814         (log_test_data): Update call to AUTO_TESTS_f_f.
52815         (log10_test_data): Likewise.
52816         (log1p_test_data): Likewise.
52817         (log2_test_data): Likewise.
52818         (pow_test_data): Update call to AUTO_TESTS_ff_f.
52819         (pow_tonearest_test_data): Likewise.
52820         (sin_test_data): Update call to AUTO_TESTS_f_f.
52821         (sin_test): Use ALL_RM_TEST.
52822         (sin_tonearest_test_data): Remove.
52823         (sin_test_tonearest): Likewise.
52824         (sin_towardzero_test_data): Likewise.
52825         (sin_test_towardzero): Likewise.
52826         (sin_downward_test_data): Likewise.
52827         (sin_test_downward): Likewise.
52828         (sin_upward_test_data): Likewise.
52829         (sin_test_upward): Likewise.
52830         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
52831         (sinh_test_data): Update call to AUTO_TESTS_f_f.
52832         (sinh_test): Use ALL_RM_TEST.
52833         (sinh_tonearest_test_data): Remove.
52834         (sinh_test_tonearest): Likewise.
52835         (sinh_towardzero_test_data): Likewise.
52836         (sinh_test_towardzero): Likewise.
52837         (sinh_downward_test_data): Likewise.
52838         (sinh_test_downward): Likewise.
52839         (sinh_upward_test_data): Likewise.
52840         (sinh_test_upward): Likewise.
52841         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
52842         (sqrt_test): Use ALL_RM_TEST.
52843         (sqrt_tonearest_test_data): Remove.
52844         (sqrt_test_tonearest): Likewise.
52845         (sqrt_towardzero_test_data): Likewise.
52846         (sqrt_test_towardzero): Likewise.
52847         (sqrt_downward_test_data): Likewise.
52848         (sqrt_test_downward): Likewise.
52849         (sqrt_upward_test_data): Likewise.
52850         (sqrt_test_upward): Likewise.
52851         (tan_test_data): Update call to AUTO_TESTS_f_f.
52852         (tan_test): Use ALL_RM_TEST.
52853         (tan_tonearest_test_data): Remove.
52854         (tan_test_tonearest): Likewise.
52855         (tan_towardzero_test_data): Likewise.
52856         (tan_test_towardzero): Likewise.
52857         (tan_downward_test_data): Likewise.
52858         (tan_test_downward): Likewise.
52859         (tan_upward_test_data): Likewise.
52860         (tan_test_upward): Likewise.
52861         (tanh_test_data): Update call to AUTO_TESTS_f_f.
52862         (tgamma_test_data): Likewise.
52863         (y0_test_data): Likewise.
52864         (y1_test_data): Likewise.
52865         (yn_test_data): Update call to AUTO_TESTS_if_f.
52866         (main): Do not call removed functions.
52868 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
52870         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
52871         (ldexp_test_data): Remove.
52872         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
52873         scalbn_test_data.
52874         (scalb_test): Use ALL_RM_TEST.
52876 2014-03-19  Andreas Schwab  <schwab@suse.de>
52878         * nscd/nscd.service: Also invalidate netgroup cache on reload.
52880 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
52882         [BZ #16649]
52883         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52884         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
52885         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
52886         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52887         (__ASSUME_PREADV): Undefine.
52888         (__ASSUME_PWRITEV): Likewise.
52890 2014-03-18  Roland McGrath  <roland@hack.frob.com>
52892         * bits/mman-linux.h: Add comment about non-Linux use.
52893         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
52894         bits/mman-linux.h resting place.
52896         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
52897         * bits/mman-linux.h: ... here.
52899 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52901         * conform/conformtest.pl: Add standard definition when calling C
52902         preprocessor on data files.
52903         (checknamespace): Remove unused variable.
52905 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
52907         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
52908         minus_oflow, plus_uflow and minus_uflow in expected results.
52909         * math/libm-test.inc (scalbn_test_data): Add more tests of
52910         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
52911         minus_uflow.
52912         (scalbn_test): Use ALL_RM_TEST.
52913         (scalbln_test_data): Add more tests of negative arguments.  Use
52914         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
52915         (scalbln_test): Use ALL_RM_TEST.
52917 2014-03-18  Roland McGrath  <roland@hack.frob.com>
52919         * scripts/abilist.awk: Ignore symbols marked with .hidden.
52921 2014-03-18  Will Newton  <will.newton@linaro.org>
52923         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
52924         inaccurate comment.
52926 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
52928         * Makerules [!subdir] (check-abi): Exit with error status if a
52929         test failed.
52931 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
52933         * math/libm-test.inc (nearbyint_test_data): Include all tests used
52934         for rint.  Include results for all rounding modes.
52935         (nearbyint_test): Use ALL_RM_TEST.
52936         (rint_test_data): Include all tests used for nearbyint.
52938 2014-03-17  Will Newton  <will.newton@linaro.org>
52940         * nptl/sysdeps/pthread/pthread.h: Revert previous
52941         change.
52943         * sysdeps/generic/ldsodefs.h: Revert previous
52944         change.
52946         * libio/genops.c: Revert previous change.
52947         * libio/libioP.h: Likewise.
52948         * stdio-common/vfprintf.c: Likewise.
52950         * sysdeps/generic/math_private.h: Revert previous
52951         change.
52953         * sysdeps/generic/math_private.h: Check whether
52954         HAVE_RM_CTX is defined with #ifdef rather
52955         than #if.
52957         * argp/argp-fmtstream.h: Check whether
52958         __STRICT_ANSI__ is defined with #ifdef rather
52959         than #if.
52960         * argp/argp.h: Likewise.
52962         * libio/genops.c: Check whether
52963         _IO_JUMPS_OFFSET is defined with #ifdef rather
52964         than #if.
52965         * libio/libioP.h: Likewise.
52966         * stdio-common/vfprintf.c: Likewise.
52968         * sysdeps/generic/ldsodefs.h: Check whether
52969         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
52970         than #if.
52972         * nptl/sysdeps/pthread/pthread.h: Check
52973         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
52974         its value.
52976 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52978         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
52979         setting O_APPEND.
52980         * libio/tst-ftell-active-handler.c (do_append_test): Add a
52981         test case.
52983         [BZ #16680]
52984         * libio/fileops.c (_IO_file_open): Seek to end of file but
52985         don't cache the offset.
52986         (get_file_offset): Remove function.
52987         (do_ftell): Use cached offset when available.
52988         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
52989         don't cache the offset.
52990         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
52991         case.
52992         (do_one_test): Call it.
52993         (do_ftell_test): Fix up expected old offset for a+ mode.
52994         * libio/wfileops.c (do_ftell_wide): Used cached offset when
52995         available.
52997         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
52998         up test status with function return status.
52999         (do_write_test): Likewise.
53000         (do_append_test): Likewise.
53002         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
53003         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
53004         Remove.
53006 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
53008         * math/gen-libm-test.pl (parse_args): Handle results specified for
53009         each rounding mode separately.
53010         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
53011         tests and results from lrint_tonearest_test_data,
53012         lrint_towardzero_test_data, lrint_downward_test_data and
53013         lrint_upward_test_data.
53014         (lrint_test): Use ALL_RM_TEST.
53015         (lrint_tonearest_test_data): Remove.
53016         (lrint_test_tonearest): Likewise.
53017         (lrint_towardzero_test_data): Likewise.
53018         (lrint_test_towardzero): Likewise.
53019         (lrint_downward_test_data): Likewise.
53020         (lrint_test_downward): Likewise.
53021         (lrint_upward_test_data): Likewise.
53022         (lrint_test_upward): Likewise.
53023         (llrint_test_data): Merge in per-rounding-mode tests and results
53024         from llrint_tonearest_test_data, llrint_towardzero_test_data,
53025         llrint_downward_test_data and llrint_upward_test_data.
53026         (llrint_test): Use ALL_RM_TEST.
53027         (llrint_tonearest_test_data): Remove.
53028         (llrint_test_tonearest): Likewise.
53029         (llrint_towardzero_test_data): Likewise.
53030         (llrint_test_towardzero): Likewise.
53031         (llrint_downward_test_data): Likewise.
53032         (llrint_test_downward): Likewise.
53033         (llrint_upward_test_data): Likewise.
53034         (llrint_test_upward): Likewise.
53035         (rint_test_data): Merge in per-rounding-mode tests and results
53036         from rint_tonearest_test_data, rint_towardzero_test_data,
53037         rint_downward_test_data and rint_upward_test_data.  Add
53038         per-rounding-mode results for tests not in those arrays.
53039         (rint_test): Use ALL_RM_TEST.
53040         (rint_tonearest_test_data): Remove.
53041         (rint_test_tonearest): Likewise.
53042         (rint_towardzero_test_data): Likewise.
53043         (rint_test_towardzero): Likewise.
53044         (rint_downward_test_data): Likewise.
53045         (rint_test_downward): Likewise.
53046         (rint_upward_test_data): Likewise.
53047         (rint_test_upward): Likewise.
53048         (main): Don't call removed functions.
53050 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53052         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
53053         "Compiled on ..." crapola.  It is anti-useful.
53055 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
53057         * scripts/evaluate-test.sh: Handle fourth argument to determine
53058         whether test run should stop on failure.
53059         * Makeconfig (stop-on-test-failure): New variable.
53060         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
53061         $(stop-on-test-failure).
53062         * Makefile (tests): Give a summary of results from testing and
53063         exit with failure status if they include an ERROR or FAIL.
53064         (xtests): Likewise.
53065         * manual/install.texi (Configuring and compiling): Mention
53066         stop-on-test-failure=y.
53067         * INSTALL: Regenerated.
53069 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53071         * scripts/versionlist.awk: New file.
53072         * Makerules [$(build-shared) = yes]
53073         (postclean-generated): Add Versions.def, not Versions.def.v and
53074         Versions.def.v.i.
53075         ($(common-objpfx)Versions.def.v.i): Target removed.
53076         ($(common-objpfx)Versions.def): New target.
53077         ($(common-objpfx)Versions.all): Depend on that rather that
53078         $(common-objpfx)Versions.def.v.
53079         * Versions.def: File removed.
53081         * Makeconfig (+gccwarn): Add -Wundef.
53082         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
53083         a dl-sysdep.h breaking its contract.
53084         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
53085         * include/stackinfo.h: New file.
53086         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
53087         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
53088         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
53089         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
53090         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
53091         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
53092         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53093         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53094         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53095         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53096         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53097         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
53098         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53099         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53100         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53102 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53104         [BZ #16707]
53105         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
53106         implementation.
53107         * math/libm-test.inc (round_test_data): Add more tests.
53109         [BZ #16706]
53110         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
53111         implementation.
53112         * math/libm-test.inc (nearbyint_test_data): Add more tests.
53114         [BZ #16701]
53115         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
53116         implementation.
53117         * math/libm-test.inc (ceil_test_data): Add more tests.
53119         * math/libm-test.inc (trunc_test_data): Add more tests related to
53120         BZ#16414.
53122 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53124         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
53125         with #if rather than #ifdef.
53126         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
53128 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
53130         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
53131         first.  Disable AVX-512 GCC support if assembler doesn't support
53132         it.
53133         * sysdeps/x86_64/configure: Regenerated.
53135 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
53137         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
53138         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
53139         (__old_pthread_attr_setstack): Likewise.
53140         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
53141         [!_STACK_GROWS_DOWN]: Likewise.
53143 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
53145         * config.make.in (have-bash2): Delete.
53146         * configure.ac (libc_cv_have_bash2): Delete.
53147         * configure: Regenerate.
53148         * elf/Makefile (common-ldd-rewrite): Rename to ...
53149         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
53150         (sh-ldd-rewrite): Delete.
53151         (bash-ldd-rewrite): Delete.
53152         (have-bash2): Delete checks.
53153         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
53154         ldd-rewrite.
53156         * config.make.in (have-ksh): Delete.
53157         (KSH): Delete.
53158         * configure.ac (libc_cv_have_ksh): Delete.
53159         * configure: Regenerate.
53161         * elf/Makefile: Delete $(have-ksh) check.
53162         ($(objpfx)sotruss): Change KSH to BASH.
53163         * elf/sotruss.ksh: Rename to ...
53164         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
53165         function style to match POSIX.  Drop ksh vim mode setting.
53167         * manual/time.texi (Specifying the Time Zone with TZ): Change
53168         Tuesday to Thursday.
53170         * debug/tst-longjmp_chk2.c: Update header comment.
53171         (stackoverflow_handler): Add comment.  Call assert on pass value.
53173 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
53175         [BZ #16194]
53176         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
53177         (HAVE_AVX512_ASM_SUPPORT): Likewise.
53178         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
53179         (La_x86_64_vector): Add zmm.
53180         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
53181         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
53182         ($(objpfx)tst-audit10): New target.
53183         ($(objpfx)tst-audit10.out): Likewise.
53184         (tst-audit10-ENV): New.
53185         (AVX512-CFLAGS): Likewise.
53186         (CFLAGS-tst-audit10.c): Likewise.
53187         (CFLAGS-tst-auditmod10a.c): Likewise.
53188         (CFLAGS-tst-auditmod10b.c): Likewise.
53189         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
53190         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
53191         * sysdeps/x86_64/configure: Regenerated.
53192         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
53193         AVX-512 zmm register support.
53194         (_dl_x86_64_save_sse): Likewise.
53195         (_dl_x86_64_restore_sse): Likewise.
53196         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
53197         size vector registers.
53198         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
53199         (ZMM_SIZE): Likewise.
53200         * sysdeps/x86_64/tst-audit10.c: New file.
53201         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
53202         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
53204 2014-03-13  Roland McGrath  <roland@hack.frob.com>
53206         * configure.ac (HAVE_EHDR_START): New check.
53207         * configure: Regenerated.
53208         * config.h.in (HAVE_EHDR_START): New #undef.
53209         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
53210         assuming the lowest-addressed segment maps the start of the file.
53212 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
53214         * INSTALL: Regenerated.
53216 2014-03-13  Will Newton  <will.newton@linaro.org>
53218         * manual/setjmp.texi (System V contexts): Improve
53219         clarity and grammar of documentation.
53221 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
53223         [BZ #16381]
53224         * elf/Makefile (tests): Add tst-pie2.
53225         (tests-pie): Add tst-pie2.
53226         * elf/tst-pie2.c: New file.
53227         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
53228         for ET_EXEC.
53229         * elf/rtld.c (map_doit): Load executable as lt_executable.
53230         (dl_main): Likewise.
53232 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
53234         [BZ #16642]
53235         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53236         (__ASSUME_PSELECT): Undefine.
53238 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53240         [BZ #16689]
53241         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
53242         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
53243         static build.
53244         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
53245         selector for static builds.
53247 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53249         [BZ #16695]
53250         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
53251         key in the buffer.
53253 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53255         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
53256         IFUNC selector for static builds.
53258 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
53260         * sysdeps/mips/math_private.h [__mips_hard_float]
53261         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
53262         libc_feresetround_mips_ctx.
53263         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
53264         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
53265         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
53267         [BZ #16677]
53268         * math/s_nextafter.c (__nextafter): Do not return value from
53269         overflowing computation.
53270         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
53271         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
53272         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
53273         Likewise.
53274         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
53275         Likewise.
53276         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
53277         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
53279 2014-03-11  Roland McGrath  <roland@hack.frob.com>
53281         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
53282         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
53283         Move sfi_sp use from the load-multiple (that no longer sets sp) to
53284         the new mov targetting sp.
53286 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53288         [BZ #16683]
53289         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
53290         Define it for static builds as well.
53291         (NO_BZERO_IMPL): Likewise.
53293 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53295         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
53296         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
53297         multiarch strspn for PPC64.
53298         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
53299         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
53300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53301         (__libc_ifunc_impl_list): Likewise.
53302         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
53303         multiarch optimizations
53304         * string/strspn.c (strspn): Using macro to redefine symbol name.
53306 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53307             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53309         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
53310         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
53311         multiarch strncat for PPC64.
53312         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
53313         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
53314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53315         (__libc_ifunc_impl_list): Likewise.
53316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
53317         multiarch optimizations
53319 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53321         [BZ #16639]
53322         * nscd/nscd.service: Make service type forking.
53324 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53326         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
53327         sign in non default rounding modes.
53328         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
53330 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
53332         * math/libm-test.inc (ALL_RM_TEST): New macro.
53333         (ceil_test): Use ALL_RM_TEST.
53334         (cimag_test): Likewise.
53335         (conj_test): Likewise.
53336         (copysign_test): Likewise.
53337         (cproj_test): Likewise.
53338         (creal_test): Likewise.
53339         (fabs_test): Likewise.
53340         (floor_test): Likewise.
53341         (fmax_test): Likewise.
53342         (fmin_test): Likewise.
53343         (fmod_test): Likewise.
53344         (fpclassify_test): Likewise.
53345         (frexp_test): Likewise.
53346         (ilogb_test): Likewise.
53347         (isfinite_test): Likewise.
53348         (finite_test): Likewise.
53349         (isgreater_test): Likewise.
53350         (isgreaterequal_test): Likewise.
53351         (isinf_test): Likewise.
53352         (isless_test): Likewise.
53353         (islessequal_test): Likewise.
53354         (islessgreater_test): Likewise.
53355         (isnan_test): Likewise.
53356         (isnormal_test): Likewise.
53357         (issignaling_test): Likewise.
53358         (isunordered_test): Likewise.
53359         (logb_test): Likewise.
53360         (logb_downward_test_data): Remove.
53361         (logb_test_downward): Likewise.
53362         (lround_test): Use ALL_RM_TEST.
53363         (llround_test): Likewise.
53364         (modf_test): Likewise.
53365         (nexttoward_test): Likewise.
53366         (remainder_test): Likewise.
53367         (drem_test): Likewise.
53368         (remainder_tonearest_test_data): Likewise.
53369         (remainder_test_tonearest): Likewise.
53370         (drem_test_tonearest): Likewise.
53371         (remainder_towardzero_test_data): Likewise.
53372         (remainder_test_towardzero): Likewise.
53373         (drem_test_towardzero): Likewise.
53374         (remainder_downward_test_data): Likewise.
53375         (remainder_test_downward): Likewise.
53376         (drem_test_downward): Likewise.
53377         (remainder_upward_test_data): Likewise.
53378         (remainder_test_upward): Likewise.
53379         (drem_test_upward): Likewise.
53380         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
53381         (round_test): Use ALL_RM_TEST.
53382         (signbit_test): Likewise.
53383         (trunc_test): Likewise.
53384         (significand_test): Likewise.
53385         (main): Don't call removed functions.
53387 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
53389         [BZ #16674]
53390         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
53391         || __USE_XOPEN2K8].
53392         (ILL_ILLOPN): Likewise.
53393         (ILL_ILLADR): Likewise.
53394         (ILL_ILLTRP): Likewise.
53395         (ILL_PRVOPC): Likewise.
53396         (ILL_PRVREG): Likewise.
53397         (ILL_COPROC): Likewise.
53398         (ILL_BADSTK): Likewise.
53399         (FPE_INTDIV): Likewise.
53400         (FPE_INTOVF): Likewise.
53401         (FPE_FLTDIV): Likewise.
53402         (FPE_FLTOVF): Likewise.
53403         (FPE_FLTUND): Likewise.
53404         (FPE_FLTRES): Likewise.
53405         (FPE_FLTINV): Likewise.
53406         (FPE_FLTSUB): Likewise.
53407         (SEGV_MAPERR): Likewise.
53408         (SEGV_ACCERR): Likewise.
53409         (BUS_ADRALN): Likewise.
53410         (BUS_ADRERR): Likewise.
53411         (BUS_OBJERR): Likewise.
53412         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53413         (TRAP_TRACE): Likewise.
53414         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53415         __USE_XOPEN2K8].
53416         (CLD_KILLED): Likewise.
53417         (CLD_DUMPED): Likewise.
53418         (CLD_TRAPPED): Likewise.
53419         (CLD_STOPPED): Likewise.
53420         (CLD_CONTINUED): Likewise.
53421         (POLL_IN): Likewise.
53422         (POLL_OUT): Likewise.
53423         (POLL_MSG): Likewise.
53424         (POLL_ERR): Likewise.
53425         (POLL_PRI): Likewise.
53426         (POLL_HUP): Likewise.
53427         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
53428         Likewise.
53429         (ILL_ILLOPN): Likewise.
53430         (ILL_ILLADR): Likewise.
53431         (ILL_ILLTRP): Likewise.
53432         (ILL_PRVOPC): Likewise.
53433         (ILL_PRVREG): Likewise.
53434         (ILL_COPROC): Likewise.
53435         (ILL_BADSTK): Likewise.
53436         (FPE_INTDIV): Likewise.
53437         (FPE_INTOVF): Likewise.
53438         (FPE_FLTDIV): Likewise.
53439         (FPE_FLTOVF): Likewise.
53440         (FPE_FLTUND): Likewise.
53441         (FPE_FLTRES): Likewise.
53442         (FPE_FLTINV): Likewise.
53443         (FPE_FLTSUB): Likewise.
53444         (SEGV_MAPERR): Likewise.
53445         (SEGV_ACCERR): Likewise.
53446         (BUS_ADRALN): Likewise.
53447         (BUS_ADRERR): Likewise.
53448         (BUS_OBJERR): Likewise.
53449         (BUS_MCEERR_AR): Likewise.
53450         (BUS_MCEERR_AO): Likewise.
53451         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53452         (TRAP_TRACE): Likewise.
53453         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53454         __USE_XOPEN2K8].
53455         (CLD_KILLED): Likewise.
53456         (CLD_DUMPED): Likewise.
53457         (CLD_TRAPPED): Likewise.
53458         (CLD_STOPPED): Likewise.
53459         (CLD_CONTINUED): Likewise.
53460         (POLL_IN): Likewise.
53461         (POLL_OUT): Likewise.
53462         (POLL_MSG): Likewise.
53463         (POLL_ERR): Likewise.
53464         (POLL_PRI): Likewise.
53465         (POLL_HUP): Likewise.
53466         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
53467         (ILL_ILLOPN): Likewise.
53468         (ILL_ILLADR): Likewise.
53469         (ILL_ILLTRP): Likewise.
53470         (ILL_PRVOPC): Likewise.
53471         (ILL_PRVREG): Likewise.
53472         (ILL_COPROC): Likewise.
53473         (ILL_BADSTK): Likewise.
53474         (FPE_INTDIV): Likewise.
53475         (FPE_INTOVF): Likewise.
53476         (FPE_FLTDIV): Likewise.
53477         (FPE_FLTOVF): Likewise.
53478         (FPE_FLTUND): Likewise.
53479         (FPE_FLTRES): Likewise.
53480         (FPE_FLTINV): Likewise.
53481         (FPE_FLTSUB): Likewise.
53482         (SEGV_MAPERR): Likewise.
53483         (SEGV_ACCERR): Likewise.
53484         (BUS_ADRALN): Likewise.
53485         (BUS_ADRERR): Likewise.
53486         (BUS_OBJERR): Likewise.
53487         (BUS_MCEERR_AR): Likewise.
53488         (BUS_MCEERR_AO): Likewise.
53489         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53490         (TRAP_TRACE): Likewise.
53491         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53492         __USE_XOPEN2K8].
53493         (CLD_KILLED): Likewise.
53494         (CLD_DUMPED): Likewise.
53495         (CLD_TRAPPED): Likewise.
53496         (CLD_STOPPED): Likewise.
53497         (CLD_CONTINUED): Likewise.
53498         (POLL_IN): Likewise.
53499         (POLL_OUT): Likewise.
53500         (POLL_MSG): Likewise.
53501         (POLL_ERR): Likewise.
53502         (POLL_PRI): Likewise.
53503         (POLL_HUP): Likewise.
53504         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
53505         Likewise.
53506         (ILL_ILLOPN): Likewise.
53507         (ILL_ILLADR): Likewise.
53508         (ILL_ILLTRP): Likewise.
53509         (ILL_PRVOPC): Likewise.
53510         (ILL_PRVREG): Likewise.
53511         (ILL_COPROC): Likewise.
53512         (ILL_BADSTK): Likewise.
53513         (ILL_BADIADDR): Likewise.
53514         (ILL_BREAK): Likewise.
53515         (FPE_INTDIV): Likewise.
53516         (FPE_INTOVF): Likewise.
53517         (FPE_FLTDIV): Likewise.
53518         (FPE_FLTOVF): Likewise.
53519         (FPE_FLTUND): Likewise.
53520         (FPE_FLTRES): Likewise.
53521         (FPE_FLTINV): Likewise.
53522         (FPE_FLTSUB): Likewise.
53523         (FPE_DECOVF): Likewise.
53524         (FPE_DECDIV): Likewise.
53525         (FPE_DECERR): Likewise.
53526         (FPE_INVASC): Likewise.
53527         (FPE_INVDEC): Likewise.
53528         (SEGV_MAPERR): Likewise.
53529         (SEGV_ACCERR): Likewise.
53530         (SEGV_PSTKOVF): Likewise.
53531         (BUS_ADRALN): Likewise.
53532         (BUS_ADRERR): Likewise.
53533         (BUS_OBJERR): Likewise.
53534         (BUS_MCEERR_AR): Likewise.
53535         (BUS_MCEERR_AO): Likewise.
53536         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53537         (TRAP_TRACE): Likewise.
53538         (TRAP_BRANCH): Likewise.
53539         (TRAP_HWBKPT): Likewise.
53540         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53541         __USE_XOPEN2K8].
53542         (CLD_KILLED): Likewise.
53543         (CLD_DUMPED): Likewise.
53544         (CLD_TRAPPED): Likewise.
53545         (CLD_STOPPED): Likewise.
53546         (CLD_CONTINUED): Likewise.
53547         (POLL_IN): Likewise.
53548         (POLL_OUT): Likewise.
53549         (POLL_MSG): Likewise.
53550         (POLL_ERR): Likewise.
53551         (POLL_PRI): Likewise.
53552         (POLL_HUP): Likewise.
53553         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
53554         (ILL_ILLOPN): Likewise.
53555         (ILL_ILLADR): Likewise.
53556         (ILL_ILLTRP): Likewise.
53557         (ILL_PRVOPC): Likewise.
53558         (ILL_PRVREG): Likewise.
53559         (ILL_COPROC): Likewise.
53560         (ILL_BADSTK): Likewise.
53561         (FPE_INTDIV): Likewise.
53562         (FPE_INTOVF): Likewise.
53563         (FPE_FLTDIV): Likewise.
53564         (FPE_FLTOVF): Likewise.
53565         (FPE_FLTUND): Likewise.
53566         (FPE_FLTRES): Likewise.
53567         (FPE_FLTINV): Likewise.
53568         (FPE_FLTSUB): Likewise.
53569         (SEGV_MAPERR): Likewise.
53570         (SEGV_ACCERR): Likewise.
53571         (BUS_ADRALN): Likewise.
53572         (BUS_ADRERR): Likewise.
53573         (BUS_OBJERR): Likewise.
53574         (BUS_MCEERR_AR): Likewise.
53575         (BUS_MCEERR_AO): Likewise.
53576         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53577         (TRAP_TRACE): Likewise.
53578         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53579         __USE_XOPEN2K8].
53580         (CLD_KILLED): Likewise.
53581         (CLD_DUMPED): Likewise.
53582         (CLD_TRAPPED): Likewise.
53583         (CLD_STOPPED): Likewise.
53584         (CLD_CONTINUED): Likewise.
53585         (POLL_IN): Likewise.
53586         (POLL_OUT): Likewise.
53587         (POLL_MSG): Likewise.
53588         (POLL_ERR): Likewise.
53589         (POLL_PRI): Likewise.
53590         (POLL_HUP): Likewise.
53591         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
53592         (ILL_ILLOPN): Likewise.
53593         (ILL_ILLADR): Likewise.
53594         (ILL_ILLTRP): Likewise.
53595         (ILL_PRVOPC): Likewise.
53596         (ILL_PRVREG): Likewise.
53597         (ILL_COPROC): Likewise.
53598         (ILL_BADSTK): Likewise.
53599         (FPE_INTDIV): Likewise.
53600         (FPE_INTOVF): Likewise.
53601         (FPE_FLTDIV): Likewise.
53602         (FPE_FLTOVF): Likewise.
53603         (FPE_FLTUND): Likewise.
53604         (FPE_FLTRES): Likewise.
53605         (FPE_FLTINV): Likewise.
53606         (FPE_FLTSUB): Likewise.
53607         (SEGV_MAPERR): Likewise.
53608         (SEGV_ACCERR): Likewise.
53609         (BUS_ADRALN): Likewise.
53610         (BUS_ADRERR): Likewise.
53611         (BUS_OBJERR): Likewise.
53612         (BUS_MCEERR_AR): Likewise.
53613         (BUS_MCEERR_AO): Likewise.
53614         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53615         (TRAP_TRACE): Likewise.
53616         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53617         __USE_XOPEN2K8].
53618         (CLD_KILLED): Likewise.
53619         (CLD_DUMPED): Likewise.
53620         (CLD_TRAPPED): Likewise.
53621         (CLD_STOPPED): Likewise.
53622         (CLD_CONTINUED): Likewise.
53623         (POLL_IN): Likewise.
53624         (POLL_OUT): Likewise.
53625         (POLL_MSG): Likewise.
53626         (POLL_ERR): Likewise.
53627         (POLL_PRI): Likewise.
53628         (POLL_HUP): Likewise.
53629         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
53630         (ILL_ILLOPN): Likewise.
53631         (ILL_ILLADR): Likewise.
53632         (ILL_ILLTRP): Likewise.
53633         (ILL_PRVOPC): Likewise.
53634         (ILL_PRVREG): Likewise.
53635         (ILL_COPROC): Likewise.
53636         (ILL_BADSTK): Likewise.
53637         (FPE_INTDIV): Likewise.
53638         (FPE_INTOVF): Likewise.
53639         (FPE_FLTDIV): Likewise.
53640         (FPE_FLTOVF): Likewise.
53641         (FPE_FLTUND): Likewise.
53642         (FPE_FLTRES): Likewise.
53643         (FPE_FLTINV): Likewise.
53644         (FPE_FLTSUB): Likewise.
53645         (SEGV_MAPERR): Likewise.
53646         (SEGV_ACCERR): Likewise.
53647         (BUS_ADRALN): Likewise.
53648         (BUS_ADRERR): Likewise.
53649         (BUS_OBJERR): Likewise.
53650         (BUS_MCEERR_AR): Likewise.
53651         (BUS_MCEERR_AO): Likewise.
53652         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53653         (TRAP_TRACE): Likewise.
53654         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53655         __USE_XOPEN2K8].
53656         (CLD_KILLED): Likewise.
53657         (CLD_DUMPED): Likewise.
53658         (CLD_TRAPPED): Likewise.
53659         (CLD_STOPPED): Likewise.
53660         (CLD_CONTINUED): Likewise.
53661         (POLL_IN): Likewise.
53662         (POLL_OUT): Likewise.
53663         (POLL_MSG): Likewise.
53664         (POLL_ERR): Likewise.
53665         (POLL_PRI): Likewise.
53666         (POLL_HUP): Likewise.
53667         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
53668         (ILL_ILLOPN): Likewise.
53669         (ILL_ILLADR): Likewise.
53670         (ILL_ILLTRP): Likewise.
53671         (ILL_PRVOPC): Likewise.
53672         (ILL_PRVREG): Likewise.
53673         (ILL_COPROC): Likewise.
53674         (ILL_BADSTK): Likewise.
53675         (ILL_DBLFLT): Likewise.
53676         (ILL_HARDWALL): Likewise.
53677         (FPE_INTDIV): Likewise.
53678         (FPE_INTOVF): Likewise.
53679         (FPE_FLTDIV): Likewise.
53680         (FPE_FLTOVF): Likewise.
53681         (FPE_FLTUND): Likewise.
53682         (FPE_FLTRES): Likewise.
53683         (FPE_FLTINV): Likewise.
53684         (FPE_FLTSUB): Likewise.
53685         (SEGV_MAPERR): Likewise.
53686         (SEGV_ACCERR): Likewise.
53687         (BUS_ADRALN): Likewise.
53688         (BUS_ADRERR): Likewise.
53689         (BUS_OBJERR): Likewise.
53690         (BUS_MCEERR_AR): Likewise.
53691         (BUS_MCEERR_AO): Likewise.
53692         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53693         (TRAP_TRACE): Likewise.
53694         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53695         __USE_XOPEN2K8].
53696         (CLD_KILLED): Likewise.
53697         (CLD_DUMPED): Likewise.
53698         (CLD_TRAPPED): Likewise.
53699         (CLD_STOPPED): Likewise.
53700         (CLD_CONTINUED): Likewise.
53701         (POLL_IN): Likewise.
53702         (POLL_OUT): Likewise.
53703         (POLL_MSG): Likewise.
53704         (POLL_ERR): Likewise.
53705         (POLL_PRI): Likewise.
53706         (POLL_HUP): Likewise.
53707         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
53708         (ILL_ILLOPN): Likewise.
53709         (ILL_ILLADR): Likewise.
53710         (ILL_ILLTRP): Likewise.
53711         (ILL_PRVOPC): Likewise.
53712         (ILL_PRVREG): Likewise.
53713         (ILL_COPROC): Likewise.
53714         (ILL_BADSTK): Likewise.
53715         (FPE_INTDIV): Likewise.
53716         (FPE_INTOVF): Likewise.
53717         (FPE_FLTDIV): Likewise.
53718         (FPE_FLTOVF): Likewise.
53719         (FPE_FLTUND): Likewise.
53720         (FPE_FLTRES): Likewise.
53721         (FPE_FLTINV): Likewise.
53722         (FPE_FLTSUB): Likewise.
53723         (SEGV_MAPERR): Likewise.
53724         (SEGV_ACCERR): Likewise.
53725         (BUS_ADRALN): Likewise.
53726         (BUS_ADRERR): Likewise.
53727         (BUS_OBJERR): Likewise.
53728         (BUS_MCEERR_AR): Likewise.
53729         (BUS_MCEERR_AO): Likewise.
53730         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53731         (TRAP_TRACE): Likewise.
53732         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53733         __USE_XOPEN2K8].
53734         (CLD_KILLED): Likewise.
53735         (CLD_DUMPED): Likewise.
53736         (CLD_TRAPPED): Likewise.
53737         (CLD_STOPPED): Likewise.
53738         (CLD_CONTINUED): Likewise.
53739         (POLL_IN): Likewise.
53740         (POLL_OUT): Likewise.
53741         (POLL_MSG): Likewise.
53742         (POLL_ERR): Likewise.
53743         (POLL_PRI): Likewise.
53744         (POLL_HUP): Likewise.
53745         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
53746         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53748         [BZ #16670]
53749         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
53750         before #include of <time.h>.
53751         [!__USE_XOPEN2K] (__need_timespec): Likewise.
53752         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
53753         (test-xfail-UNIX98/sched.h/conform): Likewise.
53755 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53757         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
53758         error absence of trapping exception support.
53759         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53761 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
53763         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
53764         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
53765         * timezone/Makefile (testdata): Move definition above include of
53766         Rules.
53767         (test-zones): New variable.
53768         (tests-special): Add zone files.
53769         (build-testdata): Use $(evaluate-test).
53771         * elf/Makefile (tests-special): Rename tests to end with .out.
53772         ($(objpfx)noload-mem): Likewise.
53773         ($(objpfx)tst-leaks1-mem): Likewise.
53774         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
53775         * iconv/Makefile (xtests-special): Change test-iconvconfig to
53776         $(objpfx)test-iconvconfig.out.
53777         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
53778         set -e inside subshell and redirect output to file.
53779         * iconvdata/Makefile (generated): Rename tests to end with .out.
53780         Correct type.
53781         (tests-special): Rename tests to end with .out.
53782         ($(objpfx)mtrace-tst-loading): Likewise.
53783         * intl/Makefile (generated): Likewise.
53784         (tests-special): Likewise.
53785         ($(objpfx)mtrace-tst-gettext): Likewise.
53786         * misc/Makefile (generated): Likewise.
53787         (tests-special): Likewise.
53788         ($(objpfx)tst-error1-mem): Likewise.
53789         * nptl/Makefile (tests-special): Likewise.
53790         ($(objpfx)tst-stack3-mem): Likewise.
53791         (generated): Likewise.
53792         * posix/Makefile (generated): Likewise.
53793         (tests-special): Likewise.
53794         (xtests-special): Likewise.
53795         ($(objpfx)tst-fnmatch-mem): Likewise.
53796         ($(objpfx)bug-regex2-mem): Likewise.
53797         ($(objpfx)bug-regex14-mem): Likewise.
53798         ($(objpfx)bug-regex21-mem): Likewise.
53799         ($(objpfx)bug-regex31-mem): Likewise.
53800         ($(objpfx)tst-vfork3-mem): Likewise.
53801         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53802         ($(objpfx)tst-pcre-mem): Likewise.
53803         ($(objpfx)tst-boost-mem): Likewise.
53804         ($(objpfx)bug-ga2-mem): Likewise.
53805         ($(objpfx)bug-glob2-mem): Likewise.
53806         * resolv/Makefile (generate): Likewise.
53807         (tests-special): Likewise.
53808         (xtests-special): Likewise.
53809         (generated): Likewise.
53810         ($(objpfx)mtrace-tst-leaks): Likewise.
53811         ($(objpfx)mtrace-tst-leaks2): Likewise.
53813         * scripts/merge-test-results.sh: New file.
53814         * Makefile (tests-special-notdir): New variable.
53815         (tests): Run merge-test-results.sh.
53816         (xtests): Likewise.
53817         * Rules (tests-special-notdir): New variable.
53818         (xtests-special-notdir): Likewise.
53819         (tests): Run merge-test-results.sh
53820         (xtests): Likewise.
53822         * Makeconfig (test-xfail-name): New variable.
53823         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
53824         compute variable name for expected failures.
53825         * conform/Makefile (conformtest-headers-data): New variable.
53826         (conformtest-standards): Likewise.
53827         (conformtest-headers-ISO): Likewise.
53828         (conformtest-headers-ISO99): Likewise.
53829         (conformtest-headers-ISO11): Likewise.
53830         (conformtest-headers-POSIX): Likewise.
53831         (conformtest-headers-XPG3): Likewise.
53832         (conformtest-headers-XPG4): Likewise.
53833         (conformtest-headers-UNIX98): Likewise.
53834         (conformtest-headers-XOPEN2K): Likewise.
53835         (conformtest-headers-POSIX2008): Likewise.
53836         (conformtest-headers-XOPEN2K8): Likewise.
53837         (conformtest-header-list-base): Likewise.
53838         (conformtest-header-list-tests): Likewise.
53839         (conformtest-header-base): Likewise.
53840         (conformtest-header-tests): Likewise.
53841         (tests-special): Add $(conformtest-header-list-tests).  If
53842         [$(fast-check) && !$(cross-compiling)], add
53843         $(conformtest-header-tests) instead of
53844         $(objpfx)run-conformtest.out.
53845         (generated): Add $(conformtest-header-list-base).  If
53846         [$(fast-check) && !$(cross-compiling)], add
53847         $(conformtest-header-base).  Remove previous setting.
53848         ($(conformtest-header-list-tests)): New target.
53849         (test-xfail-run-conformtest): Remove variable.
53850         ($(objpfx)run-conformtest.out): Remove target.
53851         (test-xfail-ISO11/complex.h/conform): New variable.
53852         (test-xfail-ISO11/stdalign.h/conform): Likewise.
53853         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
53854         (test-xfail-XPG3/varargs.h/conform): Likewise.
53855         (test-xfail-XPG4/varargs.h/conform): Likewise.
53856         (test-xfail-UNIX98/varargs.h/conform): Likewise.
53857         (test-xfail-XPG4/ndbm.h/conform): Likewise.
53858         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
53859         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
53860         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
53861         (test-xfail-XPG3/fcntl.h/conform): Likewise.
53862         (test-xfail-XPG3/ftw.h/conform): Likewise.
53863         (test-xfail-XPG3/grp.h/conform): Likewise.
53864         (test-xfail-XPG3/langinfo.h/conform): Likewise.
53865         (test-xfail-XPG3/limits.h/conform): Likewise.
53866         (test-xfail-XPG3/pwd.h/conform): Likewise.
53867         (test-xfail-XPG3/search.h/conform): Likewise.
53868         (test-xfail-XPG3/signal.h/conform): Likewise.
53869         (test-xfail-XPG3/stdio.h/conform): Likewise.
53870         (test-xfail-XPG3/stdlib.h/conform): Likewise.
53871         (test-xfail-XPG3/string.h/conform): Likewise.
53872         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
53873         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
53874         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
53875         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
53876         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
53877         (test-xfail-XPG3/sys/types.h/conform): Likewise.
53878         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
53879         (test-xfail-XPG3/termios.h/conform): Likewise.
53880         (test-xfail-XPG3/time.h/conform): Likewise.
53881         (test-xfail-XPG3/unistd.h/conform): Likewise.
53882         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
53883         (test-xfail-XPG4/fcntl.h/conform): Likewise.
53884         (test-xfail-XPG4/langinfo.h/conform): Likewise.
53885         (test-xfail-XPG4/netdb.h/conform): Likewise.
53886         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
53887         (test-xfail-XPG4/signal.h/conform): Likewise.
53888         (test-xfail-XPG4/stdio.h/conform): Likewise.
53889         (test-xfail-XPG4/stdlib.h/conform): Likewise.
53890         (test-xfail-XPG4/stropts.h/conform): Likewise.
53891         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
53892         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
53893         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
53894         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
53895         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
53896         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
53897         (test-xfail-XPG4/sys/time.h/conform): Likewise.
53898         (test-xfail-XPG4/sys/types.h/conform): Likewise.
53899         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
53900         (test-xfail-XPG4/termios.h/conform): Likewise.
53901         (test-xfail-XPG4/ucontext.h/conform): Likewise.
53902         (test-xfail-XPG4/unistd.h/conform): Likewise.
53903         (test-xfail-XPG4/utmpx.h/conform): Likewise.
53904         (test-xfail-POSIX/sched.h/conform): Likewise.
53905         (test-xfail-POSIX/signal.h/conform): Likewise.
53906         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53907         (test-xfail-POSIX/tar.h/conform): Likewise.
53908         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
53909         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
53910         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
53911         (test-xfail-UNIX98/netdb.h/conform): Likewise.
53912         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
53913         (test-xfail-UNIX98/sched.h/conform): Likewise.
53914         (test-xfail-UNIX98/signal.h/conform): Likewise.
53915         (test-xfail-UNIX98/stdio.h/conform): Likewise.
53916         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
53917         (test-xfail-UNIX98/stropts.h/conform): Likewise.
53918         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
53919         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
53920         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
53921         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
53922         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
53923         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
53924         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
53925         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
53926         (test-xfail-UNIX98/unistd.h/conform): Likewise.
53927         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
53928         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
53929         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
53930         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
53931         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
53932         (test-xfail-XOPEN2K/math.h/conform): Likewise.
53933         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
53934         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
53935         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
53936         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
53937         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
53938         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
53939         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
53940         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
53941         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
53942         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
53943         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
53944         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
53945         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
53946         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
53947         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
53948         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
53949         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
53950         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
53951         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
53952         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
53953         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
53954         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
53955         (test-xfail-POSIX2008/signal.h/conform): Likewise.
53956         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
53957         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
53958         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
53959         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
53960         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
53961         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
53962         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
53963         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
53964         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
53965         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
53966         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
53967         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
53968         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
53969         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
53970         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
53971         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
53972         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
53973         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
53974         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
53975         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
53976         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
53977         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
53978         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
53979         (conformtest-cc-flags): Likewise.
53980         ($(conformtest-header-tests): New target.
53981         * conform/check-header-lists.sh: New file.
53982         * conform/run-conformtest.sh: Remove.
53984         * conform/conformtest.pl: Allow ' and \ in values given for
53985         constants.
53986         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
53987         inclusion.
53988         [POSIX] (sys/types.h): Likewise.
53989         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
53990         inclusion.
53991         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
53992         inclusion.
53993         * conform/data/signal.h-data (SIGIO): Remove expectation.
53994         [XPG3] (SIGBUS): Do not expect.
53995         [POSIX || XPG3] (SIGPOLL): Likewise.
53996         [POSIX || XPG3] (SIGPROF): Likewise.
53997         [POSIX || XPG3] (SIGSYS): Likewise.
53998         [XPG3] (SIGTRAP): Likewise.
53999         [POSIX || XPG3] (SIGURG): Likewise.
54000         [POSIX || XPG3] (SIGVTALRM): Likewise.
54001         [POSIX || XPG3] (SIGXCPU): Likewise.
54002         [POSIX || XPG3] (SIGXFSZ): Likewise.
54003         [POSIX] (SA_SIGINFO): Expect.
54004         [XPG3] (siginfo_t): Do not expect type or contents.
54005         [POSIX] (si_pid): Do not expect element.
54006         [POSIX] (si_uid): Likewise.
54007         [POSIX] (si_addr): Likewise.
54008         [POSIX] (si_status): Likewise.
54009         [POSIX] (si_band): Likewise.
54010         [XPG4] (si_value): Likewise.
54011         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
54012         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
54013         [POSIX || XPG3] (ILL_ILLADR): Likewise.
54014         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
54015         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
54016         [POSIX || XPG3] (ILL_PRVREG): Likewise.
54017         [POSIX || XPG3] (ILL_COPROC): Likewise.
54018         [POSIX || XPG3] (ILL_BADSTK): Likewise.
54019         [POSIX || XPG3] (FPE_INTDIV): Likewise.
54020         [POSIX || XPG3] (FPE_INTOVF): Likewise.
54021         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
54022         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
54023         [POSIX || XPG3] (FPE_FLTUND): Likewise.
54024         [POSIX || XPG3] (FPE_FLTRES): Likewise.
54025         [POSIX || XPG3] (FPE_FLTINV): Likewise.
54026         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
54027         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
54028         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
54029         [POSIX || XPG3] (BUS_ADRALN): Likewise.
54030         [POSIX || XPG3] (BUS_ADRERR): Likewise.
54031         [POSIX || XPG3] (BUS_OBJERR): Likewise.
54032         [POSIX || XPG3] (CLD_EXITED): Likewise.
54033         [POSIX || XPG3] (CLD_KILLED): Likewise.
54034         [POSIX || XPG3] (CLD_DUMPED): Likewise.
54035         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
54036         [POSIX || XPG3] (CLD_STOPPED): Likewise.
54037         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
54038         [POSIX || XPG3] (POLL_IN): Likewise.
54039         [POSIX || XPG3] (POLL_OUT): Likewise.
54040         [POSIX || XPG3] (POLL_MSG): Likewise.
54041         [POSIX || XPG3] (POLL_ERR): Likewise.
54042         [POSIX || XPG3] (POLL_PRI): Likewise.
54043         [POSIX || XPG3] (POLL_HUP): Likewise.
54044         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
54045         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
54046         (SIG*): Do not allow.
54047         [XPG3] (si_*): Likewise.
54048         [XPG3] (SI_*): Likewise.
54049         [XPG3 || XPG4] (sigev_*): Likewise.
54050         [XPG3 || XPG4] (SIGEV_*): Likewise.
54051         [XPG3 || XPG4] (sival_*): Likewise.
54052         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
54053         [POSIX || XPG3] (BUS_*): Likewise.
54054         [POSIX || XPG3] (CLD_*): Likewise.
54055         [POSIX || XPG3] (FPE_*): Likewise.
54056         [POSIX || XPG3] (ILL_*): Likewise.
54057         [POSIX || XPG3] (POLL_*): Likewise.
54058         [POSIX || XPG3] (SEGV_*): Likewise.
54059         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
54060         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
54061         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
54062         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
54063         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
54064         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
54065         Specify type and value.
54066         (TVERSLEN): Likewise.
54067         (REGTYPE): Likewise.
54068         (AREGTYPE): Likewise.
54069         (LNKTYPE): Likewise.
54070         (SYMTYPE): Likewise.
54071         (CHRTYPE): Likewise.
54072         (BLKTYPE): Likewise.
54073         (DIRTYPE): Likewise.
54074         (FIFOTYPE): Likewise.
54075         (CONTTYPE): Likewise.
54076         (TSUID): Likewise.
54077         (TSGID): Likewise.
54078         (TSVTX): Likewise.
54079         (TUREAD): Likewise.
54080         (TUWRITE): Likewise.
54081         (TUEXEC): Likewise.
54082         (TGREAD): Likewise.
54083         (TGWRITE): Likewise.
54084         (TGEXEC): Likewise.
54085         (TOREAD): Likewise.
54086         (TOWRITE): Likewise.
54087         (TOEXEC): Likewise.
54088         [POSIX] (TSVTX): Expect constant.
54090 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
54092         * Makefile (tests): Change dependencies to ....
54093         (tests-special): ... additions to this variable.
54094         (tests): Depend on $(tests-special).
54095         * Makerules (check-abi-list): New variable.
54096         (check-abi): Depend on $(check-abi-list).
54097         [$(subdir) = elf] (tests-special): Add
54098         $(objpfx)check-abi-libc.out.
54099         [$(build-shared) = yes && subdir] (tests-special): Add
54100         $(check-abi-list).
54101         [$(build-shared) = yes && subdir] (tests): Do not depend on
54102         check-abi.
54103         * Rules (tests): Depend on $(tests-special).
54104         (xtests): Depend on $(xtests-special).
54105         * catgets/Makefile (tests): Change dependencies to ....
54106         (tests-special): ... additions to this variable.
54107         * conform/Makefile (tests): Change dependencies to ....
54108         (tests-special): ... additions to this variable.
54109         * elf/Makefile (tests): Change dependencies to ....
54110         (tests-special): ... additions to this variable.
54111         * grp/Makefile (tests): Change dependencies to ....
54112         (tests-special): ... additions to this variable.
54113         * iconv/Makefile (xtests): Change dependencies to ....
54114         (xtests-special): ... additions to this variable.
54115         * iconvdata/Makefile (tests): Change dependencies to ....
54116         (tests-special): ... additions to this variable.
54117         * intl/Makefile (tests): Change dependencies to ....
54118         (tests-special): ... additions to this variable.  Also add
54119         $(objpfx)tst-gettext.out.
54120         * io/Makefile (tests): Change dependencies to ....
54121         (tests-special): ... additions to this variable.
54122         * libio/Makefile (tests): Change dependencies to ....
54123         (tests-special): ... additions to this variable.
54124         * malloc/Makefile (tests): Change dependencies to ....
54125         (tests-special): ... additions to this variable.
54126         * misc/Makefile (tests): Change dependencies to ....
54127         (tests-special): ... additions to this variable.
54128         * nptl/Makefile (tests): Change dependencies to ....
54129         (tests-special): ... additions to this variable.
54130         * nptl_db/Makefile (tests): Change dependencies to ....
54131         (tests-special): ... additions to this variable.
54132         * posix/Makefile (tests): Change dependencies to ....
54133         (tests-special): ... additions to this variable.
54134         (xtests): Change dependencies to ....
54135         (xtests-special): ... additions to this variable.
54136         * resolv/Makefile (tests): Change dependencies to ....
54137         (tests-special): ... additions to this variable.
54138         (xtests): Change dependencies to ....
54139         (xtests-special): ... additions to this variable.
54140         * stdio-common/Makefile (tests): Change dependencies to ....
54141         (tests-special): ... additions to this variable.
54142         (do-tst-unbputc): Remove target.
54143         (do-tst-printf): Likewise.
54144         * stdlib/Makefile (tests): Change dependencies to ....
54145         (tests-special): ... additions to this variable.
54146         * string/Makefile (tests): Change dependencies to ....
54147         (tests-special): ... additions to this variable.
54148         * sysdeps/x86/Makefile (tests): Change dependencies to ....
54149         (tests-special): ... additions to this variable.
54151         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
54152         whole file.
54153         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
54154         whole file.
54155         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
54156         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
54158         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
54159         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
54160         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
54161         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
54162         * conform/data/libgen.h-data [XPG3]: Likewise.
54163         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
54164         * conform/data/ndbm.h-data [XPG3]: Likewise.
54165         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
54166         * conform/data/netdb.h-data [XPG3]: Likewise.
54167         * conform/data/netinet/in.h-data [XPG3]: Likewise.
54168         * conform/data/poll.h-data [XPG3]: Likewise.
54169         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
54170         * conform/data/strings.h-data [XPG3]: Likewise.
54171         * conform/data/stropts.h-data [XPG3]: Likewise.
54172         * conform/data/sys/mman.h-data [XPG3]: Likewise.
54173         * conform/data/sys/resource.h-data [XPG3]: Likewise.
54174         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
54175         Likewise.
54176         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
54177         * conform/data/sys/time.h-data [XPG3]: Likewise.
54178         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
54179         * conform/data/sys/uio.h-data [XPG3]: Likewise.
54180         * conform/data/sys/un.h-data [XPG3]: Likewise.
54181         * conform/data/syslog.h-data [XPG3]: Likewise.
54182         * conform/data/ucontext.h-data [XPG3]: Likewise.
54183         * conform/data/utmpx.h-data [XPG3]: Likewise.
54184         * conform/data/varargs.h-data [UNIX98]: Enable file.
54186         * manual/Makefile (INSTALL_INFO): Remove variable setting.
54188         * math/libm-test.inc (struct test_f_f_data): Move expected results
54189         into structure for each rounding mode.
54190         (struct test_ff_f_data): Likewise.
54191         (struct test_ff_f_data_nexttoward): Likewise.
54192         (struct test_fi_f_data): Likewise.
54193         (struct test_fl_f_data): Likewise.
54194         (struct test_if_f_data): Likewise.
54195         (struct test_fff_f_data): Likewise.
54196         (struct test_c_f_data): Likewise.
54197         (struct test_f_f1_data): Likewise.
54198         (struct test_fF_f1_data): Likewise.
54199         (struct test_ffI_f1_data): Likewise.
54200         (struct test_c_c_data): Likewise.
54201         (struct test_cc_c_data): Likewise.
54202         (struct test_f_i_data): Likewise.
54203         (struct test_ff_i_data): Likewise.
54204         (struct test_f_l_data): Likewise.
54205         (struct test_f_L_data): Likewise.
54206         (struct test_fFF_11_data): Likewise.
54207         (RM_): New macro.
54208         (RM_FE_DOWNWARD): Likewise.
54209         (RM_FE_TONEAREST): Likewise.
54210         (RM_FE_TOWARDZERO): Likewise.
54211         (RM_FE_UPWARD): Likewise.
54212         (RUN_TEST_LOOP_f_f): Update references to expected results.
54213         (RUN_TEST_LOOP_2_f): Likewise.
54214         (RUN_TEST_LOOP_fff_f): Likewise.
54215         (RUN_TEST_LOOP_c_f): Likewise.
54216         (RUN_TEST_LOOP_f_f1): Likewise.
54217         (RUN_TEST_LOOP_fF_f1): Likewise.
54218         (RUN_TEST_LOOP_fI_f1): Likewise.
54219         (RUN_TEST_LOOP_ffI_f1): Likewise.
54220         (RUN_TEST_LOOP_c_c): Likewise.
54221         (RUN_TEST_LOOP_cc_c): Likewise.
54222         (RUN_TEST_LOOP_f_i): Likewise.
54223         (RUN_TEST_LOOP_f_i_tg): Likewise.
54224         (RUN_TEST_LOOP_ff_i_tg): Likewise.
54225         (RUN_TEST_LOOP_f_b): Likewise.
54226         (RUN_TEST_LOOP_f_b_tg): Likewise.
54227         (RUN_TEST_LOOP_f_l): Likewise.
54228         (RUN_TEST_LOOP_f_L): Likewise.
54229         (RUN_TEST_LOOP_fFF_11): Likewise.
54230         * math/gen-libm-test.pl (parse_args): Output four copies of
54231         expected results for each test.
54233         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54234         (__ASSUME_UTIMES): Remove.
54235         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54236         (__ASSUME_UTIMES): Likewise.
54238         * math/gen-auto-libm-tests.c: Update comment on output format.
54239         (output_for_one_input_case): Generate before-rounding and
54240         after-rounding information as conditions on output flags not
54241         floating-point format.
54242         * math/auto-libm-test-out: Regenerated.
54243         * math/gen-libm-test.pl (cond_value): New function.
54244         (or_cond_value): Use cond_value.
54245         (generate_testfile): Handle conditional exceptions.
54247 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
54249         * math/libm-test.inc (max_valid_error): New variable.
54250         (init_max_error): Take new argument specifying whether function
54251         results are exactly determined.  Set max_valid_error and bound
54252         other variables for errors based on this argument.
54253         (set_max_error): Do not record results above max_valid_error.
54254         (check_float_internal): Only accept errors of up to 0.5ulps if
54255         also at most max_valid_error.
54256         (START): Take new argument EXACT and pass it to init_max_error.
54257         (acos_test): Update call to START.
54258         (acos_test_tonearest): Likewise.
54259         (acos_test_towardzero): Likewise.
54260         (acos_test_downward): Likewise.
54261         (acos_test_upward): Likewise.
54262         (acosh_test): Likewise.
54263         (asin_test): Likewise.
54264         (asin_test_tonearest): Likewise.
54265         (asin_test_towardzero): Likewise.
54266         (asin_test_downward): Likewise.
54267         (asin_test_upward): Likewise.
54268         (asinh_test): Likewise.
54269         (atan_test): Likewise.
54270         (atanh_test): Likewise.
54271         (atan2_test): Likewise.
54272         (cabs_test): Likewise.
54273         (cacos_test): Likewise.
54274         (cacosh_test): Likewise.
54275         (carg_test): Likewise.
54276         (casin_test): Likewise.
54277         (casinh_test): Likewise.
54278         (catan_test): Likewise.
54279         (catanh_test): Likewise.
54280         (cbrt_test): Likewise.
54281         (ccos_test): Likewise.
54282         (ccosh_test): Likewise.
54283         (ceil_test): Likewise.
54284         (cexp_test): Likewise.
54285         (cimag_test): Likewise.
54286         (clog_test): Likewise.
54287         (clog10_test): Likewise.
54288         (conj_test): Likewise.
54289         (copysign_test): Likewise.
54290         (cos_test): Likewise.
54291         (cos_test_tonearest): Likewise.
54292         (cos_test_towardzero): Likewise.
54293         (cos_test_downward): Likewise.
54294         (cos_test_upward): Likewise.
54295         (cosh_test): Likewise.
54296         (cosh_test_tonearest): Likewise.
54297         (cosh_test_towardzero): Likewise.
54298         (cosh_test_downward): Likewise.
54299         (cosh_test_upward): Likewise.
54300         (cpow_test): Likewise.
54301         (cproj_test): Likewise.
54302         (creal_test): Likewise.
54303         (csin_test): Likewise.
54304         (csinh_test): Likewise.
54305         (csqrt_test): Likewise.
54306         (ctan_test): Likewise.
54307         (ctan_test_tonearest): Likewise.
54308         (ctan_test_towardzero): Likewise.
54309         (ctan_test_downward): Likewise.
54310         (ctan_test_upward): Likewise.
54311         (ctanh_test): Likewise.
54312         (ctanh_test_tonearest): Likewise.
54313         (ctanh_test_towardzero): Likewise.
54314         (ctanh_test_downward): Likewise.
54315         (ctanh_test_upward): Likewise.
54316         (erf_test): Likewise.
54317         (erfc_test): Likewise.
54318         (exp_test): Likewise.
54319         (exp_test_tonearest): Likewise.
54320         (exp_test_towardzero): Likewise.
54321         (exp_test_downward): Likewise.
54322         (exp_test_upward): Likewise.
54323         (exp10_test): Likewise.
54324         (exp10_test_tonearest): Likewise.
54325         (exp10_test_towardzero): Likewise.
54326         (exp10_test_downward): Likewise.
54327         (exp10_test_upward): Likewise.
54328         (pow10_test): Likewise.
54329         (exp2_test): Likewise.
54330         (expm1_test): Likewise.
54331         (expm1_test_tonearest): Likewise.
54332         (expm1_test_towardzero): Likewise.
54333         (expm1_test_downward): Likewise.
54334         (expm1_test_upward): Likewise.
54335         (fabs_test): Likewise.
54336         (fdim_test): Likewise.
54337         (floor_test): Likewise.
54338         (fma_test): Likewise.
54339         (fma_test_towardzero): Likewise.
54340         (fma_test_downward): Likewise.
54341         (fma_test_upward): Likewise.
54342         (fmax_test): Likewise.
54343         (fmin_test): Likewise.
54344         (fmod_test): Likewise.
54345         (fpclassify_test): Likewise.
54346         (frexp_test): Likewise.
54347         (hypot_test): Likewise.
54348         (ilogb_test): Likewise.
54349         (isfinite_test): Likewise.
54350         (finite_test): Likewise.
54351         (isgreater_test): Likewise.
54352         (isgreaterequal_test): Likewise.
54353         (isinf_test): Likewise.
54354         (isless_test): Likewise.
54355         (islessequal_test): Likewise.
54356         (islessgreater_test): Likewise.
54357         (isnan_test): Likewise.
54358         (isnormal_test): Likewise.
54359         (issignaling_test): Likewise.
54360         (isunordered_test): Likewise.
54361         (j0_test): Likewise.
54362         (j1_test): Likewise.
54363         (jn_test): Likewise.
54364         (ldexp_test): Likewise.
54365         (lgamma_test): Likewise.
54366         (gamma_test): Likewise.
54367         (lrint_test): Likewise.
54368         (lrint_test_tonearest): Likewise.
54369         (lrint_test_towardzero): Likewise.
54370         (lrint_test_downward): Likewise.
54371         (lrint_test_upward): Likewise.
54372         (llrint_test): Likewise.
54373         (llrint_test_tonearest): Likewise.
54374         (llrint_test_towardzero): Likewise.
54375         (llrint_test_downward): Likewise.
54376         (llrint_test_upward): Likewise.
54377         (log_test): Likewise.
54378         (log10_test): Likewise.
54379         (log1p_test): Likewise.
54380         (log2_test): Likewise.
54381         (logb_test): Likewise.
54382         (logb_test_downward): Likewise.
54383         (lround_test): Likewise.
54384         (llround_test): Likewise.
54385         (modf_test): Likewise.
54386         (nearbyint_test): Likewise.
54387         (nextafter_test): Likewise.
54388         (nexttoward_test): Likewise.
54389         (pow_test): Likewise.
54390         (pow_test_tonearest): Likewise.
54391         (pow_test_towardzero): Likewise.
54392         (pow_test_downward): Likewise.
54393         (pow_test_upward): Likewise.
54394         (remainder_test): Likewise.
54395         (drem_test): Likewise.
54396         (remainder_test_tonearest): Likewise.
54397         (drem_test_tonearest): Likewise.
54398         (remainder_test_towardzero): Likewise.
54399         (drem_test_towardzero): Likewise.
54400         (remainder_test_downward): Likewise.
54401         (drem_test_downward): Likewise.
54402         (remainder_test_upward): Likewise.
54403         (drem_test_upward): Likewise.
54404         (remquo_test): Likewise.
54405         (rint_test): Likewise.
54406         (rint_test_tonearest): Likewise.
54407         (rint_test_towardzero): Likewise.
54408         (rint_test_downward): Likewise.
54409         (rint_test_upward): Likewise.
54410         (round_test): Likewise.
54411         (scalb_test): Likewise.
54412         (scalbn_test): Likewise.
54413         (scalbln_test): Likewise.
54414         (signbit_test): Likewise.
54415         (sin_test): Likewise.
54416         (sin_test_tonearest): Likewise.
54417         (sin_test_towardzero): Likewise.
54418         (sin_test_downward): Likewise.
54419         (sin_test_upward): Likewise.
54420         (sincos_test): Likewise.
54421         (sinh_test): Likewise.
54422         (sinh_test_tonearest): Likewise.
54423         (sinh_test_towardzero): Likewise.
54424         (sinh_test_downward): Likewise.
54425         (sinh_test_upward): Likewise.
54426         (sqrt_test): Likewise.
54427         (sqrt_test_tonearest): Likewise.
54428         (sqrt_test_towardzero): Likewise.
54429         (sqrt_test_downward): Likewise.
54430         (sqrt_test_upward): Likewise.
54431         (tan_test): Likewise.
54432         (tan_test_tonearest): Likewise.
54433         (tan_test_towardzero): Likewise.
54434         (tan_test_downward): Likewise.
54435         (tan_test_upward): Likewise.
54436         (tanh_test): Likewise.
54437         (tgamma_test): Likewise.
54438         (trunc_test): Likewise.
54439         (y0_test): Likewise.
54440         (y1_test): Likewise.
54441         (yn_test): Likewise.
54442         (significand_test): Likewise.
54444         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
54445         individual tests in comment.
54446         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
54447         (prev_max_error): New variable.
54448         (prev_real_max_error): Likewise.
54449         (prev_imag_max_error): Likewise.
54450         (compare_ulp_data): Don't refer to test names in comment.
54451         (find_test_ulps): Remove function.
54452         (find_function_ulps): Likewise.
54453         (find_complex_function_ulps): Likewise.
54454         (init_max_error): Take function name as argument.  Look up ulps
54455         for that function.
54456         (print_ulps): Remove function.
54457         (print_max_error): Use prev_max_error instead of calling
54458         find_function_ulps.
54459         (print_complex_max_error): Use prev_real_max_error and
54460         prev_imag_max_error instead of calling find_complex_function_ulps.
54461         (check_float_internal): Take max_ulp parameter instead of calling
54462         find_test_ulps.  Don't call print_ulps.
54463         (check_float): Update call to check_float_internal.
54464         (check_complex): Update calls to check_float_internal.
54465         (START): Pass argument to init_max_error.
54466         * math/gen-libm-test.pl (%results): Don't include "kind"
54467         information.
54468         (parse_ulps): Don't handle ulps of individual tests.
54469         (print_ulps_file): Likewise.
54470         (output_ulps): Likewise.
54471         * math/README.libm-test: Update.
54472         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
54473         individual tests.
54474         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
54475         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
54476         * sysdeps/arm/libm-test-ulps: Likewise.
54477         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
54478         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
54479         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
54480         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
54481         * sysdeps/microblaze/libm-test-ulps: Likewise.
54482         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
54483         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
54484         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54485         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
54486         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54487         * sysdeps/sh/libm-test-ulps: Likewise.
54488         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54489         * sysdeps/tile/libm-test-ulps: Likewise.
54490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54492 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
54494         * math/libm-test.inc (print_complex_max_error): Check separately
54495         whether real and imaginary errors are within allowed range and
54496         pass 0 to print_complex_function_ulps instead of value within
54497         allowed range.
54499 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54501         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
54502         formatting.
54503         (get_handles_fopen): Likewise.
54504         (do_write_test): Likewise.
54506         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
54508         * libio/fileops.c (do_ftell): Use cached offset when
54509         available.
54510         * libio/iofwide.c (do_ftell_wide): Likewise.
54511         * libio/iofdopen.c (_IO_new_fdopen): Don't use
54512         _IO_file_attach.
54513         * libio/wfileops.c (_IO_fwide): Don't cache offset.
54515         [BZ #16532]
54516         * libio/libioP.h (get_file_offset): New function.
54517         * libio/fileops.c (get_file_offset): Likewise.
54518         (do_ftell): Likewise.
54519         (_IO_new_file_seekoff): Split out ftell logic.
54520         * libio/wfileops.c (do_ftell_wide): Likewise.
54521         (_IO_wfile_seekoff): Split out ftell logic.
54522         * libio/tst-ftell-active-handler.c: New test case.
54523         * libio/Makefile (tests): Add it.
54525 2014-03-03  Roland McGrath  <roland@hack.frob.com>
54527         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
54528         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
54530 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54532         [BZ #16639]
54533         * nscd/connections.c (nscd_init): Call do_exit.
54534         (start_threads): Call do_exit and notify_parent.
54535         (begin_drop_privileges): Call do_exit.
54536         (finish_drop_privileges): Likewise.
54537         * nscd/selinux.c (preserve_capabilities): Likewise.
54538         (install_real_capabilities): Likewise.
54539         (nscd_selinux_enabled): Likewise.
54540         (avc_create_thread): Likewise.
54541         (avc_alloc_lock): Likewise.
54542         (nscd_avc_init): Likewise.
54543         * nscd/nscd.c (parent_fd): New static variable.
54544         (main): Create a pipe between parent and child processes.
54545         Skip closing parent_fd.
54546         (monitor_child): New function.
54547         (do_exit): Likewise.
54548         (notify_parent): Likewise.
54549         * nscd/nscd.h (notify_parent): Likewise.
54550         (do_exit): Likewise.
54552 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
54554         * malloc/malloc.c (__libc_calloc): Revert last change.
54556 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54560 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
54562         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
54563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
54564         implementation.
54565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54566         (__libc_ifunc_impl_list): Likewise.
54567         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
54568         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
54569         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
54570         * string/strrchr.c: Define STRRCHR.
54572 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
54574         * benchtest/bench-strtok.c (simple_strtok): Delete.
54575         (strtok_string): Use as benchmark.
54576         * string/strtok (STRTOK): New macro.
54578 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
54580         * manual/threads.texi: Add header and standard comments to all
54581         functions.
54583         * elf/dl-lookup.c (check_match): New function.
54584         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
54585         (do_lookup_x): Remove nested function check_match. Use non-nested
54586         function check_match.
54588 2014-02-28  Roland McGrath  <roland@hack.frob.com>
54590         * csu/Makefile (generated, before-compile): Use += rather than =.
54591         * catgets/Makefile (generated, generated-dirs): Likewise.
54592         * debug/Makefile (generated): Likewise.
54593         * dlfcn/Makefile (generated): Likewise.
54594         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
54595         * iconvdata/Makefile (before-compile, generated): Likewise.
54596         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
54597         * libio/Makefile (generated): Likewise.
54598         * malloc/Makefile (generated): Likewise.
54599         * manual/Makefile (generated, generated-dirs): Likewise.
54600         * misc/Makefile (generated): Likewise.
54601         * posix/Makefile (generated): Likewise.
54602         * resolv/Makefile (generated): Likewise.
54603         * sunrpc/Makefile (generated, generated-dirs): Likewise.
54604         * timezone/Makefile (generated, generated-dirs): Likewise.
54606         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
54608 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54610         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
54611         power8 implementation.
54612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
54613         file: POWER8 llround ifunc implementation.
54614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
54615         (__lllround): Add POWER8 implementation.
54616         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
54617         POWER8 llround implementation.
54619         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
54620         power8 implementation.
54621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
54622         file: POWER8 llrint ifunc implementation.
54623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
54624         Add POWER8 implementation.
54625         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
54626         POWER8 llrint implementation.
54628         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
54629         power8 implementation.
54630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
54631         file: POWER8 finite ifunc implementation.
54632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
54633         Add POWER8 implementation.
54634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
54635         Likewise.
54636         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
54637         POWER8 finite implementation.
54638         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
54640         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
54641         power8 implementation.
54642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
54643         file: POWER8 isinf ifunc implementation.
54644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
54645         POWER8 implementation.
54646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
54647         Likewise.
54648         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
54649         isinf implementation.
54650         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
54652         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
54653         (INIT_ARCH): Add hwcap2 initialization.
54654         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
54655         power8 implementation.
54656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
54657         file: POWER8 isnan ifunc implementation.
54658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
54659         POWER8 implementation.
54660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
54661         Likewise.
54662         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
54663         isnan implementation.
54664         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
54666 2014-02-27  Joey Ye  <joey.ye@arm.com>
54668         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
54669         (_FP_NANFRAC_Q): Set to zero.
54671 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54673         [BZ #16623]
54674         * math/auto-libm-test-in: New test inputs.
54675         * math/auto-libm-test-out: Regenerate.
54676         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
54677         and DA.
54678         (__cos): Likewise.
54679         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54681 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
54683         * scripts/evaluate-test.sh: Take new argument indicating whether
54684         failure is expected.
54685         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
54686         indicating whether failure is expected.
54687         * conform/Makefile (test-xfail-run-conformtest): New variable.
54688         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
54689         level.
54690         * posix/Makefile (test-xfail-annexc): New variable.
54691         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
54693 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
54695         * argp/Makefile: Include Makeconfig immediately after defining
54696         subdir.
54697         * assert/Makefile: Likewise.
54698         * benchtests/Makefile: Likewise.
54699         * catgets/Makefile: Likewise.
54700         * conform/Makefile: Likewise.
54701         * crypt/Makefile: Likewise.
54702         * csu/Makefile: Likewise.
54703         (all): Remove target.
54704         * ctype/Makefile: Include Makeconfig immediately after defining
54705         subdir.
54706         * debug/Makefile: Likewise.
54707         * dirent/Makefile: Likewise.
54708         * dlfcn/Makefile: Likewise.
54709         * gmon/Makefile: Likewise.
54710         * gnulib/Makefile: Likewise.
54711         * grp/Makefile: Likewise.
54712         * gshadow/Makefile: Likewise.
54713         * hesiod/Makefile: Likewise.
54714         * hurd/Makefile: Likewise.
54715         (all): Remove target.
54716         * iconvdata/Makefile: Include Makeconfig immediately after
54717         defining subdir.
54718         * inet/Makefile: Likewise.
54719         * intl/Makefile: Likewise.
54720         * io/Makefile: Likewise.
54721         * libio/Makefile: Likewise.
54722         (all): Remove target.
54723         * locale/Makefile: Include Makeconfig immediately after defining
54724         subdir.
54725         * login/Makefile: Likewise.
54726         * mach/Makefile: Likewise.
54727         (all): Remove target.
54728         * malloc/Makefile: Include Makeconfig immediately after defining
54729         subdir.
54730         (all): Remove target.
54731         * manual/Makefile: Include Makeconfig immediately after defining
54732         subdir.
54733         * math/Makefile: Likewise.
54734         * misc/Makefile: Likewise.
54735         * nis/Makefile: Likewise.
54736         * nss/Makefile: Likewise.
54737         * po/Makefile: Likewise.
54738         (all): Remove target.
54739         * posix/Makefile: Include Makeconfig immediately after defining
54740         subdir.
54741         * pwd/Makefile: Likewise.
54742         * resolv/Makefile: Likewise.
54743         * resource/Makefile: Likewise.
54744         * rt/Makefile: Likewise.
54745         * setjmp/Makefile: Likewise.
54746         * shadow/Makefile: Likewise.
54747         * signal/Makefile: Likewise.
54748         * socket/Makefile: Likewise.
54749         * soft-fp/Makefile: Likewise.
54750         * stdio-common/Makefile: Likewise.
54751         * stdlib/Makefile: Likewise.
54752         * streams/Makefile: Likewise.
54753         * string/Makefile: Likewise.
54754         * sunrpc/Makefile: Likewise.
54755         (all): Remove target.
54756         * sysvipc/Makefile: Include Makeconfig immediately after defining
54757         subdir.
54758         * termios/Makefile: Likewise.
54759         * time/Makefile: Likewise.
54760         * timezone/Makefile: Likewise.
54761         (all): Remove target.
54762         * wcsmbs/Makefile: Include Makeconfig immediately after defining
54763         subdir.
54764         * wctype/Makefile: Likewise.
54766 2014-02-26  Steve Ellcey  <sellcey@mips.com>
54768         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
54769         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
54770         (libc_feholdexcept_setround_mips): Ditto.
54771         (libc_feholdsetround): New.
54772         (libc_feholdsetroundf): New.
54773         (libc_feholdsetroundl): New.
54774         (libc_feupdateenv_test_mips): New.
54775         (libc_feupdateenv_test): New.
54776         (libc_feupdateenv_testf): New.
54777         (libc_feupdateenv_testl): New.
54778         (libc_feresetround): New.
54779         (libc_feresetroundf): New.
54780         (libc_feresetroundl): New.
54781         (libc_fetestexcept_mips): New.
54782         (libc_fetestexcept): New.
54783         (libc_fetestexceptf): New.
54784         (libc_fetestexceptl): New.
54785         (HAVE_RM_CTX): New.
54786         (libc_feholdexcept_setround_mips_ctx): New.
54787         (libc_feholdexcept_setround_ctx): New.
54788         (libc_feholdexcept_setroundf_ctx): New.
54789         (libc_feholdexcept_setroundl_ctx): New.
54790         (libc_fesetenv_mips_ctx): New.
54791         (libc_fesetenv_ctx): New.
54792         (libc_fesetenv_ctxf): New.
54793         (libc_fesetenv_ctxl): New.
54794         (libc_feupdateenv_mips_ctx): New.
54795         (libc_feupdateenv_ctx): New.
54796         (libc_feupdateenvf_ctx): New.
54797         (libc_feupdateenvl_ctx): New.
54798         (libc_feholdsetround_mips_ctx): New.
54799         (libc_feholdsetround_ctx): New.
54800         (libc_feholdsetroundf_ctx): New.
54801         (libc_feholdsetroundl_ctx): New.
54802         (libc_feresetround_mips_ctx): New.
54803         (libc_feresetround_ctx): New.
54804         (libc_feresetroundf_ctx): New.
54805         (libc_feresetroundl_ctx): New.
54807 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
54809         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
54811         * manual/ipc.texi: New file.
54812         * manual/Makefile (chapters): Add ipc.
54813         * manual/job.texi: Add "Inter-Process Communication" to next.
54814         * manual/process.texi: Add "Inter-Process Communication" to prev.
54816 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54820 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
54822         * malloc/malloc.c (__libc_calloc): Simplify implementation.
54824         * manual/arith.texi: Fix spaces after sentences.
54825         * manual/charset.texi: Likewise.
54826         * manual/errno.texi: Likewise.
54827         * manual/install.texi: Likewise.
54828         * manual/llio.texi: Likewise.
54829         * manual/locale.texi: Likewise.
54830         * manual/maint.texi: Likewise.
54831         * manual/math.texi: Likewise.
54832         * manual/memory.texi: Likewise.
54833         * manual/message.texi: Likewise.
54834         * manual/probes.texi: Likewise.
54835         * manual/resource.texi: Likewise.
54836         * manual/signal.texi: Likewise.
54837         * manual/socket.texi: Likewise.
54838         * manual/stdio.texi: Likewise.
54839         * manual/string.texi: Likewise.
54840         * manual/time.texi: Likewise.
54841         * manual/users.texi: Likewise.
54843 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
54845         [BZ #16632]
54846         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
54847         _DEFAULT_SOURCE is defined.
54849 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
54850             Carlos O'Donell  <carlos@redhat.com>
54852         [BZ #16613]
54853         * elf/dl-tls.c (_dl_count_modids): New function.
54854         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
54855         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
54856         audit library and increment generation counter.
54857         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
54858         * elf/tst-audit9.c: New file.
54859         * elf/tst-auditmod9a.c: New file.
54860         * elf/tst-auditmod9b.c: New file.
54861         * elf/Makefile: Add rules to build and run tst-audit9.
54863 2014-02-25  Florian Weimer  <fweimer@redhat.com>
54865         [BZ #15347]
54866         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
54868 2014-02-25  Will Newton  <will.newton@linaro.org>
54870         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
54871         (__longjmp): Restore sp and lr before restoring callee
54872         saved registers.  Add longjmp and longjmp_target
54873         SystemTap probe point.
54874         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
54875         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
54876         Define to zero to match jmpbuf layout.
54877         * sysdeps/arm/setjmp.S: Include stap-probe.h.
54878         (__sigsetjmp): Save sp and lr before saving callee
54879         saved registers.  Add setjmp SystemTap probe point.
54881 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
54883         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
54885 2014-02-24  Andreas Schwab  <schwab@suse.de>
54887         [BZ #15804]
54888         * elf/pldd.c (wait_for_ptrace_stop): New function.
54889         (main): Call it after attaching.
54891 2014-02-22  Roland McGrath  <roland@hack.frob.com>
54893         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
54894         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
54895         Versions files is now verboten.
54896         * hurd/Versions (libc: GLIBC_2.0):
54897         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
54898         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
54899         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
54900         * mach/Versions: Likewise.
54902         * csu/Versions: Remove unused %include.
54903         * resolv/Versions: Likewise.
54905 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
54907         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
54908         ($(objpfx)check-local-headers.out): Likewise.
54909         ($(objpfx)begin-end-check.out): Likewise.
54910         * Makerules (check-abi-%.out): Likewise.
54911         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
54912         ($(objpfx)test2.cat): Likewise.
54913         ($(objpfx)de/libc.cat): Likewise.
54914         ($(objpfx)test-gencat.out): Likewise.
54915         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
54916         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
54917         ($(objpfx)noload-mem): Likewise.
54918         ($(objpfx)tst-pathopt.out): Likewise.
54919         ($(objpfx)tst-rtld-load-self.out): Likewise.
54920         ($(objpfx)tst-array1-cmp.out): Likewise.
54921         ($(objpfx)tst-array1-static-cmp.out): Likewise.
54922         ($(objpfx)tst-array2-cmp.out): Likewise.
54923         ($(objpfx)tst-array3-cmp.out): Likewise.
54924         ($(objpfx)tst-array4-cmp.out): Likewise.
54925         ($(objpfx)tst-array5-cmp.out): Likewise.
54926         ($(objpfx)tst-array5-static-cmp.out): Likewise.
54927         ($(objpfx)check-textrel.out): Likewise.
54928         ($(objpfx)check-execstack.out): Likewise.
54929         ($(objpfx)check-localplt.out): Likewise.
54930         ($(objpfx)order2-cmp.out): Likewise.
54931         ($(objpfx)tst-leaks1-mem): Likewise.
54932         ($(objpfx)tst-leaks1-static-mem): Likewise.
54933         ($(objpfx)tst-initorder-cmp.out): Likewise.
54934         ($(objpfx)tst-initorder2-cmp.out): Likewise.
54935         ($(objpfx)tst-unused-dep.out): Likewise.
54936         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
54937         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
54938         * iconv/Makefile (test-iconvconfig): Likewise.
54939         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
54940         ($(objpfx)iconv-test.out): Likewise.
54941         ($(objpfx)tst-tables.out): Likewise.
54942         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
54943         ($(objpfx)tst-gettext.out): Likewise.
54944         ($(objpfx)tst-translit.out): Likewise.
54945         ($(objpfx)tst-gettext2.out): Likewise.
54946         ($(objpfx)tst-gettext4.out): Likewise.
54947         ($(objpfx)tst-gettext6.out): Likewise.
54948         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
54949         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
54950         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
54951         ($(objpfx)tst-fopenloc-mem.out): Likewise.
54952         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
54953         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
54954         * posix/Makefile ($(objpfx)globtest.out): Likewise.
54955         ($(objpfx)wordexp-tst.out): Likewise.
54956         ($(objpfx)annexc.out): Likewise.
54957         ($(objpfx)tst-fnmatch-mem): Likewise.
54958         ($(objpfx)bug-regex2-mem): Likewise.
54959         ($(objpfx)bug-regex14-mem): Likewise.
54960         ($(objpfx)bug-regex21-mem): Likewise.
54961         ($(objpfx)bug-regex31-mem): Likewise.
54962         ($(objpfx)tst-vfork3-mem): Likewise.
54963         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
54964         ($(objpfx)tst-pcre-mem): Likewise.
54965         ($(objpfx)tst-boost-mem): Likewise.
54966         ($(objpfx)tst-getconf.out): Likewise.
54967         ($(objpfx)bug-ga2-mem): Likewise.
54968         ($(objpfx)bug-glob2-mem): Likewise.
54969         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
54970         ($(objpfx)mtrace-tst-leaks2): Likewise.
54971         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
54972         ($(objpfx)tst-printf.out): Likewise.
54973         ($(objpfx)tst-setvbuf1.out): Likewise.
54974         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
54975         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
54976         ($(objpfx)tst-fmtmsg.out): Likewise.
54977         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
54978         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
54980         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
54981         * bits/sigaction.h [__USE_MISC]: Likewise.
54982         * bits/waitstatus.h: Update #endif comments.
54983         * ctype/ctype.h: Likewise.
54984         * dirent/dirent.h: Likewise.
54985         [__USE_MISC]: Remove redundant conditionals.
54986         * grp/grp.h: Update #endif comments.
54987         [__USE_GNU]: Remove redundant conditionals.
54988         [__USE_MISC]: Likewise.
54989         * inet/netinet/in.h [__USE_GNU]: Likewise.
54990         * io/sys/stat.h [__USE_MISC]: Likewise.
54991         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
54992         * libio/bits/stdio.h: Update #endif comments.
54993         [__USE_MISC]: Remove redundant conditionals.
54994         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
54995         * libio/stdio.h: Update #endif comments.
54996         [__USE_MISC]: Remove redundant conditionals.
54997         * math/bits/math-finite.h [__USE_MISC]: Likewise.
54998         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
54999         * math/math.h: Update #else and #endif comments.
55000         [__USE_MISC]: Remove redundant conditionals.
55001         * misc/sys/uio.h: Update #endif comments.
55002         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
55003         * posix/glob.h [__USE_MISC]: Likewise.
55004         * posix/sys/types.h: Update #endif comments.
55005         [__USE_MISC]: Remove redundant conditionals.
55006         * posix/sys/wait.h: Update #endif comments.
55007         [__USE_MISC]: Remove redundant conditionals.
55008         * posix/unistd.h: Update #endif comments.
55009         [__USE_MISC]: Remove redundant conditionals.
55010         * pwd/pwd.h [__USE_GNU]: Likewise.
55011         [__USE_MISC]: Likewise.
55012         * resolv/netdb.h [__USE_GNU]: Likewise.
55013         * signal/signal.h: Update #endif comments.
55014         [__USE_MISC]: Remove redundant conditionals.
55015         * stdlib/stdlib.h: Update #else and #endif comments.
55016         [__USE_MISC]: Remove redundant conditionals.
55017         [__USE_GNU]: Likewise.
55018         * string/bits/string2.h [__USE_MISC]: Likewise.
55019         * string/string.h: Update #endif comments.
55020         [__USE_MISC]: Remove redundant conditionals.
55021         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
55022         Likewise.
55023         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
55024         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
55025         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
55026         Likewise.
55027         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
55028         Likewise.
55029         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
55030         comments.
55031         [__USE_MISC]: Remove redundant conditionals.
55032         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
55033         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
55034         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
55035         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
55036         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
55037         Likewise.
55038         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
55039         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
55040         Likewise.
55041         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
55042         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
55043         Likewise.
55044         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
55045         Likewise.
55046         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
55047         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
55048         Likewise.
55049         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
55050         Likewise.
55051         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
55052         * sysdeps/x86/bits/string.h: Update #endif comments.
55053         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
55054         conditionals.
55055         * time/sys/time.h: Update #endif comments.
55056         * time/time.h: Likewise.
55057         [__USE_MISC]: Remove redundant conditionals.
55059 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
55061         [BZ #16600]
55062         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
55064 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
55066         * Versions.def (librt): Add GLIBC_2.17.
55068 2014-02-21  Adam Conrad  <adconrad@0c3.net>
55070         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
55071         synonym for _SYS_AUXV_H to allow direct inclusion.
55072         * sysdeps/sparc/bits/hwcap.h: Likewise.
55073         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
55074         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
55075         * sysdeps/sparc/sysdep.h: Likewise.
55077 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55079         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
55081 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55083         * benchtests/bench-strrchr.c: Print length instead of position.
55085 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
55087         [BZ #16611]
55088         * sysdeps/unix/sysv/linux/kernel-features.h
55089         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
55090         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
55091         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
55092         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
55093         Likewise.
55094         [__i386__ || __powerpc__ || __sh__ || __sparc__]
55095         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55096         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
55097         (__ASSUME_SENDMMSG): Define instead of using previous
55098         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
55099         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55100         (__ASSUME_SENDMMSG_SYSCALL): Define.
55101         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55102         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
55103         Likewise.
55104         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55105         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55106         Likewise.
55107         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55108         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55109         Likewise.
55110         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
55111         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
55112         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
55113         [__ASSUME_SENDMMSG]: Change conditionals to
55114         [__ASSUME_SENDMMSG_SOCKETCALL].
55115         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55116         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
55117         Define.
55118         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55119         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
55120         Likewise.
55121         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
55122         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
55123         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
55124         [!__ASSUME_SENDMMSG]: Change conditional to
55125         [!__ASSUME_SENDMMSG_SOCKETCALL].
55126         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55127         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55128         Define.
55130         [BZ #16610]
55131         * sysdeps/unix/sysv/linux/kernel-features.h
55132         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
55133         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
55134         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
55135         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
55136         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
55137         [__i386__ || __sparc__]
55138         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55139         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
55140         (__ASSUME_RECVMMSG): Define instead of using previous
55141         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
55142         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55143         (__ASSUME_RECVMMSG_SYSCALL): Define.
55144         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55145         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55146         Likewise.
55147         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55148         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55149         Likewise.
55150         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55151         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55152         Likewise.
55153         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
55154         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
55155         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
55156         [__ASSUME_RECVMMSG]: Change condition to
55157         [__ASSUME_RECVMMSG_SOCKETCALL].
55158         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55159         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55160         Define.
55161         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55162         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55163         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55164         Likewise.
55165         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
55166         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
55167         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
55168         [!__ASSUME_RECVMMSG]: Change condition to
55169         [!__ASSUME_RECVMMSG_SOCKETCALL].
55170         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55171         (__ASSUME_RECVMMSG_SYSCALL): Define.
55173         [BZ #16609]
55174         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
55175         __powerpc__ || __s390__ || __sh__ || __sparc__]
55176         (__ASSUME_SOCKETCALL): Define.
55177         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
55178         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
55179         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
55180         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
55181         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
55182         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
55183         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
55184         (__ASSUME_ACCEPT4): Define instead of using previous
55185         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
55186         __powerpc__ || __sparc__ || __s390__)] condition.
55187         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55188         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
55189         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
55190         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
55191         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
55192         [!__ASSUME_ACCEPT4]: Change condition to
55193         [!__ASSUME_ACCEPT4_SOCKETCALL].
55194         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55195         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
55196         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
55197         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55198         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
55199         __ASSUME_ACCEPT4_SYSCALL.
55200         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
55201         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
55202         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55203         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
55204         __ASSUME_ACCEPT4_SYSCALL.
55205         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
55206         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
55207         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
55208         [__ASSUME_ACCEPT4]: Change condition to
55209         [__ASSUME_ACCEPT4_SOCKETCALL].
55210         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
55211         (__ASSUME_SOCKETCALL): Define.
55212         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
55213         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55214         (__ASSUME_SOCKETCALL): Define.
55215         (__ASSUME_ACCEPT4): Remove.
55216         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
55217         Define.
55218         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55219         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
55220         Likewise.
55221         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55222         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
55224         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
55225         macro.
55226         (HWCAP_ARM_LPAE): Likewise.
55227         (HWCAP_ARM_EVTSTRM): Likewise.
55228         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
55229         Add vpfd32, lpae and evtstrm.
55230         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
55231         Increase to 22.
55233 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
55235         * math/auto-libm-test-in: Add tests of clog10.
55236         * math/auto-libm-test-out: Regenerated.
55237         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
55238         * sysdeps/i386/fpu/libm-test-ulps: Update.
55239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55241 2014-02-18  Andreas Schwab  <schwab@suse.de>
55243         [BZ #16574]
55244         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
55245         Store non-zero if the second buffer was newly allocated.
55246         (send_dg): Likewise.
55247         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
55248         to send_vc and send_dg.
55249         (res_nsend): Pass NULL for ansp2_malloced.
55250         * resolv/res_query.c (__libc_res_nquery): Add parameter
55251         answerp2_malloced and pass it down to __libc_res_nsend.
55252         (res_nquery): Pass additional NULL to __libc_res_nquery.
55253         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
55254         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
55255         second answer buffer if answerp2_malloced was set.
55256         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
55257         (__libc_res_nquerydomain): Add parameter
55258         answerp2_malloced and pass it down to __libc_res_nquery.
55259         (res_nquerydomain): Pass additional NULL to
55260         __libc_res_nquerydomain.
55261         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
55262         additional NULL to __libc_res_nsend and __libc_res_nquery.
55263         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
55264         additional NULL to __libc_res_nsearch.
55265         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
55266         parameter of __libc_res_nsearch to check for separately allocated
55267         second buffer.
55268         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
55269         __libc_res_nquery.
55270         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
55271         additional NULL to __libc_res_nquery.
55272         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
55273         __libc_res_nsearch.
55274         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
55275         * include/resolv.h: Update prototypes of __libc_res_nquery,
55276         __libc_res_nsearch, __libc_res_nsend.
55278 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
55280         * math/auto-libm-test-in: Add tests of fma.
55281         * math/auto-libm-test-out: Regenerated.
55282         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
55283         (fma_towardzero_test_data): Likewise.
55284         (fma_downward_test_data): Likewise.
55285         (fma_upward_test_data): Likewise.
55286         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
55287         mpc_mode.
55288         (rounding_modes): Add values for new field.
55289         (func_calc_method): Add value mpfr_fff_f.
55290         (func_calc_desc): Add mpfr_fff_f union field.
55291         (test_function): Add field exact_args.
55292         (FUNC): Add macro argument EXACT_ARGS.
55293         (FUNC_mpfr_f_f): Update call to FUNC.
55294         (FUNC_mpfr_f_f): Likewise.
55295         (FUNC_mpfr_ff_f): Likewise.
55296         (FUNC_mpfr_if_f): Likewise.
55297         (FUNC_mpc_c_f): Likewise.
55298         (FUNC_mpc_c_c): Likewise.
55299         (test_functions): Add fma.  Update calls to FUNC.
55300         (handle_input_arg): Add argument exact_args.
55301         (add_test): Update call to handle_input_arg.
55302         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
55303         (output_for_one_input_case): Update call to calc_generic_results.
55304         Recalculate exact zero results in each rounding mode.
55306         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
55307         non-negative before setting low bit.
55308         * math/auto-libm-test-in: Mark one asin test possibly having
55309         spurious underflow.
55310         * math/auto-libm-test-out: Regenerated.
55311         * sysdeps/i386/fpu/libm-test-ulps: Update.
55312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55314 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
55316         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
55317         * sysdeps/unix/sysv/linux/microblaze: Move directory from
55318         ports/sysdeps/unix/sysv/linux/microblaze.
55319         * README: Add missing listing for microblaze*-*-linux-gnu.
55321 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
55323         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
55324         duplicate code
55326 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
55328         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
55329         * sysdeps/unix/sysv/linux/ia64: Move directory from
55330         ports/sysdeps/unix/sysv/linux/ia64.
55331         * README: Update listing for ia64-*-linux-gnu.
55333 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
55334             Joseph Myers  <joseph@codesourcery.com>
55336         * Makeconfig (test-name): New variable.
55337         (evaluate-test): Likewise.
55338         * Makerules (do-test-clean): Remove .test-result files.
55339         (common-mostlyclean): Likewise.
55340         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
55341         * scripts/evaluate-test.sh: New file.
55343 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
55345         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
55346         separate $(objpfx)tst-fopenloc-cmp.out and
55347         $(objpfx)tst-fopenloc-mem.out targets.
55348         (tests): Update dependencies.
55349         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
55350         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
55351         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
55352         (tst-rxspencer-no-utf8-ARGS): New variable.
55353         (tst-rxspencer-no-utf8-ENV): Likewise.
55354         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
55355         instead of $(objpfx)tst-rxspencer-mem.
55356         ($(objpfx)tst-rxspencer-mem): Change target to
55357         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
55358         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
55359         * posix/tst-rxspencer-no-utf8.c: New file.
55361         * elf/Makefile ($(objpfx)order.out): Remove rule.
55362         [$(run-built-tests) = yes] (tests): Depend on
55363         $(objpfx)order-cmp.out.
55364         ($(objpfx)order-cmp.out): New rule.
55365         [$(run-built-tests) = yes] (tests): Depend on
55366         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
55367         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
55368         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
55369         $(objpfx)tst-array5-static-cmp.out.
55370         ($(objpfx)tst-array1.out): Remove rule.
55371         ($(objpfx)tst-array1-cmp.out): New rule.
55372         ($(objpfx)tst-array1-static.out): Remove rule.
55373         ($(objpfx)tst-array1-static-cmp.out): New rule.
55374         ($(objpfx)tst-array2.out): Remove rule.
55375         ($(objpfx)tst-array2-cmp.out): New rule.
55376         ($(objpfx)tst-array3.out): Remove rule.
55377         ($(objpfx)tst-array3-cmp.out): New rule.
55378         ($(objpfx)tst-array4.out): Remove rule.
55379         ($(objpfx)tst-array4-cmp.out): New rule.
55380         ($(objpfx)tst-array5.out): Remove rule.
55381         ($(objpfx)tst-array5-cmp.out): New rule.
55382         ($(objpfx)tst-array5-static.out): Remove rule.
55383         ($(objpfx)tst-array5-static-cmp.out): New rule.
55384         [$(run-built-tests) = yes] (tests): Depend on
55385         $(objpfx)order2-cmp.out.
55386         ($(objpfx)order2.out): Remove rule.
55387         ($(objpfx)order2-cmp.out): New rule.
55388         ($(objpfx)tst-initorder.out): Remove rule.
55389         [$(run-built-tests) = yes] (tests): Depend on
55390         $(objpfx)tst-initorder-cmp.out.
55391         ($(objpfx)tst-initorder-cmp.out): New rule.
55392         ($(objpfx)tst-initorder2.out): Remove rule.
55393         [$(run-built-tests) = yes] (tests): Depend on
55394         $(objpfx)tst-initorder2-cmp.out.
55395         ($(objpfx)tst-initorder2-cmp.out): New rule.
55396         [$(run-built-tests) = yes] (tests): Depend on
55397         $(objpfx)tst-unused-dep-cmp.out.
55398         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
55399         ($(objpfx)tst-unused-dep-cmp.out): New rule.
55400         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
55401         on $(objpfx)tst-setvbuf1-cmp.out.
55402         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
55403         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
55404         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
55405         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
55406         ($(objpfx)tst-svc.out): Remove rule.
55407         ($(objpfx)tst-svc-cmp.out): New rule.
55409 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
55411         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
55412         * ctype/ctype.h [__USE_MISC]: Likewise.
55413         * dirent/dirent.h [__USE_MISC]: Likewise.
55414         * grp/grp.h [__USE_MISC]: Likewise.
55415         * io/fcntl.h [__USE_MISC]: Likewise.
55416         * io/sys/stat.h [__USE_MISC]: Likewise.
55417         * libio/stdio.h [__USE_MISC]: Likewise.
55418         * posix/unistd.h [__USE_MISC]: Likewise.
55419         * pwd/pwd.h [__USE_MISC]: Likewise.
55420         * stdlib.h [__USE_MISC]: Likewise.
55421         * string/bits/string2.h [__USE_MISC]: Likewise.
55422         * string/string.h [__USE_MISC]: Likewise.
55423         * time/time.h [__USE_MISC]: Likewise.
55425 2014-02-13  Andreas Schwab  <schwab@suse.de>
55427         [BZ #16574]
55428         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
55429         second answer buffer if it was separately allocated.
55431 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
55433         * sysdeps/mips/math-tests.h: Include <features.h>.
55434         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
55435         (ROUNDING_TESTS_long_double): Do not define.
55436         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
55437         (EXCEPTION_TESTS_long_double): Likewise.
55438         * sysdeps/mips/mips64/libm-test-ulps: Update.
55440         * include/features.h (__USE_BSD): Remove macro definitions.
55441         (__USE_SVID): Likewise.
55442         (_BSD_SOURCE): Likewise.
55443         (_SVID_SOURCE): Likewise.
55444         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
55445         from definition of _DEFAULT_SOURCE.
55446         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
55447         [_DEFAULT_SOURCE].
55448         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
55449         * bits/mman.h [__USE_BSD]: Likewise.
55450         * bits/termios.h [__USE_BSD]: Likewise.
55451         * bits/waitstatus.h [__USE_BSD]: Likewise.
55452         * ctype/ctype.h [__USE_SVID]: Likewise.
55453         * dirent/dirent.h [__USE_BSD]: Likewise.
55454         * grp/grp.h [__USE_SVID]: Likewise.
55455         [__USE_BSD]: Likewise.
55456         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
55457         * io/fcntl.h [__USE_BSD]: Likewise.
55458         * io/ftw.h [__USE_BSD]: Likewise.
55459         * io/sys/stat.h [__USE_BSD]: Likewise.
55460         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
55461         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
55462         * libio/stdio.h [__USE_SVID]: Likewise.
55463         [__USE_BSD]: Likewise.
55464         * math/math.h [__USE_SVID]: Likewise.
55465         [__USE_BSD]: Likewise.
55466         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
55467         * misc/bits/syslog.h [__USE_BSD]: Likewise.
55468         * misc/search.h [__USE_SVID]: Likewise.
55469         * misc/sys/mman.h [__USE_BSD]: Likewise.
55470         * misc/sys/syslog.h [__USE_BSD]: Likewise.
55471         * misc/sys/uio.h [__USE_BSD]: Likewise.
55472         * posix/bits/unistd.h [__USE_BSD]: Likewise.
55473         * posix/glob.h [__USE_BSD]: Likewise.
55474         * posix/regex.h [__USE_BSD]: Likewise.
55475         * posix/sys/types.h [__USE_BSD]: Likewise.
55476         [__USE_SVID]: Likewise.
55477         * posix/sys/utsname.h [__USE_SVID]: Likewise.
55478         * posix/sys/wait.h [__USE_BSD]: Likewise.
55479         [__USE_SVID]: Likewise.
55480         * posix/unistd.h [__USE_BSD]: Likewise.
55481         [__USE_SVID]: Likewise.
55482         * pwd/pwd.h [__USE_SVID]: Likewise.
55483         * resolv/netdb.h [__USE_BSD]: Likewise.
55484         * setjmp/setjmp.h [__USE_BSD]: Likewise.
55485         * signal/signal.h [__USE_BSD]: Likewise.
55486         [__USE_SVID]: Likewise.
55487         * socket/sys/socket.h [__USE_BSD]: Likewise.
55488         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
55489         * stdlib/stdlib.h [__USE_BSD]: Likewise.
55490         [__USE_SVID]: Likewise.
55491         * string/bits/string2.h [__USE_BSD]: Likewise.
55492         [__USE_SVID]: Likewise.
55493         * string/bits/string3.h [__USE_BSD]: Likewise.
55494         * string/endian.h [__USE_BSD]: Likewise.
55495         * string/string.h [__USE_SVID]: Likewise.
55496         [__USE_BSD]: Likewise.
55497         * string/strings.h [__USE_BSD]: Likewise.
55498         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
55499         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
55500         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
55501         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
55502         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
55503         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
55504         Likewise.
55505         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
55506         Likewise.
55507         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
55508         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
55509         Likewise.
55510         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
55511         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
55512         Likewise.
55513         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
55514         Likewise.
55515         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
55516         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
55517         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
55518         Likewise.
55519         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
55520         Likewise.
55521         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
55522         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
55523         * termios/termios.h [__USE_BSD]: Likewise.
55524         * time/sys/time.h [__USE_BSD]: Likewise.
55525         * time/time.h [__USE_BSD]: Likewise.
55526         [__USE_SVID]: Likewise.
55528         * Makefile (subdir_targets): Remove subdir_lint.out.
55530         * stdio-common/Makefile (do-tst-unbputc): Remove target.
55531         (do-tst-printf): Likewise.
55532         (tests): Depend directly on $(objpfx)tst-unbputc.out and
55533         $(objpfx)tst-printf.out.
55535         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
55537         * Makerules (check-abi-%): Change target to
55538         $(objpfx)check-abi-%.out.
55539         (check-abi target): Update dependencies.
55540         (check-abi-pattern variable): Redirect output of diff to $@.
55541         (check-abi variable): Likewise.
55542         * elf/Makefile (check-abi): Update dependencies.
55544         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
55545         unused.
55546         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
55547         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
55548         subnormal range.
55549         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
55550         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
55551         value has largest subnormal exponent.
55552         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
55553         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
55554         * sysdeps/aarch64/soft-fp/sfp-machine.h
55555         (_FP_TININESS_AFTER_ROUNDING): New macro.
55556         * sysdeps/alpha/soft-fp/sfp-machine.h
55557         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55558         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55559         Likewise.
55560         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
55561         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55562         * sysdeps/mips/soft-fp/sfp-machine.h
55563         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55564         * sysdeps/powerpc/soft-fp/sfp-machine.h
55565         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55566         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55567         Likewise.
55568         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55569         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55570         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55571         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55572         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55573         Likewise.
55575 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
55577         [BZ #16545]
55578         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
55579         model 1.
55581 2014-02-12  Richard Henderson  <rth@redhat.com>
55583         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
55584         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
55585         * sysdeps/unix/sysv/linux/alpha: Move directory from
55586         ports/sysdeps/unix/sysv/linux/alpha.
55587         * README: Update listing for alpha-*-linux-gnu.
55589 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
55591         * include/features.h: Update comment documenting feature test
55592         macros.
55593         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
55594         _DEFAULT_SOURCE.
55595         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
55596         (_SVID_SOURCE): Likewise.
55597         (_DEFAULT_SOURCE): Update description of default features.
55598         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
55599         with _GNU_SOURCE.
55600         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
55601         (S_ISVTX): Likewise.
55602         * manual/math.texi (Mathematical Constants): Likewise.
55603         * manual/signal.texi (Interrupted Primitives): Likewise.
55604         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
55605         * math/test-matherr.c (_SVID_SOURCE): Do not define.
55606         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
55607         Don't refer to _SVID_SOURCE in warning text.
55609         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55611         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
55612         already defined.
55613         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
55614         * sysdeps/mips/dl-lookup.c: Remove.
55615         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
55617 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
55619         [BZ #16447]
55620         * math/auto-libm-test-in: Add testcase for expl.
55621         * math/auto-libm-test-out: Regenerate.
55622         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
55623         calculation of unsafe.
55624         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
55626 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
55628         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
55629         * sysdeps/unix/sysv/linux/aarch64: Move directory from
55630         ports/sysdeps/unix/sysv/linux/aarch64.
55631         * README: Update listing for aarch64*-*-linux-gnu.
55633 2014-02-11  Will Newton  <will.newton@linaro.org>
55635         * manual/probes.texi (Mathematical Function Probes): Use
55636         "triggered" instead of "hit".
55638         * manual/probes.texi (Internal Probes): Add documentation
55639         of setjmp, longjmp and longjmp_target probes.
55641         * include/stap-probe.h: Add comment about probe argument
55642         format.
55644         * malloc/mtrace.c (attribute_hidden): Remove unused macro
55645         definition.  (tr_where, tr_freehook, tr_mallochook,
55646         tr_reallochook, tr_memalignhook): Use ANSI protoype.
55648 2014-02-11  David S. Miller  <davem@davemloft.net>
55650         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
55651         processing int_tests.
55653 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
55655         * sysdeps/mips: Move directory from ports/sysdeps/mips.
55656         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
55657         * sysdeps/unix/sysv/linux/mips: Move directory from
55658         ports/sysdeps/unix/sysv/linux/mips.
55659         * README: Update listing for mips-*-linux-gnu and
55660         mips64-*-linux-gnu.
55662 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
55664         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
55665         * sysdeps/unix/sysv/linux/m68k: Move directory from
55666         ports/sysdeps/unix/sysv/linux/m68k.
55667         * README: Update listing for m68k-*-linux-gnu.
55669 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
55671         * sysdeps/tile: Move directory from ports/sysdeps/tile.
55672         * sysdeps/unix/sysv/linux/generic: Move directory from
55673         ports/sysdeps/unix/sysv/linux/generic.
55674         * sysdeps/unix/sysv/linux/tile: Move directory from
55675         ports/sysdeps/unix/sysv/linux/tile.
55676         * README: Update listing for tile*-*-linux-gnu.
55678 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
55680         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
55681         __builtin_expect.
55682         * benchtests/bench-memmem.c (simple_memmem): Likewise.
55683         * catgets/open_catalog.c (__open_catalog): Likewise.
55684         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
55685         * debug/confstr_chk.c: Likewise.
55686         * debug/fread_chk.c (__fread_chk): Likewise.
55687         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
55688         * debug/getgroups_chk.c: Likewise.
55689         * debug/mbsnrtowcs_chk.c: Likewise.
55690         * debug/mbsrtowcs_chk.c: Likewise.
55691         * debug/mbstowcs_chk.c: Likewise.
55692         * debug/memcpy_chk.c: Likewise.
55693         * debug/memmove_chk.c: Likewise.
55694         * debug/mempcpy_chk.c: Likewise.
55695         * debug/memset_chk.c: Likewise.
55696         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
55697         * debug/strcat_chk.c (__strcat_chk): Likewise.
55698         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
55699         * debug/strncat_chk.c (__strncat_chk): Likewise.
55700         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
55701         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
55702         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
55703         * debug/wcpncpy_chk.c: Likewise.
55704         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
55705         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
55706         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
55707         * debug/wcsncpy_chk.c: Likewise.
55708         * debug/wcsnrtombs_chk.c: Likewise.
55709         * debug/wcsrtombs_chk.c: Likewise.
55710         * debug/wcstombs_chk.c: Likewise.
55711         * debug/wmemcpy_chk.c: Likewise.
55712         * debug/wmemmove_chk.c: Likewise.
55713         * debug/wmempcpy_chk.c: Likewise.
55714         * debug/wmemset_chk.c: Likewise.
55715         * dirent/scandirat.c (SCANDIRAT): Likewise.
55716         * dlfcn/dladdr1.c (dladdr1): Likewise.
55717         * dlfcn/dladdr.c (dladdr): Likewise.
55718         * dlfcn/dlclose.c (dlclose_doit): Likewise.
55719         * dlfcn/dlerror.c (__dlerror): Likewise.
55720         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
55721         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
55722         * dlfcn/dlopen.c (dlopen_doit): Likewise.
55723         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
55724         * dlfcn/dlsym.c (dlsym_doit): Likewise.
55725         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
55726         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
55727         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
55728         Likewise.
55729         * elf/dl-conflict.c: Likewise.
55730         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
55731         * elf/dl-dst.h: Likewise.
55732         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
55733         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
55734         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
55735         * elf/dl-init.c (call_init, _dl_init): Likewise.
55736         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
55737         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
55738         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
55739         Likewise.
55740         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
55741         Likewise.
55742         * elf/dl-minimal.c (__libc_memalign): Likewise.
55743         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
55744         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55745         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
55746         * elf/dl-sym.c (do_sym): Likewise.
55747         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
55748         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
55749         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
55750         * elf/dl-writev.h (_dl_writev): Likewise.
55751         * elf/ldconfig.c (search_dir): Likewise.
55752         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
55753         (dl_main): Likewise.
55754         * elf/setup-vdso.h (setup_vdso): Likewise.
55755         * grp/compat-initgroups.c (compat_call): Likewise.
55756         * grp/fgetgrent.c (fgetgrent): Likewise.
55757         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
55758         * grp/putgrent.c (putgrent): Likewise.
55759         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55760         Likewise.
55761         * hurd/hurdinit.c: Likewise.
55762         * iconvdata/8bit-gap.c (struct): Likewise.
55763         * iconvdata/ansi_x3.110.c : Likewise.
55764         * iconvdata/big5.c : Likewise.
55765         * iconvdata/big5hkscs.c : Likewise.
55766         * iconvdata/cp1255.c: Likewise.
55767         * iconvdata/cp1258.c : Likewise.
55768         * iconvdata/cp932.c : Likewise.
55769         * iconvdata/euc-cn.c: Likewise.
55770         * iconvdata/euc-jisx0213.c : Likewise.
55771         * iconvdata/euc-jp.c: Likewise.
55772         * iconvdata/euc-jp-ms.c : Likewise.
55773         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
55774         * iconvdata/gb18030.c : Likewise.
55775         * iconvdata/gbbig5.c (const): Likewise.
55776         * iconvdata/gbgbk.c: Likewise.
55777         * iconvdata/gbk.c : Likewise.
55778         * iconvdata/ibm1364.c : Likewise.
55779         * iconvdata/ibm930.c : Likewise.
55780         * iconvdata/ibm932.c: Likewise.
55781         * iconvdata/ibm933.c : Likewise.
55782         * iconvdata/ibm935.c : Likewise.
55783         * iconvdata/ibm937.c : Likewise.
55784         * iconvdata/ibm939.c : Likewise.
55785         * iconvdata/ibm943.c: Likewise.
55786         * iconvdata/iso_11548-1.c: Likewise.
55787         * iconvdata/iso-2022-cn.c : Likewise.
55788         * iconvdata/iso-2022-cn-ext.c : Likewise.
55789         * iconvdata/iso-2022-jp-3.c: Likewise.
55790         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
55791         * iconvdata/iso-2022-kr.c : Likewise.
55792         * iconvdata/iso646.c (gconv_end): Likewise.
55793         * iconvdata/iso_6937-2.c : Likewise.
55794         * iconvdata/iso_6937.c : Likewise.
55795         * iconvdata/iso8859-1.c: Likewise.
55796         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
55797         * iconvdata/shift_jisx0213.c : Likewise.
55798         * iconvdata/sjis.c : Likewise.
55799         * iconvdata/t.61.c : Likewise.
55800         * iconvdata/tcvn5712-1.c : Likewise.
55801         * iconvdata/tscii.c: Likewise.
55802         * iconvdata/uhc.c : Likewise.
55803         * iconvdata/unicode.c (gconv_end): Likewise.
55804         * iconvdata/utf-16.c (gconv_end): Likewise.
55805         * iconvdata/utf-32.c (gconv_end): Likewise.
55806         * iconvdata/utf-7.c (base64): Likewise.
55807         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
55808         * iconv/gconv_close.c (__gconv_close): Likewise.
55809         * iconv/gconv_open.c (__gconv_open): Likewise.
55810         * iconv/gconv_simple.c (internal_ucs4_loop_single)
55811         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
55812         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
55813         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
55814         (ucs4le_internal_loop_single): Likewise.
55815         * iconv/iconv.c (iconv): Likewise.
55816         * iconv/iconv_close.c: Likewise.
55817         * iconv/loop.c (SINGLE): Likewise.
55818         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
55819         * include/atomic.h: Likewise.
55820         * inet/inet6_option.c (option_alloc): Likewise.
55821         * intl/bindtextdom.c (set_binding_values): Likewise.
55822         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
55823         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
55824         * intl/localealias.c (read_alias_file): Likewise.
55825         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
55826         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
55827         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
55828         * libio/fmemopen.c (fmemopen): Likewise.
55829         * libio/iofgets.c (_IO_fgets): Likewise.
55830         * libio/iofgets_u.c (fgets_unlocked): Likewise.
55831         * libio/iofgetws.c (fgetws): Likewise.
55832         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
55833         * libio/iogetdelim.c (_IO_getdelim): Likewise.
55834         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
55835         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
55836         * locale/findlocale.c (_nl_find_locale): Likewise.
55837         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
55838         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
55839         Likewise.
55840         * locale/setlocale.c (setlocale): Likewise.
55841         * login/programs/pt_chown.c (main): Likewise.
55842         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
55843         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
55844         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
55845         (mmap, mmap64, mremap, munmap): Likewise.
55846         * math/e_exp2l.c: Likewise.
55847         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
55848         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
55849         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
55850         * math/s_catan.c (__catan): Likewise.
55851         * math/s_catanf.c (__catanf): Likewise.
55852         * math/s_catanh.c (__catanh): Likewise.
55853         * math/s_catanhf.c (__catanhf): Likewise.
55854         * math/s_catanhl.c (__catanhl): Likewise.
55855         * math/s_catanl.c (__catanl): Likewise.
55856         * math/s_ccosh.c (__ccosh): Likewise.
55857         * math/s_ccoshf.c (__ccoshf): Likewise.
55858         * math/s_ccoshl.c (__ccoshl): Likewise.
55859         * math/s_cexp.c (__cexp): Likewise.
55860         * math/s_cexpf.c (__cexpf): Likewise.
55861         * math/s_cexpl.c (__cexpl): Likewise.
55862         * math/s_clog10.c (__clog10): Likewise.
55863         * math/s_clog10f.c (__clog10f): Likewise.
55864         * math/s_clog10l.c (__clog10l): Likewise.
55865         * math/s_clog.c (__clog): Likewise.
55866         * math/s_clogf.c (__clogf): Likewise.
55867         * math/s_clogl.c (__clogl): Likewise.
55868         * math/s_csin.c (__csin): Likewise.
55869         * math/s_csinf.c (__csinf): Likewise.
55870         * math/s_csinh.c (__csinh): Likewise.
55871         * math/s_csinhf.c (__csinhf): Likewise.
55872         * math/s_csinhl.c (__csinhl): Likewise.
55873         * math/s_csinl.c (__csinl): Likewise.
55874         * math/s_csqrt.c (__csqrt): Likewise.
55875         * math/s_csqrtf.c (__csqrtf): Likewise.
55876         * math/s_csqrtl.c (__csqrtl): Likewise.
55877         * math/s_ctan.c (__ctan): Likewise.
55878         * math/s_ctanf.c (__ctanf): Likewise.
55879         * math/s_ctanh.c (__ctanh): Likewise.
55880         * math/s_ctanhf.c (__ctanhf): Likewise.
55881         * math/s_ctanhl.c (__ctanhl): Likewise.
55882         * math/s_ctanl.c (__ctanl): Likewise.
55883         * math/w_pow.c: Likewise.
55884         * math/w_powf.c: Likewise.
55885         * math/w_powl.c: Likewise.
55886         * math/w_scalb.c (sysv_scalb): Likewise.
55887         * math/w_scalbf.c (sysv_scalbf): Likewise.
55888         * math/w_scalbl.c (sysv_scalbl): Likewise.
55889         * misc/error.c (error_tail): Likewise.
55890         * misc/pselect.c (__pselect): Likewise.
55891         * nis/nis_callback.c (__nis_create_callback): Likewise.
55892         * nis/nis_call.c (__nisfind_server): Likewise.
55893         * nis/nis_creategroup.c (nis_creategroup): Likewise.
55894         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
55895         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
55896         * nis/nis_getservlist.c (nis_getservlist): Likewise.
55897         * nis/nis_lookup.c (nis_lookup): Likewise.
55898         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
55899         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
55900         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
55901         * nis/nis_xdr.c (xdr_endpoint): Likewise.
55902         * nis/nss_compat/compat-grp.c (getgrent_next_file)
55903         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
55904         * nis/nss_compat/compat-initgroups.c (add_group)
55905         (internal_getgrent_r): Likewise.
55906         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
55907         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
55908         * nis/nss_compat/compat-spwd.c (getspent_next_file)
55909         (internal_getspnam_r): Likewise.
55910         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
55911         (_nss_nis_getaliasbyname_r): Likewise.
55912         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
55913         (_nss_nis_getntohost_r): Likewise.
55914         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
55915         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
55916         (_nss_nis_getgrgid_r): Likewise.
55917         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
55918         (internal_nis_gethostent_r, internal_gethostbyname2_r)
55919         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
55920         (_nss_nis_gethostbyname4_r): Likewise.
55921         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
55922         (initgroups_netid): Likewise.
55923         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
55924         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
55925         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
55926         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
55927         (_nss_nis_getprotobynumber_r): Likewise.
55928         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
55929         (_nss_nis_getsecretkey): Likewise.
55930         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
55931         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
55932         (_nss_nis_getpwuid_r): Likewise.
55933         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
55934         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
55935         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
55936         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
55937         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
55938         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
55939         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
55940         Likewise.
55941         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
55942         (_nss_nisplus_getntohost_r): Likewise.
55943         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
55944         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
55945         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
55946         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
55947         Likewise.
55948         * nis/nss_nisplus/nisplus-initgroups.c
55949         (_nss_nisplus_initgroups_dyn): Likewise.
55950         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
55951         (_nss_nisplus_getnetbyaddr_r): Likewise.
55952         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
55953         (_nss_nisplus_getprotobynumber_r): Likewise.
55954         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
55955         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
55956         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
55957         Likewise.
55958         * nis/nss_nisplus/nisplus-service.c
55959         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
55960         (_nss_nisplus_getservbyport_r): Likewise.
55961         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
55962         (_nss_nisplus_getspnam_r): Likewise.
55963         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
55964         Likewise.
55965         * nscd/aicache.c (addhstaiX): Likewise.
55966         * nscd/cache.c (cache_search, prune_cache): Likewise.
55967         * nscd/connections.c (register_traced_file, send_ro_fd)
55968         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
55969         (main_loop_epoll): Likewise.
55970         * nscd/grpcache.c (addgrbyX): Likewise.
55971         * nscd/hstcache.c (addhstbyX): Likewise.
55972         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55973         * nscd/mem.c (gc, mempool_alloc): Likewise.
55974         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
55975         (addinnetgrX): Likewise.
55976         * nscd/nscd-client.h (__nscd_acquire_maplock)
55977         (__nscd_drop_map_ref): Likewise.
55978         * nscd/nscd_getai.c (__nscd_getai): Likewise.
55979         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
55980         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
55981         Likewise.
55982         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
55983         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55984         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
55985         (__nscd_get_map_ref): Likewise.
55986         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
55987         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
55988         Likewise.
55989         * nscd/pwdcache.c (addpwbyX): Likewise.
55990         * nscd/selinux.c (preserve_capabilities): Likewise.
55991         * nscd/servicescache.c (addservbyX): Likewise.
55992         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
55993         * posix/fnmatch.c (fnmatch): Likewise.
55994         * posix/getopt.c (_getopt_internal_r): Likewise.
55995         * posix/glob.c (glob, glob_in_dir): Likewise.
55996         * posix/wordexp.c (exec_comm_child): Likewise.
55997         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
55998         (getanswer_r, gaih_getanswer_slice): Likewise.
55999         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
56000         * resolv/res_init.c: Likewise.
56001         * resolv/res_mkquery.c (res_nmkquery): Likewise.
56002         * resolv/res_query.c (__libc_res_nquery): Likewise.
56003         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
56004         Likewise.
56005         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
56006         * stdio-common/perror.c (perror): Likewise.
56007         * stdio-common/printf_fp.c (___printf_fp): Likewise.
56008         * stdio-common/tmpnam.c (tmpnam): Likewise.
56009         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56010         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
56011         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
56012         Likewise.
56013         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
56014         * stdlib/putenv.c (putenv): Likewise.
56015         * stdlib/setenv.c (__add_to_environ): Likewise.
56016         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56017         * stdlib/strtol_l.c (INTERNAL): Likewise.
56018         * string/memmem.c (memmem): Likewise.
56019         * string/strerror.c (strerror): Likewise.
56020         * string/strnlen.c (__strnlen): Likewise.
56021         * string/test-memmem.c (simple_memmem): Likewise.
56022         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
56023         * sunrpc/pm_getport.c (__get_socket): Likewise.
56024         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
56025         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
56026         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
56027         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
56028         Likewise.
56029         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
56030         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
56031         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
56032         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
56033         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
56034         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
56035         Likewise.
56036         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
56037         Likewise.
56038         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
56039         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
56040         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56041         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
56042         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
56043         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
56044         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
56045         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
56046         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
56047         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
56048         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56049         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
56050         Likewise.
56051         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
56052         Likewise.
56053         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
56054         Likewise.
56055         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
56056         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56057         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
56058         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
56059         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
56060         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
56061         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56062         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
56063         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
56064         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
56065         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
56066         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56067         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
56068         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
56069         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56070         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
56071         Likewise.
56072         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
56073         Likewise.
56074         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
56075         Likewise.
56076         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
56077         Likewise.
56078         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56079         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56080         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
56081         Likewise.
56082         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
56083         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
56084         * sysdeps/posix/opendir.c (__opendirat): Likewise.
56085         * sysdeps/posix/sleep.c: Likewise.
56086         * sysdeps/posix/tempname.c: Likewise.
56087         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
56088         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56089         Likewise.
56090         * sysdeps/powerpc/powerpc32/dl-machine.h
56091         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
56092         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
56093         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56094         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
56095         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
56096         Likewise.
56097         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
56098         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
56099         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
56100         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
56101         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
56102         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
56103         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
56104         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
56105         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56106         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
56107         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
56108         (elf_machine_lazy_rel): Likewise.
56109         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56110         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
56111         (elf_machine_lazy_rel): Likewise.
56112         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
56113         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
56114         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
56115         * sysdeps/unix/grantpt.c (grantpt): Likewise.
56116         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
56117         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
56118         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
56119         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56120         Likewise.
56121         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
56122         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
56123         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
56124         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
56125         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56126         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56127         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
56128         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
56129         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
56130         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56131         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56132         Likewise.
56133         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
56134         (__posix_fallocate64_l64): Likewise.
56135         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
56136         (posix_fallocate): Likewise.
56137         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
56138         Likewise.
56139         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56140         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
56141         (getifaddrs_internal): Likewise.
56142         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
56143         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
56144         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
56145         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
56146         * sysdeps/unix/sysv/linux/posix_fallocate64.c
56147         (__posix_fallocate64_l64): Likewise.
56148         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
56149         Likewise.
56150         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
56151         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
56152         (__get_clockfreq): Likewise.
56153         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
56154         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
56155         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
56156         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56157         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56158         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
56159         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
56160         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
56161         Likewise.
56162         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
56163         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
56164         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
56165         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
56166         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56167         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
56168         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
56169         Likewise.
56170         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56171         (posix_fallocate): Likewise.
56172         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56173         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
56174         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
56175         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
56176         (elf_machine_rela, elf_machine_rela_relative)
56177         (elf_machine_lazy_rel): Likewise.
56178         * time/asctime.c (asctime_internal): Likewise.
56179         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
56180         * time/tzset.c (__tzset_parse_tz): Likewise.
56181         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
56182         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
56183         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
56184         * wcsmbs/wcsmbsload.h: Likewise.
56186         [BZ #15894]
56187         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
56189         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
56190         (arena_get2): Remove THREAD_STATS conditionals.
56191         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
56192         (__malloc_stats, int): Likewise.
56194 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
56196         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
56197         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
56199         * manual/setjmp.texi: Fix typos/grammar errors.
56201         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
56202         Only return early when n is <= 0.  Delete unused return statement.
56204         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
56205         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
56206         * debug/tst-longjmp_chk3.c: New file.
56208         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
56209         (test_main): Replace code with set_fortify_handler call.
56210         * debug/test-strcpy_chk.c: Likewise.
56211         * debug/tst-chk1.c: Likewise.
56212         * debug/tst-longjmp_chk.c: Likewise.
56213         * test-skeleton.c: Include fcntl.h & paths.h
56214         (set_fortify_handler): Define.
56216         * debug/tst-longjmp_chk.c: Add header comment and include
56217         ../test-skeleton.c.
56218         (do_test): Mark static.
56219         (TEST_FUNCTION): Define.
56221         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
56222         (IP_PMTUDISC_INTERFACE): Likewise.
56223         (IP_MULTICAST_IF): Likewise.
56224         (IP_MULTICAST_TTL): Likewise.
56225         (IP_MULTICAST_LOOP): Likewise.
56226         (IP_ADD_MEMBERSHIP): Likewise.
56227         (IP_DROP_MEMBERSHIP): Likewise.
56228         (IP_UNBLOCK_SOURCE): Likewise.
56229         (IP_BLOCK_SOURCE): Likewise.
56230         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
56231         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
56232         (IP_MSFILTER): Likewise.
56233         (MCAST_JOIN_GROUP): Likewise.
56234         (MCAST_BLOCK_SOURCE): Likewise.
56235         (MCAST_UNBLOCK_SOURCE): Likewise.
56236         (MCAST_LEAVE_GROUP): Likewise.
56237         (MCAST_JOIN_SOURCE_GROUP): Likewise.
56238         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
56239         (MCAST_MSFILTER): Likewise.
56240         (IP_MULTICAST_ALL): Likewise.
56241         (IP_UNICAST_IF): Likewise.
56243         * timezone/Makefile: Delete $(have-ksh) check.
56244         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
56245         * timezone/tzselect.ksh: Add +x mode bits.
56247         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
56248         (ANON_INODE_FS_MAGIC): Likewise.
56249         (BDEVFS_MAGIC): Likewise.
56250         (BINFMTFS_MAGIC): Likewise.
56251         (BTRFS_TEST_MAGIC): Likewise.
56252         (CRAMFS_MAGIC_WEND): Likewise.
56253         (DEBUGFS_MAGIC): Likewise.
56254         (ECRYPTFS_SUPER_MAGIC): Likewise.
56255         (EXT3_SUPER_MAGIC): Likewise.
56256         (EXT4_SUPER_MAGIC): Likewise.
56257         (FUTEXFS_SUPER_MAGIC): Likewise.
56258         (HOSTFS_SUPER_MAGIC): Likewise.
56259         (HUGETLBFS_MAGIC): Likewise.
56260         (MINIX3_SUPER_MAGIC): Likewise.
56261         (MTD_INODE_FS_MAGIC): Likewise.
56262         (NILFS_SUPER_MAGIC): Likewise.
56263         (OPENPROM_SUPER_MAGIC): Likewise.
56264         (PIPEFS_MAGIC): Likewise.
56265         (PSTOREFS_MAGIC): Likewise.
56266         (QNX6_SUPER_MAGIC): Likewise.
56267         (RAMFS_MAGIC): Likewise.
56268         (REISERFS_SUPER_MAGIC_STRING): Likewise.
56269         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
56270         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
56271         (SECURITYFS_MAGIC): Likewise.
56272         (SELINUX_MAGIC): Likewise.
56273         (SMACK_MAGIC): Likewise.
56274         (SOCKFS_MAGIC): Likewise.
56275         (SQUASHFS_MAGIC): Likewise.
56276         (STACK_END_MAGIC): Likewise.
56277         (TMPFS_MAGIC): Likewise.
56278         (USBDEVICE_SUPER_MAGIC): Likewise.
56279         (V9FS_MAGIC): Likewise.
56280         (XENFS_SUPER_MAGIC): Likewise.
56281         (CRAMFS_MAGIC): Fix typo in comment.
56282         (EXT2_SUPER_MAGIC): Update comment.
56283         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
56285 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
56287         * sysdeps/arm: Move directory from ports/sysdeps/arm.
56288         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
56289         * sysdeps/unix/sysv/linux/arm: Move directory from
56290         ports/sysdeps/unix/sysv/linux/arm.
56291         * README: Update listing for arm-*-linux-gnueabi.
56293         * README: Remove mention of am33.
56295 2014-02-07  Roland McGrath  <roland@hack.frob.com>
56297         * bits/sigset.h (__sigemptyset): Use a statement expression rather
56298         than the comma operator, to avoid "rhs of comma has no effect"
56299         compiler warnings.
56300         (__sigfillset, __sigandset, __sigorset): Likewise.
56301         * include/signal.h (__sigemptyset): Likewise.
56302         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
56304 2014-02-07  Allan McRae  <allan@archlinux.org>
56306         * version.h (RELEASE): Set to "development".
56307         (VERSION): Set to "2.19.90"
56308         * NEWS: Add 2.20 section.
56310 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
56312         [BZ #16529]
56313         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
56315 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56317         * manual/contrib.texi: Update entry for Carlos O'Donell,
56318         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
56320 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
56322         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
56324         * sysdeps/unix/sysv/linux/kernel-features.h
56325         [__LINUX_KERNEL_VERSION >= 0x020621]
56326         (__ASSUME_PROC_PID_TASK_COMM): Define.
56328 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56330         [BZ #16398]
56331         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
56332         conversion when destination buffer does not have enough space.
56333         * libio/tst-ftell-partial-wide.c: New test case.
56334         * libio/Makefile (tests): Add tst-ftell-partial-wide.
56336         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
56337         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
56338         Leonard and Allan McRae.
56340 2014-02-04  David S. Miller  <davem@davemloft.net>
56342         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
56343         32-bit.
56345 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
56348         New file
56349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
56350         New file
56351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
56352         New file.
56353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
56354         New file.
56355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
56356         New file.
56357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
56358         New file.
56359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
56360         New file.
56361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
56362         New file.
56363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
56364         New file.
56365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
56366         New file.
56367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
56368         New file.
56369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
56370         New file.
56371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
56372         New file.
56374 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56376         * nptl/shlib-versions: Change powerpc*le start to 2.17.
56377         * shlib-versions: Likewise.
56379 2014-02-04  Roland McGrath  <roland@hack.frob.com>
56380             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56382         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
56383         (abilist-pattern): New variable, set to %-le.abilist.
56385         * Makerules (abilist-pattern): New variable.
56386         (vpath): Use $(abilist-pattern) in place of %.abilist.
56387         (check-abi-% pattern rule): Likewise.
56388         (check-abi, update-abi): Likewise.
56390 2014-02-04  Eric Wong  <normalperson@yhbt.net>
56392         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56394 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
56396         * manual/startup.texi: Add next, previous, and top entries for
56397         the `Program Arguments' and `Environment Variables' nodes.
56399 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
56401         * manual/macros.texi: Add comments before MTASC-safety macros.
56403         * manual/users.texi: Document MTASC-safety properties.
56405         * manual/threads.texi (pthread_key_create, pthread_key_delete)
56406         (pthread_getspecific, pthread_setspecific): Format with
56407         @deftypefun, and add @safety note.
56408         * manual/signal.texi: Move comments that analyze the above
56409         functions to their home place.
56411 2014-02-03  Allan McRae  <allan@archlinux.org>
56413         * po/sl.po: Update Slovenian translation from translation project.
56415 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
56417         * manual/time.texi (timegm): Add missing blank after @c.
56418         Reported by Joseph Myers <joseph@codesourcery.com>.
56420 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
56422         * manual/check-safety.sh: New.
56423         * manual/Makefile ($(objpfx)stamp-summary): Run it.
56425         * manual/terminal.texi: Document MTASC-safety properties.
56427         * manual/filesys.texi: Document MTASC-safety properties.
56429         * manual/errno.texi: Document MTASC-safety properties.
56431         * manual/intro.texi: Document safety identifiers and
56432         conditionals.
56434         * manual/string.texi (wcstok): Fix prototype.
56435         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
56437         * manual/time.texi: Document MTASC-safety properties.
56439         * manual/string.texi: Document MTASC-safety properties.
56441         * manual/threads.texi: Document MTASC-safety properties.
56443         * manual/stdio.texi: Document MTASC-safety properties.
56445         * manual/syslog.texi: Document MTASC-safety properties.
56447         * manual/sysinfo.texi: Document MTASC-safety properties.
56449         * manual/startup.texi: Document MTASC-safety properties.
56451         * manual/socket.texi: Document MTASC-safety properties.
56453         * manual/signal.texi: Document MTASC-safety properties.
56455 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
56457         * manual/setjmp.texi: Document MTASC-safety properties.
56459         * manual/search.texi: Document MTASC-safety properties.
56461         * manual/resource.texi: Document MTASC-safety properties.
56463         * manual/process.texi: Document MTASC-safety properties.
56465         * manual/platform.texi: Document MTASC-safety properties.
56467         * manual/pipe.texi: Document MTASC-safety properties.
56469         * manual/pattern.texi: Document MTASC-safety properties.
56471         * manual/message.texi: Document MTASC-safety properties.
56473         [BZ #12751]
56474         * manual/memory.texi: Document MTASC-safety properties.
56476         * manual/math.texi: Document MTASC-safety properties.
56478         * manual/locale.texi: Document MTASC-safety properties.
56480         * manual/llio.texi: Document MTASC-safety properties.
56482         * manual/libdl.texi: New.
56484         * manual/lang.texi: Document MTASC-safety properties.
56486         * manual/job.texi: Document MTASC-safety properties.
56488         * manual/getopt.texi: Document MTASC-safety properties.
56490         * manual/ctype.texi: Document MTASC-safety properties.
56492 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
56494         [BZ #16046]
56495         * csu/libc-tls.c (static_map): Remove variable.
56496         (__libc_setup_tls): Use main executable's link map for TLS data.
56497         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
56498         casing for LM_ID_BASE and GL(dl_nns).
56499         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
56500         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
56501         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
56502         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
56503         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
56504         member.
56505         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
56506         l_phnum members.
56508 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
56510         * manual/debug.texi: Document MTASC-safety properties.
56512 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
56514         [BZ #16510]
56515         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
56516         of __x86_64__ when disabling x87 inline functions.
56518 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
56520         * manual/charset.texi: Document MTASC-safety properties.
56522         * manual/crypt.texi: Document MTASC-safety properties.
56524         * manual/conf.texi: Document MTASC-safety properties.
56526         * manual/arith.texi: Document MTASC-safety properties.
56528         * manual/argp.texi: Document MTASC-safety properties.
56530         * manual/macros.texi: Introduce macros to document multi
56531         thread, asynchronous signal and asynchronous cancellation
56532         safety properties.
56533         * manual/intro.texi: Introduce the properties themselves.
56535 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56537         * sysdeps/sh/sh4/Makefile: New file.
56539 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
56541         * math/gen-libm-test.pl ($srcdir): New variable.
56542         ($auto_input): Use it.
56544 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56546         [BZ #16506]
56547         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
56548         access beyond array bounds when parsing netgroups file.
56550         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
56551         the old buffer before realloc.
56553 2014-01-27  Allan McRae  <allan@archlinux.org>
56555         * po/fr.po: Update French translation from translation project.
56557 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56559         * sysdeps/sh/libm-test-ulps: Regenerate.
56561 2014-01-24  David S. Miller  <davem@davemloft.net>
56563         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
56565 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56567         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
56568         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
56570 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
56572         [BZ #16474]
56573         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
56574         string pointers after reallocation.
56576 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56578         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
56579         __SH4A__ instead of __SH_FPU_ANY__.
56581 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56583         * sysdeps/sh/fpu_control.h: New file.
56584         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
56585         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
56586         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
56587         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
56588         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
56589         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
56590         * sysdeps/sh/sys/ucontext.h: Remove.
56591         * sysdeps/sh/sys: Remove directory.
56593 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56595         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
56596         s390/sys/ucontext.h.
56597         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
56598         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
56600 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
56602         [BZ #15605]
56603         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
56605 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56607         [BZ #16431]
56608         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56609         Adjust the vDSO correctly for internal calls.
56610         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
56612 2014-01-20  Allan McRae  <allan@archlinux.org>
56614         * po/ca.po: Update Catalan translation from translation project.
56616 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
56618         * sysdeps/s390/sotruss-lib.c: New file.
56620 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56622         [BZ #16430]
56623         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
56624         (__GI___gettimeofday): Alias for a different internal symbol to avoid
56625         local calls issues by not having a PLT stub required for IFUNC calls.
56626         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
56628 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
56630         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
56631         * math/test-fpucw-static.c: Likewise.
56633 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56635         [BZ #16453]
56636         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
56638 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56640         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
56641         implementation for powerpc.
56643 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
56645         [BZ #14782]
56646         * sysdeps/posix/system.c (__libc_system): Do not enable
56647         asynchronous cancellation.
56649 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56651         [BZ #16427]
56652         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
56653         handling only for numbers special also in the IEEE case.
56655 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56657         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56659 2014-01-11  Allan McRae  <allan@archlinux.org>
56661         * po/bg.po: Update Bulgarian translation from translation project.
56663         * po/de.po: Update German translation from translation project.
56665 2014-01-10  Roland McGrath  <roland@hack.frob.com>
56667         * sysdeps/generic/gcc-compat.h: New file.
56669 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56671         * benchtests/asin-inputs: Correct slow inputs.
56672         * benchtests/acos-inputs: Likewise.
56674 2014-01-10  Allan McRae  <allan@archlinux.org>
56676         * po:sv.po: Update Swedish translation from translation project.
56678         * po/vi.po: Update Vietnamese translation from translation project.
56680         * po/eo.po: Update Esperanto translation from translation project.
56682         * po/cs.po: Update Czech translation from translation project.
56684         * po/nl.po: Update Dutch translation from translation project.
56686         * po/pl.po: Update Polish translation from translation project.
56688         * po/ru.po: Update Russian translation from translation project.
56690         * po/uk.po: Update Ukrainian translation from translation project.
56692 2014-01-08  Brooks Moses  <bmoses@google.com>
56694         * elf/dl-load.c: Fix comment typo.
56696 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
56698         * po/header.pot: Rename to...
56699         * po/pot.header: ... this.
56700         * po/Makefile: Use pot.header.
56702 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
56703             Maxim Kuvyrkov  <maxim@kugelworks.com>
56705         [BZ #16394]
56706         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
56707         SRC and DEST against LEN.
56709 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56711         [BZ #16414]
56712         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
56713         implementation.
56714         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
56716 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56720 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
56722         [BZ #16408]
56723         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
56724         for large positive arguments.
56726 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
56728         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56730         * math/auto-libm-test-in: Mark various tests with
56731         xfail-rounding:ldbl-128ibm.
56732         * math/auto-libm-test-out: Regenerated.
56734         [BZ #16407]
56735         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
56736         Increase overflow threshold.
56738 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
56740         [BZ #14286]
56741         * stdio-common/vfprintf.c: Check for integer overflow.
56743 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56745         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
56746         the first argument and return value of __tls_get_addr_internal.
56748 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56750         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
56751         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
56753 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56755         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
56756         * sysdeps/s390/rtld-global-offsets.sym: New file.
56757         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
56758         GLIBC_2.19 symbol.
56759         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
56760         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
56761         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
56762         ... this.
56763         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
56764         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
56765         ... this.
56766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56767         Regenerate.
56768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56769         Regenerate.
56770         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
56771         halfs of GPRs for high_gprs contexts.
56772         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
56773         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
56774         field.
56775         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
56776         uc_flags field.
56777         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
56778         64 bit versions:
56779         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
56780         for high GPRs (uc_high_gprs) and for future extensions
56781         (__reserved).
56782         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
56783         for future extensions (__reserved).
56784         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
56785         64 bit versions:
56786         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
56787         SC_HIGHGPRS offset definition.
56788         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
56789         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
56791         * Versions.def: Add GLIBC_2.19 for libpthread.
56792         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
56793         siglongjmp for libpthread with GLIBC_2.19 symver.
56794         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
56795         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
56796         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
56797         * sysdeps/s390/__longjmp.c: New file.
56798         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
56799         * sysdeps/s390/longjmp.c: New file.
56800         * sysdeps/s390/setjmp.S: New file.
56801         * sysdeps/s390/sigjmp.S: New file.
56802         * sysdeps/s390/v1-longjmp.c: New file.
56803         * sysdeps/s390/v1-setjmp.h: New file.
56804         * sysdeps/s390/v1-sigjmp.c: New file.
56805         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
56806         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
56807         GLIBC_2.19 version.
56808         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
56809         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
56810         versioned symbols for ____longjmp_chk.
56811         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
56812         Likewise.
56813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56814         Regenerate.
56815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56816         Regenerate.
56817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56818         Regenerate.
56819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56820         Regenerate.
56821         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
56822         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
56823         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
56824         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
56825         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
56826         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
56827         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
56828         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
56829         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
56830         * sysdeps/s390/rtld-__longjmp.c: New file.
56831         * sysdeps/s390/rtld-setjmp.S: New file.
56833 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
56835         [BZ #16400]
56836         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
56837         Return -__logl (x) for small positive arguments without evaluating
56838         a polynomial.
56840 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
56842         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
56843         Rename to ...
56844         (__ptrace_peeksiginfo_args): ... this.
56845         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56846         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56847         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56849 2014-01-06  Allan McRae  <allan@archlinux.org>
56851         * inet/netinet/in.h: Fix typo in comment.
56853 2014-01-05  Andreas Jaeger  <aj@suse.de>
56855         * sysdeps/i386/fpu/libm-test-ulps: Update.
56857 2014-01-05  Allan McRae  <allan@archlinux.org>
56859         * po/libc.pot: Regenerated.
56861         * malloc/memusagestat.c: Fix gettext call formatting.
56863 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
56865         * nscd/nscd.c: Improve usage() output.
56867 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
56869         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
56870         * sysdeps/unix/sysv/linux/configure: Regenerated.
56871         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
56872         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
56874 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
56876         [BZ #16390]
56877         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56878         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
56880 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56882         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
56883         extra tokens at end of #undef directive.
56884         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
56885         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
56886         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
56888 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
56890         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56892         * math/auto-libm-test-in: Mark various tests with
56893         xfail-rounding:ldbl-128ibm.
56894         * math/auto-libm-test-out: Regenerated.
56896 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
56898         [BZ #16386]
56899         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
56900         numbers with subnormal high part when calculating exponent.
56902         [BZ #16385]
56903         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
56904         fabs.
56906         [BZ #16384]
56907         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
56908         M_LN2l.
56909         (__ieee754_acoshl): Use __log1pl not __log1p.
56911 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
56913         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
56914         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
56915         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
56916         (grow_heap, heap_trim, _int_new_arena, get_free_list)
56917         (reused_arena, arena_get2): Convert to GNU style.
56918         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
56919         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
56920         (memalign_check, __malloc_set_state): Likewise.
56921         * malloc/mallocbug.c (main): Likewise.
56922         * malloc/malloc.c (__malloc_assert, malloc_init_state)
56923         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
56924         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
56925         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
56926         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
56927         (__posix_memalign, malloc_info): Likewise.
56928         * malloc/malloc.h: Likewise.
56929         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
56930         (mallochook, memalignhook, reallochook, mabort): Likewise.
56931         * malloc/mcheck.h: Likewise.
56932         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
56933         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
56934         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
56935         * malloc/morecore.c (__default_morecore): Likewise.
56936         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
56937         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
56938         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
56939         (print_and_abort): Likewise.
56940         * malloc/obstack.h: Likewise.
56941         * malloc/set-freeres.c (__libc_freeres): Likewise.
56942         * malloc/tst-mallocstate.c (main): Likewise.
56943         * malloc/tst-mtrace.c (main): Likewise.
56944         * malloc/tst-realloc.c (do_test): Likewise.
56946 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56948         [BZ #16366]
56949         * nscd/netgroupcache.c (do_notfound): New function.
56950         (addgetnetgrentX): Use it.
56952         [BZ # 16365]
56953         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
56954         NSS_STATUS_NOTFOUND.
56956 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
56958         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
56959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56961 2014-01-01  Allan McRae  <allan@archlinux.org>
56963         * scripts/update-copyrights: Update configure input file suffix.
56965         * NEWS: Update copyright year.
56966         * catgets/gencat.c: Likewise.
56967         * csu/version.c: Likewise.
56968         * debug/catchsegv.sh: Likewise.
56969         * debug/pcprofiledump.c: Likewise.
56970         * debug/xtrace.sh: Likewise.
56971         * elf/ldconfig.c: Likewise.
56972         * elf/ldd.bash.in: Likewise.
56973         * elf/pldd.c: Likewise.
56974         * elf/sotruss.ksh: Likewise.
56975         * elf/sprof.c: Likewise.
56976         * iconv/iconv_prog.c: Likewise.
56977         * iconv/iconvconfig.c: Likewise.
56978         * locale/programs/locale.c: Likewise.
56979         * locale/programs/localedef.c: Likewise.
56980         * login/programs/pt_chown.c: Likewise.
56981         * malloc/memusage.sh: Likewise.
56982         * malloc/memusagestat.c: Likewise.
56983         * malloc/mtrace.pl: Likewise.
56984         * manual/libc.texinfo: Likewise.
56985         * nscd/nscd.c: Likewise.
56986         * nss/getent.c: Likewise.
56987         * nss/makedb.c: Likewise.
56988         * posix/getconf.c: Likewise.
56989         * scripts/test-installation.pl: Likewise.
56991         * All files with FSF copyright notices: Update copyright dates
56992         using scripts/update-copyrights.
56993         * intl/plural.c: Regenerated.
56994         * locale/programs/charmap-kw.h: Likewise.
56995         * locale/programs/locfile-kw.h: Likewise.
56997 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
56999         * sysdeps/unix/sysv/linux/configure: Regenerated.
57000         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
57001         the linux/fanotify.h header.
57002         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
57003         HAVE_LINUX_FANOTIFY_H is defined.
57005 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57007         * benchtests/cos-inputs: New inputs.
57008         * benchtests/sin-inputs: Likewise.
57010         * benchtests/atan-inputs: New inputs. Fix name of multiple
57011         precision fallback inputs.
57013         * benchtests/atanh-inputs: New inputs.
57014         * benchtests/tanh-inputs: Likewise.
57016         * benchtests/acosh-inputs: New inputs.
57017         * benchtests/asinh-inputs: Likewise.
57019         * benchtests/cosh-inputs: New inputs.
57020         * benchtests/sinh-inputs: Likewise.
57022         * benchtests/acos-inputs: Add more inputs.
57023         * benchtests/asin-inputs: Likewise.
57025 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
57027         [BZ #16375]
57028         * manual/arith.texi: Fix spelling.
57029         * manual/charset.texi: Likewise.
57030         * manual/errno.texi: Likewise.
57031         * manual/filesys.texi: Likewise.
57032         * manual/lang.texi: Likewise.
57033         * manual/llio.texi: Likewise.
57034         * manual/locale.texi: Likewise.
57035         * manual/message.texi: Likewise.
57036         * manual/resource.texi: Likewise.
57037         * manual/search.texi: Likewise.
57038         * manual/setjmp.texi: Likewise.
57039         * manual/stdio.texi: Likewise.
57040         * manual/string.texi: Likewise.
57041         * manual/sysinfo.texi: Likewise.
57042         * manual/time.texi: Likewise.
57044 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
57046         * po/sl.po: New file.
57048 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
57050         * .gitignore: Add core/.gdbinit/.gdb_history.
57052 2013-12-27  Allan McRae  <allan@archlinux.org>
57054         [BZ #16369]
57055         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
57056         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
57058 2013-12-24  Brooks Moses  <bmoses@google.com>
57060         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
57061         all compilers that claim C++98 compliance, not just GCC.
57062         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
57063         Likewise.
57065 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
57067         * NEWS: Restore accidentally deleted bug-fix entries.
57069 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
57070             Ondřej Bílka  <neleai@seznam.cz>
57072         [BZ #15073]
57073         * malloc/malloc.c (_int_free): Perform sanity check only if we
57074         have_lock.
57076 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
57078         [BZ #12986]
57079         * manual/stdio.texi (String Input Conversions): Clarify that character
57080         classes are not supported.
57082 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57086 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
57088         [BZ #16337]
57089         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
57090         Calculate results for small negative arguments directly rather
57091         than using reflection formula with special underflow handling.
57093         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
57094         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
57095         sysdeps/unix/bsd/bsd4.4/syscalls.list.
57096         (fchflags): Likewise.
57097         (revoke): Likewise.
57098         (setlogin): Likewise.
57099         (sigaltstack): Likewise.
57100         (wait4): Likewise.
57101         (sigblock): Remove.
57102         (sigsetmask): Likewise.
57103         (wait3): Likewise.
57104         (waitpid): Likewise.
57105         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
57106         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
57107         file.
57108         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
57109         * sysdeps/unix/bsd/Makefile: ... here.
57110         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
57111         * sysdeps/unix/bsd/Versions: ... here.
57112         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
57113         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
57114         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
57115         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
57116         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
57117         * sysdeps/unix/bsd/sigblock.c: ... here.
57118         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
57119         * sysdeps/unix/bsd/sigsetmask.c: ... here.
57120         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
57121         * sysdeps/unix/bsd/sigvec.c: ... here.
57122         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
57123         * sysdeps/unix/bsd/tcdrain.c: ... here.
57124         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
57125         * sysdeps/unix/bsd/tcgetattr.c: ... here.
57126         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
57127         * sysdeps/unix/bsd/tcsetattr.c: ... here.
57128         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
57129         * sysdeps/unix/bsd/wait.c: ... here.
57130         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
57131         * sysdeps/unix/bsd/wait3.c: ... here.
57132         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
57133         * sysdeps/unix/bsd/waitpid.c: ... here.
57135 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
57137         [BZ #16356]
57138         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
57139         round-to-nearest for [!USE_AS_EXPM1L].
57140         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
57141         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
57142         more tests of exp and exp10.  Expect some exp10 tests to miss
57143         exceptions or fail in directed rounding modes.
57144         * math/auto-libm-test-out: Regenerated.
57145         * math/libm-test.inc (exp10_tonearest_test_data): New array.
57146         (exp10_test_tonearest): New function.
57147         (exp10_towardzero_test_data): New array.
57148         (exp10_test_towardzero): New function.
57149         (exp10_downward_test_data): New array.
57150         (exp10_test_downward): New function.
57151         (exp10_upward_test_data): New array.
57152         (exp10_test_upward): New function.
57153         (main): Call the new functions.
57154         * sysdeps/i386/fpu/libm-test-ulps: Update.
57155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57157 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
57159         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
57160         asinh, atan, atan2, atanh, cbrt, cos and cosh.
57161         * math/auto-libm-test-out: Regenerated.
57162         * math/libm-test.inc (acosh_test_data): Add more tests.
57163         (atanh_test_data): Likewise.
57164         (ceil_test_data): Likewise.
57165         (copysign_test_data): Likewise.
57166         * sysdeps/i386/fpu/libm-test-ulps: Update.
57167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57169         * timezone/checktab.awk: Update from tzcode 2013i.
57170         * timezone/private.h: Likewise.
57171         * timezone/scheck.c: Likewise.
57172         * timezone/tzfile.h: Likewise.
57173         * timezone/tzselect.ksh: Likewise.
57174         * timezone/zdump.c: Likewise.
57175         * timezone/zic.c: Likewise.
57177         * math/auto-libm-test-in: Add tests of cpow.
57178         * math/auto-libm-test-out: Regenerated.
57179         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57180         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57181         mpc_cc_c.
57182         (func_calc_desc): Add mpc_cc_c union field.
57183         (test_functions): Add cpow.
57184         (special_fill_2pi): New function.
57185         (special_real_inputs): Add 2pi.
57186         (calc_generic_results): Handle mpc_cc_c.
57187         * sysdeps/i386/fpu/libm-test-ulps: Update.
57188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57190         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
57191         csqrt, ctan and ctanh.
57192         * math/auto-libm-test-out: Regenerated.
57193         * math/libm-test.inc (TEST_COND_x86_64): New macro.
57194         (TEST_COND_x86): Likewise.
57195         (ccos_test_data): Use AUTO_TESTS_c_c.
57196         (ccosh_test_data): Likewise.
57197         (cexp_test_data): Likewise.
57198         (clog_test_data): Likewise.
57199         (csqrt_test_data): Likewise.
57200         (ctan_test_data): Likewise.
57201         (ctan_tonearest_test_data): Likewise.
57202         (ctan_towardzero_test_data): Likewise.
57203         (ctan_downward_test_data): Likewise.
57204         (ctan_upward_test_data): Likewise.
57205         (ctanh_test_data): Likewise.
57206         (ctanh_tonearest_test_data): Likewise.
57207         (ctanh_towardzero_test_data): Likewise.
57208         (ctanh_downward_test_data): Likewise.
57209         (ctanh_upward_test_data): Likewise.
57210         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57211         mpc_c_c.
57212         (func_calc_desc): Add mpc_c_c union field.
57213         (FUNC_mpc_c_c): New macro.
57214         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
57215         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
57216         ctanh.
57217         (special_fill_min_subnorm_p120): New function.
57218         (special_real_inputs): Add min_subnorm_p120.
57219         (calc_generic_results): Handle mpc_c_c.
57220         * sysdeps/i386/fpu/libm-test-ulps: Update.
57221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57223 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57225         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
57226         (do_sin_slow): New functions.
57227         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
57228         (cslow2, csloww1, csloww2): Use the new functions.
57230         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
57231         Use M to change sign of result instead of X.  Assume X is
57232         positive.
57233         (csloww1): Likewise.
57234         (__sin): Adjust.
57235         (__cos): Adjust.
57237         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
57238         arguments A and DA.
57239         (__sin): Adjust.
57240         (__cos): Likewise.
57242         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
57243         (__cos): Likewise.
57244         (sloww1): Don't adjust sign of DX.
57245         (csloww1): Likewise.
57246         (sloww2): Use X directly and don't adjust sign of DX.
57247         (csloww2): Likewise.
57249 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57251         * math/auto-libm-test-in: Add tests of cabs and carg.
57252         * math/auto-libm-test-out: Regenerated.
57253         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
57254         (carg_test_data): Likewise.
57255         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57256         mpc_c_f.
57257         (func_calc_desc): Add mpc_c_f union field.
57258         (test_functions): Add cabs and carg.
57259         (calc_generic_results): Handle mpc_c_f.
57261         * sysdeps/powerpc/powerpc32/libgcc-compat.S
57262         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
57263         as a macro and a compat symbol.
57264         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
57265         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
57266         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
57267         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
57268         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
57269         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
57270         not use .hidden.
57271         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
57272         Likewise.
57273         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
57274         Likewise.
57275         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
57276         Likewise.
57277         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
57278         Likewise.
57279         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
57280         Likewise.
57281         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
57282         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
57283         from GLIBC_2.3.2.
57285 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57289 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57291         * manual/texinfo.tex: Update to version 2013-11-26.10 with
57292         trailing whitespace removed.
57293         * scripts/config.guess: Update to version 2013-11-29.
57294         * scripts/config.sub: Update to version 2013-10-01.
57296         * math/auto-libm-test-in: Add tests of sincos.
57297         * math/auto-libm-test-out: Regenerated.
57298         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
57299         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57300         mpfr_f_11.
57301         (func_calc_desc): Add mpfr_f_11 union field.
57302         (test_functions): Add sincos.
57303         (calc_generic_results): Handle mpfr_f_11.
57304         * sysdeps/i386/fpu/libm-test-ulps: Update.
57305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57307 2013-12-19  Andreas Schwab  <schwab@suse.de>
57309         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
57310         CALL_MCOUNT.
57311         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57312         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
57313         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
57315 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57317         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
57318         * sysdeps/i386/fpu/libm-test-ulps: Update.
57319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57321         [BZ #16293]
57322         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
57323         round-to-nearest mode when using frndint.
57324         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
57325         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
57326         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
57327         Likewise.
57328         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
57329         sinh test to fail.
57330         * math/auto-libm-test-out: Regenerated.
57331         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
57332         (TEST_COND_x86): Likewise.
57333         (expm1_tonearest_test_data): New array.
57334         (expm1_test_tonearest): New function.
57335         (expm1_towardzero_test_data): New array.
57336         (expm1_test_towardzero): New function.
57337         (expm1_downward_test_data): New array.
57338         (expm1_test_downward): New function.
57339         (expm1_upward_test_data): New array.
57340         (expm1_test_upward): New function.
57341         (main): Run the new test functions.
57342         * sysdeps/i386/fpu/libm-test-ulps: Update.
57343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57345         * include/features.h: Update comment documenting feature test
57346         macros.  Mention _DEFAULT_SOURCE in comment.
57347         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
57348         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
57349         _BSD_SOURCE and _SVID_SOURCE.
57350         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
57351         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
57352         !_SVID_SOURCE]: Likewise.
57353         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57354         (__USE_POSIX_IMPLICITLY): Define.
57355         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57356         (_POSIX_SOURCE): Undefine and redefine.
57357         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57358         (_POSIX_C_SOURCE): Likewise.
57359         * manual/creature.texi (_DEFAULT_SOURCE): Document.
57360         (Feature Test Macros): Update documentation of default features.
57362 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
57364         * benchtests/Makefile: Add bench-strtok.
57365         * benchtests/bench-strtok.c: New file: strtok benchtest.
57367 2013-12-19  Allan McRae  <allan@archlinux.org>
57369         * manual/install.texi: Suppress menu for plain text output.
57370         * INSTALL: Regenerated.
57372 2013-12-18  Brooks Moses  <bmoses@google.com>
57374         [BZ #15846]
57375         * misc/getauxval.c: Include errno.h.
57376         (__getauxval): Set errno to ENOENT if the requested type is not
57377         found.
57378         * misc/sys/auxv.h (getauxval): Document that it may set errno;
57379         don't declare with __attribute_const__.
57380         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
57381         * manual/startup.texi: Document that getauxval sets errno.
57383 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
57385         * math/auto-libm-test-in: Add tests of jn and yn.
57386         * math/auto-libm-test-out: Regenerated.
57387         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
57388         (yn_test_data): Likewise.
57389         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57390         mpfr_if_f.
57391         (func_calc_desc): Add mpfr_if_f union field.
57392         (FUNC_mpfr_if_f): New macro.
57393         (test_functions): Add jn and yn.
57394         (calc_generic_results): Assert type of second input for
57395         mpfr_ff_f.  Handle mpfr_if_f.
57396         (output_for_one_input_case): Disable all checking for arguments
57397         fitting floating-point types in case of an integer argument.
57398         * sysdeps/i386/fpu/libm-test-ulps: Update.
57399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
57402         Don't expect fegetround reference in libm.so.
57404 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57406         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
57407         $(config-cflags-nofma).
57409 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
57411         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
57412         * math/auto-libm-test-out: Regenerated.
57414         [BZ #16338]
57415         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
57416         to determine exponent and adjust argument to have exponent of -1.
57417         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
57418         log2.
57419         * math/auto-libm-test-out: Regenerated.
57420         * sysdeps/i386/fpu/libm-test-ulps: Update.
57421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57423 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
57425         * manual/probes.texi: Remove cases when per-thread arenas are
57426         disabled.
57428 2013-12-18  Andreas Schwab  <schwab@suse.de>
57430         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
57431         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
57432         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
57433         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
57434         * sysdeps/i386/i686/multiarch/Makefile: Update.
57435         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
57437 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57439         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
57440         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
57442 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
57444         [BZ #15968]
57445         Support TZ transition times < 00:00:00.
57446         This is needed for version-3 tz-format files; it supports time
57447         stamps past 2037 for America/Godthab (the only entry in the tz
57448         database for which this change is relevant).
57449         * manual/time.texi (TZ Variable): Document transition times
57450         from -167:59:59 through -00:00:01.
57451         * time/tzset.c (tz_rule): Time of day is now signed.
57452         (__tzset_parse_tz): Parse negative time of day.
57454         Document TZ transition times >= 25:00:00.
57455         * manual/time.texi (TZ Variable): Document transition times from
57456         25:00:00 through 167:59:59.  These are already supported, and this
57457         support will help with version-3 tz-format files.
57459         * manual/time.texi (TZ Variable): Modernize North America example
57460         to reflect current (i.e., 2007-and-later) daylight saving rules.
57462         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
57464 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57466         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
57467         * sysdeps/unix/bsd/bits/stat.h: Likewise.
57468         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
57469         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57470         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
57471         * sysdeps/unix/bsd/bsdstat.h: Likewise.
57472         * sysdeps/unix/bsd/clock.c: Likewise.
57473         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
57474         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
57475         * sysdeps/unix/bsd/init-posix.c: Likewise.
57476         * sysdeps/unix/bsd/poll.c: Likewise.
57477         * sysdeps/unix/bsd/ptsname.c: Likewise.
57478         * sysdeps/unix/bsd/seekdir.c: Likewise.
57479         * sysdeps/unix/bsd/setegid.c: Likewise.
57480         * sysdeps/unix/bsd/seteuid.c: Likewise.
57481         * sysdeps/unix/bsd/setgid.c: Likewise.
57482         * sysdeps/unix/bsd/setrgid.c: Likewise.
57483         * sysdeps/unix/bsd/setruid.c: Likewise.
57484         * sysdeps/unix/bsd/setsid.c: Likewise.
57485         * sysdeps/unix/bsd/setuid.c: Likewise.
57486         * sysdeps/unix/bsd/sigaction.c: Likewise.
57487         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
57488         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
57489         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
57490         * sysdeps/unix/bsd/telldir.c: Likewise.
57491         * sysdeps/unix/bsd/times.c: Likewise.
57492         * sysdeps/unix/bsd/usleep.c: Likewise.
57494         * misc/Makefile (install-lib): Remove libbsd-compat.a.
57495         ($(objpfx)libbsd-compat.a): Remove rule.
57497         * include/features.h (__FAVOR_BSD): Do not define.
57498         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
57499         features conflicting with POSIX.
57500         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
57501         (_BSD_SOURCE): Remove description of not being a subset of other
57502         feature test macros.
57503         * manual/job.texi (getpgrp): Do not document BSD version.
57504         (getpgid): Do not document by reference to BSD getpgrp.
57505         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
57506         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
57507         * signal/signal.h [__FAVOR_BSD]: Likewise.
57508         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
57509         instead of making contents conditional on [__FAVOR_BSD].
57510         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
57512 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57516 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57518         [BZ #16314]
57519         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
57520         values below 2**-450, not 2**-500.
57521         * math/auto-libm-test-in: Don't allow spurious underflow from
57522         hypot.
57523         * math/auto-libm-test-out: Regenerated.
57525         [BZ #16316]
57526         [BZ #16330]
57527         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
57528         values of ha and hb and sort them after adjusting subnormal
57529         arguments.
57530         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
57531         Likewise.
57532         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
57533         values of ea and eb and sort them after adjusting subnormal
57534         arguments.
57535         * math/auto-libm-test-in: Do not expect some hypot tests of
57536         subnormals to fail.  Add more hypot tests.
57537         * math/auto-libm-test-out: Regenerated.
57539 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57541         [BZ #13304]
57542         * sysdeps/sh/s_fma.c: New file.
57543         * sysdeps/sh/s_fmaf.c: New file.
57544         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
57545         version.
57546         * sysdeps/sh/Implies: Add sh/soft-fp.
57548 2013-12-16  Roland McGrath  <roland@hack.frob.com>
57550         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
57551         level of indirection to members `objname', `errstring', `malloced'.
57552         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
57553         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
57554         it as the __longjmp argument (just pass 1 instead).
57555         (_dl_catch_error): Initialize C with argument pointers and address of
57556         volatile local ERRCODE rather than copying values out of C at return.
57558 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
57560         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
57561         * math/auto-libm-test-out: Regenerated.
57562         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
57563         (hypot_test_data): Likewise.
57564         (pow_test_data): Likewise.
57565         (pow_tonearest_test_data): Likewise.
57566         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57567         mpfr_ff_f.
57568         (func_calc_desc): Add mpfr_ff_f union field.
57569         (FUNC_mpfr_ff_f): New macro.
57570         (test_functions): Add atan2, hypot and pow.
57571         (special_fill_min): New function.
57572         (special_fill_minus_min): Likewise.
57573         (special_fill_min_subnorm): Likewise.
57574         (special_fill_minus_min_subnorm): Likewise.
57575         (special_real_inputs): Add min, -min, min_subnorm and
57576         -min_subnorm.
57577         (calc_generic_results): Handle mpfr_ff_f.
57578         * sysdeps/i386/fpu/libm-test-ulps: Update.
57579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57581 2013-12-16  Will Newton  <will.newton@linaro.org>
57583         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
57584         (Aligned Memory Blocks): Add documentation for aligned_alloc
57585         and suggest it as an alternative to posix_memalign.
57586         (Hooks for Malloc): Document __memalign_hook is also called
57587         for aligned_alloc.  (Summary of Malloc): Add summary for
57588         aligned alloc.  Document __memalign_hook is also called
57589         for aligned_alloc.
57591 2013-12-16  Will Newton  <will.newton@linaro.org>
57593         * manual/memory.texi (Malloc Examples): Clarify default
57594         alignment documentation.  Suggest posix_memalign rather
57595         than memalign or valloc.
57596         (Aligned Memory Blocks): Remove suggestion to use memalign
57597         or valloc.  Remove obsolete comment about BSD.
57598         Document memalign errno values and mark the function obsolete.
57599         Document posix_memalign returned error codes.  Mark valloc
57600         as obsolete.  (Hooks for Malloc): __memalign_hook is also
57601         called for posix_memalign and valloc.
57602         (Summary of Malloc): Add posix_memalign to function summary.
57603         __memalign_hook is also called for posix_memalign and valloc.
57605 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57607         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
57608         TAYLOR_SIN.
57609         (__sin): Adjust.
57610         (__cos): Likewise.
57611         (sloww): Use mynumber union.  Expand ternary operator into
57612         if-else statements.
57613         (cslow): use mynumber union.
57615 2013-12-16  Allan McRae  <allan@archlinux.org>
57617         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
57618         * configure: Regenerated.
57620         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
57622         [BZ #14120]
57623         * configure.ac: Added --enable-maintainer-mode. Check for
57624         autoconf when enabled.
57625         * configure: Regenerated.
57627         * nscd/nscd.service: New file.
57628         * nscd/nscd.tmpfiles: New file.
57630 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
57632         [BZ #12100]
57633         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
57634         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
57635         * sysdeps/x86_64/multiarch/strstr.c: ... here.
57636         (strstr): Add __strstr_sse2_unaligned ifunc.
57637         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
57638         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
57639         (strcasestr): Remove __strcasestr_sse42 ifunc.
57640         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
57641         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
57642         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57644 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57646         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
57647         * sysdeps/sh/bits/fenv.h: ... here.
57648         * sysdeps/sh/sh4/fpu/bits: Remove directory.
57650 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57652         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
57654         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
57655         hypotf multiarch implementations.
57656         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
57657         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
57658         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
57659         multiarch hypot for PPC64.
57660         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
57661         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
57662         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
57663         multiarch hypotf for PPC64.
57665         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
57666         modff multiarch implementations.
57667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
57668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
57669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
57670         multiarch modf for PPC64.
57671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
57672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
57673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
57674         multiarch modff for PPC64.
57676         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
57677         and logl multiarch implementations.
57678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
57679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
57680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
57681         multiarch logb for PPC64.
57682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
57683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
57684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
57685         multiarch logb for PPC64.
57686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
57687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
57688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
57689         multiarch logb for PPC64.
57691         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
57692         isinff multiarch implementation.
57693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
57694         file.
57695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
57696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
57697         multiarch isinf for PPC64.
57698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
57699         file.
57700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
57701         multiarch isinff for PPC64.
57703         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
57704         finitef multiarch implementation.
57705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
57706         file.
57707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
57708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
57709         multiarch finite for PPC64.
57710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
57711         file.
57712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
57713         multiarch finitef for PPC64.
57715         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
57716         lrint multiarch implementation.
57717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
57718         file.
57719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
57720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
57721         multiarch llrint for PPC64.
57722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
57723         multiarch lrint for PPC64.
57725         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
57726         copysignf multiarch implementation.
57727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
57728         file.
57729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
57730         file.
57731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
57732         multiarch copysign for PPC64.
57733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
57734         multiarch copysignf for PPC64.
57736         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
57737         multiarch implementation.
57738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
57739         file.
57740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
57741         file.
57742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
57743         file.
57744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
57745         file.
57746         multiarch llround for PPC64.
57747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
57748         multiarch trunc for PPC64.
57749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
57750         multiarch truncf for PPC64.
57752         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
57753         multiarch implementation.
57754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
57755         file.
57756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
57757         file.
57758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
57759         file.
57760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
57761         file.
57762         multiarch llround for PPC64.
57763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
57764         multiarch round for PPC64.
57765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
57766         multiarch roundf for PPC64.
57768         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
57769         multiarch implementation.
57770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
57771         file.
57772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
57773         file.
57774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
57775         file.
57776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
57777         file.
57778         multiarch llround for PPC64.
57779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
57780         multiarch floor for PPC64.
57781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
57782         multiarch floorf for PPC64.
57784         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
57785         multiarch implementation.
57786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
57787         file.
57788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
57789         file.
57790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
57791         file.
57792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
57793         file.
57794         multiarch llround for PPC64.
57795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
57796         multiarch ceil for PPC64.
57797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
57798         multiarch ceilf for PPC64.
57800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
57801         multiarch implementation.
57802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
57803         file.
57804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
57805         file.
57806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
57807         file.
57808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
57809         multiarch llround for PPC64.
57810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
57811         multiarch lround for PPC64.
57813         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
57814         multiarch implementation.
57815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
57816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
57817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
57818         file.
57819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
57820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
57821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
57822         multiarch isnan for PPC64.
57823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
57824         multiarch isnanf for PPC64.
57826         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
57827         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
57828         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
57829         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
57830         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
57831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
57833         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
57834         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57835         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57836         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57838         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
57839         multiarch implementations.
57840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57841         (__libc_ifunc_impl_list): Likewise.
57842         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
57843         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
57844         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
57845         multiarch stpcpy for PPC64.
57847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
57848         multiarch implementations.
57849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57850         (__libc_ifunc_impl_list): Likewise.
57851         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
57852         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
57853         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
57854         multiarch strcpy for PPC64.
57856         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
57857         redefine function name.
57858         (_wordcopy_fwd_dest_aligned): Likewise.
57859         (_wordcopy_bwd_aligned): Likewise.
57860         (_wordcopy_bwd_dest_aligned): Likewise.
57861         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
57862         multiarch implementations.
57863         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57864         (__libc_ifunc_impl_list): Likewise.
57865         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
57866         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
57867         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
57868         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
57869         multiarch wcscpy for PPC64.
57871         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
57872         multiarch implementations.
57873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57874         (__libc_ifunc_impl_list): Likewise.
57875         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
57876         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
57877         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
57878         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
57879         multiarch wcscpy for PPC64.
57881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
57882         multiarch implementations.
57883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57884         (__libc_ifunc_impl_list): Likewise.
57885         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
57886         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
57887         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
57888         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
57889         multiarch wcsrchr for PPC64.
57891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
57892         multiarch implementations.
57893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57894         (__libc_ifunc_impl_list): Likewise.
57895         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
57896         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
57897         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
57898         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
57899         multiarch wcschr for PPC64.
57901         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
57902         multiarch implementations.
57903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57904         (__libc_ifunc_impl_list): Likewise.
57905         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
57906         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
57907         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
57908         multiarch strchrnul for PPC64.
57910         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
57911         implementations.
57912         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57913         (__libc_ifunc_impl_list): Likewise.
57914         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
57915         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
57916         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
57917         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
57918         strchr for PPC64.
57920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
57921         implementations.
57922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57923         (__libc_ifunc_impl_list): Likewise.
57924         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
57925         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
57926         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
57927         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
57928         strncmp for PPC64.
57930         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
57931         multiarch implementations.
57932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57933         (__libc_ifunc_impl_list): Likewise.
57934         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
57935         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
57936         strncasecmp for PPC64.
57937         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
57938         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
57939         multiarch strncasecmp_l for PPC64.
57941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
57942         multiarch implementations.
57943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
57944         (__libc_ifunc_impl_list): Likewise.
57945         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
57946         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
57947         multiarch strcasecmp for PPC64.
57948         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
57949         file.
57950         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
57951         multiarch strcasecmp_l for PPC64.
57953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
57954         implementations.
57955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57956         (__libc_ifunc_impl_list): Likewise.
57957         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
57958         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
57959         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
57960         strnlen for PPC64.
57962         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
57963         implementations.
57964         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57965         (__libc_ifunc_impl_list): Likewise.
57966         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
57967         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
57968         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
57969         strlen for PPC64.
57971         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
57972         implementations.
57973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57974         (__libc_ifunc_impl_list): Likewise.
57975         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
57976         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
57977         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
57978         rawmemrchr for PPC64.
57980         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
57981         implementation.
57982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57983         (__libc_ifunc_impl_list): Likewise.
57984         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
57985         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
57986         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
57987         memrchr for PPC64.
57989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
57990         implementation.
57991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57992         (__libc_ifunc_impl_list): Likewise.
57993         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
57994         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
57995         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
57996         memchr for PPC64.
57998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
57999         implementation.
58000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58001         (__libc_ifunc_impl_list): Likewise.
58002         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
58003         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
58004         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
58005         mempcpy for PPC64.
58007         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
58008         avoid cretion of __bzero symbol.
58009         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
58010         Likewise.
58011         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
58012         Likewise.
58013         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
58014         Likewise.
58015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
58016         multiarch implementations.
58017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58018         (__libc_ifunc_impl_list): Likewise.
58019         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
58020         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
58021         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
58022         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
58023         bzero for PPC32.
58024         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
58025         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
58026         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
58027         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
58028         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
58029         memset for PPC64.
58030         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
58032         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
58033         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
58034         implementations.
58035         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58036         (__libc_ifunc_impl_list): Likewise.
58037         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
58038         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
58039         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
58040         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
58041         memcmp for PPC64.
58043         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
58044         multiarch for POWER/PPC64.
58045         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
58046         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
58047         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
58048         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
58049         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
58050         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
58051         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
58052         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
58053         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
58054         memcpy for PPC64.
58056         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
58057         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
58058         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
58059         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
58060         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
58061         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
58062         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
58063         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
58064         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
58065         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
58066         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
58067         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
58068         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
58069         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
58070         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
58071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
58072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
58073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
58074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
58075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
58076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
58077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
58079 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58081         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
58083 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58085         * benchtests/Makefile (bench): Add exp2 and log2.
58086         (LDLIBS-bench-exp2): Add -lm.
58087         (LDLIBS-bench-log2): Likewise.
58088         * benchtests/exp2-inputs: New inputs file.
58089         * benchtests/log2-inputs: New inputs file.
58090         * benchtests/log-inputs: Add new inputs.
58091         * benchtests/tan-inputs: Likewise.
58093 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58095         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
58096         definition...
58097         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
58098         (csloww2): ... from here.
58100         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
58101         instead of structures.
58102         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
58103         (POLYNOMIAL): Likewise.
58104         (TAYLOR_SLOW): Likewise.
58105         (__sin): Likewise.
58106         (__cos): Likewise.
58107         (slow1): Likewise.
58108         (slow2): Likewise.
58109         (sloww): Likewise.
58110         (sloww1); Likewise.
58111         (sloww2): Likewise.
58112         (bsloww1): Likewise.
58113         (bsloww2): Likewise.
58114         (cslow2): Likewise.
58115         (csloww): Likewise.
58116         (csloww1): Likewise.
58117         (csloww2): Likewise.
58119 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
58121         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
58122         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
58123         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
58124         * malloc/hooks.c (realloc_check): Likewise.
58126         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
58127         * malloc/arena.c: Remove PER_THREAD conditional.
58128         [!PER_THREAD]: Remove code.
58129         (ptmalloc_unlock_all2): Likewise.
58130         (ptmalloc_init): Likewise.
58131         (_int_new_arena): Likewise.
58132         (arena_get2): Likewise.
58133         * malloc/hooks.c (__malloc_get_state): Likewise.
58134         (__malloc_set_state): Likewise.
58135         * malloc/malloc.c: Likewise.
58136         (struct malloc_state): Likewise.
58137         (struct malloc_par): Likewise.
58138         (__libc_realloc): Likewise.
58139         (__libc_mallopt): Likewise.
58141 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58143         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
58145 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
58147         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
58148         macro to a function.  Check for zero perturb_byte.
58149         (_int_malloc, _int_free): Remove zero perturb_byte checks.
58151         * malloc/malloc.c: (force_reg): Remove.
58152         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
58153         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
58154         force_reg by atomic_forced_read.
58155         * malloc/arena.c (ptmalloc_init): Likewise.
58156         * malloc/hooks.c (top_check): Likewise.
58158 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58162 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
58164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58166 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
58168         * math/auto-libm-test-in: Add tests of lgamma.
58169         * math/auto-libm-test-out: Regenerated.
58170         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
58171         (M_LOG_2_SQRT_PIl): Likewise.
58172         (lgamma_test_data): Use AUTO_TESTS_f_f1.
58173         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58174         mpfr_f_f1.
58175         (func_calc_desc): Add mpfr_f_f1 union field.
58176         (ARGS1): New macro.
58177         (ARGS2): Likewise.
58178         (ARGS3): Likewise.
58179         (ARGS4): Likewise.
58180         (RET1): Likewise.
58181         (RET2): Likewise.
58182         (CALC): Likewise.
58183         (FUNC): Likewise.
58184         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
58185         (test_functions): Add lgamma.
58186         (calc_generic_results): Handle mpfr_f_f1.
58187         * sysdeps/i386/fpu/libm-test-ulps: Update.
58188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58190 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58192         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
58193         __mpn_add_n for PowerPC64/POWER7.
58194         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
58195         __mpn_sub_n for PowerPC64/POWER7.
58197         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
58198         __mpn_addmul_1 for PowerPC64.
58199         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
58200         __mpn_submul_1 for PowerPC64.
58201         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
58202         for PowerPC64.
58203         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
58204         for PowerPC64.
58206 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
58208         [BZ #15089]
58209         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
58211 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58213         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
58215         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
58216         add multiarch folders.
58217         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
58218         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
58219         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
58220         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
58221         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
58222         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
58223         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
58224         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
58225         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
58226         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
58227         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
58228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
58229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
58230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
58231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
58232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
58233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
58235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58236         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
58237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
58238         New file.
58239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
58240         New file.
58241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
58242         multiarch __ieee754_hypot for PowerPC32.
58243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
58244         New file.
58245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
58246         New file.
58247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
58248         multiarch __ieee754_hypotf for PowerPC32.
58250         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
58251         long_double_symbol only if __logbl is defined.
58252         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
58253         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
58254         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
58255         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
58256         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
58257         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
58258         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
58259         path for implementation.
58260         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
58261         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
58262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
58263         logb, and logbl multiarch implementations for PowerPC32.
58264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
58265         file.
58266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
58267         file.
58268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
58269         multiarch logb for PowerPC32.
58270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
58271         file.
58272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
58273         file.
58274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
58275         multiarch logbf for PowerPC32.
58276         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
58277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
58278         file.
58279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
58280         multiarch logbl implementation for PowerPC32.
58282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
58283         and modff multiarch implementations.
58284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
58285         New file.
58286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
58287         New file.
58288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
58289         multiarch modf for PowerPC32.
58290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
58291         New file.
58292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
58293         New file.
58294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
58295         multiarch modff for PowerPC32.
58297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
58298         and lrintf multiarch implementations.
58299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
58300         New file.
58301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
58302         New file.
58303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
58304         multiarch lrint for PowerPC32.
58305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
58306         file: multiarch lrintf for PowerPC32.
58308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
58309         and lroundf multiarch implementations.
58310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
58311         New file.
58312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
58313         New file.
58314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
58315         New file.
58316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
58317         multiarch lround for PowerPC32.
58318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
58319         file: multiarch lroundf for PowerPC32.
58321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58322         copysign and copysignf multiarch implementations.
58323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
58324         New file.
58325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
58326         New file.
58327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
58328         file: multiarch copysign for PowerPC32.
58329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
58330         file: multiarch copysignf for PowerPC32.
58332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
58333         and truncf multiarch implementations.
58334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
58335         New file.
58336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
58337         file.
58338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
58339         multiarch trunc for PowerPC32.
58340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
58341         New file.
58342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
58343         New file.
58344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
58345         multiarch truncf for PowerPC32.
58347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
58348         and roundf multiarch implementations.
58349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
58350         New file.
58351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
58352         file.
58353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
58354         multiarch round for PowerPC32.
58355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
58356         New file.
58357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
58358         New file.
58359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
58360         multiarch roundf for PowerPC32.
58362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
58363         and floorf multiarch implementations.
58364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
58365         New file.
58366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
58367         file.
58368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
58369         multiarch floor for PowerPC32.
58370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
58371         New file.
58372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
58373         New file.
58374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
58375         multiarch floorf for PowerPC32.
58377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
58378         and ceilf multiarch implementations.
58379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
58380         New file.
58381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
58382         file.
58383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
58384         multiarch ceil for PowerPC32.
58385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
58386         New file.
58387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
58388         file.
58389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
58390         multiarch ceilf for PowerPC32.
58392         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
58393         is defined.
58394         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
58395         FINITEF is defined.
58396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
58397         and finitef multiarch implementations.
58398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
58399         New file.
58400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
58401         file.
58402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
58403         multiarch finite for PowerPC32.
58404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
58405         New file.
58406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
58407         file: multiarch finitef for PowerPC32.
58409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
58410         and isinff multiarch implementations.
58411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
58412         file.
58413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
58414         file.
58415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
58416         multiarch isinf for PowerPC32.
58417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
58418         New file.
58419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
58420         multiarch isinff for PowerPC32.
58422         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
58423         alias when __isnan is defined.
58424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
58425         and isnanf multiarch implementations.
58426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
58427         file.
58428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
58429         file.
58430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
58431         file.
58432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
58433         file.
58434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
58435         multiarch isnan for PowerPC32.
58436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
58437         New file.
58438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
58439         New file.
58440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
58441         multiarch isnanf for PowerPC32.
58443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
58444         and sqrtf multiarch implementations.
58445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
58446         file.
58447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
58448         file.
58449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
58450         multiarch sqrt for PowerPC32.
58451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
58452         file.
58453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
58454         file.
58455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
58456         multiarch sqrtf for PowerPC32.
58458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
58459         and llroundf multiarch implementations.
58460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
58461         New file.
58462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
58463         New file.
58464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
58465         New file.
58466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
58467         file: multiarch llround for PowerPC32.
58468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
58469         file: multiarch llroundf for PowerPC32.
58471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
58472         multiarch PowerPC32 fpu implementations.
58473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
58474         New file.
58475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
58476         New file.
58477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
58478         multiarch llrint for PowerPC32.
58479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
58480         New file.
58481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
58482         New file.
58483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
58484         file.
58486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
58488         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
58489         file.
58490         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
58491         file.
58492         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
58493         file.
58494         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
58495         multiarch wordcopy for PPC32.
58496         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
58497         wordcopy objects.
58498         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58499         (__libc_ifunc_impl_list): Likewise.
58500         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
58501         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
58502         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
58503         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
58504         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
58505         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
58507         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
58508         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
58509         file.
58510         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
58511         file.
58512         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
58513         file.
58514         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
58515         multiarch wcscpy for PPC32.
58516         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
58517         multiarch objects.
58518         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58519         (__libc_ifunc_impl_list): Likewise.
58520         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
58521         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
58522         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
58523         sysdeps/powerpc/power6/wcscpy.c.
58525         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
58526         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
58527         file.
58528         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
58529         file.
58530         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
58531         file.
58532         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
58533         multiarch wcsrchr for PPC32.
58534         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
58535         multiarch objects.
58536         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58537         (__libc_ifunc_impl_list): Likewise.
58538         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
58539         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
58540         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
58541         sysdeps/powerpc/power6/wcsrchr.c.
58543         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
58544         file.
58545         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
58546         file.
58547         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
58548         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
58549         multiarch wcschr for PPc32.
58550         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
58551         multiarch objects.
58552         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58553         (__libc_ifunc_impl_list): Likewise.
58554         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
58555         * sysdeps/powerpc/power6/wcschr.c: ... to here.
58556         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
58557         sysdeps/powerpc/power6/wcschr.c.
58559         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
58560         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
58561         file.
58562         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
58563         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
58564         file: multiarch strchr for PPC32.
58565         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
58566         multiarch objects.
58567         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58568         (__libc_ifunc_impl_list): Likewise.
58570         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
58571         name.
58572         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
58573         file.
58574         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
58575         file.
58576         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
58577         multiarch strchrnul for PPC32.
58578         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
58579         multiarch objects.
58580         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58581         (__libc_ifunc_impl_list): Likewise.
58583         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
58584         file.
58585         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
58586         multiarch strncasecmp for PPC32.
58587         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
58588         file.
58589         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
58590         multiarch strncasecmp_l for PPC32.
58591         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
58592         strncasecmp multiarch objects.
58593         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58594         (__libc_ifunc_impl_list): Likewise.
58596         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
58597         file.
58598         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
58599         multiarch strncasecmp for PPC32.
58600         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
58601         New file.
58602         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
58603         multiarch strcasecmp_l for PPC32.
58604         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
58605         multiarch objects.
58606         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58607         (__libc_ifunc_impl_list): Likewise.
58609         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
58610         file.
58611         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
58612         file.
58613         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
58614         multiarch strncmp for PPC32.
58615         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
58616         multiarch objects.
58617         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58618         (__libc_ifunc_impl_list): Likewise.
58620         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
58621         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
58622         file.
58623         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
58624         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
58625         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
58626         multiarch objects.
58627         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58628         (__libc_ifunc_impl_list): Likewise.
58630         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
58631         file.
58632         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
58633         file.
58634         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
58635         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
58636         multiarch objects.
58637         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58638         (__libc_ifunc_impl_list): Likewise.
58640         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
58641         file.
58642         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
58643         file.
58644         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
58645         multiarch rawmemchr for PPC32.
58646         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
58647         multiarch objects.
58648         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58649         (__libc_ifunc_impl_list): Likewise.
58651         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
58652         file.
58653         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
58654         file.
58655         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
58656         file: memrchr multiarch for PPC32.
58657         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
58658         multiarch objects.
58659         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58660         (__libc_ifunc_impl_list): Likewise.
58662         * string/memchr.c (__memchr): Using macro to redefine symbol name.
58663         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
58664         file.
58665         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
58666         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
58667         multiarch memchr for PPC32.
58668         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
58669         multiarch objects.
58670         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58671         (__libc_ifunc_impl_list): Likewise.
58673         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
58674         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
58675         file.
58676         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
58677         file.
58678         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
58679         file: multiarch mempcpy for PPC32.
58680         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
58681         multiarch objects.
58682         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58683         (__libc_ifunc_impl_list): Likewise.
58685         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
58686         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
58687         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
58688         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
58689         multiarch bzero for PPC32.
58690         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
58691         file.
58692         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
58693         file.
58694         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
58695         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
58696         file: multiarch memset for PPC32.
58697         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
58698         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
58699         memset multiarch objects.
58700         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58701         (__libc_ifunc_impl_list): Likewise.
58703         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
58704         file.
58705         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
58706         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
58707         memcmp for PPC32.
58708         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
58709         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
58710         multiarch objects.
58711         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58712         (__libc_ifunc_impl_list): Likewise.
58714         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
58715         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
58716         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
58717         file.
58718         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
58719         file.
58720         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
58721         file.
58722         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
58723         multiarch memcpy for PPC32.
58724         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
58725         multiarch objects.
58726         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58727         (__libc_ifunc_impl_list): Likewise.
58729         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
58730         support multiarch for POWER/PPC32.
58731         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
58732         Likewise.
58733         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
58734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
58735         Implies file to make multiarch folder appers before the fpu and
58736         default folder for power4 configuration.
58738 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58740         * scripts/bench.pl: Append volatile keyword to type.
58742 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58744         * sysdeps/sh/sotruss-lib.c: New file.
58745         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
58747 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58751 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
58753         [BZ #6810]
58754         * math/w_tgamma.c: Include <errno.h>.
58755         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
58756         * math/w_tgammaf.c: Include <errno.h>.
58757         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
58758         * math/w_tgammal.c: Include <errno.h>.
58759         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
58760         * math/auto-libm-test-in: Do not allow missing errno on tgamma
58761         underflow.  Add more tgamma tests.
58762         * math/auto-libm-test-out: Regenerated.
58763         * sysdeps/i386/fpu/libm-test-ulps: Update.
58764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58766         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
58767         sin, sinh, tan, tanh, tgamma, y0 and y1.
58768         * math/auto-libm-test-out: Regenerated.
58769         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58770         (TEST_COND_x86): Likewise.
58771         (M_E2l): Remove macro.
58772         (M_E3l): Likewise.
58773         (M_2_SQRT_PIl): Likewise.
58774         (M_SQRT_PIl): Likewise.
58775         (M_1_DIV_El): Likewise.
58776         (log_test_data): Use AUTO_TESTS_f_f.
58777         (log10_test_data): Likewise.
58778         (log1p_test_data): Likewise.
58779         (log2_test_data): Likewise.
58780         (sin_test_data): Likewise.
58781         (sin_tonearest_test_data): Likewise.
58782         (sin_towardzero_test_data): Likewise.
58783         (sin_downward_test_data): Likewise.
58784         (sin_upward_test_data): Likewise.
58785         (sinh_test_data): Likewise.
58786         (sinh_tonearest_test_data): Likewise.
58787         (sinh_towardzero_test_data): Likewise.
58788         (sinh_downward_test_data): Likewise.
58789         (sinh_upward_test_data): Likewise.
58790         (tan_test_data): Likewise.
58791         (tan_tonearest_test_data): Likewise.
58792         (tan_towardzero_test_data): Likewise.
58793         (tan_downward_test_data): Likewise.
58794         (tan_upward_test_data): Likewise.
58795         (tanh_test_data): Likewise.
58796         (tgamma_test_data): Likewise.
58797         (y0_test_data): Likewise.
58798         (y1_test_data): Likewise.
58799         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
58800         (special_real_inputs): Add pi/4.
58801         * sysdeps/i386/fpu/libm-test-ulps: Update.
58802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58804 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58806         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
58807         "longjmp_target" static probes.
58808         (__longjmp): Rename to __longjmp_symbol.
58809         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58810         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
58811         on which longjmp to generate.
58812         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
58813         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
58814         probe.
58815         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58816         (__sigjmp_save): Rename to __sigjmp_save_symbol.
58817         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
58818         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
58819         and __sigjmp_save_symbol based on which sigsetjmp to generated.
58820         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
58822         __longjmp_symbol based on which __longjmp to generate.
58823         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
58824         probe.
58825         (setjmp): Rename to setjmp_symbol.
58826         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58827         (_setjmp): Rename to _setjmp_symbol.
58828         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58829         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
58830         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
58831         which setjmp to generate.
58832         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
58833         "longjmp_target" static probes.
58835 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58837         * benchtests/README: Add note about output arguments.
58838         * benchtests/bench-sincos.c: Remove file.
58839         * benchtests/sincos-inputs: New file.
58840         * scripts/bench.pl: Identify output arguments and define
58841         static variables for them.
58843         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
58845         [BZ #15941]
58846         * Makefile (INSTALL): Add install-plain.texi as the primary
58847         dependency.
58848         * manual/install-plain.texi: New file.
58849         * manual/install.texi: Include node directive only for
58850         non-plaintext output.
58852 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
58854         * stdlib/longlong.h: Update from GCC.
58856         [BZ #6807]
58857         [BZ #15901]
58858         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
58859         * math/w_j0f.c (y0f): Likewise.
58860         * math/w_j0l.c (__y0l): Likewise.
58861         * math/w_j1.c (y1): Likewise.
58862         * math/w_j1f.c (y1f): Likewise.
58863         * math/w_j1l.c (__y1l): Likewise.
58864         * math/w_jn.c (yn): Likewise.
58865         * math/w_jnf.c (ynf): Likewise.
58866         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
58867         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
58868         value for Bessel function domain errors outside _SVID_ mode.
58869         Adjust sign of return value for yn (negative integer, 0).
58870         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
58871         by zero in return for negative x and set sign appropriately for
58872         negative n.
58873         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
58874         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58875         * math/libm-test.inc (y0_test_data): Add more tests and adjust
58876         expectations in error cases.
58877         (y1_test_data): Likewise.
58878         (yn_test_data): Likewise.
58879         * sysdeps/i386/fpu/libm-test-ulps: Update.
58880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58882 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58884         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
58885         "64" to "64-v1".  Add "64-v2".
58886         (abi-64-options): Rename to ...
58887         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
58888         (abi-64-condition): Rename to ...
58889         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
58890         (abi-64-ld-soname): Rename to ...
58891         (abi-64-v1-ld-soname): ... this.
58892         (abi-64-v2-options): Define.
58893         (abi-64-v2-condition): Likewise.
58894         (abi-64-v2-ld-soname): Likewise.
58895         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
58896         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
58897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
58898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
58899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
58901 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58902             Alan Modra  <amodra@gmail.com>
58904         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
58905         New versions for use with the ELFv2 ABI.
58906         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
58907         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
58908         declaration.
58909         (struct La_ppc64v2_retval): Likewise.
58910         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
58911         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
58912         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
58913         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
58914         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
58915         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58916         Do not save or restore CR.
58917         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
58918         (_dl_profile_resolve): Do no save or restore CR.  Support extended
58919         return values for ELFv2 ABI.  Fix location of FPR return registers.
58920         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
58921         updated values for _CALL_ELF == 2.
58922         (La_regs, La_retval, int_retval): Likewise.
58924 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58926         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
58927         (FRAME_MIN_SIZE_PARM): Likewise.
58928         (FRAME_BACKCHAIN): Likewise.
58929         (FRAME_CR_SAVE): Likewise.
58930         (FRAME_LR_SAVE): Likewise.
58931         (FRAME_TOC_SAVE): Likewise.
58932         (FRAME_PARM_SAVE): Likewise.
58933         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
58934         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
58935         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58936         (call_mcount_parm_offset): New macro.
58937         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
58938         (PROF): Use symbolic stack frame offsets.
58939         (TAIL_CALL_SYSCALL_ERROR): Likewise.
58940         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
58941         Redefine in terms of FRAME_MIN_SIZE.
58942         (_dl_runtime_resolve): Use symbolic stack frame offsets.
58943         (_dl_profile_resolve): Likewise.  Update comment.
58944         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
58945         symbols stack frame offsets.
58946         (__sigsetjmp): Likewise.
58947         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
58948         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
58949         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
58950         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
58952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
58953         (FRAME_BACKCHAIN): Remove.
58954         (FRAME_CR_SAVE): Likewise.
58955         (FRAME_LR_SAVE): Likewise.
58956         (FRAME_COMPILER_DW): Likewise.
58957         (FRAME_LINKER_DW): Likewise.
58958         (FRAME_TOC_SAVE): Likewise.
58959         (FRAME_PARM_SAVE): Likewise.
58960         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
58961         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
58962         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
58964         (CHECK_SP): Use symbolic stack frame offsets.
58965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
58966         zone" instead of caller's parameter save area for temp storage.
58967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58968         Likewise.  Also, use symbolic stack frame offsets.
58969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
58970         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
58971         our own stack frame instead of the caller's.
58972         (__socket): Use symbolic stack frame offsets.
58974 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58975             Alan Modra  <amodra@gmail.com>
58977         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
58978         Define.
58979         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
58980         (PPC64_LOCAL_ENTRY_OFFSET): Define.
58981         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
58982         New function.
58983         (elf_machine_fixup_plt): Call it.
58984         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
58985         reloc arguments.
58986         (elf_machine_rela): Update call to elf_machine_plt_conflict.
58987         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
58988         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
58989         r2 before calling target.
58991 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58992             Alan Modra  <amodra@gmail.com>
58994         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
58995         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
58996         versions of macros to support ELFv2 ABI.
58997         (LOCALENTRY): New macro.
58998         (ENTRY, EALIGN): Use it.
58999         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
59000         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
59001         fall through into ENTRY entry point.
59002         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
59003         Only define if _CALL_ELF != 2.
59005         (elf_machine_matches_host): Verify ABI version matches.
59006         (RTLD_START): Use LOCALENTRY.
59007         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
59008         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
59009         (PLT_ENTRY_WORDS): New macro.
59010         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
59011         (elf_machine_runtime_setup): Support ELFv2 ABI.
59012         (elf_machine_fixup_plt): Likewise.
59013         (elf_machine_plt_conflict): Likewise.
59014         (resolve_ifunc): Likewise.
59015         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
59016         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
59017         Likewise.
59018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
59019         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
59020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59021         (makecontext): Support ELFv2 ABI.
59022         * elf/elf.h (EF_PPC64_ABI): Define.
59024 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59026         * sysdeps/powerpc/powerpc64/sysdep.h
59027         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
59028         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
59029         (ENTRY) [ASSEMBLER]: ... but instead here ...
59030         (EALIGN) [ASSEMBLER]: ... and here.
59031         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
59032         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
59033         (ENTRY_2) [!ASSEMBLER]: Use it.
59034         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
59035         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
59036         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
59037         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
59038         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
59039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
59040         Use PPC64_LOAD_FUNCPTR.
59042         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
59044 2013-12-04  Alan Modra  <amodra@gmail.com>
59046         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
59047         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
59048         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
59049         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
59051         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
59052         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
59053         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
59054         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
59055         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
59056         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
59058 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59061         (__makecontext): Fix incorrect CFI when backtracing out of
59062         context created via makecontext.
59063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
59064         (__setcontext): Fix incorrect CFI during switch to new context.
59065         (__novec_setcontext): Likewise.
59067 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
59069         [BZ #4772]
59070         * time/strptime_l.c (__strptime_internal): Allow modifiers
59071         in strptime.
59072         * time/tst-strptime.c (day_tests): Add testcase.
59074 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59076         * scripts/bench.pl: Skip over blank lines.
59078 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
59080         [BZ #926]
59081         * manual/time.texi (Calendar Time): Clarify what timezone functions
59082         use.
59084 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59088 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
59090         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
59091         implementation.
59092         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
59093         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
59094         * debug/memset_chk.c (__memset_chk): Likewise.
59095         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
59096         * debug/strncpy_chk.c: Likewise.
59098 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
59100         [BZ #15268]
59101         [BZ #15425]
59102         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
59103         (__ieee754_exp): For possibly underflowing results, check size of
59104         result and force underflow exception if required.
59105         * math/auto-libm-test-in: Add more tests of exp.
59106         * math/auto-libm-test-out: Regenerated.
59107         * sysdeps/i386/fpu/libm-test-ulps: Update.
59108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59110         [BZ #16283]
59111         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
59112         * math/w_exp2f.c (__exp2f): Likewise.
59113         * math/w_exp2l.c (__exp2l): Likewise.
59114         * math/auto-libm-test-in: Do not allow missing errno on exp2
59115         underflow.
59116         * math/auto-libm-test-out: Regenerated.
59118 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
59120         [BZ #16274]
59121         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
59122         handle filename validation.
59123         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
59124         (do_open): Delete.
59126 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
59128         [BZ #6786]
59129         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
59130         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
59131         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
59132         <float.h>.
59133         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
59134         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
59135         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59136         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
59137         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59138         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
59139         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59140         * math/auto-libm-test-in: Don't allow missing errno from erfc.
59141         Add more erfc tests.
59142         * math/auto-libm-test-out: Regenerated.
59143         * sysdeps/i386/fpu/libm-test-ulps: Update.
59144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59146         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
59147         exp2, expm1, j0 and j1.
59148         * math/auto-libm-test-out: Regenerated.
59149         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
59150         (erfc_test_data): Likewise.
59151         (exp_test_data): Likewise.
59152         (exp_tonearest_test_data): Likewise.
59153         (exp_towardzero_test_data): Likewise.
59154         (exp_downward_test_data): Likewise.
59155         (exp_upward_test_data): Likewise.
59156         (exp10_test_data): Likewise.
59157         (exp2_test_data): Likewise.
59158         (expm1_test_data): Likewise.
59159         (j0_test_data): Likewise.
59160         (j1_test_data): Likewise.
59161         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
59162         (input_flag_type): Add flag_xfail_rounding.
59163         (input_flags): Add xfail-rounding.
59164         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
59165         (output_for_one_input_case): Handle flag_xfail_rounding.
59166         * sysdeps/i386/fpu/libm-test-ulps: Update.
59167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59169 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
59171         [BZ #16289]
59172         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
59173         division by 0.
59175 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59177         [BZ #16195]
59178         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
59179         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
59180         (STAP_PROBE0): New macro.
59181         (STAP_PROBE1): Likewise.
59182         (STAP_PROBE2): Likewise.
59183         (STAP_PROBE3): Likewise.
59184         (STAP_PROBE4): Likewise.
59186 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
59188         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
59190 2013-12-02  Steve Ellcey  <sellcey@mips.com>
59192         * benchtests/Makefile (bench): Add sqrt.
59193         (LDLIBS-bench-sqrt): New.
59194         * benchtests/sqrt-input: New.
59196 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
59198         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
59199         (GAIH_EAI): Likewise.
59200         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
59201         (gaih_inet): Likewise.
59202         (getaddrinfo): Don't use GAIH_EAI.
59204         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
59205         (struct gaih): Remove definition.
59207 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59209         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
59210         Use HERRNOP directly.
59212 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59216 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
59218         * math/gen-auto-libm-tests.c (test_functions): Add more
59219         single-argument functions.
59220         (special_fill_pi_2): New function.
59221         (special_fill_minus_pi_2): Likewise.
59222         (special_fill_pi_6): Likewise.
59223         (special_fill_minus_pi_6): Likewise.
59224         (special_fill_pi_3): Likewise.
59225         (special_fill_2pi_3): Likewise.
59226         (special_fill_e): Likewise.
59227         (special_fill_1_e): Likewise.
59228         (special_fill_e_minus_1): Likewise.
59229         (special_real_inputs): Add more special inputs.
59230         (output_for_one_input_case): Do not require ERANGE on underflow to
59231         zero if round-to-nearest result does not underflow to zero, unless
59232         exact results required.
59233         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
59234         atan, atanh, cbrt, cos and cosh.
59235         * math/auto-libm-test-out: Regenerated.
59236         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
59237         (acos_tonearest_test_data): Likewise.
59238         (acos_towardzero_test_data): Likewise.
59239         (acos_downward_test_data): Likewise.
59240         (acos_upward_test_data): Likewise.
59241         (acosh_test_data): Likewise.
59242         (asin_test_data): Likewise.
59243         (asin_tonearest_test_data): Likewise.
59244         (asin_towardzero_test_data): Likewise.
59245         (asin_upward_test_data): Likewise.
59246         (asinh_test_data): Likewise.
59247         (atan_test_data): Likewise.
59248         (atanh_test_data): Likewise.
59249         (cbrt_test_data): Likewise.
59250         (cos_test_data): Likewise.
59251         (cos_tonearest_test_data): Likewise.
59252         (cos_towardzero_test_data): Likewise.
59253         (cos_downward_test_data): Likewise.
59254         (cos_upward_test_data): Likewise.
59255         (cosh_test_data): Likewise.
59256         (cosh_tonearest_test_data): Likewise.
59257         (cosh_towardzero_test_data): Likewise.
59258         (cosh_downward_test_data): Likewise.
59259         (cosh_upward_test_data): Likewise.
59260         * sysdeps/i386/fpu/libm-test-ulps: Update.
59261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59263 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
59265         [BZ #6787]
59266         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
59267         * math/w_exp10f.c (__exp10f): Likewise.
59268         * math/w_exp10l.c (__exp10l): Likewise.
59269         * math/libm-test.inc (exp10_test_data): Add more tests and expect
59270         errno settings in existing tests.
59272         [BZ #14032]
59273         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
59274         precision control set to double precision.
59275         * sysdeps/i386/fpu/w_sqrt.c: New file.
59276         * math/auto-libm-test-in: Add more tests.
59277         * math/auto-libm-test-out: Update.
59279         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
59280         (sqrt_test_tonearest): New function.
59281         (sqrt_towardzero_test_data): New variable.
59282         (sqrt_test_towardzero): New function.
59283         (sqrt_downward_test_data): New variable.
59284         (sqrt_test_downward): New function.
59285         (sqrt_upward_test_data): New variable.
59286         (sqrt_test_upward): New function.
59287         (main): Call the new functions.
59289         * math/gen-auto-libm-tests.c: New file.
59290         * math/auto-libm-test-in: Likewise.
59291         * math/auto-libm-test-out: New generated file.
59292         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
59293         variables.
59294         (%beautify): Add generated representations of zero.
59295         (top level): Set $auto_input and call parse_auto_input.
59296         (beautify): Remove trailing "f" from hex float constants.
59297         (parse_args): Handle XFAIL_TEST.
59298         (convert_condition): New function.
59299         (or_value): Likewise.
59300         (or_cond_value): Likewise.
59301         (generate_testfile): Handle AUTO_TESTS_* lines.
59302         (parse_auto_input): New function.
59303         * math/libm-test.inc (XFAIL_TEST): New macro.
59304         (ERRNO_UNCHANGED): Update value.
59305         (ERRNO_EDOM): Likewise.
59306         (ERRNO_ERANGE): Likewise.
59307         (IGNORE_RESULT): Likewise.
59308         (TEST_COND_flt_32): New macro.
59309         (TEST_COND_dbl_64): Likewise.
59310         (TEST_COND_ldbl_96_intel): Likewise.
59311         (TEST_COND_ldbl_96_m68k): Likewise.
59312         (TEST_COND_ldbl_128): Likewise.
59313         (TEST_COND_ldbl_128ibm): Likewise.
59314         (TEST_COND_long32): Likewise.
59315         (TEST_COND_long64): Likewise.
59316         (TEST_COND_before_rounding): Likewise.
59317         (TEST_COND_after_rounding): Likewise.
59318         (enable_test): Handle XFAIL_TEST flag.
59319         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
59320         with finite results.
59321         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
59322         auto-libm-test-out.
59324 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59325             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59327         [BZ #16214]
59328         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
59329         __tls_get_addr_internal instead of __tls_get_offset in order to
59330         avoid GOT pointer dependency.  Make rtld export
59331         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
59332         __tls_get_addr since we are a __tls_get_offset platform.
59333         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
59334         GOT pointer being set up before.
59335         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
59337 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
59339         * manual/math.texi (Errors in Math Functions): Document accuracy
59340         goals.
59342         [BZ #15004]
59343         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
59344         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
59345         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59346         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59347         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59348         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59349         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59350         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59351         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59352         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59353         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59354         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59355         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59356         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59357         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59358         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
59360         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
59361         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
59362         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
59363         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
59364         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
59365         Likewise.
59366         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
59367         Likewise.
59368         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
59369         Likewise.
59370         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
59371         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
59372         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
59373         atomic-feupdateenv and flt-rounds.
59374         * sysdeps/powerpc/nofpu/Versions (libc): Add
59375         __atomic_feholdexcept, __atomic_feclearexcept,
59376         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
59377         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
59378         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
59379         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
59380         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
59381         here.
59382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
59383         Update.
59385         * manual/arith.texi (FP Exceptions): Document that exceptions may
59386         not be raised when matherr is used.
59387         (Math Error Reporting): Document overflow in directed rounding
59388         modes.  Document that errno may not be set when finite values are
59389         returned on overflow.  Document intent to set errno on underflow
59390         only for underflow to zero.
59392         [BZ #16271]
59393         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
59394         round-to-nearest then adjust result for other rounding modes.
59395         * include/fenv.h (fegetround): Use libm_hidden_proto.
59396         * math/fegetround.c (fegetround): Use libm_hidden_def.
59397         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
59398         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
59399         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59400         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
59401         Likewise.
59402         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
59403         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59404         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
59405         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
59407 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59409         [BZ #16077]
59410         * nss/Versions (libnss_files): Add
59411         _nss_files_gethostbyname3_r.
59412         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
59413         New function.
59414         (HOST_DB_LOOKUP): Remove macro.
59415         (_nss_files_gethostbyname_r): Implement function without the
59416         HOST_DB_LOOKUP macro.
59417         (_nss_files_gethostbyname2_r): Likewise.
59419 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
59421         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
59423 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
59425         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
59426         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
59427         warning.
59429 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59431         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
59432         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
59433         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
59434         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
59435         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
59436         __fe_nomask_env_priv and attribute_hidden.
59437         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
59438         (libc_feupdateenv_test_ppc): Likewise.
59439         (libc_feresetround_ppc): Likewise.
59440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59441         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
59442         compat_symbol macro.
59443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59444         (__fe_nomask_env): Likewise.
59445         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
59447 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59449         * string/Makefile: Remove ifunc tests.
59450         * string/test-string.h: Define TEST_IFUNC.
59451         * string/test-bcopy-ifunc.c: Remove.
59452         * string/test-bzero-ifunc.c: Likewise.
59453         * string/test-memccpy-ifunc.c: Likewise.
59454         * string/test-memchr-ifunc.c: Likewise.
59455         * string/test-memcmp-ifunc.c: Likewise.
59456         * string/test-memcpy-ifunc.c: Likewise.
59457         * string/test-memmem-ifunc.c: Likewise.
59458         * string/test-memmove-ifunc.c: Likewise.
59459         * string/test-mempcpy-ifunc.c: Likewise.
59460         * string/test-memrchr-ifunc.c: Likewise.
59461         * string/test-memset-ifunc.c: Likewise.
59462         * string/test-rawmemchr-ifunc.c: Likewise.
59463         * string/test-stpcpy-ifunc.c: Likewise.
59464         * string/test-stpncpy-ifunc.c: Likewise.
59465         * string/test-strcasecmp-ifunc.c: Likewise.
59466         * string/test-strcasestr-ifunc.c: Likewise.
59467         * string/test-strcat-ifunc.c: Likewise.
59468         * string/test-strchr-ifunc.c: Likewise.
59469         * string/test-strchrnul-ifunc.c: Likewise.
59470         * string/test-strcmp-ifunc.c: Likewise.
59471         * string/test-strcpy-ifunc.c: Likewise.
59472         * string/test-strcspn-ifunc.c: Likewise.
59473         * string/test-strlen-ifunc.c: Likewise.
59474         * string/test-strncasecmp-ifunc.c: Likewise.
59475         * string/test-strncat-ifunc.c: Likewise.
59476         * string/test-strncmp-ifunc.c: Likewise.
59477         * string/test-strncpy-ifunc.c: Likewise.
59478         * string/test-strnlen-ifunc.c: Likewise.
59479         * string/test-strpbrk-ifunc.c: Likewise.
59480         * string/test-strrchr-ifunc.c: Likewise.
59481         * string/test-strspn-ifunc.c: Likewise.
59482         * string/test-strstr-ifunc.c: Likewise.
59484 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59486         * benchtests/Makefile: Remove ifunc tests.
59487         * benchtests/bench-string.h: Define TEST_IFUNC.
59488         * benchtests/bench-bcopy-ifunc.c: Remove.
59489         * benchtests/bench-bzero-ifunc.c: Likewise.
59490         * benchtests/bench-memccpy-ifunc.c: Likewise.
59491         * benchtests/bench-memchr-ifunc.c: Likewise.
59492         * benchtests/bench-memcmp-ifunc.c: Likewise.
59493         * benchtests/bench-memcpy-ifunc.c: Likewise.
59494         * benchtests/bench-memmem-ifunc.c: Likewise.
59495         * benchtests/bench-memmove-ifunc.c: Likewise.
59496         * benchtests/bench-mempcpy-ifunc.c: Likewise.
59497         * benchtests/bench-memrchr-ifunc.c: Likewise.
59498         * benchtests/bench-memset-ifunc.c: Likewise.
59499         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
59500         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
59501         * benchtests/bench-stpcpy-ifunc.c: Likewise.
59502         * benchtests/bench-stpncpy-ifunc.c: Likewise.
59503         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
59504         * benchtests/bench-strcasestr-ifunc.c: Likewise.
59505         * benchtests/bench-strcat-ifunc.c: Likewise.
59506         * benchtests/bench-strchr-ifunc.c: Likewise.
59507         * benchtests/bench-strchrnul-ifunc.c: Likewise.
59508         * benchtests/bench-strcmp-ifunc.c: Likewise.
59509         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
59510         * benchtests/bench-strcpy-ifunc.c: Likewise.
59511         * benchtests/bench-strcspn-ifunc.c: Likewise.
59512         * benchtests/bench-strlen-ifunc.c: Likewise.
59513         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
59514         * benchtests/bench-strncat-ifunc.c: Likewise.
59515         * benchtests/bench-strncmp-ifunc.c: Likewise.
59516         * benchtests/bench-strncpy-ifunc.c: Likewise.
59517         * benchtests/bench-strnlen-ifunc.c: Likewise.
59518         * benchtests/bench-strpbrk-ifunc.c: Likewise.
59519         * benchtests/bench-strrchr-ifunc.c: Likewise.
59520         * benchtests/bench-strsep-ifunc.c: Likewise.
59521         * benchtests/bench-strspn-ifunc.c: Likewise.
59522         * benchtests/bench-strstr-ifunc.c: Likewise.
59524 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59526         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
59528 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59530         * resolv/netdb.h: Use __glibc_reserved instead __unused.
59531         * rt/aio.h: Likewise.
59532         * sysdeps/gnu/bits/utmp.h: Likewise.
59533         * sysdeps/gnu/bits/utmpx.h: Likewise.
59534         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59535         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
59536         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
59537         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
59538         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
59539         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
59540         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
59541         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
59542         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
59543         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
59544         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
59545         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
59546         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
59547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
59548         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59549         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
59550         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
59551         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
59552         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
59553         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
59554         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
59555         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
59556         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
59557         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59558         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
59559         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59560         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
59561         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
59562         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
59563         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
59564         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
59565         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
59566         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
59567         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
59568         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
59569         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
59570         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
59571         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
59572         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
59573         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
59574         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
59575         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
59577 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
59579         [BZ #16245]
59580         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
59581         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
59583 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
59585         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
59586         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
59587         Likewise.
59589 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59591         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
59592         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
59593         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
59594         (__fesetround): Remove define.
59595         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
59596         rounding and exceptions handling.
59597         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
59598         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
59599         (__fe_nomask_env): Likewise.
59600         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
59601         __fegetround instead of fegetround.
59602         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
59603         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
59605 2013-11-21  Roland McGrath  <roland@hack.frob.com>
59607         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
59608         it's there.
59610         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
59612 2013-11-21  Meador Inge  <meadori@codesourcery.com>
59614         [BZ #11157]
59615         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
59616         (encrypt_r): Likewise.
59617         * malloc/obstack.h (obstack_free): Likewise.
59618         * posix/unistd.h (encrypt): Likewise.
59620 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
59622         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
59623         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
59624         DL_CALL_DT_FINI() that call the functions directly.
59625         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
59626         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
59627         * elf/dl-fini.c: Likewise.
59629 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
59631         * malloc/hooks.c (memalign_check): Add alignment rounding.
59632         * malloc/malloc.c (_mid_memalign): New function.
59633         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
59634         Implement by calling _mid_memalign.
59635         * manual/probes.texi (Memory Allocation Probes): Remove
59636         memory_valloc_retry and memory_pvalloc_retry.
59638 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59640         * locale/programs/locarchive.c (open_archive): Add const
59641         qualifier to ARCHIVEFNAME and copy default fname to
59642         DEFAULT_FNAME.
59644         [BZ #15601]
59645         * libio/tst-widetext.input: Rename Oriya to Odia.
59646         * locale/iso-639.def: Likewise.
59648         * manual/probes.texi (Mathematical Function Probes): Add
59649         documentation for sin, cos, asin and acos probes.
59650         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
59651         (__sin32): Add slowasin probe.
59652         (__cos32): Add slowacos probe.
59653         (__mpsin): Add slowsin probe.
59654         (__mpcos): Add slowcos probe.
59656 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
59658         [BZ #15483]
59659         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
59660         thread-local __sim_exceptions_thread and global
59661         __sim_exceptions_global.
59662         (__sim_disabled_exceptions): Change to thread-local
59663         __sim_disabled_exceptions_thread and global
59664         __sim_disabled_exceptions_global.
59665         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59666         and global __sim_round_mode_global.
59667         (__simulate_exceptions): Use thread-local floating-point state and
59668         set global state from it as needed.
59669         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
59670         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
59671         __sim_round_mode_thread.
59672         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
59673         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
59674         and global __sim_exceptions_global.
59675         (__sim_disabled_exceptions): Change to thread-local
59676         __sim_disabled_exceptions_thread and global
59677         __sim_disabled_exceptions_global.
59678         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59679         and global __sim_round_mode_global.
59680         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
59681         (SIM_SET_GLOBAL): Likewise.
59682         * sysdeps/powerpc/soft-fp/sfp-machine.h
59683         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
59684         __sim_round_mode_thread.
59685         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
59686         __sim_disabled_exceptions_thread.
59687         (__sim_exceptions): Change to __sim_exceptions_thread.
59688         (__sim_disabled_exceptions): Change to
59689         __sim_disabled_exceptions_thread.
59690         (__sim_round_mode): Change to __sim_round_mode_thread.
59691         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
59692         thread-local floating-point state and set global state from it as
59693         needed.
59694         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
59695         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
59696         (__sim_disabled_exceptions): Remove extern declaration.
59697         (feenableexcept): Use thread-local floating-point state and set
59698         global state from it as needed.
59699         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
59700         extern declaration.
59701         (__sim_disabled_exceptions): Likewise.
59702         (__sim_round_mode): Likewise.
59703         (__fegetenv): Use thread-local floating-point state.
59704         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
59705         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59706         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
59707         floating-point state and set global state from it as needed.
59708         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
59709         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
59710         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
59711         Likewise.
59712         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
59713         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
59714         Likewise.
59715         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
59716         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
59717         Use __sim_round_mode_thread.
59718         * math/test-fenv-tls.c: New file.
59719         * math/Makefile (tests): Add test-fenv-tls.
59720         ($(objpfx)test-fenv-tls): Depend on
59721         $(common-objpfx)nptl/libpthread.so.
59723 2013-11-19  Andreas Schwab  <schwab@suse.de>
59725         * locale/programs/locale.c (show_info): Decode wordarray elements.
59726         * locale/categories.def (LC_MONETARY): Add element for
59727         _NL_MONETARY_CRNCYSTR.
59728         * locale/C-monetary.c (conversion_rate): New variable.
59729         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
59730         element.
59732 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
59734         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
59735         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
59737 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59739         * elf/Makefile (tst-auxv): New test.
59740         * elf/tst-auxv.c: New
59741         * elf/rtld.c (dl_main): Adjust AT_EXECFN
59743 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
59745         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
59746         (hidden_proto): Caller changed.
59747         (hidden_tls_proto): New macro.
59748         (libc_hidden_tls_proto): Likewise.
59749         (rtld_hidden_tls_proto): Likewise.
59750         (libm_hidden_tls_proto): Likewise.
59751         (libresolv_hidden_tls_proto): Likewise.
59752         (librt_hidden_tls_proto): Likewise.
59753         (libdl_hidden_tls_proto): Likewise.
59754         (libnss_files_hidden_tls_proto): Likewise.
59755         (libnsl_hidden_tls_proto): Likewise.
59756         (libnss_nisplus_hidden_tls_proto): Likewise.
59757         (libutil_hidden_tls_proto): Likewise.
59759 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
59761         [BZ #10253]
59762         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
59763         (decompose_rpath): Defer expansion to fillin_rpath.
59764         (_dl_init_paths): Pass linkmap to fillin_rpath.
59766 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
59768         * benchtests/Makefile: Add strsep.
59769         * benchtests/bench-strsep.c: New file: strsep benchtest.
59770         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
59772 2013-11-18  Andreas Schwab  <schwab@suse.de>
59774         * locale/programs/locale.c (show_info) [case byte]: Check for
59775         '\377' instead of '\177'.
59776         * locale/C-monetary.c (not_available): Always use "\377".
59777         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
59778         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
59779         detect unavailable sign_posn locale elements.
59780         * locale/localeconv.c (__localeconv): For grouping and
59781         mon_grouping handle "\177" and "\377" like no grouping.
59782         (INT_ELEM): New macro.  Use it to set all numeric members.
59783         * locale/programs/ld-monetary.c (monetary_read)
59784         <tok_mon_grouping>: Normalize single -1 to the empty string.
59785         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
59786         Likewise.
59788 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
59790         [BZ #16055]
59791         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
59792         when we match (nil).
59793         * stdio-common/tst-sscanf.c (struct test): Add testcase.
59795 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
59797         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
59798         (NO_TEST_INLINE): Update value.
59799         (ERRNO_UNCHANGED): Likewise.
59800         (ERRNO_EDOM): Likewise.
59801         (ERRNO_ERANGE): Likewise.
59802         (IGNORE_RESULT): Likewise.
59803         (check_float_internal): Check signs of NaN results if
59804         TEST_NAN_SIGN used.
59805         (check_complex): Pass TEST_NAN_SIGN flag through to second
59806         check_float_internal call.
59807         (copysign_test_data): Add tests with quiet NaNs as second
59808         argument.  Use TEST_NAN_SIGN.
59809         (fabs_test_data): Add test of negative quiet NaN argument.  Use
59810         TEST_NAN_SIGN.
59811         (signbit_test_data): Add tests of quiet NaN argument.
59812         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
59814         * math/gen-libm-test.pl (show_exceptions): Take extra argument
59815         $ignore_result.
59816         (parse_args): Handle function results specified as IGNORE.
59817         * math/libm-test.inc (IGNORE_RESULT): New macro.
59818         (check_float_internal): Do not check numerical result if flag
59819         IGNORE_RESULT set.
59820         (check_complex): Pass through IGNORE_RESULT to second
59821         check_float_internal call.
59822         (check_int): Do not check numerical result if flag IGNORE_RESULT
59823         set.
59824         (check_long): Likewise.
59825         (check_bool): Likewise.
59826         (check_longlong): Likewise.
59827         (lrint_test_data): Add tests of infinite and NaN arguments.
59828         (lrint_tonearest_test_data): Likewise.
59829         (lrint_towardzero_test_data): Likewise.
59830         (lrint_downward_test_data): Likewise.
59831         (lrint_upward_test_data): Likewise.
59832         (llrint_test_data): Likewise.
59833         (llrint_tonearest_test_data): Likewise.
59834         (llrint_towardzero_test_data): Likewise.
59835         (llrint_downward_test_data): Likewise.
59836         (llrint_upward_test_data): Likewise.
59837         (lround_test_data): Likewise.
59838         (llround_test_data): Likewise.
59840         * math/libm-test.inc (NO_TEST_INLINE): New macro.
59841         (ERRNO_UNCHANGED): Update value.
59842         (ERRNO_EDOM): Likewise.
59843         (ERRNO_ERANGE): Likewise.
59844         (NO_TEST_INLINE_FLOAT): New macro.
59845         (NO_TEST_INLINE_DOUBLE): Likewise.
59846         (enable_test): New function.
59847         (RUN_TEST_f_f): Check enable_test before running test.
59848         (RUN_TEST_2_f): Likewise.
59849         (RUN_TEST_fff_f): Likewise.
59850         (RUN_TEST_c_f): Likewise.
59851         (RUN_TEST_f_f1): Likewise.
59852         (RUN_TEST_fF_f1): Likewise.
59853         (RUN_TEST_fI_f1): Likewise.
59854         (RUN_TEST_ffI_f1): Likewise.
59855         (RUN_TEST_c_c): Likewise.
59856         (RUN_TEST_cc_c): Likewise.
59857         (RUN_TEST_f_i): Likewise.
59858         (RUN_TEST_f_i_tg): Likewise.
59859         (RUN_TEST_ff_i_tg): Likewise.
59860         (RUN_TEST_f_b): Likewise.
59861         (RUN_TEST_f_b_tg): Likewise.
59862         (RUN_TEST_f_l): Likewise.
59863         (RUN_TEST_f_L): Likewise.
59864         (RUN_TEST_fFF_11): Likewise.
59865         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
59866         conditionals.
59867         (cosh_test_data): Likewise.
59868         (exp_test_data): Likewise.
59869         (expm1_test_data): Likewise.
59870         (hypot_test_data): Likewise.
59871         (pow_test_data): Likewise.
59872         (sinh_test_data): Likewise.
59873         (tanh_test_data): Likewise.
59874         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
59875         flags argument.
59877         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
59878         tests with quiet NaN input and output.
59879         (acosh_test_data): Likewise.
59880         (asin_test_data): Likewise.
59881         (asinh_test_data): Likewise.
59882         (atan_test_data): Likewise.
59883         (atanh_test_data): Likewise.
59884         (atan2_test_data): Likewise.
59885         (cbrt_test_data): Likewise.
59886         (cos_test_data): Likewise.
59887         (cosh_test_data): Likewise.
59888         (erf_test_data): Likewise.
59889         (erfc_test_data): Likewise.
59890         (exp_test_data): Likewise.
59891         (exp10_test_data): Likewise.
59892         (exp2_test_data): Likewise.
59893         (expm1_test_data): Likewise.
59894         (hypot_test_data): Likewise.
59895         (j0_test_data): Likewise.
59896         (j1_test_data): Likewise.
59897         (jn_test_data): Likewise.
59898         (lgamma_test_data): Likewise.
59899         (log_test_data): Likewise.
59900         (log10_test_data): Likewise.
59901         (log1p_test_data): Likewise.
59902         (log2_test_data): Likewise.
59903         (pow_test_data): Likewise.
59904         (scalb_test_data): Likewise.
59905         (sin_test_data): Likewise.
59906         (sincos_test_data): Likewise.
59907         (sinh_test_data): Likewise.
59908         (tan_test_data): Likewise.
59909         (tanh_test_data): Likewise.
59910         (tgamma_test_data): Likewise.
59911         (y0_test_data): Likewise.
59912         (y1_test_data): Likewise.
59913         (yn_test_data): Likewise.
59915         [BZ #16167]
59916         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
59917         argument being NaN and avoid computations with second argument in
59918         that case.
59919         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59920         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
59921         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59923 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
59925         * locale/iso-639.def: Add Chitwani Tharu (the).
59927 2013-11-14  Andreas Schwab  <schwab@suse.de>
59929         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
59930         word instead of empty string.
59932 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59935         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
59936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59937         (__fe_nomask_env): Likewise.
59939 2013-11-13  Steve Ellcey  <sellcey@mips.com>
59941         * benchtests/bench-timing.h: Include time.h.
59943 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
59945         [BZ #15997]
59946         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
59947         to 3.4.0 for x32.
59948         * sysdeps/unix/sysv/linux/configure: Regenerated.
59950 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
59952         [BZ #16151]
59953         * stdlib/strtod_l.c (round_and_return): Do not consider
59954         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
59955         exponent one less than half the least subnormal exponent.
59956         * stdlib/test-strtod-round-data: Add more tests.
59957         * stdlib/tst-strtod-round.c (tests): Regenerated.
59959 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59961         [BZ #14143]
59962         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
59963         (__fe_mask_env): Likewise.
59964         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
59965         libm_hidden_proto and add function prototype.
59966         (__fe_mask_env): Add function prototype.
59967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59968         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
59969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59970         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
59971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59972         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
59974 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59976         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
59977         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
59979 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59981         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
59982         of htab_find_slot().
59984 2013-11-11  David S. Miller  <davem@davemloft.net>
59986         [BZ #16150]
59987         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
59988         symbol in the non-vis3 case in static builds.
59989         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
59990         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
59991         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
59992         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
59994 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
59996         [BZ #387]
59997         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
59998         it is empty.
60000 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60002         * benchtests/Makefile: Add bench-strtod.
60003         * benchtests/bench-strtod.c: New file: strtod benchtest
60005 2013-11-11  Andreas Schwab  <schwab@suse.de>
60007         [BZ #16153]
60008         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
60009         terminating NUL in key length.
60011 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60013         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60014         Add artificial ODP entry for vDSO symbol for PPC64.
60015         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
60016         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
60018 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
60020         [BZ #15374]
60021         * nss/getent.c (services_keys): Recognize services starting with digit.
60023 2013-11-06  David S. Miller  <davem@davemloft.net>
60025         [BZ #15985]
60026         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
60027         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
60029 2013-11-06  Will Newton  <will.newton@linaro.org>
60031         * manual/memory.texi (Malloc Examples): Remove register
60032         keyword from examples.
60034 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
60036         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
60038 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
60040         [BZ #6981]
60041         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
60042         depending on [__GCC_IEC_559 > 0].
60043         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
60044         depending on [__GCC_IEC_559_COMPLEX > 0].
60046 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
60048         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
60049         to iso-639.def.
60051 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
60053         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
60055 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
60057         [BZ #16112]
60058         * malloc/malloc (malloc_info): Do not handle first bin as
60059         special case.
60061 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
60063         * locale/iso-639.def: Add Central Nahuatl (nhn).
60065 2013-11-01  Bruno Haible  <bruno@clisp.org>
60067         [BZ #7003]
60068         * manual/math.texi (BSD Random): Specify range upper bound as
60069         in POSIX.
60071 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
60073         * locale/iso-639.def: Add Meadow Mari (mhr).
60075 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
60077         [BZ #14752], [BZ #15763]
60078         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
60079         Validate name.
60080         * rt/tst_shm.c: Add test for escaping directory.
60082 2013-10-31  Andreas Schwab  <schwab@suse.de>
60084         [BZ #15917]
60085         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
60086         followed by 'x' as part of digit sequence.
60087         * stdio-common/tst-sscanf.c (double_tests2): New tests.
60089 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
60091         [BZ #16037]
60092         * configure.ac: allow GNU Make 4.0 and greater.
60093         * configure: Regenerated.
60095 2013-10-30  Will Newton  <will.newton@linaro.org>
60097         [BZ #16038]
60098         * malloc/hooks.c (memalign_check): Limit alignment to the
60099         maximum representable power of two.
60100         * malloc/malloc.c (__libc_memalign): Likewise.
60101         * malloc/tst-memalign.c (do_test): Add test for very
60102         large alignment values.
60103         * malloc/tst-posix_memalign.c (do_test): Likewise.
60105 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
60107         [BZ #11087]
60108         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
60109         (munmap_chunk): Likewise.
60110         (mremap_chunk): Likewise.
60112 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
60114         [BZ #15799]
60115         * stdlib/div.c (div): Remove obsolete code.
60116         * stdlib/ldiv.c (ldiv): Likewise.
60117         * stdlib/lldiv.c (lldiv): Likewise.
60119 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60121         [BZ #16071]
60122         * nss/nss_files/files-XXX.c (get_contents_ret): New
60123         enumerator.
60124         (get_contents): New function.
60125         (internal_getent): Use it.  Expand size of LINEBUFLEN.
60127 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
60129         * configure.in: Moved to ...
60130         * configure.ac: ... here. Change reference to configure.in
60131         to configure.ac.
60132         * sysdeps/arm/preconfigure.ac: ... here.
60133         configure.in to configure.ac.
60134         * sysdeps/gnu/configure.in: Moved to ...
60135         * sysdeps/gnu/configure.ac: ... here.
60136         * sysdeps/i386/configure.in: Moved to ...
60137         * sysdeps/i386/configure.ac: ... here.
60138         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
60139         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
60140         * sysdeps/mach/configure.in: Moved to ...
60141         * sysdeps/mach/configure.ac: ... here.
60142         * sysdeps/mach/hurd/configure.in: Moved to ...
60143         * sysdeps/mach/hurd/configure.ac: ... here.
60144         * sysdeps/powerpc/configure.in: Moved to ...
60145         * sysdeps/powerpc/configure.ac: ... here.
60146         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
60147         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
60148         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
60149         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
60150         * sysdeps/s390/s390-32/configure.in: Moved to ...
60151         * sysdeps/s390/s390-32/configure.ac: ... here.
60152         * sysdeps/s390/s390-64/configure.in: Moved to ...
60153         * sysdeps/s390/s390-64/configure.ac: ... here.
60154         * sysdeps/sh/configure.in: Moved to ...
60155         * sysdeps/sh/configure.ac: ... here.
60156         * sysdeps/sparc/configure.in: Moved to ...
60157         * sysdeps/sparc/configure.ac: ... here.
60158         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
60159         * sysdeps/unix/sysv/linux/configure.ac: ... here.
60160         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
60161         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
60162         * sysdeps/x86_64/configure.in: Moved to ...
60163         * sysdeps/x86_64/configure.ac: ... here.
60164         * sysdeps/x86_64/preconfigure.in: Moved to ...
60165         * sysdeps/x86_64/preconfigure.ac: ... here.
60166         * aclocal.m4: Change reference to configure.in to configure.ac.
60167         * config.h.in: Likewise.
60168         * manual/install.texi: Likewise.
60169         * manual/maint.texi: Likewise.
60170         * Makefile: Likewise.
60171         * malloc/Makefile: Likewise.
60172         * nscd/Makefile: Likewise.
60173         * Makeconfig: Change reference to configure.in and
60174         preconfigure.in to configure.ac and preconfigure.ac
60175         respectively.
60176         * INSTALL: Regenerated.
60177         * configure: Likewise.
60178         * sysdeps/gnu/configure: Likewise.
60179         * sysdeps/i386/configure: Likewise.
60180         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
60181         * sysdeps/mach/configure: Likewise.
60182         * sysdeps/mach/hurd/configure: Likewise.
60183         * sysdeps/powerpc/configure: Likewise.
60184         * sysdeps/powerpc/powerpc32/configure: Likewise.
60185         * sysdeps/powerpc/powerpc64/configure: Likewise.
60186         * sysdeps/s390/s390-32/configure: Likewise.
60187         * sysdeps/s390/s390-64/configure: Likewise.
60188         * sysdeps/sh/configure: Likewise.
60189         * sysdeps/sparc/configure: Likewise.
60190         * sysdeps/unix/sysv/linux/configure: Likewise.
60191         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
60192         * sysdeps/x86_64/configure: Likewise.
60193         * sysdeps/x86_64/preconfigure: Likewise.
60195 2013-10-29  Andreas Schwab  <schwab@suse.de>
60197         * stdio-common/Makefile (tst-swscanf-ENV): Define.
60199 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60201         * benchtests/pow-inputs: Add new inputs.
60203         * benchtests/exp-inputs: Add new inputs.
60205         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
60206         conditional check for return value.
60207         (__cos32): Likewise.
60209 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60211         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
60212         to provide a boost for large inputs with word alignment.
60213         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
60214         implementation based on optimized PPC64 strcpy.
60215         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
60216         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
60217         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
60218         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
60220 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60222         [BZ #2801]
60223         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
60225 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60227         [BZ #14876]
60228         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
60229         * time/tst-strptime.c (day_tests): Add testcase.
60231 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60233         [BZ #14029]
60234         * manual/pattern.texi: Acknowledge that fnmatch can fail.
60236 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
60238         [BZ #16074]
60239         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
60240         MAP_FAILED on error.
60242 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60244         [BZ #16072]
60245         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
60246         heap for large requests.
60248 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
60250         [BZ #9954]
60251         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
60252         result if the result has no associated interface.
60253         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
60254         interface for all 127.X.Y.Z addresses.
60256 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
60258         * locale/iso-639.def: Add Ligurian (lij)
60260 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
60262         [BZ #15825]
60263         * sunrpc/rpc_main.c: Document rpcgen -5.
60265 2013-10-19  Michael Stahl  <mstahl@redhat.com>
60267         * elf/rtld.c (do_preload): Print the reason why preloading failed.
60269 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
60271         [BZ #10278]
60272         * posix/glob.c: Match only directories when trailing slash is present.
60273         * posix/tst-gnuglob.c (my_opendir): Do not open files.
60274         (main): Add testcase.
60276 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
60278         [BZ #15670]
60279         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
60281 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
60283         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
60284         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
60285         AUTH_DES and cindex for FIPS 140-2.
60286         (DES Encryption): Add cindex FIPS 46-3.
60288         * locale/locarchive.h (struct locarhandle): Add fname.
60289         * locale/programs/localedef.c (main): Pass ARGV[remaining]
60290         if an optional argument was specified to --list-archive,
60291         otherwise NULL.
60292         * locale/programs/locarchive.c (show_archive_content): Take new
60293         argument fname and pass it via ah.fname to open_archive.
60294         * locale/programs/localedef.h: Update decl.
60295         (open_archive): If AH->fname is non-null, open that file
60296         rather than the default file name, and don't ignore ENOENT.
60297         (create_archive): Set AH.fname to NULL.
60298         (delete_locales_from_archive): Likewise.
60299         (add_locales_to_archive): Likewise.
60300         * locale/programs/locfile.c (write_all_categories): Likewise.
60302 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
60303             Aldy Hernandez  <aldyh@redhat.com>
60305         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
60306         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
60307         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
60308         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
60309         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
60310         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
60311         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
60312         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
60313         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
60314         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
60315         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
60316         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
60317         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
60318         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
60319         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
60320         Likewise.
60321         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
60322         Likewise.
60323         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
60324         Likewise.
60325         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
60326         Likewise.
60327         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
60328         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
60329         Likewise.
60330         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
60331         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
60332         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
60333         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
60334         Likewise.
60335         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
60336         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
60337         * sysdeps/powerpc/preconfigure: Likewise.
60338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
60339         Likewise.
60340         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
60341         Replace contents of file by #include of <fenv_libc.h>.
60342         * sysdeps/powerpc/soft-fp/sfp-machine.h
60343         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
60344         and <sys/prctl.h>.
60345         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
60346         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
60347         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
60348         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
60349         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
60350         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
60351         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
60352         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
60353         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
60354         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
60355         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
60356         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
60357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
60358         Allow copysignl PLT reference to be missing.
60360 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
60361             Joseph Myers  <joseph@codesourcery.com
60363         [BZ #15948]
60364         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
60365         single character.
60366         (add_to_tablewc): Assert sequence of wide characters is nonempty.
60368 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60370         * elf/tst-tls-dlinfo.c: Don't include tls.h.
60371         * elf/tst-tls1.c: Likewise.
60372         * elf/tst-tls10.h: Likewise.
60373         * elf/tst-tls14.c: Likewise.
60374         * elf/tst-tls2.c: Likewise.
60375         * elf/tst-tls3.c: Likewise.
60376         * elf/tst-tls4.c: Likewise.
60377         * elf/tst-tls5.c: Likewise.
60378         * elf/tst-tls6.c: Likewise.
60379         * elf/tst-tls7.c: Likewise.
60380         * elf/tst-tls8.c: Likewise.
60381         * elf/tst-tls9.c: Likewise.
60382         * elf/tst-tlsmod1.c: Likewise.
60383         * elf/tst-tlsmod13.c: Likewise.
60384         * elf/tst-tlsmod13a.c: Likewise.
60385         * elf/tst-tlsmod14a.c: Likewise.
60386         * elf/tst-tlsmod16a.c: Likewise.
60387         * elf/tst-tlsmod16b.c: Likewise.
60388         * elf/tst-tlsmod2.c: Likewise.
60389         * elf/tst-tlsmod3.c: Likewise.
60390         * elf/tst-tlsmod4.c: Likewise.
60391         * elf/tst-tlsmod5.c: Likewise.
60392         * elf/tst-tlsmod6.c: Likewise.
60394 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
60396         [BZ #12486]
60397         * malloc/malloc.c: remove checks for statistics.
60399 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
60401         [BZ #15277]
60402         * inet/inet_net.c (inet_network): Detect additional invalid strings.
60403         * inet/tst-network.c: Add testcase.
60405 2013-10-17  Andreas Schwab  <schwab@suse.de>
60407         [BZ #15218]
60408         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
60409         to determine canonical name.
60411 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
60413         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
60414         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
60415         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60416         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60417         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60418         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60419         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60420         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60421         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60422         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60423         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60424         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60425         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60426         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60427         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60428         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60429         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60430         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60431         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60432         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60433         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60434         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60435         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60436         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
60437         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
60438         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60439         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60440         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
60441         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60442         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
60443         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60444         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60445         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60446         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60447         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60448         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60449         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60450         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60451         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60452         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60453         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60454         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60455         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60456         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60457         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60458         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60459         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60460         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60461         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60462         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60463         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60464         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60465         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60466         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60467         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60468         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60469         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60470         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60472 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
60474         [BZ #16041]
60475         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
60476         make result into a quiet NaN.
60478 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
60480         * soft-fp/adddf3.c: Fix horizontal whitespace.
60481         * soft-fp/addsf3.c: Likewise.
60482         * soft-fp/addtf3.c: Likewise.
60483         * soft-fp/divdf3.c: Likewise.
60484         * soft-fp/divsf3.c: Likewise.
60485         * soft-fp/divtf3.c: Likewise.
60486         * soft-fp/double.h: Likewise.
60487         * soft-fp/eqdf2.c: Likewise.
60488         * soft-fp/eqsf2.c: Likewise.
60489         * soft-fp/eqtf2.c: Likewise.
60490         * soft-fp/extenddftf2.c: Likewise.
60491         * soft-fp/extended.h: Likewise.
60492         * soft-fp/extendsfdf2.c: Likewise.
60493         * soft-fp/extendsftf2.c: Likewise.
60494         * soft-fp/extendxftf2.c: Likewise.
60495         * soft-fp/fixdfdi.c: Likewise.
60496         * soft-fp/fixdfsi.c: Likewise.
60497         * soft-fp/fixdfti.c: Likewise.
60498         * soft-fp/fixsfdi.c: Likewise.
60499         * soft-fp/fixsfsi.c: Likewise.
60500         * soft-fp/fixsfti.c: Likewise.
60501         * soft-fp/fixtfdi.c: Likewise.
60502         * soft-fp/fixtfsi.c: Likewise.
60503         * soft-fp/fixtfti.c: Likewise.
60504         * soft-fp/fixunsdfdi.c: Likewise.
60505         * soft-fp/fixunsdfsi.c: Likewise.
60506         * soft-fp/fixunsdfti.c: Likewise.
60507         * soft-fp/fixunssfdi.c: Likewise.
60508         * soft-fp/fixunssfsi.c: Likewise.
60509         * soft-fp/fixunssfti.c: Likewise.
60510         * soft-fp/fixunstfdi.c: Likewise.
60511         * soft-fp/fixunstfsi.c: Likewise.
60512         * soft-fp/fixunstfti.c: Likewise.
60513         * soft-fp/floatdidf.c: Likewise.
60514         * soft-fp/floatdisf.c: Likewise.
60515         * soft-fp/floatditf.c: Likewise.
60516         * soft-fp/floatsidf.c: Likewise.
60517         * soft-fp/floatsisf.c: Likewise.
60518         * soft-fp/floatsitf.c: Likewise.
60519         * soft-fp/floattidf.c: Likewise.
60520         * soft-fp/floattisf.c: Likewise.
60521         * soft-fp/floattitf.c: Likewise.
60522         * soft-fp/floatundidf.c: Likewise.
60523         * soft-fp/floatundisf.c: Likewise.
60524         * soft-fp/floatunditf.c: Likewise.
60525         * soft-fp/floatunsidf.c: Likewise.
60526         * soft-fp/floatunsisf.c: Likewise.
60527         * soft-fp/floatunsitf.c: Likewise.
60528         * soft-fp/floatuntidf.c: Likewise.
60529         * soft-fp/floatuntisf.c: Likewise.
60530         * soft-fp/floatuntitf.c: Likewise.
60531         * soft-fp/fmadf4.c: Likewise.
60532         * soft-fp/fmasf4.c: Likewise.
60533         * soft-fp/fmatf4.c: Likewise.
60534         * soft-fp/gedf2.c: Likewise.
60535         * soft-fp/gesf2.c: Likewise.
60536         * soft-fp/getf2.c: Likewise.
60537         * soft-fp/ledf2.c: Likewise.
60538         * soft-fp/lesf2.c: Likewise.
60539         * soft-fp/letf2.c: Likewise.
60540         * soft-fp/muldf3.c: Likewise.
60541         * soft-fp/mulsf3.c: Likewise.
60542         * soft-fp/multf3.c: Likewise.
60543         * soft-fp/negdf2.c: Likewise.
60544         * soft-fp/negsf2.c: Likewise.
60545         * soft-fp/negtf2.c: Likewise.
60546         * soft-fp/op-1.h: Likewise.
60547         * soft-fp/op-2.h: Likewise.
60548         * soft-fp/op-4.h: Likewise.
60549         * soft-fp/op-8.h: Likewise.
60550         * soft-fp/op-common.h: Likewise.
60551         * soft-fp/quad.h: Likewise.
60552         * soft-fp/single.h: Likewise.
60553         * soft-fp/soft-fp.h: Likewise.
60554         * soft-fp/sqrtdf2.c: Likewise.
60555         * soft-fp/sqrtsf2.c: Likewise.
60556         * soft-fp/sqrttf2.c: Likewise.
60557         * soft-fp/subdf3.c: Likewise.
60558         * soft-fp/subsf3.c: Likewise.
60559         * soft-fp/subtf3.c: Likewise.
60560         * soft-fp/truncdfsf2.c: Likewise.
60561         * soft-fp/trunctfdf2.c: Likewise.
60562         * soft-fp/trunctfsf2.c: Likewise.
60563         * soft-fp/trunctfxf2.c: Likewise.
60564         * soft-fp/unorddf2.c: Likewise.
60565         * soft-fp/unordsf2.c: Likewise.
60566         * soft-fp/unordtf2.c: Likewise.
60568 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
60570         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
60571         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
60573 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
60575         * elf/dl-libc.c: Clear initfini list after freeing.
60577 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
60579         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
60580         * soft-fp/addsf3.c: Likewise.
60581         * soft-fp/addtf3.c: Likewise.
60582         * soft-fp/divdf3.c: Likewise.
60583         * soft-fp/divsf3.c: Likewise.
60584         * soft-fp/divtf3.c: Likewise.
60585         * soft-fp/double.h: Likewise.
60586         * soft-fp/eqdf2.c: Likewise.
60587         * soft-fp/eqsf2.c: Likewise.
60588         * soft-fp/eqtf2.c: Likewise.
60589         * soft-fp/extenddftf2.c: Likewise.
60590         * soft-fp/extended.h: Likewise.
60591         * soft-fp/extendsfdf2.c: Likewise.
60592         * soft-fp/extendsftf2.c: Likewise.
60593         * soft-fp/extendxftf2.c: Likewise.
60594         * soft-fp/fixdfdi.c: Likewise.
60595         * soft-fp/fixdfsi.c: Likewise.
60596         * soft-fp/fixdfti.c: Likewise.
60597         * soft-fp/fixsfdi.c: Likewise.
60598         * soft-fp/fixsfsi.c: Likewise.
60599         * soft-fp/fixsfti.c: Likewise.
60600         * soft-fp/fixtfdi.c: Likewise.
60601         * soft-fp/fixtfsi.c: Likewise.
60602         * soft-fp/fixtfti.c: Likewise.
60603         * soft-fp/fixunsdfdi.c: Likewise.
60604         * soft-fp/fixunsdfsi.c: Likewise.
60605         * soft-fp/fixunsdfti.c: Likewise.
60606         * soft-fp/fixunssfdi.c: Likewise.
60607         * soft-fp/fixunssfsi.c: Likewise.
60608         * soft-fp/fixunssfti.c: Likewise.
60609         * soft-fp/fixunstfdi.c: Likewise.
60610         * soft-fp/fixunstfsi.c: Likewise.
60611         * soft-fp/fixunstfti.c: Likewise.
60612         * soft-fp/floatdidf.c: Likewise.
60613         * soft-fp/floatdisf.c: Likewise.
60614         * soft-fp/floatditf.c: Likewise.
60615         * soft-fp/floatsidf.c: Likewise.
60616         * soft-fp/floatsisf.c: Likewise.
60617         * soft-fp/floatsitf.c: Likewise.
60618         * soft-fp/floattidf.c: Likewise.
60619         * soft-fp/floattisf.c: Likewise.
60620         * soft-fp/floattitf.c: Likewise.
60621         * soft-fp/floatundidf.c: Likewise.
60622         * soft-fp/floatundisf.c: Likewise.
60623         * soft-fp/floatunsidf.c: Likewise.
60624         * soft-fp/floatunsisf.c: Likewise.
60625         * soft-fp/floatuntidf.c: Likewise.
60626         * soft-fp/floatuntisf.c: Likewise.
60627         * soft-fp/floatuntitf.c: Likewise.
60628         * soft-fp/fmadf4.c: Likewise.
60629         * soft-fp/fmasf4.c: Likewise.
60630         * soft-fp/fmatf4.c: Likewise.
60631         * soft-fp/gedf2.c: Likewise.
60632         * soft-fp/gesf2.c: Likewise.
60633         * soft-fp/getf2.c: Likewise.
60634         * soft-fp/ledf2.c: Likewise.
60635         * soft-fp/lesf2.c: Likewise.
60636         * soft-fp/letf2.c: Likewise.
60637         * soft-fp/muldf3.c: Likewise.
60638         * soft-fp/mulsf3.c: Likewise.
60639         * soft-fp/multf3.c: Likewise.
60640         * soft-fp/negdf2.c: Likewise.
60641         * soft-fp/negsf2.c: Likewise.
60642         * soft-fp/negtf2.c: Likewise.
60643         * soft-fp/op-1.h: Likewise.
60644         * soft-fp/op-2.h: Likewise.
60645         * soft-fp/op-4.h: Likewise.
60646         * soft-fp/op-8.h: Likewise.
60647         * soft-fp/op-common.h: Likewise.
60648         * soft-fp/quad.h: Likewise.
60649         * soft-fp/single.h: Likewise.
60650         * soft-fp/soft-fp.h: Likewise.
60651         * soft-fp/sqrtdf2.c: Likewise.
60652         * soft-fp/sqrtsf2.c: Likewise.
60653         * soft-fp/sqrttf2.c: Likewise.
60654         * soft-fp/subdf3.c: Likewise.
60655         * soft-fp/subsf3.c: Likewise.
60656         * soft-fp/subtf3.c: Likewise.
60657         * soft-fp/truncdfsf2.c: Likewise.
60658         * soft-fp/trunctfdf2.c: Likewise.
60659         * soft-fp/trunctfsf2.c: Likewise.
60660         * soft-fp/trunctfxf2.c: Likewise.
60661         * soft-fp/unorddf2.c: Likewise.
60662         * soft-fp/unordsf2.c: Likewise.
60663         * soft-fp/unordtf2.c: Likewise.
60665 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
60667         [BZ #15672]
60668         * misc/error.c (error_tail): Fix possible buffer overflow.
60670 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
60672         [BZ #13028]
60673         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
60674         address.
60676 2013-10-14  P. J. McDermott  <pj@pehjota.net>
60678         [BZ #832]
60679         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
60680         testing pipefail option.
60682 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60684         * soft-fp/double.h: Indent preprocessor directives inside #if.
60685         * soft-fp/extended.h: Likewise.
60686         * soft-fp/op-2.h: Likewise.
60687         * soft-fp/op-4.h: Likewise.
60688         * soft-fp/op-common.h: Likewise.
60689         * soft-fp/quad.h: Likewise.
60690         * soft-fp/single.h: Likewise.
60691         * soft-fp/soft-fp.h: Likewise.
60693 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
60695         * iconv/iconv_prog.c: Fix typos.
60696         * stdio-common/psiginfo-data.h: Likewise.
60698 2013-10-12   Reuben Thomas <rrt@sc3d.org>
60700         [BZ #15764]
60701         * locale/setlocale.c: Fix typo.
60703 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60705         [BZ #16036]
60706         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
60707         signaling NaN arguments.
60708         * soft-fp/unordsf2.c (__unordsf2): Likewise.
60709         * soft-fp/unordtf2.c (__unordtf2): Likewise.
60711         [BZ #14910]
60712         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
60713         unordered operands.
60714         * soft-fp/gesf2.c (__gesf2): Likewise.
60715         * soft-fp/getf2.c (__getf2): Likewise.
60716         * soft-fp/ledf2.c (__ledf2): Likewise.
60717         * soft-fp/lesf2.c (__lesf2): Likewise.
60718         * soft-fp/letf2.c (__letf2): Likewise.
60720         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
60721         * soft-fp/eqsf2.c (__eqsf2): Likewise.
60722         * soft-fp/eqtf2.c (__eqtf2): Likewise.
60723         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
60724         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
60725         * soft-fp/fixdfti.c (__fixdfti): Likewise.
60726         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
60727         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
60728         * soft-fp/fixsfti.c (__fixsfti): Likewise.
60729         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
60730         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
60731         * soft-fp/fixtfti.c (__fixtfti): Likewise.
60732         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
60733         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
60734         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
60735         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
60736         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
60737         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
60738         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
60739         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
60740         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
60741         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
60742         * soft-fp/floatdisf.c (__floatdisf): Likewise.
60743         * soft-fp/floatsisf.c (__floatsisf): Likewise.
60744         * soft-fp/floattidf.c (__floattidf): Likewise.
60745         * soft-fp/floattisf.c (__floattisf): Likewise.
60746         * soft-fp/floattitf.c (__floattitf): Likewise.
60747         * soft-fp/floatundidf.c (__floatundidf): Likewise.
60748         * soft-fp/floatundisf.c (__floatundisf): Likewise.
60749         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
60750         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
60751         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
60752         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
60753         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
60754         * soft-fp/gesf2.c (__gesf2): Likewise.
60755         * soft-fp/getf2.c (__getf2): Likewise.
60756         * soft-fp/ledf2.c (__ledf2): Likewise.
60757         * soft-fp/lesf2.c (__lesf2): Likewise.
60758         * soft-fp/letf2.c (__letf2): Likewise.
60760         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
60761         Undefine and redefine.
60762         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
60763         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
60764         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
60765         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
60766         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60767         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
60768         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60769         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
60770         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60771         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
60772         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60773         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
60774         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60775         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
60776         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60778         [BZ #16032]
60779         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
60780         without decrementing exponent if mantissa >= that for the
60781         denominator, not >.
60782         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
60783         denominator, not >.  Decrement exponent in < case instead of
60784         incrementing in >= case.
60785         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
60786         without decrementing exponent if mantissa >= that for the
60787         denominator, not >.
60789         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
60790         computing saturated result for unsigned overflow.
60792 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60793             Jeff Law  <law@redhat.com>
60795         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
60796         (atan2Mp): Add systemtap probe marker.
60797         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
60798         (__ieee754_log): Add systemtap probe marker.
60799         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
60800         (atanMp): Add systemtap probe marker.
60801         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
60802         (tanMp): Add systemtap probe marker.
60803         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
60804         (__slowexp): Add systemtap probe marker.
60805         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
60806         (__slowpow): Add systemtap probe marker.
60807         * manual/probes.texi: Document probes.
60809 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
60811         [BZ #15362]
60812         * libio/fileops.c (_IO_new_file_write): Return count of bytes
60813         written.
60814         (_IO_new_file_xsputn): Don't return EOF if nothing has been
60815         written.
60816         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
60817         written to buffer but not flushed.
60818         * libio/iofwrite_u.c:  Likewise.
60819         * libio/iopadn.c:  Return bytes returned even if EOF was
60820         encountered.
60821         * libio/iowpadn.c:  Likewise.
60822         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
60823         if _IO_padn does not write the whole buffer.
60824         [!COMPILE_WPRINTF] (PAD): Likewise.
60826 2013-10-10  David S. Miller  <davem@davemloft.net>
60828         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
60829         directory block.
60831 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
60833         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
60834         instead of FSF address.
60835         * soft-fp/fixdfti.c: Likewise.
60836         * soft-fp/fixsfti.c: Likewise.
60837         * soft-fp/fixtfti.c: Likewise.
60838         * soft-fp/fixunsdfti.c: Likewise.
60839         * soft-fp/fixunssfti.c: Likewise.
60840         * soft-fp/fixunstfti.c: Likewise.
60841         * soft-fp/floattidf.c: Likewise.
60842         * soft-fp/floattisf.c: Likewise.
60843         * soft-fp/floattitf.c: Likewise.
60844         * soft-fp/floatuntidf.c: Likewise.
60845         * soft-fp/floatuntisf.c: Likewise.
60846         * soft-fp/floatuntitf.c: Likewise.
60847         * soft-fp/trunctfxf2.c: Likewise.
60849         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
60850         * soft-fp/fixdfti.c: Likewise.
60851         * soft-fp/fixsfti.c: Likewise.
60852         * soft-fp/fixtfti.c: Likewise.
60853         * soft-fp/fixunsdfti.c: Likewise.
60854         * soft-fp/fixunssfti.c: Likewise.
60855         * soft-fp/fixunstfti.c: Likewise.
60856         * soft-fp/floattidf.c: Likewise.
60857         * soft-fp/floattisf.c: Likewise.
60858         * soft-fp/floattitf.c: Likewise.
60859         * soft-fp/floatuntidf.c: Likewise.
60860         * soft-fp/floatuntisf.c: Likewise.
60861         * soft-fp/floatuntitf.c: Likewise.
60862         * soft-fp/trunctfxf2.c: Likewise.
60864 2013-10-10  David S. Miller  <davem@davemloft.net>
60866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60868 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
60870         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
60871         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
60872         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
60873         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
60874         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
60875         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
60876         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
60878         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
60879         for NaNs before doing comparisons on argument.
60880         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
60881         Likewise.
60883 2013-10-10  Will Newton  <will.newton@linaro.org>
60885         * malloc/hooks.c (memalign_check): Ensure the value of bytes
60886         passed to _int_memalign does not overflow.
60888 2013-10-10  Torvald Riegel  <triegel@redhat.com>
60890         * scripts/bench.pl: Add include-sources directive.
60891         * benchtests/README: Update documentation.
60893 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
60895         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
60896         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
60897         instead of FP_INIT_ROUNDMODE.
60898         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
60899         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
60901         [BZ #16034]
60902         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
60903         copy class of input value.
60904         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
60905         not handle exceptions.
60906         * soft-fp/negsf2.c (__negsf2): Likewise.
60907         * soft-fp/negtf2.c (__negtf2): Likewise.
60908         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
60910 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
60912         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
60913         semicolon.  From Linux kernel.
60915 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
60917         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
60919 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
60921         [BZ #156]
60922         * manual/socket.texi: Added statement about buffer
60923         for gethostbyname2_r.
60925 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
60927         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
60928         Use .p2align directive instead, throughout.
60929         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
60930         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
60931         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
60932         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60933         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60934         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
60935         * sysdeps/x86_64/strchr.S: Likewise.
60936         * sysdeps/x86_64/strrchr.S: Likewise.
60938 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60940         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
60942         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
60944         * sysdeps/generic/math_private.h (__mpsin1): Remove
60945         declaration.
60946         (__mpcos1): Likewise.
60947         (__mpsin): New argument __range_reduce.
60948         (__mpcos): Likewise.
60949         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60950         (slow): Use __mpsin and __mpcos.
60951         (slow1): Likewise.
60952         (slow2): Likewise.
60953         (sloww): Likewise.
60954         (sloww1): Likewise.
60955         (sloww2): Likewise.
60956         (bsloww): Likewise.
60957         (bsloww1): Likewise.
60958         (bsloww2): Likewise.
60959         (cslow2): Likewise.
60960         (csloww): Likewise.
60961         (csloww1): Likewise.
60962         (csloww2): Likewise.
60963         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
60964         range_reduce.  Merge in __mpsin1.
60965         (__mpcos): Likewise.
60966         (__mpsin1): Remove.
60967         (__mpcos1): Likewise.
60969 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
60971         * locale/loadlocale.c (_nl_intern_locale_data): Use
60972         LOCFILE_ALIGNED_P.
60973         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
60974         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
60975         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
60976         obstack data is appropriately aligned.
60977         (obstack_int32_grow_fast): Likewise.
60978         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
60979         * locale/programs/locfile.c (add_locale_uint32): Likewise.
60980         (add_locale_uint32_array): Likewise.
60982 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60984         * benchtests/Makefile: Remove ARGLIST and RET variables.
60985         ($(objpfx)bench-%.c): Pass only function name to the script.
60986         * benchtests/README: Update documentation.
60987         * benchtests/acos-inputs: Add new directives.
60988         * benchtests/acosh-inputs: Likewise.
60989         * benchtests/asin-inputs: Likewise.
60990         * benchtests/asinh-inputs: Likewise.
60991         * benchtests/atan-inputs: Likewise.
60992         * benchtests/atanh-inputs: Likewise.
60993         * benchtests/cos-inputs: Likewise.
60994         * benchtests/cosh-inputs: Likewise.
60995         * benchtests/exp-inputs: Likewise.
60996         * benchtests/log-inputs: Likewise.
60997         * benchtests/pow-inputs: Likewise.
60998         * benchtests/rint-inputs: Likewise.
60999         * benchtests/sin-inputs: Likewise.
61000         * benchtests/sinh-inputs: Likewise.
61001         * benchtests/tan-inputs: Likewise.
61002         * benchtests/tanh-inputs: Likewise.
61003         * scripts/bench.pl: Add support for new directives.
61005 2013-10-07  Alan Modra  <amodra@gmail.com>
61007         * README: Fix careless merge.
61009 2013-10-05  Alan Modra  <amodra@gmail.com>
61011         * NEWS: Mention powerpc64le support and bugs fixed.
61012         * README: Both big-endian and little-endian powerpc64 supported.
61014 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61016         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
61017         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
61018         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
61019         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
61021 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
61023         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
61024         match prototype.
61026 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
61028         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
61029         Move -mhard-float appending from
61030         ports/sysdeps/powerpc/powerpc32/Makefile.
61031         [$(with-fp) = yes] (ASFLAGS): Likewise.
61032         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
61033         * sysdeps/powerpc/nofpu: Move directory from
61034         ports/sysdeps/powerpc/nofpu.
61035         * sysdeps/powerpc/soft-fp: Move directory from
61036         ports/sysdeps/powerpc/soft-fp.
61037         * sysdeps/powerpc/powerpc32/405: Move directory from
61038         ports/sysdeps/powerpc/powerpc32/405.
61039         * sysdeps/powerpc/powerpc32/440: Move directory from
61040         ports/sysdeps/powerpc/powerpc32/440.
61041         * sysdeps/powerpc/powerpc32/464: Move directory from
61042         ports/sysdeps/powerpc/powerpc32/464.
61043         * sysdeps/powerpc/powerpc32/476: Move directory from
61044         ports/sysdeps/powerpc/powerpc32/476.
61045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
61046         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
61047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
61048         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
61049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
61050         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
61051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
61052         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
61053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
61054         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
61055         * README: Update for powerpc-*-linux-gnu software floating point
61056         support in libc.
61058         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
61059         case to powerpc/powerpc32*.
61060         * sysdeps/unix/sysv/linux/configure: Regenerated.
61062         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
61063         (_FPU_MASK_OM): Define as 0x04.
61064         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
61065         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
61066         0x00c10080.
61067         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
61068         0x0000003c.
61069         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
61071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
61072         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61073         getcontext_e500.
61074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
61075         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61076         setcontext_e500.
61077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
61078         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
61079         and setcontext_e500.
61081 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
61083         * locale/iso-3166.def: Update iso-1366.def and related occurrences
61085 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61087         * manual/threads.texi (Default Thread Attributes): Fix typo.
61089 2013-10-04  Will Newton  <will.newton@linaro.org>
61091         * malloc/Makefile: Add tst-memalign.
61092         * malloc/tst-memalign.c: New file.
61094         * malloc/tst-posix_memalign.c: Add comments.
61095         (do_test): Add comments and call free on all potentially
61096         allocated pointers. Add space after cast.
61098         * malloc/tst-pvalloc.c: Add comments.
61099         (do_test): Add comments and call free on all potentially
61100         allocated pointers. Remove duplicate check for NULL pointer.
61101         Add space after cast.
61103         * malloc/tst-valloc.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 2013-10-04  Alan Modra  <amodra@gmail.com>
61110         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
61111         Use stdint types in rather than __attribute__((mode())).
61112         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
61114 2013-10-04  Alan Modra  <amodra@gmail.com>
61116         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
61117         Correct handling of unaligned relocs for little-endian.
61118         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
61120 2013-10-04  Alan Modra  <amodra@gmail.com>
61122         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
61123         * configure: Regenerate.
61124         * nptl/shlib-versions: Powerpc*le starts at 2.18.
61125         * shlib-versions: Likewise.
61127 2013-10-04  Alan Modra  <amodra@gmail.com>
61129         * string/tester.c (test_memrchr): Increment reported test cycle.
61131 2013-10-04  Alan Modra  <amodra@gmail.com>
61133         * string/test-memcpy.c (do_one_test): When reporting errors, print
61134         string address and don't overrun end of string.
61136 2013-10-04  Alan Modra  <amodra@gmail.com>
61138         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
61139         insrdi.  Make better use of reg selection to speed exit slightly.
61140         Schedule entry path a little better.  Remove useless "are we done"
61141         checks on entry to main loop.  Handle wrapping around zero address.
61142         Correct main loop count.  Handle single left-over word from main
61143         loop inline rather than by using loop_small.  Remove extra word
61144         case in loop_small caused by wrong loop count.  Add little-endian
61145         support.
61146         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61147         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
61148         cache hint.
61149         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61150         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
61151         support.  Avoid rlwimi.
61152         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
61154 2013-10-04  Alan Modra  <amodra@gmail.com>
61156         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
61157         insrdi.  Formatting.
61158         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
61159         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
61160         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
61161         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
61162         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
61163         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
61165 2013-10-04  Alan Modra  <amodra@gmail.com>
61167         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
61168         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61169         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
61170         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
61171         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61172         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61173         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61174         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61175         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
61176         use of regs.  Use power7 mtocrf.  Tidy function tails.
61178 2013-10-04  Alan Modra  <amodra@gmail.com>
61180         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
61181         Formatting.  Consistently use rXXX register defines or rN defines.
61182         Use early exit labels that avoid restoring unused non-volatile regs.
61183         Make cr field use more consistent with rWORDn compares.  Rename
61184         regs used as shift registers for unaligned loop, using rN defines
61185         for short lifetime/multiple use regs.
61186         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61187         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
61188         addi 1,1,64 to pop stack frame.  Simplify return value code.
61189         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61191 2013-10-04  Alan Modra  <amodra@gmail.com>
61193         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
61194         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
61195         rather than rlwimi.
61196         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
61197         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
61198         little-endian support.  Correct typos.
61199         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
61200         rather than rlwimi.
61201         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
61202         in loop and entry code to keep "and." results.
61203         (strchr): Add little-endian support.  Comment.  Move cntlzd
61204         earlier in tail.
61205         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
61207 2013-10-04  Alan Modra  <amodra@gmail.com>
61209         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
61210         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
61211         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
61212         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
61214 2013-10-04  Alan Modra  <amodra@gmail.com>
61216         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
61217         (rTMP): Define as r11.
61218         (strcmp): Add little-endian support.  Optimise tail.
61219         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
61220         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61221         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61222         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61223         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61224         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61225         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61227 2013-10-04  Alan Modra  <amodra@gmail.com>
61229         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
61230         little-endian support.  Remove unnecessary "are we done" tests.
61231         Handle "s" wrapping around zero and extremely large "size".
61232         Correct main loop count.  Handle single left-over word from main
61233         loop inline rather than by using small_loop.  Correct comments.
61234         Delete "zero" tail, use "end_max" instead.
61235         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
61237 2013-10-04  Alan Modra  <amodra@gmail.com>
61239         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
61240         support.  Don't branch over align.
61241         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
61242         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
61243         support.  Rearrange tmp reg use to suit.  Comment.
61244         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
61246 2013-10-04  Alan Modra  <amodra@gmail.com>
61248         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
61250 2013-10-04  Alan Modra  <amodra@gmail.com>
61252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
61253         conditional form of branch and link when obtaining pc.
61254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
61256 2013-10-04  Alan Modra  <amodra@gmail.com>
61258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
61259         HIWORD/LOWORD.
61260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
61261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
61263 2013-10-04  Alan Modra  <amodra@gmail.com>
61265         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
61266         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
61267         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
61268         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
61269         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
61270         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
61271         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
61272         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
61273         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
61274         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
61276 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61277             Alistair Popple <alistair@ozlabs.au.ibm.com>
61278             Alan Modra <amodra@gmail.com>
61280         [BZ #15723]
61281         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
61282         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
61283         _dl_hwcap access for little-endian.
61284         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
61285         destroy vmx regs when saving unaligned.
61286         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
61287         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
61288         destroy vmx regs when saving unaligned.
61290 2013-10-04  Alan Modra  <amodra@gmail.com>
61292         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
61293         Don't use a union to pack hi/low value.
61295 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61297         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
61298         for little-endian.
61299         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
61300         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
61301         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61302         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
61303         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
61305 2013-10-04  Alan Modra  <amodra@gmail.com>
61307         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
61308         constants to usual value for .cst8 section, and remove redundant
61309         high address load.
61310         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
61311         constant for 0x1p52.  Load little-endian words of double from
61312         correct stack offsets.
61314 2013-10-04  Alan Modra  <amodra@gmail.com>
61316         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
61317         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
61318         words of double from correct stack offsets.
61319         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
61320         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
61321         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
61322         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
61323         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
61324         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
61325         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
61326         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
61327         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
61328         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
61329         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
61330         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
61331         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
61332         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
61333         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
61334         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
61335         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
61337 2013-10-04  Alan Modra  <amodra@gmail.com>
61339         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
61340         64-bit int/double union.
61341         (_FPU_SETCW): Likewise.
61342         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
61343         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
61345 2013-10-04  Alan Modra  <amodra@gmail.com>
61347         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
61348         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
61350 2013-10-04  Alan Modra  <amodra@gmail.com>
61352         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
61353         use vector int constants.
61354         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
61356 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61358         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
61359         array with long long.
61360         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
61361         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
61362         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
61363         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
61364         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
61365         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
61366         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
61367         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
61368         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
61369         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
61370         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
61371         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
61372         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
61374 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61376         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
61377         (__signbit): Likewise.  Correct for little-endian.
61378         (__signbitl): Call __signbit.
61379         (lrint): Correct for little-endian.
61380         (lrintf): Call lrint.
61382 2013-10-04  Alan Modra  <amodra@gmail.com>
61384         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
61385         union 32-bit int array member with 64-bit int array.
61386         (t515, tm256): Double rather than long double.
61387         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
61389 2013-10-04  Alan Modra  <amodra@gmail.com>
61391         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
61392         Delete.
61393         (IEEE854_LONG_DOUBLE_BIAS): Delete.
61394         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
61395         version of math_ldbl.h.
61397 2013-10-04  Alan Modra  <amodra@gmail.com>
61399         [BZ #15734], [BZ #15735]
61400         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
61401         all uses of ieee875 long double macros and unions.  Simplify test
61402         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
61403         ldbl_extract_mantissa value for ix,iy exponents.  Properly
61404         normalize after ldbl_extract_mantissa, and don't add hidden bit
61405         already handled.  Don't treat low word of ieee854 mantissa like
61406         low word of IBM long double and mask off bit when testing for
61407         zero.
61408         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
61409         all uses of ieee875 long double macros and unions.  Simplify tests
61410         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
61411         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
61412         two1022, instead use their values.  Recognise that tests for large
61413         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
61414         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
61415         Rewrite all uses of ieee875 long double macros and unions.  Simplify
61416         test for 0.0L and nan.  Correct negation.
61417         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
61418         ieee875 long double macros and unions.  Correct output for large
61419         magnitude x.  Correct absolute value calculation.
61420         (__erfcl): Likewise.
61421         * math/libm-test.inc: Add tests for errors discovered in IBM long
61422         double versions of fmodl, remainderl, erfl and erfcl.
61424 2013-10-04  Alan Modra  <amodra@gmail.com>
61426         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
61427         all uses of ieee854 long double macros and unions.  Simplify tests
61428         for long doubles that are fully specified by the high double.
61429         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
61430         Likewise.
61431         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
61432         Remove dead code too.
61433         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
61434         (__ieee754_ynl): Likewise.
61435         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
61436         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
61437         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
61438         Remove dead code too.
61439         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
61440         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
61441         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
61442         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
61443         Simplify.
61444         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
61445         Simplify.
61446         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
61447         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
61448         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
61449         Comment on variable precision.
61450         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
61451         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61452         Likewise.
61453         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
61454         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61455         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61456         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
61457         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
61459 2013-10-04  Alan Modra  <amodra@gmail.com>
61461         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
61462         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
61463         all uses of ieee854 long double macros and unions.
61464         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
61465         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
61466         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
61467         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
61468         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
61469         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
61470         Likewise.
61471         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
61472         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61473         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
61474         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61475         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
61476         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
61477         Simplify sign and nan test too.
61478         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
61479         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
61480         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
61481         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
61482         Likewise.
61483         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
61484         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
61485         Likewise.
61486         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61487         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
61488         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
61489         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
61490         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
61491         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
61493 2013-10-04  Alan Modra  <amodra@gmail.com>
61495         * stdio-common/printf_size.c (__printf_size): Don't use
61496         union ieee854_long_double in fpnum union.
61497         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
61498         signbit macro to retrieve sign from long double.
61499         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
61500         retrieve sign from long double.
61501         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
61502         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
61503         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
61504         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61505         * math/test-misc.c (main): Don't use union ieee854_long_double.
61507 2013-10-04  Alan Modra  <amodra@gmail.com>
61509         [BZ #15680]
61510         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
61511         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
61512         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
61513         calculation.  Remove unnecessary test for denormal exponent.
61514         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
61515         Correct handling of denormals.  Avoid undefined shift behaviour.
61516         Correct normalisation of low mantissa when low double is denormal.
61517         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
61518         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
61519         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
61520         Correct normalisation of low mantissa.  Test for overflow of high
61521         mantissa and normalise.
61522         (ldbl_nearbyint): Use more readable constant for two52.
61523         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
61524         (__mpn_construct_long_double): Fix test for overflow of high
61525         mantissa and correct normalisation.  Avoid undefined shift.
61527 2013-10-04  Alan Modra  <amodra@gmail.com>
61529         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
61530         (union ibm_extended_long_double): Define as an array of ieee754_double.
61531         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
61532         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
61533         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
61534         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61535         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61536         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
61537         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61538         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61539         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
61540         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
61541         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61543 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
61545         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
61546         page size instead of calling getpagesize.
61548         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
61549         (LOCFILE_ALIGN_MASK): Likewise.
61550         (LOCFILE_ALIGN_UP): Likewise.
61551         (LOCFILE_ALIGNED_P): Likewise.
61552         * locale/programs/ld-collate.c (collate_output): Use the new
61553         macros instead of __alignof__ (int32_t).
61554         * locale/weight.h (findidx): Likewise.
61556 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
61558         [BZ #431]
61559         * manual/string.texi: Fix strncat and wcsncat.
61561 2013-10-03  Brooks Moses  <bmoses@google.com>
61563         [BZ #15915]
61564         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
61565         * Makerules: ...here, and adjust associated comments.
61567 2013-10-02  Will Newton  <will.newton@linaro.org>
61569         * malloc/Makefile: Add tst-pvalloc.
61570         * malloc/tst-pvalloc.c: New file.
61572 2013-10-02  Will Newton  <will.newton@linaro.org>
61574         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
61575         improve test coverage.
61577 2013-10-02  Will Newton  <will.newton@linaro.org>
61579         * malloc/Makefile: Add tst-posix_memalign.
61580         * malloc/tst-posix_memalign.c: New file.
61582 2013-10-01  Eric Blake  <eblake@redhat.com>
61584         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
61585         Use __THROWNL rather than __THROW on static functions.
61587 2013-09-30  Petr Machata  <pmachata@redhat.com>
61589         * elf/elf.h (R_AARCH64_ABS16): New macro.
61590         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
61591         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
61592         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
61593         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
61594         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
61595         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
61596         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
61597         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
61598         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
61599         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
61600         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
61601         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
61602         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
61603         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
61604         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
61605         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
61606         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
61607         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
61608         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
61609         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
61610         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
61611         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
61612         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
61613         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
61614         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
61615         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
61616         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
61617         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
61618         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
61619         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
61620         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
61621         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
61622         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
61623         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
61624         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
61625         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
61626         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
61627         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
61628         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
61629         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
61630         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
61631         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
61632         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
61633         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
61634         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
61635         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
61636         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
61637         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
61638         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
61639         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
61640         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
61641         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
61642         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
61643         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
61644         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
61645         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
61646         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
61647         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
61648         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
61649         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
61650         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
61651         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
61652         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
61653         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
61654         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
61655         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
61656         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
61657         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
61658         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
61659         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
61660         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
61661         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
61662         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
61663         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
61664         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
61665         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
61666         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
61667         (R_AARCH64_TLSDESC_LDR): Likewise.
61668         (R_AARCH64_TLSDESC_ADD): Likewise.
61669         (R_AARCH64_TLSDESC_CALL): Likewise.
61671 2013-09-30  Andreas Schwab  <schwab@suse.de>
61673         [BZ #15048]
61674         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
61675         the nss database lookup.
61676         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61677         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61679 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
61681         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
61683 2013-09-28  P. J. McDermott  <pj@pehjota.net>
61685         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
61686         ${Bash-specific parameter/pattern/string} parameter expansion.
61687         * sysdeps/unix/make-syscalls.sh: Likewise.
61689 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61691         * sysdeps/sh/stackguard-macros.h: New file.
61693 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
61695         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
61696         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
61697         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
61698         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
61699         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61700         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
61702 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61704         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
61705         Fix thread ID register.
61707 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
61709         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
61710         [POSIX || UNIX98]: Require rather than permitting all symbols from
61711         <time.h>.
61712         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
61713         element of struct sched_param.
61714         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
61715         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
61716         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
61717         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
61718         constant.
61720 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
61722         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
61723         argument calculation.
61725 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61727         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
61728         Expect macro.
61729         [POSIX] (pthread_attr_t): Do not require type.
61730         [POSIX] (pthread_cond_t): Likewise.
61731         [POSIX] (pthread_condattr_t): Likewise.
61732         [POSIX] (pthread_key_t): Likewise.
61733         [POSIX] (pthread_mutex_t): Likewise.
61734         [POSIX] (pthread_mutexattr_t): Likewise.
61735         [POSIX] (pthread_once_t): Likewise.
61736         [POSIX] (pthread_t): Likewise.
61737         [POSIX-based standards] (pthread_atfork): Expect function.
61739 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61740             Richard Sandiford  <richard@codesourcery.com>
61742         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
61743         (swap_endianness_p): New extern variable.
61744         (set_big_endian): New inline function.
61745         (maybe_swap_uint32): Likewise.
61746         (maybe_swap_uint32_array): Likewise.
61747         (maybe_swap_uint32_obstack): Likewise.
61748         * locale/programs/locfile.c: Include <stdbool.h>.
61749         (swap_endianness_p): New variable.
61750         (add_locale_uint32): Call maybe_swap_uint32.
61751         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
61752         (write_locale_data): Call maybe_swap_uint32_array.
61753         * locale/programs/ld-collate.c (obstack_int32_grow): Call
61754         maybe_swap_uint32.
61755         (obstack_int32_grow_fast): Likewise.
61756         (output_weightwc): Call maybe_swap_uint32_obstack.
61757         (collate_output): Likewise.
61758         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
61759         (OPT_LITTLE_ENDIAN): Likewise.
61760         (options): Add --little-endian and --big-endian options.
61761         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
61762         * locale/programs/locarchive.c: Include "locfile.h".
61763         (GET): New macro.
61764         (SET): Likewise.
61765         (INC): Likewise.
61766         (create_archive): Use the new macros to access fields of
61767         structures directly mapped from or written to locale archives.
61768         (oldlocrecentcmp): Likewise.
61769         (enlarge_archive): Likewise.
61770         (insert_name): Likewise.
61771         (add_alias): Likewise.
61772         (add_locale): Likewise.
61773         (delete_locales_from_archive): Likewise.
61774         (show_archive_content): Likewise.
61775         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
61776         locale data.
61778 2013-09-24  Roland McGrath  <roland@hack.frob.com>
61780         * manual/freemanuals.texi: Updated from (newly) canonical copy at
61781         http://www.gnu.org/doc/freemanuals.texi.
61782         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
61784 2013-09-24  Will Newton  <will.newton@linaro.org>
61786         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
61787         macro.
61789 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
61791         * locale/hashval.h (compute_hashval): Interpret bytes of key as
61792         unsigned char.
61794 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
61796         * manual/threads.texi (POSIX Threads): Fix a typo.
61798 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61800         [BZ #14547]
61801         * string/tst-strcoll-overflow.c: New test case.
61802         * string/Makefile (xtests): Add tst-strcoll-overflow.
61803         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
61804         cache if string sizes may cause integer overflow.
61806         [BZ #14547]
61807         * string/strcoll_l.c (coll_seq): New members rule, idx,
61808         save_idx and back_us.
61809         (get_next_seq_nocache): New function.
61810         (do_compare_nocache): New function.
61811         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
61812         when malloc fails.
61814 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
61816         [BZ #15754]
61817         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
61818         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
61819         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
61821         [BZ #15754]
61822         * elf/Makefile (tests): Add tst-ptrguard1.
61823         (tests-static): Add tst-ptrguard1-static.
61824         (tst-ptrguard1-ARGS): Define.
61825         (tst-ptrguard1-static-ARGS): Define.
61826         * elf/tst-ptrguard1.c: New file.
61827         * elf/tst-ptrguard1-static.c: New file.
61828         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
61829         * sysdeps/i386/stackguard-macros.h: Likewise.
61830         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61831         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61832         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61833         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61834         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61835         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61837 2013-09-23  Hector Marco  <hecmargi@upv.es>
61838             Ismael Ripoll  <iripoll@disca.upv.es>
61839             Carlos O'Donell  <carlos@redhat.com>
61841         [BZ #15754]
61842         * sysdeps/generic/stackguard-macros.h: Define
61843         __pointer_chk_guard_local and POINTER_CHK_GUARD.
61844         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
61845         Define __pointer_chk_guard_local.
61846         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
61847         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
61849 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
61851         [BZ #15859]
61852         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
61854 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
61856         * include/string.h (__ffs): Declare as hidden.
61857         * string/ffs.c (__ffs): Define as hidden.
61858         * sysdeps/i386/ffs.c (__ffs): Likewise.
61859         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
61860         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
61861         * sysdeps/s390/ffs.c (__ffs): Likewise.
61862         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
61864 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
61866         * NEWS: Mention malloc probes.
61868         * malloc/arena.c (new_heap): New memory_heap_new probe.
61869         (grow_heap): New memory_heap_more probe.
61870         (shrink_heap): New memory_heap_less probe.
61871         (heap_trim): New memory_heap_free probe.
61872         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
61873         (systrim): New memory_sbrk_less probe.
61874         * manual/probes.texi: Document them.
61876         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
61877         * manual/probes.texi: Document it.
61879         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
61880         (__libc_realloc): Add memory_realloc_retry probe.
61881         (__libc_memalign): Add memory_memalign_retry probe.
61882         (__libc_valloc): Add memory_valloc_retry probe.
61883         (__libc_pvalloc): Add memory_pvalloc_retry probe.
61884         (__libc_calloc): Add memory_calloc_retry probe.
61885         * manual/probes.texi: Document them.
61887         * malloc/arena.c (get_free_list): Add probe
61888         memory_arena_reuse_free_list.
61889         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
61890         and memory_arena_reuse.
61891         (arena_get2) [!PER_THREAD]: Likewise.
61892         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
61893         memory_arena_reuse_realloc.
61894         * manual/probes.texi: Document them.
61896         * malloc/malloc.c (__libc_free): Add
61897         memory_mallopt_free_dyn_thresholds probe.
61898         (__libc_mallopt): Add multiple memory_mallopt probes.
61899         * manual/probes.texi: Document them.
61901         * malloc/malloc.c: Include stap-probe.h.
61902         (__libc_mallopt): Add memory_mallopt probe.
61903         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
61904         * manual/probes.texi: New.
61905         * manual/Makefile (chapters): Add probes.
61906         * manual/threads.texi: Set next node.
61908 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
61910         [BZ #15963, #13985]
61911         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
61912         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
61913         Add `Chinese' to `nan' entry name.
61915 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61917         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
61918         (POLYNOMIAL): Likewise.
61919         (TAYLOR_SINCOS): Likewise.
61920         (TAYLOR_SLOW): Likewise.
61921         (__sin): Use TAYLOR_SINCOS.
61922         (__cos): Likewise.
61923         (slow): Use TAYLOR_SLOW.
61924         (sloww): Likewise.
61925         (bsloww): Likewise.
61926         (csloww): Likewise.
61928 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61930         * stdlib/strtod_l.c: Fix buffer overrun.
61932 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61934         * benchtests/Makefile (bench): Add sincos.
61935         * benchtests/bench-sincos.c: New file.
61937         * math/libm-test.inc (cos_test_data): New test inputs.
61938         (sin_test_data): Likewise.
61940         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
61941         macro.
61942         (__sin): Use it.
61943         (__cos): Likewise.
61944         (slow1): Likewise.
61945         (slow2): Likewise.
61946         (sloww1): Likewise.
61947         (sloww2): Likewise.
61948         (bsloww1): Likewise.
61949         (bsloww2): Likewise.
61950         (cslow2): Likewise.
61951         (csloww1): Likewise.
61952         (csloww2): Likewise.
61954         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
61955         function.
61956         (__sin): Use it.
61957         (__cos): Likewise.
61959         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
61960         gotos.
61961         (__cos): Likewise.
61963 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
61965         * config.h.in (HAVE_MIPS_NAN2008): New macro.
61966         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
61967         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
61968         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
61969         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
61970         * elf/cache.c (print_entry): Handle the new cache flags.
61972 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
61973             Aldy Hernandez  <aldyh@redhat.com>
61975         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
61976         Change condition to [_SOFT_FLOAT].
61977         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
61978         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
61979         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
61980         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
61981         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
61982         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
61983         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
61984         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
61985         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
61986         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
61987         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
61988         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
61989         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
61990         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
61991         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
61992         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
61993         declaration.
61995 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
61997         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
61998         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61999         (__longjmp): Use LOAD_GP to load saved GPRs.
62000         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
62001         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
62002         (__sigsetjmp): Use SAVE_GP to save GPRs.
62004         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
62005         Do not append -msoft-float.
62006         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
62008 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62010         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
62012 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
62014         [BZ #15966]
62015         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
62016         (_FPU_GETCW): Use initial "__" on variable and field names but not
62017         on macro parameter name.
62018         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
62019         parentheses around reference to macro parameter.
62021 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
62023         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
62024         prototype.
62025         (ctype_startup): Use uint32_t in cast and sizeof for
62026         ctype->charnames.
62028 2013-09-11  Jia Liu  <proljc@gmail.com>
62030         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
62031         __daddr_t_defined.
62032         [__FreeBSD__]: Likewise.
62034 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
62036         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
62037         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
62038         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
62039         (strchr): Remove __strchr_sse42 ifunc selection.
62040         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
62041         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
62043 2013-09-11  Will Newton  <will.newton@linaro.org>
62045         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
62046         parameter to RES. Remove hardcoded 1000 value.
62047         * benchtests/bench-skeleton.c (main): Pass RES parameter
62048         to TIMING_INIT and multiply result by 1000.
62050 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62054 2013-09-11  Andreas Schwab  <schwab@suse.de>
62056         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
62057         if not defined.
62058         (O_TMPFILE) [__USE_GNU]: Define.
62059         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
62060         Define.
62062 2013-09-11  Will Newton  <will.newton@linaro.org>
62064         [BZ #15857]
62065         * malloc/malloc.c (__libc_memalign): Check the value of bytes
62066         does not overflow.
62068 2013-09-11  Will Newton  <will.newton@linaro.org>
62070         [BZ #15856]
62071         * malloc/malloc.c (__libc_valloc): Check the value of bytes
62072         does not overflow.
62074 2013-09-11  Will Newton  <will.newton@linaro.org>
62076         [BZ #15855]
62077         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
62078         does not overflow.
62080 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
62082         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
62083         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62084         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62085         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62086         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62088 2013-09-10  Allan McRae  <allan@archlinux.org>
62090         [BZ #15748]
62091         * manual/arith.texi (Parsing of Floats): Clarify
62092         cross-reference.
62094         [BZ #15849]
62095         * manual/install.texi (Running make install): Mention
62096         --enable-pt-chown.
62097         * INSTALL: Regenerated.
62099 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
62101         * csu/init-first.c (_init): Remove the !SHARED condition around
62102         FPU control word initialization.
62103         * elf/dl-support.c (_dl_fpu_control): New variable.
62104         (_dl_aux_init) <AT_FPUCW>: Initialize it.
62105         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
62106         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
62107         * math/test-fpucw-static.c: New file.
62108         * math/test-fpucw-ieee.c: New file.
62109         * math/test-fpucw-ieee-static.c: New file.
62110         * math/Makefile (tests): Add `test-fpucw-ieee' and
62111         `$(tests-static)'.
62112         (tests-static): New variable.
62113         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
62114         dependency to...
62115         [($(build-shared),yes)]
62116         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
62117         ... this.
62118         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
62119         New dependency.
62121 2013-09-09  Allan McRae  <allan@archlinux.org>
62123         [BZ #15939]
62124         * manual/string.texi (Collation Functions): Fix typo in
62125         strcoll example.
62126         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
62128         [BZ #15893]
62129         * stdlib/isomac.c (get_null_defines): Fix memory leak.
62131         [BZ #15892]
62132         * libio/memstream.c (open_memstream): Fix memory leak.
62133         * libio/wmemstream.c (open_wmemstream): Likewise.
62135         [BZ #15895]
62136         * nscd/netgroupcache.c: Fix nesting of ifdefs.
62138 2013-09-09  Will Newton  <will.newton@linaro.org>
62140         * malloc/Makefile: Add tst-realloc to tests.
62141         * malloc/tst-realloc.c: New file.
62143 2013-09-09  Allan McRae  <allan@archlinux.org>
62145         [BZ #15844]
62146         * COPYING: Update from GNU website to fix FSF address.
62147         * COPYING.LIB: Likewise.
62149 2013-09-06  David S. Miller  <davem@davemloft.net>
62151         * po/zh_TW.po: Update Chinese (traditional) translation from
62152         translation project.
62154 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
62155             Joseph Myers  <joseph@codesourcery.com>
62157         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
62158         "localeinfo.h".
62159         (obstack_chunk_alloc): New macro.
62160         (obstack_chunk_free): Likewise.
62161         (record_offset): New function.
62162         (init_locale_data): Likewise.
62163         (align_locale_data): Likewise.
62164         (add_locale_empty): Likewise.
62165         (add_locale_raw_data): Likewise.
62166         (add_locale_raw_obstack): Likewise.
62167         (add_locale_string): Likewise.
62168         (add_locale_wstring): Likewise.
62169         (add_locale_uint32): Likewise.
62170         (add_locale_uint32_array): Likewise.
62171         (add_locale_char): Likewise.
62172         (start_locale_structure): Likewise.
62173         (end_locale_structure): Likewise.
62174         (start_locale_prelude): Likewise.
62175         (end_locale_prelude): Likewise.
62176         (write_locale_data): Take locale_file structure rather than an
62177         iovec.
62178         * locale/programs/locfile.h: Include "obstack.h".
62179         (struct locale_file): Change to store locale file contents instead
62180         of header.
62181         (init_locale_data): New prototype.
62182         (align_locale_data): Likewise.
62183         (add_locale_empty): Likewise.
62184         (add_locale_raw_data): Likewise.
62185         (add_locale_raw_obstack): Likewise.
62186         (add_locale_string): Likewise.
62187         (add_locale_wstring): Likewise.
62188         (add_locale_uint32): Likewise.
62189         (add_locale_uint32_array): Likewise.
62190         (add_locale_char): Likewise.
62191         (start_locale_structure): Likewise.
62192         (end_locale_structure): Likewise.
62193         (start_locale_prelude): Likewise.
62194         (end_locale_prelude): Likewise.
62195         (write_locale_data): Update prototype.
62196         * locale/programs/3level.h (struct TABLE): Remove result field.
62197         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
62198         Use new locale_file interface.
62199         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
62200         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
62201         * locale/programs/ld-address.c (address_output): Use new
62202         locale_file interface.
62203         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
62204         NO_ADD_LOCALE.
62205         (collate_finish): Don't call collseq_table_finalize.
62206         (collate_output): Use new locale_file interface.
62207         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
62208         in file.
62209         (NO_FINALIZE): Change to NO_ADD_LOCALE.
62210         (TABLE): Move defines earlier in file.
62211         (ELEMENT): Likewise.
62212         (DEFAULT): Likewise.
62213         (wctrans_table_add): Move macro and inline function earlier in
62214         file.
62215         (struct wctype_table): Move type earlier in file.
62216         (add_locale_wctype_table): New static prototype.
62217         (struct locale_ctype_t): Use logical types instead of struct iovec
62218         pointers for members.
62219         (ctype_output): Use new locale_file interface.
62220         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
62221         new locale_file interface.
62222         (allocate_arrays): Update for use of new locale_file interface.
62223         * locale/programs/ld-identification.c (identification_output): Use
62224         new locale_file interface.
62225         * locale/programs/ld-measurement.c (measurement_output): Likewise.
62226         * locale/programs/ld-messages.c (messages_output): Likewise.
62227         * locale/programs/ld-monetary.c (monetary_output): Likewise.
62228         * locale/programs/ld-name.c (name_output): Likewise.
62229         * locale/programs/ld-numeric.c (numeric_output): Likewise.
62230         * locale/programs/ld-paper.c (paper_output): Likewise.
62231         * locale/programs/ld-telephone.c (telephone_output): Likewise.
62232         * locale/programs/ld-time.c (time_output): Likewise.
62234 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62236         * benchtests/Makefile: Add memrchr benchmark.
62237         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
62238         benchmark as memrchr.
62239         * benchtests/bench-memrchr-ifunc.c: New file.
62240         * benchtests/bench-memrchr.c: New file.
62242 2013-09-06   Will Newton  <will.newton@linaro.org>
62244         * benchtests/Makefile (string-bench): Add memcpy.
62246 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
62247             Cong Wang  <amwang@redhat.com>
62249         [BZ #15850]
62250         * sysdeps/unix/sysv/linux/bits/in.h
62251         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
62252         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
62253         before __USE_KERNEL_IPV6_DEFS uses.
62254         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
62255         IPPROTO_BEETPH.
62256         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
62257         sockaddr_in6, or ipv6_mreq.
62259 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62261         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
62262         memory access for final bytes in some large inputs.
62263         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
62265 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62267         * string/test-memrchr.c: New file.
62268         * string/test-memrchr-ifunc.c: New file.
62269         * string/Makefile: Add new memrchr testcase.
62271 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
62273         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
62274         fanotify_init returns EPERM.
62276 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
62278         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
62279         errors.
62280         (top level): Treat second token from macro or constant entries for
62281         allowed headers as allowed.
62282         * include/complex.h: Condition internal declarations on
62283         [!_ISOMAC].
62284         * include/fenv.h: Condition include of <stdbool.h> and internal
62285         declarations on [!_ISOMAC].
62287 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
62289         [BZ #15923]
62290         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
62292 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
62294         * configure.in (--enable-versioning): Remove configure option.
62295         (libc_cv_asm_symver_directive): Remove configure test.
62296         (libc_cv_ld_version_script_option): Likewise.
62297         (VERSIONING): Remove variable and AC_SUBST.
62298         (DO_VERSIONING): Remove AC_DEFINE.
62299         * configure: Regenerated.
62300         * config.h.in (DO_VERSIONING): Remove macro.
62301         * Makerules [$(versioning) = yes]: Change conditionals to
62302         [$(build-shared) = yes].
62303         * config.make.in (versioning): Remove variable.
62304         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
62305         [$(build-shared) = yes].
62306         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
62307         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
62308         * elf/Makefile [$(versioning) = yes]: Change conditionals to
62309         [$(build-shared) = yes].
62310         * extra-lib.mk [$(versioning) = yes]: Likewise.
62311         * hurd/Makefile [$(versioning) = yes]: Likewise.
62312         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
62313         [SHARED].
62314         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
62315         [SHARED].
62316         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62317         [SHARED && !NO_HIDDEN].
62318         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
62319         [SHARED].
62320         [SHARED && DO_VERSIONING]: Likewise..
62321         * libio/Makefile [$(versioning) = yes]: Change conditionals to
62322         [$(build-shared) = yes].
62323         * manual/install.texi (--disable-versioning): Remove
62324         documentation.
62325         * INSTALL: Regenerated.
62326         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
62327         to [SHARED].
62328         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
62329         [$(build-shared) = yes].
62330         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
62331         * sysdeps/i386/i686/multiarch/strstr-c.c
62332         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62333         [SHARED && !NO_HIDDEN].
62334         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
62335         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
62336         * sysdeps/powerpc/powerpc32/dl-machine.c
62337         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
62338         * sysdeps/powerpc/powerpc32/sysdep.h
62339         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
62340         to [SHARED && PIC && !NO_HIDDEN].
62341         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
62342         conditional to [SHARED].
62344 2013-09-04   Will Newton  <will.newton@linaro.org>
62346         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
62347         * benchtests/bench-string.h: Include bench-timing.h instead
62348         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
62349         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
62350         call to HP_TIMING_DIFF_INIT.
62351         * benchtests/bench-memccpy.c: Use bench-timing.h macros
62352         instead of hp-timing.h macros.
62353         * benchtests/bench-memchr.c: Likewise.
62354         * benchtests/bench-memcmp.c: Likewise.
62355         * benchtests/bench-memcpy.c: Likewise.
62356         * benchtests/bench-memmem.c: Likewise.
62357         * benchtests/bench-memmove.c: Likewise.
62358         * benchtests/bench-memset.c: Likewise.
62359         * benchtests/bench-rawmemchr.c: Likewise.
62360         * benchtests/bench-strcasecmp.c: Likewise.
62361         * benchtests/bench-strcasestr.c: Likewise.
62362         * benchtests/bench-strcat.c: Likewise.
62363         * benchtests/bench-strchr.c: Likewise.
62364         * benchtests/bench-strcmp.c: Likewise.
62365         * benchtests/bench-strcpy.c: Likewise.
62366         * benchtests/bench-strcpy_chk.c: Likewise.
62367         * benchtests/bench-strlen.c: Likewise.
62368         * benchtests/bench-strncasecmp.c: Likewise.
62369         * benchtests/bench-strncat.c: Likewise.
62370         * benchtests/bench-strncmp.c: Likewise.
62371         * benchtests/bench-strncpy.c: Likewise.
62372         * benchtests/bench-strnlen.c: Likewise.
62373         * benchtests/bench-strpbrk.c: Likewise.
62374         * benchtests/bench-strrchr.c: Likewise.
62375         * benchtests/bench-strspn.c: Likewise.
62376         * benchtests/bench-strstr.c: Likewise.
62378 2013-09-04  Will Newton  <will.newton@linaro.org>
62380         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
62382 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
62384         [BZ #15427]
62385         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
62386         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
62387         * math/libm-test.inc (lgamma_test_data): Add more tests.
62388         * sysdeps/i386/fpu/libm-test-ulps: Update.
62389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62391 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
62393         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
62394         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62395         Add ifunc.
62396         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62397         Add strcmp-sse2-unaligned
62398         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
62400 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
62402         * Versions.def (libc): Add GLIBC_2.19.
62404 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
62406         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
62407         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
62409 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
62411         [BZ #14155]
62412         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
62413         intermediate calculations in recurrence.
62414         (__ieee754_ynf): Likewise.
62415         * math/libm-test.inc (jn_test_data): Do not allow spurious
62416         underflow exception.  Add more tests.
62417         (yn_test_data): Add more tests.
62418         * sysdeps/i386/fpu/libm-test-ulps: Update.
62419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62421 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
62423         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
62425 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
62427         * csu/init-first.c: Fix then/than typos.
62428         * locale/programs/ld-collate.c: Likewise.
62429         * locale/programs/linereader.h: Likewise.
62430         * manual/charset.texi: Likewise.
62431         * manual/filesys.texi: Likewise.
62432         * manual/stdio.texi: Likewise.
62433         * manual/string.texi: Likewise.
62434         * stdlib/fmtmsg.c: Likewise.
62435         * sysdeps/i386/stpncpy.S: Likewise.
62436         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62437         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62438         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62439         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62441 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
62443         * elf/dl-open.c: Fix typos.
62444         * iconvdata/gbbig5.c: Likewise.
62445         * iconvdata/iso-2022-jp.c: Likewise.
62446         * iconv/gconv_int.h: Likewise.
62447         * iconv/loop.c: Likewise.
62448         * nis/rpcsvc/nis.h: Likewise.
62449         * resolv/ns_name.c: Likewise.
62450         * stdio-common/vfscanf.c: Likewise.
62451         * streams/stropts.h: Likewise.
62452         * sunrpc/rpc_thread.c: Likewise.
62453         * sysdeps/i386/strpbrk.S: Likewise.
62454         * sysdeps/ieee754/k_standard.c: Likewise.
62455         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62456         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62457         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
62458         * sysdeps/mach/hurd/profil.c: Likewise.
62459         * sysdeps/s390/dl-procinfo.h: Likewise.
62460         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
62461         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
62462         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
62463         * sysdeps/x86_64/dl-trampoline.S: Likewise.
62464         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
62466 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
62468         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
62469         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
62471 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
62473         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
62474         aix specific files.
62475         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
62476         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
62477         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
62478         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
62479         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
62480         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
62481         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
62482         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
62484 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
62485             Roland McGrath  <roland@hack.frob.com>
62487         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
62488         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
62490 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62492         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
62493         __executable_start symbol instead of _start.
62495 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
62497         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
62498         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
62499         Move macros to...
62500         * sysdeps/gnu/ldsodefs.h: ... this new file.
62502         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
62503         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
62504         instead of ELFOSABI_LINUX.
62506         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
62507         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
62508         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
62509         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
62510         Likewise.
62511         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
62512         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
62513         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
62514         Likewise.
62515         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62516         (ibm_extended_long_double): Add ieee_nan member.
62517         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
62518         (do_test): New function.
62520         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
62521         TEST_TRUNC.
62522         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
62523         functions, renamed from truncdfsf_test, trunctfsf_test,
62524         trunctfdf_test.
62525         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
62526         functions.
62527         (do_test): Run all these.
62529 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
62531         * argp/argp-help.c: Fix typos.
62532         * argp/argp-parse.c: Likewise.
62533         * debug/backtracesyms.c: Likewise.
62534         * elf/elf.h: Likewise.
62535         * malloc/malloc.c: Likewise.
62536         * nis/nis_print.c: Likewise.
62537         * resolv/res_comp.c: Likewise.
62538         * stdlib/stdlib.h: Likewise.
62539         * sunrpc/clnt_tcp.c: Likewise.
62540         * sunrpc/clnt_udp.c: Likewise.
62541         * sunrpc/clnt_unix.c: Likewise.
62542         * sysdeps/unix/bsd/ptsname.c: Likewise.
62543         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
62544         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
62545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
62546         Likewise.
62547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
62548         Likewise.
62549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
62550         Likewise.
62551         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62553 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62555         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
62556         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62558 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
62560         [BZ #15897]
62561         * dlfcn/Makefile (tests): Add bug-dl-leaf.
62562         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
62563         ($(objpfx)bug-dl-leaf): New rule.
62564         ($(objpfx)bug-dl-leaf.so): Likewise.
62565         ($(objpfx)bug-dl-leaf.out): Likewise.
62566         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
62567         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
62568         * dlfcn/bug-dl-leaf.c: New test.
62569         * dlfcn/bug-dl-leaf-lib.c: Likewise.
62570         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
62571         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
62572         (dlclose): Likewise.
62573         (dlmopen): Likewise.
62575 2013-08-27  Roland McGrath  <roland@hack.frob.com>
62577         * include/netdb.h [!_ISOMAC]:
62578         Don't include <tls.h>.
62579         (h_errno, __libc_h_errno): Move declaration and macros out of
62580         [_LIBC_REENTRANT].
62582         * include/resolv.h [_RESOLV_H_]:
62583         Don't include <tls.h>.
62584         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
62585         * resolv/res_libc.c: Don't include <tls.h>.
62586         (_res): Use __attribute__ ((nocommon)) in place of
62587         __attribute__ ((section (".bss"))).
62589         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
62590         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
62592         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
62594         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
62595         only under [SIOCGIFCONF && SIOCGIFNETMASK].
62597         * resolv/res_mkquery.c: Include <sys/time.h>.
62599         * inet/ifreq.c: Moved to ...
62600         * sysdeps/unix/ifreq.c: ... here.
62601         * inet/ifreq.c: New file, true stub version.
62603         * socket/sa_len.c: New file.
62604         * socket/Makefile (aux): Add it.
62605         * sysdeps/unix/sysv/linux/Makefile
62606         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
62607         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
62608         and #include <socket/sa_len.c>.
62609         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
62610         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
62612         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
62613         * bits/socket.h: ... here.
62615         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
62616         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
62617         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
62619 2013-08-27  Andreas Schwab  <schwab@suse.de>
62621         [BZ #15736]
62622         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
62623         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
62624         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
62625         * string/test-strcasecmp.c (test_main): Run tests in several
62626         locales.
62627         * string/test-strncasecmp.c (test_main): Likewise.
62629         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
62630         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
62631         to __strcasecmp_nonascii and __strncasecmp_nonascii.
62632         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
62633         (__strncasecmp_ssse3) [PIC]: Likewise.
62635 2013-08-26  Roland McGrath  <roland@hack.frob.com>
62637         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
62639         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
62640         instead of explicitly declaring xdecrypt.
62641         * nis/nss_nis/nis-publickey.c: Likewise.
62643 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62645         [BZ #15890]
62646         * nscd/aicache.c: Include res_hconf.h.
62647         (addhstaiX): Initialize res_hconf.
62649 2013-08-26  Andreas Schwab  <schwab@suse.de>
62651         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
62652         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
62654 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62656         * nscd/aicache.c (addhstaiX): Fix indentation.
62658 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
62660         * configure.ac: Quote $build_pt_chown test.
62661         * configure: Regenerated.
62663 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
62665         [BZ #15532]
62666         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
62667         * math/s_cexpf.c (__cexpf): Likewise.
62668         * math/s_cexpl.c (__cexpl): Likewise.
62669         * math/libm-test.inc (cexp_test_data): Correct expected return
62670         value for NaN + i0.  Add another test.
62672 2013-08-22  David S. Miller  <davem@davemloft.net>
62674         * po/ca.po: Update Catalan translation from translation project.
62675         * po/uk.po: Add Ukrainian translations from translation project.
62677 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
62679         [BZ #15797]
62680         * math/s_fdim.c (__fdim): Check for infinite arguments if result
62681         is infinite, not alongside NaN test.
62682         * math/s_fdimf.c (__fdimf): Likewise.
62683         * math/s_fdiml.c (__fdiml): Likewise.
62684         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
62685         errno is unchanged.
62687 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
62689         * argp/argp-help.c: Fix typos.
62690         * crypt/speeds.c: Likewise.
62691         * csu/check_fds.c: Likewise.
62692         * elf/dl-load.c: Likewise.
62693         * elf/dl-open.c: Likewise.
62694         * elf/reldep3.c: Likewise.
62695         * elf/reldep.c: Likewise.
62696         * elf/sprof.c: Likewise.
62697         * iconv/iconv_charmap.c: Likewise.
62698         * iconv/skeleton.c: Likewise.
62699         * iconv/strtab.c: Likewise.
62700         * io/lockf64.c: Likewise.
62701         * libio/libioP.h: Likewise.
62702         * resolv/gai_notify.c: Likewise.
62703         * resolv/ns_name.c: Likewise.
62704         * resolv/ns_samedomain.c: Likewise.
62705         * resolv/res_send.c: Likewise.
62706         * stdlib/random.c: Likewise.
62707         * sunrpc/rpc/xdr.h: Likewise.
62708         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
62709         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62710         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62711         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62712         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62713         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62714         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62715         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62716         * sysdeps/mach/hurd/check_fds.c: Likewise.
62717         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62718         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62719         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62720         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62721         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62722         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62723         * sysdeps/pthread/aio_notify.c: Likewise.
62724         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
62725         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
62726         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
62727         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62728         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
62730 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62732         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
62733         version if bit_Slow_SSE4_2 is set.
62734         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62735         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62737 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62739         [BZ #15867]
62740         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
62741         trampoline stack frame information.
62742         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
62743         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
62744         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
62745         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
62746         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
62747         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62748         (_libc_vdso_platform_setup): Initialize the signal trampolines.
62749         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
62750         sa_flags value.
62751         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
62752         interrupting a syscall and set with option SA_SIGINFO.
62754 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62756         [BZ #15531]
62757         * math/s_cproj.c (__cproj): Only return an infinity if one part of
62758         argument is infinite.
62759         * math/s_cprojf.c (__cprojf): Likewise.
62760         * math/s_cprojl.c (__cprojl): Likewise.
62761         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
62762         * math/libm-test.inc (cproj_test_data): Add more tests.
62764         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
62766         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
62767         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
62768         size.  Use __ffs to determine corresponding shift.
62770 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62771             Roland McGrath  <roland@hack.frob.com>
62773         * Makefile (INSTALL): Remove trailing blank lines from output of
62774         makeinfo.
62776 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62778         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
62779         Align 32 bit compat elf_greg to 8 bytes.
62781 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
62783         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
62785 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62787         * string/strcoll_l.c (coll_seq): New structure.
62788         (get_next_seq_cached): New function.
62789         (get_next_seq): New function.
62790         (do_compare): New function.
62791         (STRCOLL): Use GNU style definition.  Simplify implementation
62792         by using get_next_seq, get_next_seq_cached and do_compare.
62794 2013-08-16  Florian Weimer  <fweimer@redhat.com>
62796         [BZ #14699]
62797         CVE-2013-4237
62798         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
62799         member.
62800         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
62801         member.
62802         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
62803         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
62804         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
62805         conditional.
62806         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
62807         GETDENTS_64BIT_ALIGNED.
62808         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62809         * manual/filesys.texi (Reading/Closing Directory): Document
62810         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
62811         strongly.
62812         * manual/conf.texi (Limits for Files): Add portability note to
62813         NAME_MAX, PATH_MAX.
62814         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
62816 2013-08-13  Andreas Schwab  <schwab@suse.de>
62818         [BZ #15749]
62819         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
62820         of fabs.
62821         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
62822         LDBL_MAX_EXP >= 16384]: Add tests for it.
62824 2013-08-12  David S. Miller  <davem@davemloft.net>
62826         * version.h (RELEASE): Set to "development".
62827         (VERSION): Set to "2.18.90".
62828         * NEWS: Add 2.19 section.
62830 2013-08-03  David S. Miller  <davem@davemloft.net>
62832         * po/ko.po: Update Korean translation from translation project.
62834 2013-08-01  David S. Miller  <davem@davemloft.net>
62836         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
62837         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
62838         Bilka.
62840 2013-07-30  David S. Miller  <davem@davemloft.net>
62842         * po/fr.po: Update French translation from translation project.
62844 2013-07-28  David S. Miller  <davem@davemloft.net>
62846         * po/cs.po: Update Czech translation from translation project.
62848         * po/sv.po: Update Swedish translation from translation project.
62850 2013-07-27  David S. Miller  <davem@davemloft.net>
62852         * po/eo.po: Update Esperanto translation from translation project.
62854         * po/vi.po: Update Vietnamese translation from translation project.
62856         * po/de.po: Update German translation from translation project.
62858 2013-07-26  David S. Miller  <davem@davemloft.net>
62860         * po/bg.po: Update Bulgarian translation from translation project.
62862         * po/nl.po: Update Dutch translation from translation project.
62863         * po/pl.po: Update Polish translation from translation project.
62864         * po/ru.po: Update Russian translation from translation project.
62866 2013-07-24  David S. Miller  <davem@davemloft.net>
62868         * po/libc.pot: Update.
62870 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62872         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
62873         variable page size.
62874         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
62875         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
62876         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
62878 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62880         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
62882 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62883             Andreas Schwab  <schwab@suse.de>
62884             Roland McGrath  <roland@hack.frob.com>
62885             Joseph Myers  <joseph@codesourcery.com>
62886             Carlos O'Donell  <carlos@redhat.com>
62888         [BZ #15755]
62889         * config.h.in: Define HAVE_PT_CHOWN.
62890         * config.make.in (build-pt-chown): New variable.
62891         * configure.in (--enable-pt_chown): New configure option.
62892         * configure: Regenerate.
62893         * login/Makefile: Include Makeconfig.  Build pt_chown only if
62894         build-pt-chown is enabled.
62895         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
62896         pt_chown to fix pty ownership.
62897         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
62898         CLOSE_ALL_FDS.
62899         * manual/install.texi (Configuring and compiling): Mention
62900         --enable-pt_chown. Add @findex for grantpt.
62901         * INSTALL: Regenerate.
62903 2013-07-20  David S. Miller  <davem@davemloft.net>
62905         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
62906         difference between 32-bit and 64-bit.
62908 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
62910         [BZ #15711]
62911         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
62912         Avoid system header dependency with -ffreestanding.
62913         ($(objpfx)bits/syscall%d): Likewise.
62915 2013-07-13  David S. Miller  <davem@davemloft.net>
62917         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
62918         underflows from atanl/atan2l due to bug 15319.
62919         (casinh_test_data): Likewise.
62921 2013-07-07  David S. Miller  <davem@davemloft.net>
62923         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
62925 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
62927         * sysdeps/i386/fpu/libm-test-ulps: Update.
62928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62930 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62932         * configure.in (--enable-lock-elision): Fix message text.
62933         * INSTALL: Regenerate.
62934         * configure: Regenerate.
62936 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62940 2013-07-03  Andreas Jaeger  <aj@suse.de>
62942         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
62943         define.
62944         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
62945         (ptrace_peeksiginfo_args): Add.
62946         (__ptrace_peeksiginfo_flags): Add.
62947         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62948         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62949         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62951 2013-07-03  Allan McRae  <allan@archlinux.org>
62953         * sysdeps/i386/fpu/libm-test-ulps: Update.
62955 2013-07-02  David S. Miller  <davem@davemloft.net>
62957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62959 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
62961         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62963 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
62965         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
62966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62968 2013-07-02  Andi Kleen <ak@linux.intel.com>
62970         * config.h.in (ENABLE_LOCK_ELISION): Add.
62971         * configure.in (--enable-lock-elision): Add option.
62972         * manual/install.texi: Document --enable lock elision.
62973         * configure: Regenerate
62974         * INSTALL: Regenerate.
62976 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
62978         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
62979         SSE4.2 strcasecmp for libc.a.
62980         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
62982 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
62984         [BZ #13304]
62985         * soft-fp/op-common.h (_FP_FMA): New macro.
62986         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
62987         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
62988         (_FP_MUL_MEAT_1_imm): ... here.
62989         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
62990         (_FP_MUL_MEAT_1_wide): ... here.
62991         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
62992         (_FP_MUL_MEAT_1_hard): ... here.
62993         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
62994         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
62995         (_FP_MUL_MEAT_2_wide): ... here.
62996         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
62997         (_FP_MUL_MEAT_2_wide_3mul): ... here.
62998         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
62999         (_FP_MUL_MEAT_2_gmp): ... here.
63000         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
63001         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
63002         (_FP_MUL_MEAT_4_wide): ... here.
63003         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
63004         (_FP_MUL_MEAT_4_gmp): ... here.
63005         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
63006         (_FP_WFRACBITS_DW_S): Likewise.
63007         (_FP_WFRACXBITS_DW_S): Likewise.
63008         (_FP_HIGHBIT_DW_S): Likewise.
63009         (FP_FMA_S): Likewise.
63010         (_FP_FRAC_HIGH_DW_S): Likewise.
63011         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
63012         (_FP_WFRACBITS_DW_D): Likewise.
63013         (_FP_WFRACXBITS_DW_D): Likewise.
63014         (_FP_HIGHBIT_DW_D): Likewise.
63015         (FP_FMA_D): Likewise.
63016         (_FP_FRAC_HIGH_DW_D): Likewise.
63017         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
63018         (_FP_WFRACBITS_DW_E): Likewise.
63019         (_FP_WFRACXBITS_DW_E): Likewise.
63020         (_FP_HIGHBIT_DW_E): Likewise.
63021         (FP_FMA_E): Likewise.
63022         (_FP_FRAC_HIGH_DW_E): Likewise.
63023         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
63024         (_FP_WFRACBITS_DW_Q): Likewise.
63025         (_FP_WFRACXBITS_DW_Q): Likewise.
63026         (_FP_HIGHBIT_DW_Q): Likewise.
63027         (FP_FMA_Q): Likewise.
63028         (_FP_FRAC_HIGH_DW_Q): Likewise.
63029         * soft-fp/fmasf4.c: New file.
63030         * soft-fp/fmadf4.c: Likewise.
63031         * soft-fp/fmatf4.c: Likewise.
63033 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63036         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
63037         Silvermont.
63038         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
63039         macro.
63040         (index_Slow_SSE4_2): Likewise.
63041         (index_Prefer_PMINUB_for_stringop): Likewise.
63042         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
63043         bit_Slow_SSE4_2 is set.
63044         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63045         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63047 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63049         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
63050         rtld_global._dl_hwcap2.
63051         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
63052         POWER8.
63053         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
63054         POWER8 feature descriptions defined in _dl_hwcap2.
63055         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
63056         string handling for POWER8 feature bits.
63057         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
63058         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
63059         _dl_powerpc_cap_flags.
63060         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
63061         * sysdeps/powerpc/rtld-global-offsets.sym
63062         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
63063         _dl_hwcap2 in the rtld_global_ro structure.
63065 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63067         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
63068         hardware capabilities in support of AT_HWCAP2.
63069         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
63070         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
63071         GLRO(dl_hwcap2).
63072         (_dl_show_auxv): Add support for calling _dl_procinfo to display
63073         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
63074         explicitly the unknown a_type display mechanism is used.
63075         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
63076         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
63077         struct member.
63078         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
63079         to macro prototype for AT_HWCAP2 support.
63080         * sysdeps/i386/dl-procinfo.h: Likewise.
63081         * sysdeps/s390/dl-procinfo.h: Likewise.
63082         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
63083         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
63084         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
63085         return -1 for unknown a_type display fallback.
63086         * sysdeps/sparc/dl-procinfo.h: Likewise.
63087         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
63088         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
63090 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
63092         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
63093         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
63095 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
63097         [BZ #12492]
63098         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
63099         mprotect making __stack_prot writable.
63101 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
63102             Joseph Myers  <joseph@codesourcery.com>
63104         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
63105         as being properly aligned.
63107 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
63109         * dlfcn/modstatic5.c: New file.
63110         * dlfcn/tststatic5.c: New file.
63111         * dlfcn/Makefile (tests): Add tststatic5.
63112         (tests-static): Likewise.
63113         (modules-names): Add modstatic5.
63114         (tststatic5-ENV): New variable.
63115         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
63117         [BZ #15022]
63118         * elf/dl-support.c (_dl_main_map): New variable.
63119         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
63120         (_dl_nns, _dl_load_adds): Set to 1.
63121         (_dl_initial_searchlist): Refer to _dl_main_map.
63122         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
63123         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
63124         call to _dl_get_origin.
63125         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
63126         around call_map.
63127         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
63128         * dlfcn/modstatic3.c: New file.
63129         * dlfcn/tststatic3.c: New file.
63130         * dlfcn/tststatic4.c: New file.
63131         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
63132         (tests-static): Likewise.
63133         (modules-names): Add modstatic3.
63134         (tststatic3-ENV, tststatic4-ENV): New variables.
63135         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
63136         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
63138 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
63140         * configure.in (CC): Require GCC version 4.4 or later.
63141         * configure: Regenerated.
63142         * manual/install.texi (Tools for Compilation): Update GCC version
63143         requirement.
63144         * INSTALL: Regenerated.
63146 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63148         [BZ #15674]
63149         * string/test-memcmp.c (check2): New.
63150         (main): Call check2.
63152         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
63154 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
63156         [BZ #15022]
63157         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
63158         over to...
63159         (dl_open_worker) [!SHARED]: ... here.
63161 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63163         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
63165 2013-06-25  Richard Henderson  <rth@redhat.com>
63167         * locale/programs/locarchive.c: Include <libc-internal.h>
63169 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
63171         * manual/texinfo.tex: Update to version 2013-06-21.17, with
63172         trailing whitespace removed.
63174 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
63176         [BZ #10283]
63177         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
63178         * locale/programs/locarchive.c: Include libc-mmap.h.
63179         (prepare_address_space): Take two new outputs (the mmap base and len).
63180         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
63181         values.
63182         (create_archive): Declare new mmap base and len values for
63183         prepare_address_space, and store the result in ah.
63184         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
63185         (enlarge_archive): If ah->mmap_base is not NULL, use that and
63186         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
63187         Declare new mmap base and len values for
63188         prepare_address_space, and store the result in new_ah.
63189         (open_archive): Declare new mmap base and len values for
63190         prepare_address_space, and store the result in ah.
63191         (close_archive): If ah->mmap_base is not NULL, use that and
63192         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
63193         * sysdeps/generic/libc-mmap.h: New file.
63195 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
63197         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
63198         (ALIGN_UP): Likewise.
63199         (PTR_ALIGN_DOWN): Likewise.
63200         (PTR_ALIGN_UP): Likewise.
63202 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63204         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
63205         entry mapped to PPC_PLATFORM_POWER8.
63206         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
63207         POWER8.
63208         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
63209         (_dl_string_platform): Add case for exporting platform position for
63210         POWER8.
63211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
63212         search path to sysdeps/powerpc/powerpc32/power8 directory.
63213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
63214         search path to sysdeps/powerpc/powerpc64/power8 directory.
63215         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
63216         power7 directories.
63217         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
63218         power7 directories.
63220 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
63222         * INSTALL: Regenerate.
63224         * nscd/connections.c (nscd_init): Fix comment.
63226 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
63228         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
63230         [BZ #15667]
63231         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
63232         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
63234 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
63236         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
63237         DL_DST_REQ_STATIC.
63238         (DL_DST_REQ_STATIC): Remove macro.
63240 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
63242         [BZ #7006]
63243         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
63244         with a shift of 0 bits.
63246 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
63248         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
63249         $(tststatic-ENV).
63251 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63253         [BZ #15655]
63254         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
63256 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63258         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
63259         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
63260         accepts -fno-tree-loop-distribute-patterns.
63261         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
63262         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
63263         recursive call.
63264         * string/memset.c (memset): Likewise.
63265         * string/test-memmove.c (simple_memmove): Disable loop transformation
63266         to library calls.
63267         * string/test-memset.c (simple_memset): Likewise.
63268         * benchtests/bench-memmove.c (simple_memmove): Likewise.
63269         * benchtests/bench-memset.c (simple_memset): Likewise.
63270         * configure: Regenerated.
63272 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
63274         * math/test-misc.c (main): Ignore fesetround failure when failures
63275         of subsequent rounding tests would be ignored.
63277         [BZ #15654]
63278         * math/fedisblxcpt.c (fedisableexcept): Return 0.
63279         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
63280         * math/fegetenv.c (__fegetenv): Return 0.
63281         * math/fegetexcept.c (fegetexcept): Return 0.
63282         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
63283         FE_TONEAREST.
63284         * math/feholdexcpt.c (feholdexcept): Return 0.
63285         * math/fesetenv.c (__fesetenv): Return 0.
63286         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
63287         argument FE_TONEAREST.
63288         * math/feupdateenv.c (__feupdateenv): Return 0.
63289         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
63291 2013-06-18  Roland McGrath  <roland@hack.frob.com>
63293         * elf/rtld-Rules (rtld-compile-command.S): New variable.
63294         (rtld-compile-command.s, rtld-compile-command.c): New variables.
63295         ($(objpfx)rtld-%.os rules): Use them.
63297 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63299         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
63300         fields.
63302 2013-06-17  Roland McGrath  <roland@hack.frob.com>
63304         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
63305         length of target pattern, then descending length of dependency pattern.
63306         * configure.in (AWK): Require gawk 3.1.2 or newer.
63307         * manual/install.texi (Tools for Compilation): Say that we do.
63308         * configure: Regenerated.
63310         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
63311         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
63312         * scripts/sysd-rules.awk: ... this new script.
63313         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
63314         than a glob-style pattern.
63316 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
63318         * math/test-misc.c (main): Do not treat incorrectly rounded
63319         conversions as failure unless ROUNDING_TESTS passes.
63321 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
63323         [BZ #15631]
63324         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
63325         restore exception state around main square root computation, then
63326         check for inexactness explicitly.
63328         * math/libm-test.inc (fma_test_data): Add another test.
63330 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63332         * manual/threads.texi (Non-POSIX Extensions): New document
63333         node.  Document pthread_getattr_default_np and
63334         pthread_setattr_default_np.
63336         * Versions.def (libpthread): Add GLIBC_2.18.
63337         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
63338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63339         Likewise.
63340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63341         Likewise.
63342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63343         Likewise.
63344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63345         Likewise.
63346         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
63347         Likewise.
63348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63349         Likewise.
63350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63351         Likewise.
63352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63353         Likewise.
63354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63355         Likewise.
63357 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63359         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63360         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
63362 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63363             H.J. Lu  <hjl.tools@gmail.com>
63365         [BZ #15627]
63366         * sysdeps/x86_64/rtld-memset.c: Remove file.
63367         * sysdeps/x86_64/rtld-memset.S: New file.
63369 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
63371         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
63372         (test_in_one_mode): Take arguments for whether the rounding mode
63373         is supported for each floating-point type.
63374         (do_test): Pass new arguments to test_in_one_mode using
63375         ROUNDING_TESTS.
63377 2013-06-13  Roland McGrath  <roland@hack.frob.com>
63379         * posix/tst-waitid.c (do_test): Distinguish different instances of
63380         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
63381         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
63382         before entering the kernel for waitpid.
63384 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63386         * NEWS: Fix note on clock function precision.  Text by Roland
63387         McGrath.
63389 2013-06-13  Roland McGrath  <roland@hack.frob.com>
63391         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
63392         it into place only when and if the sanity check passes.
63394 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
63396         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
63397         output for whether conversion result is exact.  Take argument
63398         indicating whether type is IBM long double.
63399         (round_for_all): Change need_exact field to ibm_ld.
63400         * stdlib/tst-strtod-round.c (struct exactness): New type.
63401         (struct test): Change bool ld_ok field to struct exactness exact.
63402         (TEST): Update all definitions for change to field.
63403         (tests): Regenerate array contents.
63404         (test_in_one_mode): Take pointer to new field instead of old ld_ok
63405         field value.  Check for IBM long double here.
63406         (do_test): Update calls to test_in_one_mode.
63408 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63410         [BZ #12515]
63411         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
63412         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
63414 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63416         [BZ #15605]
63417         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
63418         generated by the compiler on loop optimizations.
63419         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
63420         general definitions.
63422 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
63424         * math/bug-nextafter.c: Include <math-tests.h>.
63425         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63426         the relevant type.
63427         * math/bug-nexttoward.c: Include <math-tests.h>.
63428         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63429         the relevant type.
63430         * math/test-misc.c: Include <math-tests.h>.
63431         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63432         the relevant type.
63434 2013-06-12  Andreas Jaeger  <aj@suse.de>
63436         * po/ia.po: Update Interlingua translation from translation
63437         project.
63439 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
63441         * include/fenv.h: Include stdbool.h.
63442         (struct rm_ctx): New structure.
63443         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
63444         Define macro.
63445         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
63446         (SET_RESTORE_ROUNDF): Likewise.
63447         (SET_RESTORE_ROUNDL): Likewise.
63448         (SET_RESTORE_ROUND_NOEX): Likewise.
63449         (SET_RESTORE_ROUND_NOEXF): Likewise.
63450         (SET_RESTORE_ROUND_NOEXL): Likewise.
63451         (SET_RESTORE_ROUND_53BIT): Likewise.
63452         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
63453         (libc_feresetround_noexf_ctx): Likewise.
63454         (libc_feresetround_noexl_ctx): Likewise.
63455         (libc_feholdsetround_53bit_ctx): Likewise.
63456         (libc_feresetround_53bit_ctx): Likewise.
63457         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
63458         (libc_feholdexcept_setround_sse_ctx): New function.
63459         (libc_fesetenv_sse_ctx): Likewise.
63460         (libc_feupdateenv_sse_ctx): Likewise.
63461         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
63462         (libc_feholdexcept_setround_387_ctx): Likewise.
63463         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
63464         (libc_feholdsetround_387_prec_ctx): Likewise.
63465         (libc_feholdsetround_387_ctx): Likewise.
63466         (libc_feholdsetround_387_53bit_ctx): Likewise.
63467         (libc_feholdsetround_sse_ctx): Likewise.
63468         (libc_feresetround_sse_ctx): Likewise.
63469         (libc_feresetround_387_ctx): Likewise.
63470         (libc_feupdateenv_387_ctx): Likewise.
63471         (libc_feholdexcept_setroundf_ctx): Define macro.
63472         (libc_fesetenvf_ctx): Likewise.
63473         (libc_feupdateenvf_ctx): Likewise.
63474         (libc_feholdsetroundf_ctx): Likewise.
63475         (libc_feresetroundf_ctx): Likewise.
63476         (libc_feholdexcept_setround_ctx): Likewise.
63477         (libc_fesetenv_ctx): Likewise.
63478         (libc_feupdateenv_ctx): Likewise.
63479         (libc_feholdsetround_ctx): Likewise.
63480         (libc_feresetround_ctx): Likewise.
63481         (libc_feholdexcept_setroundl_ctx): Likewise.
63482         (libc_feupdateenvl_ctx): Likewise.
63483         (libc_feholdsetroundl_ctx): Likewise.
63484         (libc_feresetroundl_ctx): Likewise.
63485         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
63486         (libc_feresetround_53bit_ctx): Likewise.
63488 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63490         * locale/iso-639.def: Convert to UTF-8.
63492 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
63494         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
63495         (EXCEPTION_TESTS_double): Likewise.
63496         (EXCEPTION_TESTS_long_double): Likewise.
63497         (EXCEPTION_TESTS): Likewise.
63498         * math/libm-test.inc (test_exceptions): Only test exceptions if
63499         EXCEPTION_TESTS (FLOAT).
63501 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63503         * benchtests/Makefile (string-bench): Add strcpy_chk and
63504         stpcpy_chk.
63505         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
63506         * benchtests/bench-stpcpy_chk.c: New file.
63507         * benchtests/bench-strcpy_chk-ifunc.c: New file.
63508         * benchtests/bench-strcpy_chk.c: New file.
63509         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
63510         code.
63511         (do_test): Likewise.
63513 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63515         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
63516         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
63517         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
63518         with tabs where appropriate.
63519         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
63520         dl-procinfo.h.
63521         [PPC_PLATFORM_PPC440]: Likewise.
63522         [PPC_PLATFORM_PPC464]: Likewise.
63523         [PPC_PLATFORM_PPC476]: Likewise.
63524         (_dl_string_platform): Add support for detecting ppc405, ppc440,
63525         ppc464, and ppc476 platform strings merging from ports/
63526         dl-procinfo.h.
63528 2013-06-11  Andreas Schwab  <schwab@suse.de>
63530         [BZ #14991]
63531         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
63532         (from_ucs4_idx): Regenerate.
63533         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
63534         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
63535         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
63536         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
63537         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
63538         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
63539         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
63540         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
63541         from FROM_LOOP and TO_LOOP specific macros.
63542         (BODY): Handle combining characters.
63543         * iconvdata/BIG5HKSCS.irreversible: Update.
63544         * iconvdata/BIG5HKSCS.precomposed: New file.
63545         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
63546         characters.
63547         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
63549 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63551         * include/sys/time.h: Fix indentation and add copyright header.
63553         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
63554         (do_test): Likewise.
63555         * string/test-memchr.c (do_one_test): Likewise.
63556         (do_test): Likewise.
63557         * string/test-memcmp.c (do_one_test): Likewise.
63558         (do_test): Likewise.
63559         * string/test-memcpy.c (do_one_test): Likewise.
63560         (do_test): Likewise.
63561         * string/test-memmem.c (do_one_test): Likewise.
63562         (do_test): Likewise.
63563         (do_random_tests): Likewise.
63564         * string/test-memmove.c (do_one_test): Likewise.
63565         (do_test): Likewise.
63566         * string/test-memset.c (do_one_test): Likewise.
63567         (do_test): Likewise.
63568         * string/test-rawmemchr.c (do_one_test): Likewise.
63569         (do_test): Likewise.
63570         * string/test-strcasecmp.c (do_one_test): Likewise.
63571         (do_test): Likewise.
63572         * string/test-strcasestr.c (do_one_test): Likewise.
63573         (do_test): Likewise.
63574         * string/test-strcat.c (do_one_test): Likewise.
63575         (do_test): Likewise.
63576         * string/test-strchr.c (do_one_test): Likewise.
63577         (do_test): Likewise.
63578         * string/test-strcmp.c (do_one_test): Likewise.
63579         (do_test): Likewise.
63580         * string/test-strcpy.c (do_one_test): Likewise.
63581         (do_test): Likewise.
63582         * string/test-string.h: Likewise.
63583         (test_init): Likewise.
63584         * string/test-strlen.c (do_one_test): Likewise.
63585         (do_test): Likewise.
63586         * string/test-strncasecmp.c (do_one_test): Likewise.
63587         (do_test): Likewise.
63588         * string/test-strncat.c (do_one_test): Likewise.
63589         (do_test): Likewise.
63590         * string/test-strncmp.c (do_one_test): Likewise.
63591         (do_test_limit): Likewise.
63592         (do_test): Likewise.
63593         * string/test-strncpy.c (do_one_test): Likewise.
63594         (do_test): Likewise.
63595         * string/test-strnlen.c (do_one_test): Likewise.
63596         (do_test): Likewise.
63597         * string/test-strpbrk.c (do_one_test): Likewise.
63598         (do_test): Likewise.
63599         * string/test-strrchr.c (do_one_test): Likewise.
63600         (do_test): Likewise.
63601         * string/test-strspn.c (do_one_test): Likewise.
63602         (do_test): Likewise.
63603         * string/test-strstr.c (do_one_test): Likewise.
63604         (do_test): Likewise.
63606         * benchtests/Makefile (string-bench): Add string benchmarks.
63607         * benchtests/bench-bcopy-ifunc.c: New file.
63608         * benchtests/bench-bcopy.c: New file.
63609         * benchtests/bench-bzero-ifunc.c: New file.
63610         * benchtests/bench-bzero.c: New file.
63611         * benchtests/bench-memccpy-ifunc.c: New file.
63612         * benchtests/bench-memccpy.c: New file.
63613         * benchtests/bench-memchr-ifunc.c: New file.
63614         * benchtests/bench-memchr.c: New file.
63615         * benchtests/bench-memcmp-ifunc.c: New file.
63616         * benchtests/bench-memcmp.c: New file.
63617         * benchtests/bench-memmem-ifunc.c: New file.
63618         * benchtests/bench-memmem.c: New file.
63619         * benchtests/bench-memmove-ifunc.c: New file.
63620         * benchtests/bench-memmove.c: New file.
63621         * benchtests/bench-mempcpy-ifunc.c: New file.
63622         * benchtests/bench-mempcpy.c: New file.
63623         * benchtests/bench-memset-ifunc.c: New file.
63624         * benchtests/bench-memset.c: New file.
63625         * benchtests/bench-rawmemchr-ifunc.c: New file.
63626         * benchtests/bench-rawmemchr.c: New file.
63627         * benchtests/bench-stpcpy-ifunc.c: New file.
63628         * benchtests/bench-stpcpy.c: New file.
63629         * benchtests/bench-stpncpy-ifunc.c: New file.
63630         * benchtests/bench-stpncpy.c: New file.
63631         * benchtests/bench-strcasecmp-ifunc.c: New file.
63632         * benchtests/bench-strcasecmp.c: New file.
63633         * benchtests/bench-strcasestr-ifunc.c: New file.
63634         * benchtests/bench-strcasestr.c: New file.
63635         * benchtests/bench-strcat-ifunc.c: New file.
63636         * benchtests/bench-strcat.c: New file.
63637         * benchtests/bench-strchr-ifunc.c: New file.
63638         * benchtests/bench-strchr.c: New file.
63639         * benchtests/bench-strchrnul-ifunc.c: New file.
63640         * benchtests/bench-strchrnul.c: New file.
63641         * benchtests/bench-strcmp-ifunc.c: New file.
63642         * benchtests/bench-strcmp.c: New file.
63643         * benchtests/bench-strcpy-ifunc.c: New file.
63644         * benchtests/bench-strcpy.c: New file.
63645         * benchtests/bench-strcspn-ifunc.c: New file.
63646         * benchtests/bench-strcspn.c: New file.
63647         * benchtests/bench-strlen-ifunc.c: New file.
63648         * benchtests/bench-strlen.c: New file.
63649         * benchtests/bench-strncasecmp-ifunc.c: New file.
63650         * benchtests/bench-strncasecmp.c: New file.
63651         * benchtests/bench-strncat-ifunc.c: New file.
63652         * benchtests/bench-strncat.c: New file.
63653         * benchtests/bench-strncmp-ifunc.c: New file.
63654         * benchtests/bench-strncmp.c: New file.
63655         * benchtests/bench-strncpy-ifunc.c: New file.
63656         * benchtests/bench-strncpy.c: New file.
63657         * benchtests/bench-strnlen-ifunc.c: New file.
63658         * benchtests/bench-strnlen.c: New file.
63659         * benchtests/bench-strpbrk-ifunc.c: New file.
63660         * benchtests/bench-strpbrk.c: New file.
63661         * benchtests/bench-strrchr-ifunc.c: New file.
63662         * benchtests/bench-strrchr.c: New file.
63663         * benchtests/bench-strspn-ifunc.c: New file.
63664         * benchtests/bench-strspn.c: New file.
63665         * benchtests/bench-strstr-ifunc.c: New file.
63666         * benchtests/bench-strstr.c: New file.
63668         * benchtests/Makefile: Disable parallel execution of targets.
63669         (string-bench): Add memcpy.
63670         (benchset): New variable to store a list of benchmark sets.
63671         (bench-func): Renamed from bench.
63672         (bench-set): New target.
63673         (bench): Depend on bench-func and bench-set.
63674         * benchtests/README: Add section on benchmark sets.
63675         * benchtests/bench-memcpy-ifunc.c: New file.
63676         * benchtests/bench-memcpy.c: New file.
63677         * benchtests/bench-string.h: New file.
63679 2013-06-11  Andreas Schwab  <schwab@suse.de>
63681         [BZ #15577]
63682         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
63683         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
63684         values in the triple.
63685         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
63686         terminator in the group key.
63688 2013-06-11  Andreas Jaeger  <aj@suse.de>
63690         * po/zh_TW.po: Update Chinese (traditional) translation from
63691         translation project.
63693 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63695         * include/time.h (__clock_gettime): Add libc_hidden_proto.
63696         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
63697         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
63698         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63699         (clock_getcpuclockid): Likewise.
63700         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
63701         Add weak_alias and libc_hidden_def.
63702         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
63703         * rt/clock_gettime.c (clock_gettime): Rename to
63704         __clock_gettime.  Add weak_alias and libc_hidden_def.
63705         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
63706         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
63707         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
63708         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
63709         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
63710         Likewise.
63711         * rt/clock_settime.c (clock_settime): Rename to
63712         __clock_settime.  Add weak_alias and libc_hidden_def.
63713         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
63715 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
63717         * mach/err_boot.sub: Remove trailing whitespace.
63718         * mach/err_ipc.sub: Likewise.
63719         * mach/err_mach.sub: Likewise.
63721         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
63722         (ROUNDING_TESTS_double): Likewise.
63723         (ROUNDING_TESTS_long_double): Likewise.
63724         (ROUNDING_TESTS): Likewise.
63725         * math/libm-test.inc: Include <math-tests.h>.
63726         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
63727         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63728         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63729         (IF_ROUND_INIT_FE_UPWARD): Likewise.
63731 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63733         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
63734         of assigning.
63736 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
63738         * sysdeps/gnu/errlist.awk: Do not generate space at end of
63739         otherwise empty TRANS lines.
63740         * sysdeps/gnu/errlist.c: Regenerated.
63742         * catgets/gencat.c (error_print): Use (void) in function
63743         definition.
63744         * crypt/crypt_util.c (__init_des): Likewise.
63745         * crypt/speeds.c (Stop): Likewise.
63746         (main): Likewise.
63747         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
63748         * inet/ruserpass.c (token): Likewise.
63749         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
63750         * intl/localealias.c (extend_alias_table): Likewise.
63751         * intl/plural-exp.c (init_germanic_plural): Likewise.
63752         * libio/fcloseall.c (__fcloseall): Likewise.
63753         * libio/genops.c (_IO_flush_all): Likewise.
63754         (_IO_flush_all_linebuffered): Likewise.
63755         (_IO_cleanup): Likewise.
63756         (_IO_iter_begin): Likewise.
63757         (_IO_iter_end): Likewise.
63758         (_IO_list_lock): Likewise.
63759         (_IO_list_unlock): Likewise.
63760         (_IO_list_resetlock): Likewise.
63761         * libio/getchar.c (getchar): Likewise.
63762         * libio/getchar_u.c (getchar_unlocked): Likewise.
63763         * libio/getwchar.c (getwchar): Likewise.
63764         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
63765         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
63766         * login/getpt.c (__getpt): Likewise.
63767         * login/tst-utmp.c (main): Likewise.
63768         * malloc/hooks.c (__malloc_check_init): Likewise.
63769         * malloc/malloc.c (__malloc_stats): Likewise.
63770         * malloc/mtrace.c (tr_break): Likewise.
63771         (mtrace): Likewise.
63772         (muntrace): Likewise.
63773         * misc/fstab.c (endfsent): Likewise.
63774         * misc/getclktck.c (__getclktck): Likewise.
63775         * misc/getdtsz.c (__getdtablesize): Likewise.
63776         * misc/gethostid.c (gethostid): Likewise.
63777         * misc/getpagesize.c (__getpagesize): Likewise.
63778         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
63779         (__get_nprocs): Likewise.
63780         (__get_phys_pages): Likewise.
63781         (__get_avphys_pages): Likewise.
63782         * misc/getttyent.c (getttyent): Likewise.
63783         (setttyent): Likewise.
63784         (endttyent): Likewise.
63785         * misc/getusershell.c (getusershell): Likewise.
63786         (endusershell): Likewise.
63787         (setusershell): Likewise.
63788         (initshells): Likewise.
63789         * misc/hsearch.c (__hdestroy): Likewise.
63790         * misc/sync.c (sync): Likewise.
63791         * misc/syslog.c (closelog_internal): Likewise.
63792         (closelog): Likewise.
63793         * misc/ttyslot.c (ttyslot): Likewise.
63794         * misc/vhangup.c (vhangup): Likewise.
63795         * posix/fork.c (__fork): Likewise.
63796         * posix/getegid.c (__getegid): Likewise.
63797         * posix/geteuid.c (__geteuid): Likewise.
63798         * posix/getgid.c (__getgid): Likewise.
63799         * posix/getpid.c (__getpid): Likewise.
63800         * posix/getppid.c (__getppid): Likewise.
63801         * posix/getuid.c (__getuid): Likewise.
63802         * posix/pause.c (pause): Likewise.
63803         * posix/setpgrp.c (setpgrp): Likewise.
63804         * posix/setsid.c (__setsid): Likewise.
63805         * posix/test-vfork.c (noop): Likewise.
63806         * resolv/gethnamaddr.c (_endhtent): Likewise.
63807         (_gethtent): Likewise.
63808         (ht_endhostent): Likewise.
63809         (gethostent): Likewise.
63810         (dns_service): Likewise.
63811         * stdlib/drand48.c (drand48): Likewise.
63812         * stdlib/lrand48.c (lrand48): Likewise.
63813         * stdlib/mrand48.c (mrand48): Likewise.
63814         * stdlib/rand.c (rand): Likewise.
63815         * stdlib/random.c (__random): Likewise.
63816         * stdlib/setenv.c (clearenv): Likewise.
63817         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
63818         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
63819         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
63820         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
63821         (__get_nprocs): Likewise.
63822         (__get_phys_pages): Likewise.
63823         (__get_avphys_pages): Likewise.
63824         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
63825         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
63826         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
63827         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
63828         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
63829         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
63830         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
63831         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
63832         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
63833         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
63834         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
63835         * sysdeps/mach/hurd/sync.c (sync): Likewise.
63836         * sysdeps/posix/clock.c (clock): Likewise.
63837         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
63838         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
63839         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
63840         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
63841         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
63842         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
63843         (__get_nprocs_conf): Likewise.
63844         (__get_phys_pages): Likewise.
63845         (__get_avphys_pages): Likewise.
63846         * time/clock.c (clock): Likewise.
63847         * time/tzset.c (__tzname_max): Likewise.
63849 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
63851         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
63852         (__bswap_32): Do not use "register".
63853         * crypt/crypt.c (_ufc_doit_r): Likewise.
63854         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
63855         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
63856         * gmon/gmon.c (__monstartup): Likewise.
63857         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
63858         * hurd/hurdmalloc.c (more_memory): Likewise.
63859         (malloc): Likewise.
63860         (free): Likewise.
63861         (realloc): Likewise.
63862         (malloc_fork_prepare): Likewise.
63863         (malloc_fork_parent): Likewise.
63864         (malloc_fork_child): Likewise.
63865         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
63866         (_svcauth_des): Likewise.
63867         * inet/inet_lnaof.c (inet_lnaof): Likewise.
63868         * inet/inet_net.c (inet_network): Likewise.
63869         * inet/inet_netof.c (inet_netof): Likewise.
63870         * inet/rcmd.c (__validuser2_sa): Likewise.
63871         * io/fts.c (fts_open): Likewise.
63872         (fts_load): Likewise.
63873         (fts_close): Likewise.
63874         (fts_read): Likewise.
63875         (fts_children): Likewise.
63876         (fts_build): Likewise.
63877         (fts_stat): Likewise.
63878         (fts_sort): Likewise.
63879         (fts_alloc): Likewise.
63880         (fts_lfree): Likewise.
63881         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
63882         (_IO_file_xsgetn): Likewise.
63883         (_IO_file_xsgetn_mmap): Likewise.
63884         * libio/iofopncook.c (_IO_cookie_read): Likewise.
63885         (_IO_cookie_write): Likewise.
63886         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
63887         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
63888         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
63889         * malloc/obstack.c (_obstack_begin): Likewise.
63890         (_obstack_begin_1): Likewise.
63891         (_obstack_newchunk): Likewise.
63892         (_obstack_allocated_p): Likewise.
63893         (obstack_free): Likewise.
63894         (_obstack_memory_used): Likewise.
63895         * misc/getttyent.c (getttynam): Likewise.
63896         (getttyent): Likewise.
63897         (skip): Likewise.
63898         (value): Likewise.
63899         * misc/getusershell.c (initshells): Likewise.
63900         * misc/syslog.c (__vsyslog_chk): Likewise.
63901         * misc/ttyslot.c (ttyslot): Likewise.
63902         * nis/nis_hash.c (__nis_hash): Likewise.
63903         * posix/fnmatch_loop.c (FCT): Likewise.
63904         * posix/getconf.c (print_all): Likewise.
63905         (main): Likewise.
63906         * posix/getopt.c (exchange): Likewise.
63907         * posix/glob.c (globfree): Likewise.
63908         (prefix_array): Likewise.
63909         (__glob_pattern_type): Likewise.
63910         * resolv/arpa/nameser.h (NS_GET16): Likewise.
63911         (NS_GET32): Likewise.
63912         (NS_PUT16): Likewise.
63913         (NS_PUT32): Likewise.
63914         * resolv/gethnamaddr.c (getanswer): Likewise.
63915         (gethostbyname2): Likewise.
63916         (gethostbyaddr): Likewise.
63917         (_gethtent): Likewise.
63918         (_gethtbyname2): Likewise.
63919         (_gethtbyaddr): Likewise.
63920         * resolv/ns_print.c (dst_s_get_int16): Likewise.
63921         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
63922         * resolv/res_init.c (__res_vinit): Likewise.
63923         (net_mask): Likewise.
63924         * resolv/res_mkquery.c (outchar): Likewise.
63925         (PRINT): Likewise.
63926         * stdio-common/printf_fp.c (outchar): Likewise.
63927         (PRINT): Likewise.
63928         * stdio-common/printf_fphex.c (outchar): Likewise.
63929         (PRINT): Likewise.
63930         * stdio-common/printf_size.c (outchar): Likewise.
63931         (PRINT): Likewise.
63932         * stdio-common/test_rdwr.c (main): Likewise.
63933         * stdio-common/tfformat.c (matches): Likewise.
63934         * stdio-common/vfprintf.c (outchar): Likewise.
63935         (printf_unknown): Likewise.
63936         (buffered_vfprintf): Likewise.
63937         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
63938         * stdio-common/xbug.c (AppendToBuffer): Likewise.
63939         (ReadFile): Likewise.
63940         * stdlib/qsort.c (SWAP): Likewise.
63941         (_quicksort): Likewise.
63942         * stdlib/setenv.c (__add_to_environ): Likewise.
63943         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
63944         * stdlib/strtol_l.c (__strtol_l): Likewise.
63945         * stdlib/tst-strtod.c (main): Likewise.
63946         * stdlib/tst-strtol.c (main): Likewise.
63947         * stdlib/tst-strtoll.c (main): Likewise.
63948         * string/bits/string2.h (__strcmp_cc): Likewise.
63949         (__strcmp_cg): Likewise.
63950         (__strcspn_c1): Likewise.
63951         (__strcspn_c2): Likewise.
63952         (__strcspn_c3): Likewise.
63953         (__strspn_c1): Likewise.
63954         (__strspn_c2): Likewise.
63955         (__strspn_c3): Likewise.
63956         (__strsep_1c): Likewise.
63957         (__strsep_2c): Likewise.
63958         (__strsep_3c): Likewise.
63959         * string/memccpy.c (__memccpy): Likewise.
63960         * string/stpcpy.c (__stpcpy): Likewise.
63961         * string/strcmp.c (strcmp): Likewise.
63962         * string/strrchr.c (strrchr): Likewise.
63963         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
63964         Likewise.
63965         * sysdeps/mach/hurd/getcwd.c
63966         (_hurd_canonicalize_directory_name_internal): Likewise.
63967         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
63968         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
63969         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
63970         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
63971         Likewise, in both definitions.
63972         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
63973         definitions.
63974         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
63975         64] (__bswap_64): Likewise.
63976         * time/test_time.c (main): Likewise.
63977         * time/tzfile.c (__tzfile_read): Likewise.
63978         (__tzfile_compute): Likewise.
63979         * time/tzset.c (__tzset_parse_tz): Likewise.
63980         (tzset_internal): Likewise.
63981         (compute_change): Likewise.
63982         * wcsmbs/wcscat.c (__wcscat): Likewise.
63983         * wcsmbs/wcschr.c (wcschr): Likewise.
63984         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
63985         * wcsmbs/wcscspn.c (wcscspn): Likewise.
63986         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
63987         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
63988         * wcsmbs/wcsspn.c (wcsspn): Likewise.
63989         * wcsmbs/wcsstr.c (wcsstr): Likewise.
63990         * wcsmbs/wmemchr.c (wmemchr): Likewise.
63991         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
63992         * wcsmbs/wmemset.c (wmemset): Likewise.
63994 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
63996         * scripts/config.guess: Update to version 2013-05-16.
63997         * scripts/config.sub: Update to version 2013-04-24.
63998         * scripts/install-sh: Update to version 2011-11-20.07.
63999         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
64000         * scripts/move-if-change: Update to version 2012-01-06 07:23.
64002 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
64004         * debug/fgetws_u_chk.c: Fix leading whitespaces.
64005         * elf/sln.c: Likewise.
64006         * hurd/hurd/ioctl.h: Likewise.
64007         * hurd/hurdmalloc.c: Likewise.
64008         * hurd/xattr.c: Likewise.
64009         * include/shlib-compat.h: Likewise.
64010         * inet/ruserpass.c: Likewise.
64011         * libio/iofgets_u.c: Likewise.
64012         * libio/iofgetws_u.c: Likewise.
64013         * locale/programs/ld-identification.c: Likewise.
64014         * locale/programs/ld-time.c: Likewise.
64015         * mach/msg-destroy.c: Likewise.
64016         * nss/nss_files/files-netgrp.c: Likewise.
64017         * resolv/res_data.c: Likewise.
64018         * soft-fp/op-1.h: Likewise.
64019         * soft-fp/op-2.h: Likewise.
64020         * soft-fp/op-4.h: Likewise.
64021         * soft-fp/op-common.h: Likewise.
64022         * stdio-common/printf_fphex.c: Likewise.
64023         * stdlib/strtod_l.c: Likewise.
64024         * sunrpc/rpc/clnt.h: Likewise.
64025         * sysdeps/generic/framestate.c: Likewise.
64026         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64027         * sysdeps/i386/bsd-setjmp.S: Likewise.
64028         * sysdeps/i386/__longjmp.S: Likewise.
64029         * sysdeps/i386/setjmp.S: Likewise.
64030         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64031         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64032         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64033         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64034         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64035         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64036         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64037         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64038         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64039         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
64040         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64041         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64042         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64043         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64044         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64045         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64046         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64047         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
64048         * sysdeps/ieee754/support.c: Likewise.
64049         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64050         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
64051         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
64052         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
64053         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
64054         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
64055         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
64056         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
64057         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
64058         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
64059         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
64060         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
64061         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
64062         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
64063         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
64064         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
64065         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
64068 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
64070         * posix/transbug.c: Remove executable mode.
64072 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
64074         * crypt/speeds.c: Remove trailing whitespace.
64075         * dlfcn/default.c: Likewise.
64076         * elf/ifuncdep2.c: Likewise.
64077         * elf/ifuncmain1.c: Likewise.
64078         * elf/ifuncmain1vis.c: Likewise.
64079         * elf/testobj.h: Likewise.
64080         * elf/tst-stackguard1.c: Likewise.
64081         * gmon/sys/gmon.h: Likewise.
64082         * hurd/hurdmsg.c: Likewise.
64083         * hurd/new-fd.c: Likewise.
64084         * hurd/ports-get.c: Likewise.
64085         * iconvdata/ibm1008_420.c: Likewise.
64086         * inet/tst-getni1.c: Likewise.
64087         * inet/tst-getni2.c: Likewise.
64088         * libio/ioungetc.c: Likewise.
64089         * libio/wfiledoalloc.c: Likewise.
64090         * manual/libm-err-tab.pl: Likewise.
64091         * math/w_dremf.c: Likewise.
64092         * misc/ftruncate.c: Likewise.
64093         * posix/bug-glob2.c: Likewise.
64094         * posix/tst-pcre.c: Likewise.
64095         * posix/wait4.c: Likewise.
64096         * resolv/README: Likewise.
64097         * resolv/res_debug.h: Likewise.
64098         * resolv/tst-inet_ntop.c: Likewise.
64099         * setjmp/bug269-setjmp.c: Likewise.
64100         * soft-fp/extended.h: Likewise.
64101         * soft-fp/op-1.h: Likewise.
64102         * soft-fp/op-2.h: Likewise.
64103         * soft-fp/op-4.h: Likewise.
64104         * soft-fp/op-8.h: Likewise.
64105         * soft-fp/testit.c: Likewise.
64106         * stdio-common/bug16.c: Likewise.
64107         * stdlib/random.c: Likewise.
64108         * sunrpc/rpcsvc/rquota.x: Likewise.
64109         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
64110         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64111         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64112         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64113         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64114         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64115         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64116         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64117         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64118         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64119         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64120         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
64121         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64122         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
64123         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64124         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
64125         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
64126         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64127         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
64128         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64129         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64130         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64131         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
64132         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
64133         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
64134         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
64135         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
64136         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64137         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64138         * sysdeps/ieee754/s_lib_version.c: Likewise.
64139         * sysdeps/mach/hurd/check_fds.c: Likewise.
64140         * sysdeps/mach/hurd/getsockname.c: Likewise.
64141         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
64142         * sysdeps/mach/hurd/recvfrom.c: Likewise.
64143         * sysdeps/powerpc/bits/link.h: Likewise.
64144         * sysdeps/powerpc/dl-procinfo.c: Likewise.
64145         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
64146         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
64147         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
64148         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
64149         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64150         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
64151         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
64152         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
64153         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64154         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
64155         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
64156         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
64157         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64158         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64159         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64160         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
64161         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
64162         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64163         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64164         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64165         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
64166         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64167         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
64168         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
64169         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
64170         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
64171         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64172         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64173         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
64174         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
64175         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
64176         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64177         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64178         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
64179         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
64180         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
64181         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
64182         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
64183         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
64184         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
64185         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
64186         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
64187         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
64188         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
64189         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
64190         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
64191         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
64192         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
64193         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
64194         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64195         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64196         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
64197         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
64198         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
64199         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
64200         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
64201         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64202         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
64203         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
64204         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
64205         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
64206         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
64207         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
64208         * sysdeps/powerpc/sysdep.h: Likewise.
64209         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64210         * sysdeps/s390/s390-64/sub_n.S: Likewise.
64211         * sysdeps/sh/dl-trampoline.S: Likewise.
64212         * sysdeps/sh/memset.S: Likewise.
64213         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
64214         * sysdeps/sh/strlen.S: Likewise.
64215         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
64216         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
64217         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
64218         * sysdeps/sparc/sparc32/rem.S: Likewise.
64219         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
64220         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
64221         * sysdeps/sparc/sparc32/strchr.S: Likewise.
64222         * sysdeps/sparc/sparc32/udiv.S: Likewise.
64223         * sysdeps/sparc/sparc32/urem.S: Likewise.
64224         * sysdeps/sparc/sparc64/add_n.S: Likewise.
64225         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
64226         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
64227         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
64228         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
64229         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
64230         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
64231         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
64232         * sysdeps/unix/bsd/times.c: Likewise.
64233         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
64234         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
64235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
64236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
64237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
64238         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
64239         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
64240         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
64241         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
64242         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
64243         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
64244         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
64245         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
64246         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
64247         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
64248         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
64249         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
64250         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
64251         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
64252         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
64253         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
64254         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
64255         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
64256         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
64257         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
64258         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
64259         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
64260         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64261         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
64262         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
64263         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
64264         * sysdeps/x86_64/strcspn.S: Likewise.
64266 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64268         * locale/C-translit.h: Revert #include <stdint.h> because this is a
64269         generated file.  Regenerate properly from gen-translit.pl.
64270         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
64271         locale/C-translit.h.
64273 2013-06-05  Andreas Schwab  <schwab@suse.de>
64275         [BZ #15100]
64276         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
64277         week as 6 instead of -1.
64278         * time/tst-strptime.c (day_tests): Add test case.
64280 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64282         * sysdeps/generic/math_private.h
64283         (libc_feholdexcept_setround_53bit): Replace with
64284         libc_feholdsetround_53bit.
64285         (libc_feupdateenv_53bit): Replace with
64286         libc_feresetround_53bit.
64287         (SET_RESTORE_ROUND_53BIT): Adjust.
64289 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
64291         * string/test-strchrnul.c: Add copyright header.
64293         * posix/tst-getaddrinfo4.c: Increase test timeout.
64295 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
64297         [BZ #15536]
64298         * math/libm-test.inc (MAX_EXP): Remove
64299         (MIN_EXP): Define.
64300         (ulp): Use MIN_EXP - MANT_DIG.
64301         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
64303 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
64305         * po/be.po: Revert last change.
64306         * po/zh_CN.po: Likewise.
64307         * po/header.pot: Likewise.
64309 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
64311         * Makefile ($(common-objpfx)linkobj/libc.so): Define
64312         link-libc-deps to empty as target-specific variable.
64313         * Makerules (link-libc-args): New variable.
64314         (libc-for-link): Likewise.
64315         (link-libc-deps): Likewise.
64316         (lib%.so): Depend on $(link-libc-deps).  Link with
64317         $(link-libc-args).
64318         (build-module): Link with $(link-libc-args).
64319         (build-module-asneeded): Likewise.
64320         (build-module-helper-objlist): Filter out $(link-libc-deps) from
64321         list of objects.
64322         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
64323         target-specific variable.
64324         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
64325         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
64326         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
64327         libc.
64328         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
64329         libc and ld.so.
64330         ($(objpfx)libpcprofile.so): Likewise.
64331         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
64332         libc_nonshared.a.
64333         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
64334         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
64335         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
64336         $(link-libc-deps).
64337         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
64338         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
64339         * login/Makefile ($(objpfx)libutil.so): Likewise.
64340         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
64341         * math/Makefile ($(objpfx)libm.so): Likewise.
64342         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
64343         $(objpfx)libnsl.so): Define libc-for-link as target-specific
64344         variable instead of depending directly on libc.
64345         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
64346         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
64347         $(link-libc-deps).
64348         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
64349         libc.
64350         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
64351         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
64352         ($(objpfx)libanl.so): Likewise.
64353         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
64354         ld.so.
64355         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
64356         $(link-libc-deps).
64357         * sysdeps/i386/fpu/Makefile: Remove file.
64358         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
64359         ($(objpfx)libm.so): Remove dependency on ld.so.
64361 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
64363         [BZ # 15553]
64364         * nis/yp_xdr.c (XDRMAXNAME): Define.
64365         (XDRMAXRECORD): Define.
64366         (xdr_domainname): Use XDRMAXNAME.
64367         (xdr_mapname): Likewise.
64368         (xdr_peername): Likewise.
64369         (xdr_keydat): Use XDRMAXRECORD.
64370         (xdr_valdat): Likewise.
64372 2013-05-30  Jeff Law  <law@redhat.com>
64374         [BZ #14256]
64375         * manual/errno.texi (ESTALE): Update to account for more than
64376         just NFS file systems.
64377         * sysdeps/gnu/errlist.c: Regenerated.
64379 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64381         [BZ #15465]
64382         * elf/Makefile (tests): Add tst-null-argv.
64383         (modules-names):  Add tst-null-argv-lib.
64384         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
64385         (tst-null-argv-ENV): Set environment for tst-null-argv.
64386         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
64387         (RTLD_PROGNAME): New macro.
64388         * elf/tst-null-argv.c: New test case.
64389         * elf/tst-null-argv-lib.c: Library for test case.
64390         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
64391         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
64392         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
64393         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
64394         * elf/dl-init.c (call_init): Likewise.
64395         (_dl_init): Likewise.
64396         * elf/dl-load.c (print_search_path): Likewise.
64397         (_dl_map_object): Likewise.
64398         * elf/dl-lookup.c (do_lookup_x): Likewise.
64399         (add_dependency): Likewise.
64400         (_dl_lookup_symbol_x): Likewise.
64401         (_dl_debug_bindings): Likewise.
64402         * elf/dl-open.c (_dl_show_scope): Likewise.
64403         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
64404         * elf/dl-version.c (match_symbol): Likewise.
64405         (_dl_check_map_versions): Likewise.
64406         * elf/rtld.c (dl_main): Likewise.
64407         (print_unresolved): Use RTLD_PROGNAME.
64408         (print_missing_version): Likewise.
64409         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
64410         (elf_machine_rela): Likewise.
64411         * sysdeps/powerpc/powerpc32/dl-machine.c
64412         (__process_machine_rela): Likewise.
64413         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64414         Likewise.
64415         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64416         Likewise.
64417         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
64418         Likewise.
64419         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
64420         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
64421         Likewise.
64422         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
64423         Likewise.
64424         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
64426 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
64428         * po/be.po: Add descriptive title.
64429         * po/zh_CN.po: Likewise.
64430         * po/header.pot: Likewise.
64432 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
64434         * locale/programs/locarchive.c (create_archive): Inlucde fname in
64435         error message.
64436         (enlarge_archive): Likewise.
64438 2013-05-28  Ben North  <ben@redfrontdoor.org>
64440         * manual/arith.texi (frexp): It is the magnitude of the return
64441         value which lies in [0.5, 1), not the return value itself.
64443 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64447 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
64449         * stdio-common/bug26.c (main): Correct fscanf template.
64451         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
64452         declare _dl_skip_args.
64454         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
64455         Don't declare.
64457         * manual/platform.texi: Add missing @end deftypefun.
64459 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
64461         [BZ #15529]
64462         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
64463         bit of mantissa of 2^16382.
64464         * math/libm-test.inc (hypot_test_data): Add more tests.
64466         * math/libm-test.inc: Add drem and pow10 to list of tested
64467         functions.
64468         (pow10_test): New function.
64469         (drem_test): Likewise.
64470         (drem_test_tonearest): Likewise.
64471         (drem_test_towardzero): Likewise.
64472         (drem_test_downward): Likewise.
64473         (drem_test_upward): Likewise.
64474         (main): Call the new functions.
64476         * math/libm-test.inc (finite_test_data): Remove.
64477         (finite_test): Run tests from isfinite_test_data.
64478         (gamma_test_data): Remove.
64479         (gamma_test): Run tests from lgamma_test_data.
64480         * sysdeps/i386/fpu/libm-test-ulps: Update.
64481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64483 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64485         * manual/platform.texi: Add PowerPC PPR function set documentation.
64486         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
64487         implementation.
64489 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
64491         * math/libm-test.inc (MAX_EXP): Define.
64492         (ULPDIFF): Define.
64493         (ulp): New function.
64494         (check_float_internal): Use ULPDIFF.
64495         (cpow_test): Disable failing test.
64496         (check_ulp): Test ulp() implementation.
64497         (main): Call check_ulp before starting tests.
64499 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
64501         * math/gen-libm-test.pl (generate_testfile): Do not handle
64502         START_DATA and END_DATA.
64503         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
64504         END_DATA.
64505         (acos_tonearest_test_data): Likewise.
64506         (acos_towardzero_test_data): Likewise.
64507         (acos_downward_test_data): Likewise.
64508         (acos_upward_test_data): Likewise.
64509         (acosh_test_data): Likewise.
64510         (asin_test_data): Likewise.
64511         (asin_tonearest_test_data): Likewise.
64512         (asin_towardzero_test_data): Likewise.
64513         (asin_downward_test_data): Likewise.
64514         (asin_upward_test_data): Likewise.
64515         (asinh_test_data): Likewise.
64516         (atan_test_data): Likewise.
64517         (atanh_test_data): Likewise.
64518         (atan2_test_data): Likewise.
64519         (cabs_test_data): Likewise.
64520         (cacos_test_data): Likewise.
64521         (cacosh_test_data): Likewise.
64522         (carg_test_data): Likewise.
64523         (casin_test_data): Likewise.
64524         (casinh_test_data): Likewise.
64525         (catan_test_data): Likewise.
64526         (catanh_test_data): Likewise.
64527         (cbrt_test_data): Likewise.
64528         (ccos_test_data): Likewise.
64529         (ccosh_test_data): Likewise.
64530         (ceil_test_data): Likewise.
64531         (cexp_test_data): Likewise.
64532         (cimag_test_data): Likewise.
64533         (clog_test_data): Likewise.
64534         (clog10_test_data): Likewise.
64535         (conj_test_data): Likewise.
64536         (copysign_test_data): Likewise.
64537         (cos_test_data): Likewise.
64538         (cos_tonearest_test_data): Likewise.
64539         (cos_towardzero_test_data): Likewise.
64540         (cos_downward_test_data): Likewise.
64541         (cos_upward_test_data): Likewise.
64542         (cosh_test_data): Likewise.
64543         (cosh_tonearest_test_data): Likewise.
64544         (cosh_towardzero_test_data): Likewise.
64545         (cosh_downward_test_data): Likewise.
64546         (cosh_upward_test_data): Likewise.
64547         (cpow_test_data): Likewise.
64548         (cproj_test_data): Likewise.
64549         (creal_test_data): Likewise.
64550         (csin_test_data): Likewise.
64551         (csinh_test_data): Likewise.
64552         (csqrt_test_data): Likewise.
64553         (ctan_test_data): Likewise.
64554         (ctan_tonearest_test_data): Likewise.
64555         (ctan_towardzero_test_data): Likewise.
64556         (ctan_downward_test_data): Likewise.
64557         (ctan_upward_test_data): Likewise.
64558         (ctanh_test_data): Likewise.
64559         (ctanh_tonearest_test_data): Likewise.
64560         (ctanh_towardzero_test_data): Likewise.
64561         (ctanh_downward_test_data): Likewise.
64562         (ctanh_upward_test_data): Likewise.
64563         (erf_test_data): Likewise.
64564         (erfc_test_data): Likewise.
64565         (exp_test_data): Likewise.
64566         (exp_tonearest_test_data): Likewise.
64567         (exp_towardzero_test_data): Likewise.
64568         (exp_downward_test_data): Likewise.
64569         (exp_upward_test_data): Likewise.
64570         (exp10_test_data): Likewise.
64571         (exp2_test_data): Likewise.
64572         (expm1_test_data): Likewise.
64573         (fabs_test_data): Likewise.
64574         (fdim_test_data): Likewise.
64575         (finite_test_data): Likewise.
64576         (floor_test_data): Likewise.
64577         (fma_test_data): Likewise.
64578         (fma_towardzero_test_data): Likewise.
64579         (fma_downward_test_data): Likewise.
64580         (fma_upward_test_data): Likewise.
64581         (fmax_test_data): Likewise.
64582         (fmin_test_data): Likewise.
64583         (fmod_test_data): Likewise.
64584         (fpclassify_test_data): Likewise.
64585         (frexp_test_data): Likewise.
64586         (gamma_test_data): Likewise.
64587         (hypot_test_data): Likewise.
64588         (ilogb_test_data): Likewise.
64589         (isfinite_test_data): Likewise.
64590         (isgreater_test_data): Likewise.
64591         (isgreaterequal_test_data): Likewise.
64592         (isinf_test_data): Likewise.
64593         (isless_test_data): Likewise.
64594         (islessequal_test_data): Likewise.
64595         (islessgreater_test_data): Likewise.
64596         (isnan_test_data): Likewise.
64597         (isnormal_test_data): Likewise.
64598         (issignaling_test_data): Likewise.
64599         (isunordered_test_data): Likewise.
64600         (j0_test_data): Likewise.
64601         (j1_test_data): Likewise.
64602         (jn_test_data): Likewise.
64603         (ldexp_test_data): Likewise.
64604         (lgamma_test_data): Likewise.
64605         (lrint_test_data): Likewise.
64606         (lrint_tonearest_test_data): Likewise.
64607         (lrint_towardzero_test_data): Likewise.
64608         (lrint_downward_test_data): Likewise.
64609         (lrint_upward_test_data): Likewise.
64610         (llrint_test_data): Likewise.
64611         (llrint_tonearest_test_data): Likewise.
64612         (llrint_towardzero_test_data): Likewise.
64613         (llrint_downward_test_data): Likewise.
64614         (llrint_upward_test_data): Likewise.
64615         (log_test_data): Likewise.
64616         (log10_test_data): Likewise.
64617         (log1p_test_data): Likewise.
64618         (log2_test_data): Likewise.
64619         (logb_test_data): Likewise.
64620         (logb_downward_test_data): Likewise.
64621         (lround_test_data): Likewise.
64622         (llround_test_data): Likewise.
64623         (modf_test_data): Likewise.
64624         (nearbyint_test_data): Likewise.
64625         (nextafter_test_data): Likewise.
64626         (nexttoward_test_data): Likewise.
64627         (pow_test_data): Likewise.
64628         (pow_tonearest_test_data): Likewise.
64629         (pow_towardzero_test_data): Likewise.
64630         (pow_downward_test_data): Likewise.
64631         (pow_upward_test_data): Likewise.
64632         (remainder_test_data): Likewise.
64633         (remainder_tonearest_test_data): Likewise.
64634         (remainder_towardzero_test_data): Likewise.
64635         (remainder_downward_test_data): Likewise.
64636         (remainder_upward_test_data): Likewise.
64637         (remquo_test_data): Likewise.
64638         (rint_test_data): Likewise.
64639         (rint_tonearest_test_data): Likewise.
64640         (rint_towardzero_test_data): Likewise.
64641         (rint_downward_test_data): Likewise.
64642         (rint_upward_test_data): Likewise.
64643         (round_test_data): Likewise.
64644         (scalb_test_data): Likewise.
64645         (scalbn_test_data): Likewise.
64646         (scalbln_test_data): Likewise.
64647         (signbit_test_data): Likewise.
64648         (sin_test_data): Likewise.
64649         (sin_tonearest_test_data): Likewise.
64650         (sin_towardzero_test_data): Likewise.
64651         (sin_downward_test_data): Likewise.
64652         (sin_upward_test_data): Likewise.
64653         (sincos_test_data): Likewise.
64654         (sinh_test_data): Likewise.
64655         (sinh_tonearest_test_data): Likewise.
64656         (sinh_towardzero_test_data): Likewise.
64657         (sinh_downward_test_data): Likewise.
64658         (sinh_upward_test_data): Likewise.
64659         (sqrt_test_data): Likewise.
64660         (tan_test_data): Likewise.
64661         (tan_tonearest_test_data): Likewise.
64662         (tan_towardzero_test_data): Likewise.
64663         (tan_downward_test_data): Likewise.
64664         (tan_upward_test_data): Likewise.
64665         (tanh_test_data): Likewise.
64666         (tgamma_test_data): Likewise.
64667         (trunc_test_data): Likewise.
64668         (y0_test_data): Likewise.
64669         (y1_test_data): Likewise.
64670         (yn_test_data): Likewise.
64671         (significand_test_data): Likewise.
64673         * math/gen-libm-test.pl (@functions): Remove variable.
64674         (generate_testfile): Don't handle START and END lines.
64675         * math/libm-test.inc (START): New macro.
64676         (END): Likewise.
64677         (END_COMPLEX): Likewise.
64678         (acos_test): Use END macro without arguments.
64679         (acos_test_tonearest): Likewise.
64680         (acos_test_towardzero): Likewise.
64681         (acos_test_downward): Likewise.
64682         (acos_test_upward): Likewise.
64683         (acosh_test): Likewise.
64684         (asin_test): Likewise.
64685         (asin_test_tonearest): Likewise.
64686         (asin_test_towardzero): Likewise.
64687         (asin_test_downward): Likewise.
64688         (asin_test_upward): Likewise.
64689         (asinh_test): Likewise.
64690         (atan_test): Likewise.
64691         (atanh_test): Likewise.
64692         (atan2_test): Likewise.
64693         (cabs_test): Likewise.
64694         (cacos_test): Use END_COMPLEX macro without arguments.
64695         (cacosh_test): Likewise.
64696         (carg_test): Use END macro without arguments.
64697         (casin_test): Use END_COMPLEX macro without arguments.
64698         (casinh_test): Likewise.
64699         (catan_test): Likewise.
64700         (catanh_test): Likewise.
64701         (cbrt_test): Use END macro without arguments.
64702         (ccos_test): Use END_COMPLEX macro without arguments.
64703         (ccosh_test): Likewise.
64704         (ceil_test): Use END macro without arguments.
64705         (cexp_test): Use END_COMPLEX macro without arguments.
64706         (cimag_test): Use END macro without arguments.
64707         (clog_test): Use END_COMPLEX macro without arguments.
64708         (clog10_test): Likewise.
64709         (conj_test): Likewise.
64710         (copysign_test): Use END macro without arguments.
64711         (cos_test): Likewise.
64712         (cos_test_tonearest): Likewise.
64713         (cos_test_towardzero): Likewise.
64714         (cos_test_downward): Likewise.
64715         (cos_test_upward): Likewise.
64716         (cosh_test): Likewise.
64717         (cosh_test_tonearest): Likewise.
64718         (cosh_test_towardzero): Likewise.
64719         (cosh_test_downward): Likewise.
64720         (cosh_test_upward): Likewise.
64721         (cpow_test): Use END_COMPLEX macro without arguments.
64722         (cproj_test): Likewise.
64723         (creal_test): Use END macro without arguments.
64724         (csin_test): Use END_COMPLEX macro without arguments.
64725         (csinh_test): Likewise.
64726         (csqrt_test): Likewise.
64727         (ctan_test): Likewise.
64728         (ctan_test_tonearest): Likewise.
64729         (ctan_test_towardzero): Likewise.
64730         (ctan_test_downward): Likewise.
64731         (ctan_test_upward): Likewise.
64732         (ctanh_test): Likewise.
64733         (ctanh_test_tonearest): Likewise.
64734         (ctanh_test_towardzero): Likewise.
64735         (ctanh_test_downward): Likewise.
64736         (ctanh_test_upward): Likewise.
64737         (erf_test): Use END macro without arguments.
64738         (erfc_test): Likewise.
64739         (exp_test): Likewise.
64740         (exp_test_tonearest): Likewise.
64741         (exp_test_towardzero): Likewise.
64742         (exp_test_downward): Likewise.
64743         (exp_test_upward): Likewise.
64744         (exp10_test): Likewise.
64745         (exp2_test): Likewise.
64746         (expm1_test): Likewise.
64747         (fabs_test): Likewise.
64748         (fdim_test): Likewise.
64749         (finite_test): Likewise.
64750         (floor_test): Likewise.
64751         (fma_test): Likewise.
64752         (fma_test_towardzero): Likewise.
64753         (fma_test_downward): Likewise.
64754         (fma_test_upward): Likewise.
64755         (fmax_test): Likewise.
64756         (fmin_test): Likewise.
64757         (fmod_test): Likewise.
64758         (fpclassify_test): Likewise.
64759         (frexp_test): Likewise.
64760         (gamma_test): Likewise.
64761         (hypot_test): Likewise.
64762         (ilogb_test): Likewise.
64763         (isfinite_test): Likewise.
64764         (isgreater_test): Likewise.
64765         (isgreaterequal_test): Likewise.
64766         (isinf_test): Likewise.
64767         (isless_test): Likewise.
64768         (islessequal_test): Likewise.
64769         (islessgreater_test): Likewise.
64770         (isnan_test): Likewise.
64771         (isnormal_test): Likewise.
64772         (issignaling_test): Likewise.
64773         (isunordered_test): Likewise.
64774         (j0_test): Likewise.
64775         (j1_test): Likewise.
64776         (jn_test): Likewise.
64777         (ldexp_test): Likewise.
64778         (lgamma_test): Likewise.
64779         (lrint_test): Likewise.
64780         (lrint_test_tonearest): Likewise.
64781         (lrint_test_towardzero): Likewise.
64782         (lrint_test_downward): Likewise.
64783         (lrint_test_upward): Likewise.
64784         (llrint_test): Likewise.
64785         (llrint_test_tonearest): Likewise.
64786         (llrint_test_towardzero): Likewise.
64787         (llrint_test_downward): Likewise.
64788         (llrint_test_upward): Likewise.
64789         (log_test): Likewise.
64790         (log10_test): Likewise.
64791         (log1p_test): Likewise.
64792         (log2_test): Likewise.
64793         (logb_test): Likewise.
64794         (logb_test_downward): Likewise.
64795         (lround_test): Likewise.
64796         (llround_test): Likewise.
64797         (modf_test): Likewise.
64798         (nearbyint_test): Likewise.
64799         (nextafter_test): Likewise.
64800         (nexttoward_test): Likewise.
64801         (pow_test): Likewise.
64802         (pow_test_tonearest): Likewise.
64803         (pow_test_towardzero): Likewise.
64804         (pow_test_downward): Likewise.
64805         (pow_test_upward): Likewise.
64806         (remainder_test): Likewise.
64807         (remainder_test_tonearest): Likewise.
64808         (remainder_test_towardzero): Likewise.
64809         (remainder_test_downward): Likewise.
64810         (remainder_test_upward): Likewise.
64811         (remquo_test): Likewise.
64812         (rint_test): Likewise.
64813         (rint_test_tonearest): Likewise.
64814         (rint_test_towardzero): Likewise.
64815         (rint_test_downward): Likewise.
64816         (rint_test_upward): Likewise.
64817         (round_test): Likewise.
64818         (scalb_test): Likewise.
64819         (scalbn_test): Likewise.
64820         (scalbln_test): Likewise.
64821         (signbit_test): Likewise.
64822         (sin_test): Likewise.
64823         (sin_test_tonearest): Likewise.
64824         (sin_test_towardzero): Likewise.
64825         (sin_test_downward): Likewise.
64826         (sin_test_upward): Likewise.
64827         (sincos_test): Likewise.
64828         (sinh_test): Likewise.
64829         (sinh_test_tonearest): Likewise.
64830         (sinh_test_towardzero): Likewise.
64831         (sinh_test_downward): Likewise.
64832         (sinh_test_upward): Likewise.
64833         (sqrt_test): Likewise.
64834         (tan_test): Likewise.
64835         (tan_test_tonearest): Likewise.
64836         (tan_test_towardzero): Likewise.
64837         (tan_test_downward): Likewise.
64838         (tan_test_upward): Likewise.
64839         (tanh_test): Likewise.
64840         (tgamma_test): Likewise.
64841         (trunc_test): Likewise.
64842         (y0_test): Likewise.
64843         (y1_test): Likewise.
64844         (yn_test): Likewise.
64845         (significand_test): Likewise.
64847 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
64849         [BZ #15381]
64850         * libio/genops.c (_IO_no_init): Initialize wide struct info.
64852 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
64854         [BZ #14894]
64855         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
64856         __ppc_mdoio and __ppc_mdoom.
64857         * manual/platform.texi: Document new functions __ppc_yield,
64858         __ppc_mdoio and __ppc_mdoom.
64860 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
64862         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
64863         (main): Mention "tls" pseudo-hwcap is legacy.
64864         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
64866 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
64868         * math/gen-libm-test.pl (parse_args): Output only string of
64869         arguments as text for test name, not full call or descriptions of
64870         tests for extra outputs.
64871         (generate_testfile): Do not pass function name to parse_args.
64872         Generate this_func variable from START.
64873         * math/libm-test.inc (struct test_f_f_data): Rename test_name
64874         field to arg_str.
64875         (struct test_ff_f_data): Likewise.
64876         (test_ff_f_data_nexttoward): Likewise.
64877         (struct test_fi_f_data): Likewise.
64878         (struct test_fl_f_data): Likewise.
64879         (struct test_if_f_data): Likewise.
64880         (struct test_fff_f_data): Likewise.
64881         (struct test_c_f_data): Likewise.
64882         (struct test_f_f1_data): Likewise.  Remove field extra_name.
64883         (struct test_fF_f1_data): Likewise.
64884         (struct test_ffI_f1_data): Likewise.
64885         (struct test_c_c_data): Rename test_name field to arg_str.
64886         (struct test_cc_c_data): Likewise.
64887         (struct test_f_i_data): Likewise.
64888         (struct test_ff_i_data): Likewise.
64889         (struct test_f_l_data): Likewise.
64890         (struct test_f_L_data): Likewise.
64891         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
64892         and extra2_name.
64893         (COMMON_TEST_SETUP): New macro.
64894         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
64895         (COMMON_TEST_CLEANUP): Likewise.
64896         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
64897         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
64898         macros.
64899         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
64900         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
64901         macros.
64902         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
64903         (RUN_TEST_fff_f): Take argument string.  Call new setup and
64904         cleanup macros.
64905         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
64906         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
64907         macros.
64908         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
64909         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
64910         macros.
64911         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
64912         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
64913         cleanup macros.
64914         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
64915         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
64916         cleanup macros.
64917         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
64918         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
64919         cleanup macros.
64920         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
64921         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
64922         macros.
64923         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
64924         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
64925         macros.
64926         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
64927         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
64928         macros.
64929         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
64930         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
64931         cleanup macros.
64932         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
64933         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
64934         cleanup macros.
64935         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
64936         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
64937         macros.
64938         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
64939         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
64940         cleanup macros.
64941         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
64942         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
64943         macros.
64944         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
64945         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
64946         macros.
64947         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
64948         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
64949         cleanup macros.
64950         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
64952 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
64954         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
64955         to _sifields.sigfault.
64956         (si_addr_lsb): Define new macro.
64957         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
64958         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64959         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
64961 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
64963         [BZ #15441]
64964         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
64965         returns -1.
64966         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
64967         null return -1.
64968         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
64969         loading the domain.
64971 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
64973         * math/gen-libm-test.pl (parse_args): Do not include expected
64974         result in test name.
64975         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
64976         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64977         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64978         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64979         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64982 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64984         * benchtests/Makefile: Sort function entries.
64986         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
64987         tanh, asinh, acosh, atanh.
64988         * benchtests/acos-inputs: New file.
64989         * benchtests/acosh-inputs: New file.
64990         * benchtests/asin-inputs: New file.
64991         * benchtests/asinh-inputs: New file.
64992         * benchtests/atanh-inputs: New file.
64993         * benchtests/cosh-inputs: New file.
64994         * benchtests/log-inputs: New file.
64995         * benchtests/sinh-inputs: New file.
64996         * benchtests/tanh-inputs: New file.
64998 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
65000         [BZ #15339]
65001         * posix/tst-getaddrinfo4.c: New test.
65002         * posix/Makefile (tests): Add it.
65004 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65006         [BZ #15339]
65007         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
65008         when no services were used.
65009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
65010         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
65012 2013-05-21  Andreas Schwab  <schwab@suse.de>
65014         [BZ #15014]
65015         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
65016         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
65017         successful.
65018         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
65019         redundant variable declarations and reallocation of buffer when
65020         parsing as IPv6 address.  Always set NSS status when called from
65021         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
65022         buffer too small.  Correct computation of needed size.
65023         * nss/Makefile (tests): Add test-digits-dots.
65024         * nss/test-digits-dots.c: New test.
65026 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65028         * benchtests/Makefile: Remove instructions for adding
65029         benchmark tests.
65030         * benchtests/README: New file to explain how to execute and
65031         enhance the benchmark tests.
65033 2013-05-21  Andreas Schwab  <schwab@suse.de>
65035         [BZ #15493]
65036         * setjmp/Makefile (tests): Add tst-sigsetjmp.
65037         * setjmp/tst-sigsetjmp.c: New test.
65039 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
65041         * sysdeps/x86_64/memset.S (memset): New implementation.
65042         (__bzero): Likewise.
65043         (__memset_tail): New function.
65045 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
65047         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
65048         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
65049         __memcpy_sse2_unaligned ifunc selection.
65050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65051         Add memcpy-sse2-unaligned.S.
65052         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65053         Add: __memcpy_sse2_unaligned.
65055 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
65057         [BZ #15490]
65058         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65059         math_force_eval before restoring floating-point envrionment.
65060         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
65061         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
65062         Likewise.
65063         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
65064         <math_private.h>.
65065         (__nearbyintl): Use math_force_eval before restoring
65066         floating-point environment.
65067         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
65069         * math/gen-libm-test.pl (special_functions): Remove.
65070         (parse_args): Don't handle TEST_extra.  Handle functions with no
65071         return value.
65072         * math/libm-test.inc (struct test_sincos_data): Replace with
65073         struct test_fFF_11_data.
65074         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
65075         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
65076         (sincos_test_data): Change element type to struct
65077         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
65078         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
65079         RUN_TEST_LOOP_sincos.
65080         * math/README.libm-test: Don't mention special handling of
65081         individual functions.
65082         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
65083         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65084         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65085         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65086         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65089         * math/gen-libm-test.pl (get_variable): Remove function.
65090         (parse_args): Don't show pointer parameters to call in test
65091         names.  Use "extra output N" in test names for extra outputs
65092         rather than naming variables.
65094 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
65096         [BZ #15488]
65097         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
65098         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
65099         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
65100         double tests.
65101         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
65102         disable.
65103         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
65104         check_long_double.
65106         * math/gen-libm-test.pl (@tests): Remove variable.
65107         ($count): Likewise.
65108         (new_test): Remove function.
65109         (show_exceptions): New function.
65110         (special_functions): Use show_exceptions instead of new_test.
65111         (parse_args): Likewise.
65112         (generate_testfile): Pass only function name in generated call to
65113         print_max_error or print_complex_max_error.
65114         (get_ulps): Do not handle complex tests specially.
65115         (output_test): Rename to ...
65116         (get_all_ulps_for_test): ... this.  Return a string rather than
65117         printing to a file.  Require ulps to be present.
65118         (output_ulps): Generate arrays rather than #defines.
65119         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
65120         (struct ulp_data): New type.
65121         (BUILD_COMPLEX_ULP): Remove macro.
65122         (compare_ulp_data): New function.
65123         (find_ulps): Likewise.
65124         (find_test_ulps): Likewise.
65125         (find_function_ulps): Likewise.
65126         (find_complex_function_ulps): Likewise.
65127         (print_max_error): Determine allowed ulps using
65128         find_function_ulps.
65129         (print_complex_max_error): Determine allowed ulps using
65130         find_complex_function_ulps.
65131         (check_float_internal): Determine max ulps using find_test_ulps.
65132         (check_float): Do not take max_ulp parameter.  Update call to
65133         check_float_internal.
65134         (check_complex): Likewise.
65135         (check_int): Do not take max_ulp parameter.
65136         (check_long): Likewise.
65137         (check_bool): Likewise.
65138         (check_longlong): Likewise.
65139         (struct test_f_f_data): Remove max_ulp field.
65140         (struct test_ff_f_data): Likewise.
65141         (struct test_ff_f_data_nexttoward): Likewise.
65142         (struct test_fi_f_data): Likewise.
65143         (struct test_fl_f_data): Likewise.
65144         (struct test_if_f_data): Likewise.
65145         (struct test_fff_f_data): Likewise.
65146         (struct test_c_f_data): Likewise.
65147         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
65148         (struct test_fF_f1_data): Likewise.
65149         (struct test_ffI_f1_data): Likewise.
65150         (struct test_c_c_data): Remove max_ulp field.
65151         (struct test_cc_c_data): Likewise.
65152         (struct test_f_i_data): Likewise.
65153         (struct test_ff_i_data): Likewise.
65154         (struct test_f_l_data): Likewise.
65155         (struct test_f_L_data): Likewise.
65156         (struct test_sincos_data): Likewise.
65157         (RUN_TEST_f_f): Do not handle ulps.
65158         (RUN_TEST_LOOP_f_f): Likewise.
65159         (RUN_TEST_2_f): Likewise.
65160         (RUN_TEST_LOOP_2_f): Likewise.
65161         (RUN_TEST_fff_f): Likewise.
65162         (RUN_TEST_LOOP_fff_f): Likewise.
65163         (RUN_TEST_c_f): Likewise.
65164         (RUN_TEST_LOOP_c_f): Likewise.
65165         (RUN_TEST_f_f1): Likewise.
65166         (RUN_TEST_LOOP_f_f1): Likewise.
65167         (RUN_TEST_fF_f1): Likewise.
65168         (RUN_TEST_LOOP_fF_f1): Likewise.
65169         (RUN_TEST_fI_f1): Likewise.
65170         (RUN_TEST_LOOP_fI_f1): Likewise.
65171         (RUN_TEST_ffI_f1): Likewise.
65172         (RUN_TEST_LOOP_ffI_f1): Likewise.
65173         (RUN_TEST_c_c): Likewise.
65174         (RUN_TEST_LOOP_c_c): Likewise.
65175         (RUN_TEST_cc_c): Likewise.
65176         (RUN_TEST_LOOP_cc_c): Likewise.
65177         (RUN_TEST_f_i): Likewise.
65178         (RUN_TEST_LOOP_f_i): Likewise.
65179         (RUN_TEST_f_i_tg): Likewise.
65180         (RUN_TEST_LOOP_f_i_tg): Likewise.
65181         (RUN_TEST_ff_i_tg): Likewise.
65182         (RUN_TEST_LOOP_ff_i_tg): Likewise.
65183         (RUN_TEST_f_b): Likewise.
65184         (RUN_TEST_LOOP_f_b): Likewise.
65185         (RUN_TEST_f_b_tg): Likewise.
65186         (RUN_TEST_LOOP_f_b_tg): Likewise.
65187         (RUN_TEST_f_l): Likewise.
65188         (RUN_TEST_LOOP_f_l): Likewise.
65189         (RUN_TEST_f_L): Likewise.
65190         (RUN_TEST_LOOP_f_L): Likewise.
65191         (RUN_TEST_sincos): Likewise.
65192         (RUN_TEST_LOOP_sincos): Likewise.
65194 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
65196         [BZ #15480]
65197         [BZ #15485]
65198         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
65199         main case of finite arguments, set rounding mode to FE_TONEAREST
65200         and discard exceptions.
65201         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
65202         exceptions.
65203         (remainder_tonearest_test_data): New variable.
65204         (remainder_test_tonearest): New function.
65205         (remainder_towardzero_test_data): New variable.
65206         (remainder_test_towardzero): New function.
65207         (remainder_downward_test_data): New variable.
65208         (remainder_test_downward): New function.
65209         (remainder_upward_test_data): New variable.
65210         (remainder_test_upward): New function.
65211         (main): Call the new test functions.
65213         * math/libm-test.inc (struct test_f_f1_data): Remove field
65214         extra_init.
65215         (struct test_fF_f1_data): Likewise.
65216         (struct test_ffI_f1_data): Likewise.
65217         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
65218         based on value of EXTRA_EXPECTED.
65219         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
65220         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
65221         EXTRA_VAR based on value of EXTRA_EXPECTED.
65222         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
65223         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
65224         EXTRA_VAR based on value of EXTRA_EXPECTED.
65225         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
65226         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
65227         EXTRA_VAR based on value of EXTRA_EXPECTED.
65228         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
65229         * math/gen-libm-test.pl (parse_args): Don't output initializers
65230         for extra output values.
65232         * math/libm-test.inc (check_int): Expect result to be exactly
65233         equal to expected value and do not handle ulps.
65234         (check_long): Likewise.
65235         (check_longlong): Likewise.
65237         * math/libm-test.inc (ceil_test_data): Test for "inexact"
65238         exceptions.
65239         (cimag_test_data): Likewise.
65240         (conj_test_data): Likewise.
65241         (copysign_test_data): Likewise.
65242         (cproj_test_data): Likewise.
65243         (creal_test_data): Likewise.
65244         (fabs_test_data): Likewise.
65245         (fdim_test_data): Likewise.
65246         (finite_test_data): Likewise.
65247         (floor_test_data): Likewise.
65248         (fmax_test_data): Likewise.
65249         (fmin_test_data): Likewise.
65250         (fmod_test_data): Likewise.
65251         (fpclassify_test_data): Likewise.
65252         (frexp_test_data): Likewise.
65253         (ilogb_test_data): Likewise.
65254         (isfinite_test_data): Likewise.
65255         (isgreater_test_data): Likewise.
65256         (isgreaterequal_test_data): Likewise.
65257         (isinf_test_data): Likewise.
65258         (isless_test_data): Likewise.
65259         (islessequal_test_data): Likewise.
65260         (islessgreater_test_data): Likewise.
65261         (isnan_test_data): Likewise.
65262         (isnormal_test_data): Likewise.
65263         (issignaling_test_data): Likewise.
65264         (isunordered_test_data): Likewise.
65265         (ldexp_test_data): Likewise.
65266         (lrint_test_data): Likewise.
65267         (lrint_test_data) [TEST_FLOAT]: Disable one test.
65268         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
65269         (lrint_tonearest_test_data): Test for "inexact" exceptions.
65270         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65271         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
65272         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
65273         test input.
65274         (lrint_towardzero_test_data): Test for "inexact" exceptions.
65275         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65276         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
65277         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
65278         that test input.
65279         (lrint_downward_test_data): Test for "inexact" exceptions.
65280         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65281         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
65282         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
65283         test input.
65284         (lrint_upward_test_data): Test for "inexact" exceptions.
65285         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
65286         test input.
65287         (llrint_test_data): Test for "inexact" exceptions.
65288         (llrint_test_data) [TEST_FLOAT]: Disable one test.
65289         (llrint_tonearest_test_data): Test for "inexact" exceptions.
65290         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65291         (llrint_towardzero_test_data): Test for "inexact" exceptions.
65292         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65293         (llrint_downward_test_data): Test for "inexact" exceptions.
65294         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65295         (llrint_upward_test_data): Test for "inexact" exceptions.
65296         (logb_test_data): Likewise.
65297         (logb_downward_test_data): Likewise.
65298         (nextafter_test_data): Likewise.
65299         (nexttoward_test_data): Likewise.
65300         (remainder_test_data): Likewise.
65301         (remquo_test_data): Likewise.
65302         (scalbn_test_data): Likewise.
65303         (scalbln_test_data): Likewise.
65304         (signbit_test_data): Likewise.
65305         (sqrt_test_data): Likewise.
65306         (significand_test_data): Likewise.
65308 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65310         [BZ #15424]
65311         * benchtests/bench-modf.c (struct args): Mark arg0 as
65312         volatile.
65313         * scripts/bench.pl: Mark members of struct args as volatile.
65315 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65317         [BZ # 15497]
65318         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
65319         negative infinity on POWER6 or lower.
65320         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
65322 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
65324         [BZ #15442]
65325         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
65326         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
65327         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
65328         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
65329         (_FP_SETQNAN): New macro.
65330         (_FP_SETQNAN_SEMIRAW): Likewise.
65331         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
65332         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
65333         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
65334         (FP_EXTEND): Use _FP_FRAC_SNANP.
65335         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
65336         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
65337         into account.
65338         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65339         New macro.
65340         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65341         Likewise.
65343 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65345         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
65346         with DIVIDE_BY_ZERO_EXCEPTION.
65347         (gamma_test_data): Likewise.
65348         (lgamma_test_data): Likewise.
65349         (log_test_data): Likewise.
65350         (log10_test_data): Likewise.
65351         (log2_test_data): Likewise.
65352         (tgamma_test_data): Likewise.
65354         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
65355         (acos_test_tonearest): Likewise.
65356         (acos_test_towardzero): Likewise.
65357         (acos_test_downward): Likewise.
65358         (acos_test_upward): Likewise.
65359         (acosh_test): Likewise.
65360         (asin_test): Likewise.
65361         (asin_test_tonearest): Likewise.
65362         (asin_test_towardzero): Likewise.
65363         (asin_test_downward): Likewise.
65364         (asin_test_upward): Likewise.
65365         (asinh_test): Likewise.
65366         (atan_test): Likewise.
65367         (atanh_test): Likewise.
65368         (atan2_test): Likewise.
65369         (cabs_test): Likewise.
65370         (cacos_test): Likewise.
65371         (cacosh_test): Likewise.
65372         (casin_test): Likewise.
65373         (casinh_test): Likewise.
65374         (catan_test): Likewise.
65375         (catanh_test): Likewise.
65376         (cbrt_test): Likewise.
65377         (ccos_test): Likewise.
65378         (ccosh_test): Likewise.
65379         (cexp_test): Likewise.
65380         (clog_test): Likewise.
65381         (clog10_test): Likewise.
65382         (cos_test): Likewise.
65383         (cos_test_tonearest): Likewise.
65384         (cos_test_towardzero): Likewise.
65385         (cos_test_downward): Likewise.
65386         (cos_test_upward): Likewise.
65387         (cosh_test): Likewise.
65388         (cosh_test_tonearest): Likewise.
65389         (cosh_test_towardzero): Likewise.
65390         (cosh_test_downward): Likewise.
65391         (cosh_test_upward): Likewise.
65392         (cpow_test): Likewise.
65393         (csin_test): Likewise.
65394         (csinh_test): Likewise.
65395         (csqrt_test): Likewise.
65396         (ctan_test): Likewise.
65397         (ctan_test_tonearest): Likewise.
65398         (ctan_test_towardzero): Likewise.
65399         (ctan_test_downward): Likewise.
65400         (ctan_test_upward): Likewise.
65401         (ctanh_test): Likewise.
65402         (ctanh_test_tonearest): Likewise.
65403         (ctanh_test_towardzero): Likewise.
65404         (ctanh_test_downward): Likewise.
65405         (ctanh_test_upward): Likewise.
65406         (erf_test): Likewise.
65407         (erfc_test): Likewise.
65408         (exp_test): Likewise.
65409         (exp_test_tonearest): Likewise.
65410         (exp_test_towardzero): Likewise.
65411         (exp_test_downward): Likewise.
65412         (exp_test_upward): Likewise.
65413         (exp10_test): Likewise.
65414         (exp2_test): Likewise.
65415         (expm1_test): Likewise.
65416         (fmod_test): Likewise.
65417         (gamma_test): Likewise.
65418         (hypot_test): Likewise.
65419         (j0_test): Likewise.
65420         (j1_test): Likewise.
65421         (jn_test): Likewise.
65422         (lgamma_test): Likewise.
65423         (log_test): Likewise.
65424         (log10_test): Likewise.
65425         (log1p_test): Likewise.
65426         (log2_test): Likewise.
65427         (logb_test_downward): Likewise.
65428         (pow_test): Likewise.
65429         (pow_test_tonearest): Likewise.
65430         (pow_test_towardzero): Likewise.
65431         (pow_test_downward): Likewise.
65432         (pow_test_upward): Likewise.
65433         (remainder_test): Likewise.
65434         (remquo_test): Likewise.
65435         (sin_test): Likewise.
65436         (sin_test_tonearest): Likewise.
65437         (sin_test_towardzero): Likewise.
65438         (sin_test_downward): Likewise.
65439         (sin_test_upward): Likewise.
65440         (sincos_test): Likewise.
65441         (sinh_test): Likewise.
65442         (sinh_test_tonearest): Likewise.
65443         (sinh_test_towardzero): Likewise.
65444         (sinh_test_downward): Likewise.
65445         (sinh_test_upward): Likewise.
65446         (sqrt_test): Likewise.
65447         (tan_test): Likewise.
65448         (tan_test_tonearest): Likewise.
65449         (tan_test_towardzero): Likewise.
65450         (tan_test_downward): Likewise.
65451         (tan_test_upward): Likewise.
65452         (tanh_test): Likewise.
65453         (tgamma_test): Likewise.
65454         (y0_test): Likewise.
65455         (y1_test): Likewise.
65456         (yn_test): Likewise.
65458         * math/gen-libm-test.pl (adjust_arg): Remove function.
65459         (special_function): Remove argument $in_func.  Only handle
65460         generating output for tables of tests, not inside functions.
65461         (parse_args): Likewise.
65462         (generate_testfile): Remove variable $in_func.  Update call to
65463         parse_args.
65464         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
65465         (MINUS_ZERO_INIT): Rename macro to minus_zero.
65466         (PLUS_INFTY_INIT): Rename macro to plus_infty.
65467         (MINUS_INFTY_INIT): Rename macro to minus_infty.
65468         (QNAN_VALUE_INIT): Rename macro to qnan_value.
65469         (MAX_VALUE_INIT): Rename macro to max_value.
65470         (MIN_VALUE_INIT): Rename macro to min_value.
65471         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
65472         (plus_zero): Remove variable.
65473         (minus_zero): Likewise.
65474         (plus_infty): Likewise.
65475         (minus_infty): Likewise.
65476         (qnan_value): Likewise.
65477         (max_value): Likewise.
65478         (min_value): Likewise.
65479         (min_subnorm_value): Likewise.
65481 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65483         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
65484         uint64_t or uint32_t usage.
65485         * crypt/sha256-block.c: Likewise.
65486         * crypt/sha256-crypt.c: Likewise.
65487         * crypt/sha256.c: Likewise.
65488         * crypt/sha512-block.c: Likewise.
65489         * crypt/sha512-crypt.c: Likewise.
65490         * crypt/sha512.c: Likewise.
65491         * debug/backtrace-tst.c: Likewise.
65492         * debug/pcprofiledump.c: Likewise.
65493         * elf/cache.c: Likewise.
65494         * elf/dl-cache.c: Likewise.
65495         * elf/dl-misc.c: Likewise.
65496         * elf/dl-profile.c: Likewise.
65497         * elf/dl-support.c: Likewise.
65498         * elf/ldconfig.c: Likewise.
65499         * elf/sprof.c: Likewise.
65500         * iconv/dummy-repertoire.c: Likewise.
65501         * iconv/iconv_charmap.c: Likewise.
65502         * iconv/skeleton.c: Likewise.
65503         * iconvdata/8bit-generic.c: Likewise.
65504         * iconvdata/cp737.h: Likewise.
65505         * iconvdata/cp775.h: Likewise.
65506         * iconvdata/ibm1008.h: Likewise.
65507         * iconvdata/ibm1025.h: Likewise.
65508         * iconvdata/ibm1046.h: Likewise.
65509         * iconvdata/ibm1097.h: Likewise.
65510         * iconvdata/ibm1112.h: Likewise.
65511         * iconvdata/ibm1122.h: Likewise.
65512         * iconvdata/ibm1123.h: Likewise.
65513         * iconvdata/ibm1124.h: Likewise.
65514         * iconvdata/ibm1129.h: Likewise.
65515         * iconvdata/ibm1130.h: Likewise.
65516         * iconvdata/ibm1132.h: Likewise.
65517         * iconvdata/ibm1133.h: Likewise.
65518         * iconvdata/ibm1137.h: Likewise.
65519         * iconvdata/ibm1140.h: Likewise.
65520         * iconvdata/ibm1141.h: Likewise.
65521         * iconvdata/ibm1142.h: Likewise.
65522         * iconvdata/ibm1143.h: Likewise.
65523         * iconvdata/ibm1144.h: Likewise.
65524         * iconvdata/ibm1145.h: Likewise.
65525         * iconvdata/ibm1146.h: Likewise.
65526         * iconvdata/ibm1147.h: Likewise.
65527         * iconvdata/ibm1148.h: Likewise.
65528         * iconvdata/ibm1149.h: Likewise.
65529         * iconvdata/ibm1153.h: Likewise.
65530         * iconvdata/ibm1154.h: Likewise.
65531         * iconvdata/ibm1155.h: Likewise.
65532         * iconvdata/ibm1156.h: Likewise.
65533         * iconvdata/ibm1157.h: Likewise.
65534         * iconvdata/ibm1158.h: Likewise.
65535         * iconvdata/ibm1160.h: Likewise.
65536         * iconvdata/ibm1161.h: Likewise.
65537         * iconvdata/ibm1162.h: Likewise.
65538         * iconvdata/ibm1163.h: Likewise.
65539         * iconvdata/ibm1164.h: Likewise.
65540         * iconvdata/ibm1166.h: Likewise.
65541         * iconvdata/ibm1167.h: Likewise.
65542         * iconvdata/ibm12712.h: Likewise.
65543         * iconvdata/ibm1390.h: Likewise.
65544         * iconvdata/ibm1399.h: Likewise.
65545         * iconvdata/ibm16804.h: Likewise.
65546         * iconvdata/ibm4517.h: Likewise.
65547         * iconvdata/ibm4899.h: Likewise.
65548         * iconvdata/ibm4909.h: Likewise.
65549         * iconvdata/ibm4971.h: Likewise.
65550         * iconvdata/ibm5347.h: Likewise.
65551         * iconvdata/ibm803.h: Likewise.
65552         * iconvdata/ibm856.h: Likewise.
65553         * iconvdata/ibm901.h: Likewise.
65554         * iconvdata/ibm902.h: Likewise.
65555         * iconvdata/ibm9030.h: Likewise.
65556         * iconvdata/ibm9066.h: Likewise.
65557         * iconvdata/ibm921.h: Likewise.
65558         * iconvdata/ibm922.h: Likewise.
65559         * iconvdata/ibm9448.h: Likewise.
65560         * iconvdata/isiri-3342.h: Likewise.
65561         * iconvdata/jis0201.h: Likewise.
65562         * include/link.h: Likewise.
65563         * include/netdb.h: Likewise.
65564         * inet/check_native.c: Likewise.
65565         * inet/check_pf.c: Likewise.
65566         * inet/getipv4sourcefilter.c: Likewise.
65567         * inet/getnameinfo.c: Likewise.
65568         * inet/getsourcefilter.c: Likewise.
65569         * inet/htonl.c: Likewise.
65570         * inet/setipv4sourcefilter.c: Likewise.
65571         * inet/setsourcefilter.c: Likewise.
65572         * inet/test-inet6_opt.c: Likewise.
65573         * inet/tst-network.c: Likewise.
65574         * locale/C-collate.c: Likewise.
65575         * locale/C-ctype.c: Likewise.
65576         * locale/C-time.c: Likewise.
65577         * locale/C-translit.h: Likewise.
65578         * locale/loadarchive.c: Likewise.
65579         * locale/programs/3level.h: Likewise.
65580         * locale/programs/charmap.c: Likewise.
65581         * locale/programs/charmap.h: Likewise.
65582         * locale/programs/ld-address.c: Likewise.
65583         * locale/programs/ld-collate.c: Likewise.
65584         * locale/programs/ld-ctype.c: Likewise.
65585         * locale/programs/ld-identification.c: Likewise.
65586         * locale/programs/ld-measurement.c: Likewise.
65587         * locale/programs/ld-messages.c: Likewise.
65588         * locale/programs/ld-monetary.c: Likewise.
65589         * locale/programs/ld-name.c: Likewise.
65590         * locale/programs/ld-numeric.c: Likewise.
65591         * locale/programs/ld-paper.c: Likewise.
65592         * locale/programs/ld-telephone.c: Likewise.
65593         * locale/programs/ld-time.c: Likewise.
65594         * locale/programs/linereader.c: Likewise.
65595         * locale/programs/locale.c: Likewise.
65596         * locale/programs/locarchive.c: Likewise.
65597         * locale/programs/locfile.h: Likewise.
65598         * locale/programs/repertoire.c: Likewise.
65599         * locale/programs/simple-hash.c: Likewise.
65600         * locale/programs/simple-hash.h: Likewise.
65601         * malloc/memusage.c: Likewise.
65602         * malloc/memusagestat.c: Likewise.
65603         * nis/nis_defaults.c: Likewise.
65604         * nis/nis_hash.c: Likewise.
65605         * nis/nis_print.c: Likewise.
65606         * nis/nis_xdr.c: Likewise.
65607         * nscd/connections.c: Likewise.
65608         * nscd/hstcache.c: Likewise.
65609         * nscd/nscd_gethst_r.c: Likewise.
65610         * nscd/nscd_getserv_r.c: Likewise.
65611         * nscd/nscd_helper.c: Likewise.
65612         * nscd/servicescache.c: Likewise.
65613         * nss/makedb.c: Likewise.
65614         * nss/nss_db/db-XXX.c: Likewise.
65615         * nss/nss_db/db-initgroups.c: Likewise.
65616         * nss/nss_db/db-netgrp.c: Likewise.
65617         * nss/nss_files/files-network.c: Likewise.
65618         * nss/nss_files/files-parse.c: Likewise.
65619         * posix/bug-regex5.c: Likewise.
65620         * posix/fnmatch_loop.c: Likewise.
65621         * posix/regcomp.c: Likewise.
65622         * posix/regexec.c: Likewise.
65623         * posix/tst-rfc3484-2.c: Likewise.
65624         * posix/tst-rfc3484-3.c: Likewise.
65625         * posix/tst-rfc3484.c: Likewise.
65626         * resolv/nss_dns/dns-canon.c: Likewise.
65627         * resolv/nss_dns/dns-network.c: Likewise.
65628         * resolv/res_init.c: Likewise.
65629         * resolv/res_mkquery.c: Likewise.
65630         * resolv/tst-aton.c: Likewise.
65631         * stdlib/cxa_atexit.c: Likewise.
65632         * stdlib/cxa_finalize.c: Likewise.
65633         * stdlib/gen-fpioconst.c: Likewise.
65634         * stdlib/strtol_l.c: Likewise.
65635         * string/tst-endian.c: Likewise.
65636         * sunrpc/auth_des.c: Likewise.
65637         * sunrpc/clnt_udp.c: Likewise.
65638         * sunrpc/rtime.c: Likewise.
65639         * sunrpc/svcauth_des.c: Likewise.
65640         * sunrpc/xdr.c: Likewise.
65641         * sunrpc/xdr_intXX_t.c: Likewise.
65642         * sunrpc/xdr_rec.c: Likewise.
65643         * sysdeps/generic/ldconfig.h: Likewise.
65644         * sysdeps/generic/ldsodefs.h: Likewise.
65645         * sysdeps/generic/memusage.h: Likewise.
65646         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65647         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
65648         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
65649         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65650         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65651         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65652         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65653         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65654         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65655         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65656         * sysdeps/posix/getaddrinfo.c: Likewise.
65657         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65658         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65659         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65660         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65661         * sysdeps/powerpc/test-gettimebase.c: Likewise.
65662         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
65663         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
65664         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
65665         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
65666         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
65667         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65668         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65669         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
65670         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
65671         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
65672         * sysdeps/x86_64/dl-tls.h: Likewise.
65673         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
65674         * time/alt_digit.c: Likewise.
65675         * time/era.c: Likewise.
65676         * wcsmbs/tst-c16c32-1.c: Likewise.
65678 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65680         * math/libm-test.inc (struct test_sincos_data): New type.
65681         (RUN_TEST_LOOP_sincos): New macro.
65682         (sincos_test_data): New variable.
65683         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
65685 2013-05-16  Richard Henderson  <rth@redhat.com>
65687         * math/atest-exp2.c (LIMB64): New macro.
65688         (CONSTSZ): New macro.
65689         (mp_exp1, mp_exp_m1, mp_log2): New variables.
65690         (hexdig): Move ...
65691         (print_mpn_fp): ... to function scope.
65692         (read_mpn_hex): Remove.
65693         (get_log2): Remove.
65694         (exp2_mpn): Use mp_log2.
65695         (main): Use mp_exp1.
65697 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65699         * math/libm-test.inc: Remove comment about not testing "inexact"
65700         exceptions.
65701         (INEXACT_EXCEPTION): New macro.
65702         (NO_INEXACT_EXCEPTION): Likewise.
65703         (INVALID_EXCEPTION_OK): Update value.
65704         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65705         (OVERFLOW_EXCEPTION_OK): Likewise.
65706         (UNDERFLOW_EXCEPTION_OK): Likewise.
65707         (IGNORE_ZERO_INF_SIGN): Likewise.
65708         (ERRNO_UNCHANGED): Likewise.
65709         (ERRNO_EDOM): Likewise.
65710         (ERRNO_ERANGE): Likewise.
65711         (test_exceptions): Handle testing "inexact" exceptions.
65712         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
65713         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
65714         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
65715         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
65716         INEXACT_EXCEPTION.
65717         (rint_towardzero_test_data): Likewise.
65718         (rint_downward_test_data): Likewise.
65719         (rint_upward_test_data): Likewise.
65721         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
65722         with OVERFLOW_EXCEPTION.
65723         (exp10_test_data): Likewise.
65724         (exp2_test_data): Likewise.
65725         (expm1_test_data): Likewise.
65726         (lgamma_test_data): Likewise.
65727         (pow_test_data): Likewise.
65728         (tgamma_test_data): Likewise.
65729         (yn_test_data): Remove duplicate test of overflow.
65731         * math/libm-test.inc (struct test_cc_c_data): New type.
65732         (RUN_TEST_LOOP_cc_c): New macro.
65733         (cpow_test_data): New variable.
65734         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
65736         * math/libm-test.inc (struct test_f_L_data): New type.
65737         (RUN_TEST_LOOP_f_L): New macro.
65738         (llrint_test_data): New variable.
65739         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
65740         (llrint_tonearest_test_data): New variable.
65741         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
65742         (llrint_towardzero_test_data): New variable.
65743         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
65744         (llrint_downward_test_data): New variable.
65745         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
65746         (llrint_upward_test_data): New variable.
65747         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
65748         (llround_test_data): New variable.
65749         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
65751 2013-05-13  Peter Collingbourne  <pcc@google.com>
65753         * math/atest-exp2.c (get_log2): Remove const attribute.
65755 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65757         * math/libm-test.inc (struct test_f_l_data): New type.
65758         (RUN_TEST_LOOP_f_l): New macro.
65759         (lrint_test_data): New variable.
65760         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
65761         (lrint_tonearest_test_data): New variable.
65762         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
65763         (lrint_towardzero_test_data): New variable.
65764         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
65765         (lrint_downward_test_data): New variable.
65766         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
65767         (lrint_upward_test_data): New variable.
65768         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
65769         (lround_test_data): New variable.
65770         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
65772 2013-05-15  Peter Collingbourne  <pcc@google.com>
65774         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
65775         (EXTRACT_WORDS64) Use where appropriate.
65776         (INSERT_WORDS64) Likewise.
65778         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
65779         constraints with x constraints.
65780         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
65782         * malloc/obstack.c (_obstack_compat): Add initializer.
65784 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
65786         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
65787         si_trapno and add si_addr_lsb to _sifields.sigfault.
65788         (si_trapno): Remove macro.
65789         (si_addr_lsb): Define new macro.
65790         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
65792 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65794         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
65795         instead of TEST_f_l.
65796         (llrint_test_tonearest): Likewise.
65797         (llrint_test_towardzero): Likewise.
65798         (llrint_test_downward): Likewise.
65799         (llrint_test_upward): Likewise.
65800         (llround_test): Likewise.
65802         * math/libm-test.inc (struct test_f_i_data): Add comment.
65803         (RUN_TEST_LOOP_f_b): New macro.
65804         (RUN_TEST_LOOP_f_b_tg): Likewise.
65805         (finite_test_data): New variable.
65806         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
65807         (isfinite_test_data): New variable.
65808         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65809         (isinf_test_data): New variable.
65810         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65811         (isnan_test_data): New variable.
65812         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65813         (isnormal_test_data): New variable.
65814         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65815         (issignaling_test_data): New variable.
65816         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65817         (signbit_test_data): New variable.
65818         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65820         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
65821         with INVALID_EXCEPTION.
65822         (acosh_test_data): Likewise.
65823         (asin_test_data): Likewise.
65824         (atanh_test_data): Likewise.
65825         (fmod_test_data): Likewise.
65826         (log_test_data): Likewise.
65827         (log10_test_data): Likewise.
65828         (log2_test_data): Likewise.
65829         (pow_test_data): Likewise.
65830         (sqrt_test_data): Likewise.
65831         (y0_test_data): Likewise.
65832         (y1_test_data): Likewise.
65833         (yn_test_data): Likewise.
65835         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
65836         function contents.
65838         * math/libm-test.inc (struct test_ff_i_data): New type.
65839         (RUN_TEST_LOOP_ff_i_tg): New macro.
65840         (isgreater_test_data): New variable.
65841         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65842         (isgreaterequal_test_data): New variable.
65843         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65844         (isless_test_data): New variable.
65845         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65846         (islessequal_test_data): New variable.
65847         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65848         (islessgreater_test_data): New variable.
65849         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65850         (isunordered_test_data): New variable.
65851         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65853 2013-05-14  David S. Miller  <davem@davemloft.net>
65855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65857 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
65859         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
65861         * math/libm-test.inc (struct test_fF_f1_data): Change type of
65862         extra_test to int.
65863         (struct test_f_i_data): Change type of max_ulp to int.
65865         * math/libm-test.inc (test_ffI_f1_data): New type.
65866         (RUN_TEST_LOOP_ffI_f1): New macro.
65867         (remquo_test_data): New variable.
65868         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
65870         * setjmp/tst-setjmp-fp.c: New file.
65871         * setjmp/Makefile (tests): Add tst-setjmp-fp.
65872         (link-libm): New variable.
65873         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
65875         * math/libm-test.inc (struct test_f_i_data): New type.
65876         (RUN_TEST_LOOP_f_i): New macro.
65877         (RUN_TEST_LOOP_f_i_tg): Likewise.
65878         (fpclassify_test_data): New variable.
65879         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
65880         (ilogb_test_data): New variable.
65881         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
65883         * math/libm-test.inc (scalbln_test): Correct function name in END
65884         call.
65886         * math/libm-test.inc (struct test_f_f1_data): Add comment.
65887         (RUN_TEST_LOOP_fI_f1): New macro.
65888         (frexp_test_data): New variable.
65889         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
65891         * math/libm-test.inc (struct test_fF_f1_data): New type.
65892         (RUN_TEST_LOOP_fF_f1): New macro.
65893         (modf_test_data): New variable.
65894         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
65896         * math/libm-test.inc (struct test_f_f1_data): New type.
65897         (RUN_TEST_LOOP_f_f1): New macro.
65898         (gamma_test_data): New variable.
65899         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65900         (lgamma_test_data): New variable.
65901         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65903 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
65905         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
65906         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
65907         (main): Comment "tls" pseudo-hwcap.
65909 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
65911         * math/libm-test.inc (struct test_fl_f_data): New type.
65912         (RUN_TEST_LOOP_fl_f): New variable.
65913         (scalbln_test_data): New variable.
65914         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
65916         * math/libm-test.inc (struct test_fi_f_data): New type.
65917         (RUN_TEST_LOOP_fi_f): New macro.
65918         (ldexp_test_data): New variable.
65919         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
65920         (scalbn_test_data): New variable.
65921         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
65923         * math/libm-test.inc (struct test_c_f_data): New type.
65924         (RUN_TEST_LOOP_c_f): New macro.
65925         (cabs_test_data): New variable.
65926         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
65927         (carg_test_data): New variable.
65928         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
65929         (cimag_test_data): New variable.
65930         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
65931         (creal_test_data): New variable.
65932         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
65934         * math/libm-test.inc (struct test_if_f_data): New type.
65935         (RUN_TEST_LOOP_if_f): New macro.
65936         (jn_test_data): New variable.
65937         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
65938         (yn_test_data): New variable.
65939         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
65941         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
65943 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65945         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
65946         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
65948 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65950         * benchtests/Makefile (CPPFLAGS-nonlib): Add
65951         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
65952         (bench-deps): Add bench-timing.h.
65953         * benchtests-bench-skeleton.c: Include bench-timing.h.
65954         (main): Use TIMING_* macros instead of clock_gettime.
65955         * benchtests/bench-timing.h: New file.
65957         [BZ #14582]
65958         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
65959         Renamed from _LIB_VERSION.
65960         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
65962 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
65964         * math/libm-test.inc (struct test_fff_f_data): New type.
65965         (RUN_TEST_LOOP_fff_f): New macro.
65966         (fma_test_data): New variable.
65967         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
65968         (fma_towardzero_test_data): New variable.
65969         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
65970         (fma_downward_test_data): New variable.
65971         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
65972         (fma_upward_test_data): New variable.
65973         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
65975         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
65976         (struct test_c_c_data): New type.
65977         (RUN_TEST_LOOP_c_c): New macro.
65978         (cacos_test_data): New variable.
65979         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
65980         (cacosh_test_data): New variable.
65981         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
65982         (casin_test_data): New variable.
65983         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
65984         (casinh_test_data): New variable.
65985         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
65986         (catan_test_data): New variable.
65987         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
65988         (catanh_test_data): New variable.
65989         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
65990         (ccos_test_data): New variable.
65991         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
65992         (ccosh_test_data): New variable.
65993         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
65994         (cexp_test_data): New variable.
65995         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
65996         (clog_test_data): New variable.
65997         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
65998         (clog10_test_data): New variable.
65999         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
66000         (conj_test_data): New variable.
66001         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
66002         (cproj_test_data): New variable.
66003         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
66004         (csin_test_data): New variable.
66005         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
66006         (csinh_test_data): New variable.
66007         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
66008         (csqrt_test_data): New variable.
66009         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
66010         (ctan_test_data): New variable.
66011         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
66012         (ctan_tonearest_test_data): New variable.
66013         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66014         (ctan_towardzero_test_data): New variable.
66015         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66016         (ctan_downward_test_data): New variable.
66017         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66018         (ctan_upward_test_data): New variable.
66019         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66020         (ctanh_test_data): New variable.
66021         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
66022         (ctanh_tonearest_test_data): New variable.
66023         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66024         (ctanh_towardzero_test_data): New variable.
66025         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66026         (ctanh_downward_test_data): New variable.
66027         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66028         (ctanh_upward_test_data): New variable.
66029         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66030         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
66031         of BUILD_COMPLEX.
66033         * math/libm-test.inc (struct test_ff_f_data): New type.
66034         (struct test_ff_f_data_nexttoward): Likewise.
66035         (RUN_TEST_LOOP_2_f): New macro.
66036         (RUN_TEST_LOOP_ff_f): Likewise.
66037         (atan2_test_data): New variable.
66038         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
66039         (copysign_test_data): New variable.
66040         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
66041         (fdim_test_data): New variable.
66042         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
66043         (fmax_test_data): New variable.
66044         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
66045         (fmin_test_data): New variable.
66046         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
66047         (fmod_test_data): New variable.
66048         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
66049         (hypot_test_data): New variable.
66050         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
66051         (nextafter_test_data): New variable.
66052         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
66053         (nexttoward_test_data): New variable.
66054         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
66055         (pow_test_data): New variable.
66056         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
66057         (pow_tonearest_test_data): New variable.
66058         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
66059         (pow_towardzero_test_data): New variable.
66060         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
66061         (pow_downward_test_data): New variable.
66062         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
66063         (pow_upward_test_data): New variable.
66064         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
66065         (remainder_test_data): New variable.
66066         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
66067         (scalb_test_data): New variable.
66068         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
66069         * sysdeps/i386/fpu/libm-test-ulps: Update.
66071 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
66073         * math/libm-test.inc (fma_test): Use max_value instead of local
66074         variable fltmax.
66075         (nextafter_test): Likewise.
66077         * math/libm-test.inc (acos_towardzero_test_data): New variable.
66078         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66079         (acos_downward_test_data): New variable.
66080         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66081         (acos_upward_test_data): New variable.
66082         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66083         (acosh_test_data): New variable.
66084         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
66085         (asin_test_data): New variable.
66086         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
66087         (asin_tonearest_test_data): New variable.
66088         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66089         (asin_towardzero_test_data): New variable.
66090         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66091         (asin_downward_test_data): New variable.
66092         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66093         (asin_upward_test_data): New variable.
66094         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66095         (asinh_test_data): New variable.
66096         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
66097         (atan_test_data): New variable.
66098         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
66099         (atanh_test_data): New variable.
66100         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
66101         (cbrt_test_data): New variable.
66102         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
66103         (ceil_test_data): New variable.
66104         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
66105         (cos_test_data): New variable.
66106         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
66107         (cos_tonearest_test_data): New variable.
66108         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66109         (cos_towardzero_test_data): New variable.
66110         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66111         (cos_downward_test_data): New variable.
66112         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66113         (cos_upward_test_data): New variable.
66114         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66115         (cosh_test_data): New variable.
66116         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
66117         (cosh_tonearest_test_data): New variable.
66118         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66119         (cosh_towardzero_test_data): New variable.
66120         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66121         (cosh_downward_test_data): New variable.
66122         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66123         (cosh_upward_test_data): New variable.
66124         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66125         (erf_test_data): New variable.
66126         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
66127         (erfc_test_data): New variable.
66128         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
66129         (exp_test_data): New variable.
66130         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
66131         (exp_tonearest_test_data): New variable.
66132         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66133         (exp_towardzero_test_data): New variable.
66134         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66135         (exp_downward_test_data): New variable.
66136         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66137         (exp_upward_test_data): New variable.
66138         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66139         (exp10_test_data): New variable.
66140         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
66141         (exp2_test_data): New variable.
66142         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
66143         (expm1_test_data): New variable.
66144         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
66145         (fabs_test_data): New variable.
66146         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
66147         (floor_test_data): New variable.
66148         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
66149         (j0_test_data): New variable.
66150         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
66151         (j1_test_data): New variable.
66152         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
66153         (log_test_data): New variable.
66154         (log_test): Run tests with RUN_TEST_LOOP_f_f.
66155         (log10_test_data): New variable.
66156         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
66157         (log1p_test_data): New variable.
66158         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
66159         (log2_test_data): New variable.
66160         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
66161         (logb_test_data): New variable.
66162         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
66163         (logb_downward_test_data): New variable.
66164         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66165         (nearbyint_test_data): New variable.
66166         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
66167         (rint_test_data): New variable.
66168         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
66169         (rint_tonearest_test_data): New variable.
66170         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66171         (rint_towardzero_test_data): New variable.
66172         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66173         (rint_downward_test_data): New variable.
66174         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66175         (rint_upward_test_data): New variable.
66176         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66177         (round_test_data): New variable.
66178         (round_test): Run tests with RUN_TEST_LOOP_f_f.
66179         (sin_test_data): New variable.
66180         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
66181         (sin_tonearest_test_data): New variable.
66182         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66183         (sin_towardzero_test_data): New variable.
66184         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66185         (sin_downward_test_data): New variable.
66186         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66187         (sin_upward_test_data): New variable.
66188         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66189         (sinh_test_data): New variable.
66190         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
66191         (sinh_tonearest_test_data): New variable.
66192         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66193         (sinh_towardzero_test_data): New variable.
66194         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66195         (sinh_downward_test_data): New variable.
66196         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66197         (sinh_upward_test_data): New variable.
66198         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66199         (sqrt_test_data): New variable.
66200         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
66201         (tan_test_data): New variable.
66202         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
66203         (tan_tonearest_test_data): New variable.
66204         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66205         (tan_towardzero_test_data): New variable.
66206         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66207         (tan_downward_test_data): New variable.
66208         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66209         (tan_upward_test_data): New variable.
66210         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66211         (tanh_test_data): New variable.
66212         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
66213         (tgamma_test_data): New variable.
66214         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
66215         (trunc_test_data): New variable.
66216         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
66217         (y0_test_data): New variable.
66218         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
66219         (y1_test_data): New variable.
66220         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
66221         (significand_test_data): New variable.
66222         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
66224 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
66226         [BZ #12387]
66227         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
66229 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66231         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
66233 2013-05-10  Andreas Jaeger  <aj@suse.de>
66235         [BZ #15448]
66236         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
66237         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
66239 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
66241         * math/gen-libm-test.pl (adjust_arg): New function.
66242         (special_functions): Handle generating output in both functions
66243         and arrays.
66244         (parse_args): Likewise.
66245         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
66246         $in_func argument to parse_args.
66247         * math/libm-test.inc (struct test_f_f_data): New type.
66248         (IF_ROUND_INIT_): New macro.
66249         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
66250         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
66251         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
66252         (IF_ROUND_INIT_FE_UPWARD): Likewise.
66253         (ROUND_RESTORE_): Likewise.
66254         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
66255         (ROUND_RESTORE_FE_TONEAREST): Likewise.
66256         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
66257         (ROUND_RESTORE_FE_UPWARD): Likewise.
66258         (RUN_TEST_LOOP_f_f): New macro.
66259         (acos_test_data): New variable.
66260         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
66261         (acos_tonearest_test_data): New variable.
66262         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66264 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66266         * benchtests/bench-skeleton.c (startup): Fix coding style.
66268 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
66270         [BZ #6809]
66271         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
66272         negative infinity argument.
66273         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
66274         negative infinity argument.
66275         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
66276         negative infinity argument.
66277         * math/libm-test.inc (tgamma_test): Expect errno to be set for
66278         domain errors.
66280 2013-05-10  Florian Weimer  <fweimer@redhat.com>
66282         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
66283         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
66284         * iconv/iconv_prog.c (main): Likewise.
66285         * locale/programs/charmap-dir.c (charmap_readdir)
66286         (fopen_uncompressed): Likewise.
66287         * locale/programs/locfile.c (siblings_uncached)
66288         (write_locale_data): Use lstat64 instead of lstat.
66289         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
66290         stat.
66292 2013-05-10  Andreas Jaeger  <aj@suse.de>
66294         [BZ #15395]
66295         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
66296         localization.
66297         Include <locale.h>.
66299 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
66301         * elf/dl-close.c (_dl_close_worker): Add comments.
66303 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
66305         [BZ #15359]
66306         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
66307         high part of pi/2.
66308         (__ieee754_rem_pio2l): Update comments.
66310         [BZ #15429]
66311         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
66312         high part of pi/2.
66313         (__ieee754_rem_pio2l): Update comments.
66315         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
66316         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
66318         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
66319         M_PI_4l.
66321         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
66322         (M_PI_34_LOG10El): Likewise.
66323         (M_PI2_LOG10El): Likewise.
66324         (M_PI4_LOG10El): Likewise.
66325         (M_PI_LOG10El): Likewise.
66327 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66331 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
66333         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
66334         (MINUS_ZERO_INIT): Likewise.
66335         (PLUS_INFTY_INIT): Likewise.
66336         (MINUS_INFTY_INIT): Likewise.
66337         (QNAN_VALUE_INIT): Likewise.
66338         (MAX_VALUE_INIT): Likewise.
66339         (MIN_VALUE_INIT): Likewise.
66340         (MIN_SUBNORM_VALUE_INIT): Likewise.
66341         (plus_zero): Initialize with PLUS_ZERO_INIT.
66342         (minus_zero): Initialize with MINUS_ZERO_INIT.
66343         (plus_infty): Initialize with PLUS_INFTY_INIT.
66344         (minus_infty): Initialize with MINUS_INFTY_INIT.
66345         (qnan_value): Initialize with QNAN_VALUE_INIT.
66346         (max_value): Initialize with MAX_VALUE_INIT.
66347         (min_value): Initialize with MIN_VALUE_INIT.
66348         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
66350         * math/libm-test.inc (RUN_TEST_if_f): New macro.
66351         (jn_test): Use TEST_if_f instead of TEST_ff_f.
66352         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
66353         (yn_test): Use TEST_if_f instead of TEST_ff_f.
66355         * math/libm-test.inc (RUN_TEST_f_f): New macro.
66356         (RUN_TEST_2_f): Likewise.
66357         (RUN_TEST_ff_f): Likewise.
66358         (RUN_TEST_fi_f): Likewise.
66359         (RUN_TEST_fl_f): Likewise.
66360         (RUN_TEST_fff_f): Likewise.
66361         (RUN_TEST_c_f): Likewise.
66362         (RUN_TEST_f_f1): Likewise.
66363         (RUN_TEST_fF_f1): Likewise.
66364         (RUN_TEST_fI_f1): Likewise.
66365         (RUN_TEST_ffI_f1): Likewise.
66366         (RUN_TEST_c_c): Likewise.
66367         (RUN_TEST_cc_c): Likewise.
66368         (RUN_TEST_f_i): Likewise.
66369         (RUN_TEST_f_i_tg): Likewise.
66370         (RUN_TEST_ff_i_tg): Likewise.
66371         (RUN_TEST_f_b): Likewise.
66372         (RUN_TEST_f_b_tg): Likewise.
66373         (RUN_TEST_f_l): Likewise.
66374         (RUN_TEST_f_L): Likewise.
66375         (RUN_TEST_sincos): Likewise.
66376         * math/gen-libm-test.pl (new_test): Take new argument to indicate
66377         whether to show exceptions.  Do not include ");\n" in return
66378         value.
66379         (special_functions): Output call to RUN_TEST_sincos instead of
66380         check_float calls.  Update calls to new_test.
66381         (parse_args): Output call to single RUN_TEST_* macro instead of
66382         check_* calls and other assignments.  Update calls to new_test.
66384         [BZ #2546]
66385         [BZ #2560]
66386         [BZ #5159]
66387         [BZ #15426]
66388         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
66389         input to result for tgamma overflow.
66390         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
66391         (gamma_coeff): New variable.
66392         (NCOEFF): New macro.
66393         (gamma_positive): New function.
66394         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
66395         underflow here.  Use gamma_positive instead of exp (lgamma) for
66396         other arguments.
66397         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
66398         (gamma_coeff): New variable.
66399         (NCOEFF): New macro.
66400         (gammaf_positive): New function.
66401         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
66402         underflow here.  Use gamma_positive instead of exp (lgamma) for
66403         other arguments.
66404         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
66405         (gamma_coeff): New variable.
66406         (NCOEFF): New macro.
66407         (gammal_positive): New function.
66408         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
66409         underflow here.  Use gamma_positive instead of exp (lgamma) for
66410         other arguments.
66411         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
66412         (gamma_coeff): New variable.
66413         (NCOEFF): New macro.
66414         (gammal_positive): New function.
66415         (__ieee754_gammal_r): Handle positive infinity, overflow and
66416         underflow here.  Handle NaN the same as positive infinity.  Remove
66417         check x < 0xffffffff for negative integers.  Use gamma_positive
66418         instead of exp (lgamma) for other arguments.
66419         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
66420         (gamma_coeff): New variable.
66421         (NCOEFF): New macro.
66422         (gammal_positive): New function.
66423         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
66424         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
66425         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
66426         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
66427         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
66428         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
66429         * sysdeps/generic/math_private.h (__gamma_productf): New
66430         prototype.
66431         (__gamma_product): Likewise.
66432         (__gamma_productl): Likewise.
66433         * math/Makefile (libm-calls): Add gamma_product.
66434         * math/libm-test.inc (tgamma_test): Add more tests.
66435         * sysdeps/i386/fpu/libm-test-ulps: Update.
66436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66438 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
66440         * benchtests/bench-skeleton.c (main): Preheat CPU.
66442 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
66444         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
66446 2013-05-07  Roland McGrath  <roland@hack.frob.com>
66448         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
66449         and _dl_skip_args_internal.
66451 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
66453         * manual/message.texi (Message Translation): Talk about users.
66454         Message to key mapping impacts design.
66456 2013-05-06  Roland McGrath  <roland@hack.frob.com>
66458         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
66460         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
66462         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
66463         * sysdeps/wordsize-64/glob64.c: ... here.
66465         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
66466         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
66467         New macros.
66469         * debug/getlogin_r_chk.c: Moved to ...
66470         * login/getlogin_r_chk.c: ... here.
66471         * debug/Makefile (routines): Move getlogin_r_chk to ...
66472         * login/Makefile (routines): ... here.
66473         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
66474         * login/Versions (libc: GLIBC_2.4): ... here.
66476         * io/poll.c (__poll): Renamed from poll.
66477         Add libc_hidden_def.
66478         (poll): Define as weak alias.
66480         * debug/ptsname_r_chk.c: Moved to ...
66481         * login/ptsname_r_chk.c: ... here.
66482         * debug/Makefile (routines): Move ptsname_r_chk to ...
66483         * login/Makefile (routines): ... here.
66484         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
66485         * login/Versions (libc: GLIBC_2.4): ... here.
66487         * posix/getlogin.c: Moved to ...
66488         * login/getlogin.c: ... here.
66489         * posix/getlogin_r.c: Moved to ...
66490         * login/getlogin_r.c: ... here.
66491         * posix/getlogin_r.c: Moved to ...
66492         * login/getlogin_r.c: ... here.
66493         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
66494         * login/Makefile (routines): ... here.
66495         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
66496         * login/Versions (libc: GLIBC_2.0): ... here.
66498         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
66499         (setrlimit): Define as weak alias.
66501         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
66502         Call __ names for open, ftruncate, and close.
66503         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
66504         (truncate): Define as weak alias.
66506 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
66508         * math/gen-libm-test.pl (parse_args): Initialize x before each
66509         test of frexp, modf and remquo.
66511         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
66512         test signgam value.
66514 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66516         [BZ #15418]
66517         [BZ #15419]
66518         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
66519         internal tests.
66520         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66522 2013-05-06  Roland McGrath  <roland@hack.frob.com>
66524         * elf/dl-writev.h: New file.
66525         * elf/dl-misc.c: Include it.
66526         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
66527         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
66529 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
66531         * math/libm-test.inc (noXFails): Remove variable.
66532         (noXPasses): Likewise.
66533         (BUILD_COMPLEX_INT): Remove macro.
66534         (print_screen): Remove xfail argument.
66535         (print_screen_max_error): Likewise.
66536         (update_stats): Likewise.
66537         (print_max_error): Likewise.  Update calls to other affected
66538         functions.
66539         (print_complex_max_error): Likewise.
66540         (test_single_exception): Update calls to print_screen.
66541         (test_single_errno): Likewise.
66542         (check_float_internal): Remove xfail argument.  Update calls to
66543         other affected functions.
66544         (check_float): Likewise.
66545         (check_complex): Likewise.
66546         (check_int): Likewise.
66547         (check_long): Likewise.
66548         (check_bool): Likewise.
66549         (check_longlong): Likewise.
66550         (main): Don't print noXFails and noXPasses.
66551         * math/gen-libm-test.pl (top level): Don't mention expected
66552         failure handling in comment.
66553         (new_test): Don't handle expected failures.
66554         (parse_args): Don't mention expected failure handling in comment.
66555         (generate_testfile): Don't handle expected failures.
66556         (parse_ulps): Likewise.
66557         (print_ulps_file): Likewise.
66558         (get_failure): Remove function.
66559         (output_test): Don't handle expected failures.
66560         * make/README.libm-test: Don't mention expected failure handling.
66562         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
66563         (minus_zero): Likewise.
66564         (plus_infty): Likewise.
66565         (minus_infty): Likewise.
66566         (qnan_value): Likewise.
66567         (max_value): Likewise.
66568         (min_value): Likewise.
66569         (min_subnorm_value): Likewise.
66570         (initialize): Do not initialize those variables dynamically.
66572 2013-05-03  Roland McGrath  <roland@hack.frob.com>
66574         * io/open.c (__open_2): Moved to ...
66575         * io/open_2.c: ... this new file.
66576         * io/open64.c (__open64_2): Moved to ...
66577         * io/open64_2.c: ... this new file.
66578         * io/openat.c (__openat_2): Moved to ...
66579         * io/openat_2.c: ... this new file.
66580         * io/openat64.c (__openat64_2): Moved to ...
66581         * io/openat64_2.c: ... this new file.
66582         * io/Makefile (routines): Add them.
66583         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
66584         * sysdeps/unix/sysv/linux/open_2.c: File removed.
66585         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
66586         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
66587         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
66588         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
66589         (__openat64): Add hidden_ver.
66590         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
66591         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
66593         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
66594         Separately conditionalize setting of GLRO(dl_sysinfo) so
66595         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
66596         as well, but the actual setting is only under [NEED_DL_SYSINFO].
66598 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66600         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
66601         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
66602         definition.
66603         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
66604         * sysdeps/unix/sysv/linux/powerpc/init-first.c
66605         (_libc_vdso_platform_setup): Add __vdso_time initialization.
66606         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
66607         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
66609 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
66611         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
66612         test signgam value.
66614         * math/libm-test.inc (hypot_test): Do not use
66615         IGNORE_ZERO_INF_SIGN.
66617 2013-05-03  Andreas Jaeger  <aj@suse.de>
66619         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
66620         Linux 3.9.
66621         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
66622         (PF_MAX): Adjust for VSOCK change.
66624 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66628 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
66630         [BZ #15264]
66631         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
66632         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
66633         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
66635 2013-05-02  David S. Miller  <davem@davemloft.net>
66637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66639 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
66641         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
66643 2013-05-01  Roland McGrath  <roland@hack.frob.com>
66645         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
66647 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
66649         [BZ #14952]
66650         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
66651         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66652         Use __attribute__ ((__gnu_inline__)).
66653         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66654         Don't use __attribute__ ((__gnu_inline__)).
66656 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
66658         [BZ #15423]
66659         * math/s_catan.c (__catan): Handle small real or imaginary part of
66660         input specially to avoid spurious underflow.
66661         * math/s_catanf.c (__catanf): Likewise.
66662         * math/s_catanh.c (__catanh): Likewise.
66663         * math/s_catanhf.c (__catanhf): Likewise.
66664         * math/s_catanhl.c (__catanhl): Likewise.
66665         * math/s_catanl.c (__catanl): Likewise.
66666         * math/libm-test.inc (catan_test): Add more tests.
66667         (catanh_test): Likewise.
66668         * sysdeps/i386/fpu/libm-test-ulps: Update.
66669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66671 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66673         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66675 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
66677         [BZ #15416]
66678         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
66679         accurately for denominator in atan2.
66680         * math/s_catanf.c (__catanf): Likewise.
66681         * math/s_catanh.c (__catanh): Likewise.
66682         * math/s_catanhf.c (__catanhf): Likewise.
66683         * math/s_catanhl.c (__catanhl): Likewise.
66684         * math/s_catanl.c (__catanl): Likewise.
66685         * math/libm-test.inc (catan_test): Add more tests.
66686         (catanh_test): Likewise.
66687         * sysdeps/i386/fpu/libm-test-ulps: Update.
66688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66690 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66692         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
66694         * benchtests/Makefile (bench): Remove slow benchmarks.
66695         * benchtests/atan-inputs: Add slow benchmark inputs.
66696         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
66697         (BENCH_FUNC): Accept variant offset.
66698         (VARIANT): Define.
66699         * benchtests/bench-skeleton.c (main): Run benchmark for each
66700         variant.
66701         * benchtests/cos-inputs: Add slow benchmark inputs.
66702         * benchtests/exp-inputs: Likewise.
66703         * benchtests/pow-inputs: Likewise.
66704         * benchtests/sin-inputs: Likewise.
66705         * benchtests/slowatan-inputs: Remove.
66706         * benchtests/slowatan.c: Remove.
66707         * benchtests/slowcos-inputs: Remove.
66708         * benchtests/slowcos.c: Remove.
66709         * benchtests/slowexp-inputs: Remove.
66710         * benchtests/slowexp.c: Remove.
66711         * benchtests/slowpow-inputs: Remove.
66712         * benchtests/slowpow.c: Remove.
66713         * benchtests/slowsin-inputs: Remove.
66714         * benchtests/slowsin.c: Remove.
66715         * benchtests/slowtan-inputs: Remove.
66716         * benchtests/slowtan.c: Remove.
66717         * benchtests/tan-inputs: Add slow benchmark inputs.
66718         * scripts/bench.pl: Parse comments and directives.
66720         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
66721         in CPPFLAGS.
66722         ($(objpfx)bench-%.c): Remove *-ITER.
66723         * benchtests/bench-modf.c: Remove definition of ITER.
66724         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
66725         (main): Loop for DURATION seconds instead of fixed number of
66726         iterations.
66727         * scripts/bench.pl: Don't expect iterations in parameters.
66729 2013-04-29  Roland McGrath  <roland@hack.frob.com>
66731         * io/fchdir.c (__fchdir): Renamed from fchdir.
66732         (fchdir): Define as weak alias.
66734 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66736         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
66737         (ERRNO_EDOM): Likewise.
66738         (ERRNO_ERANGE): Likewise.
66739         (noErrnoTests): New variable.
66740         (init_max_error): Set errno to 0.
66741         (test_single_errno): New function.
66742         (test_errno): Likewise.
66743         (check_float_internal): Call test_errno.  Set errno to 0.
66744         (check_complex): Refer to errno tests in comment.
66745         (check_int): Call test_errno.  Set errno to 0.
66746         (check_long): Likewise.
66747         (check_bool): Likewise.
66748         (check_longlong): Likewise.
66749         (cos_test): Use ERRNO_* flags for errno tests instead of
66750         check_int.
66751         (expm1_test): Likewise.
66752         (fmod_test): Likewise.
66753         (ilogb_test): Likewise.
66754         (lgamma_test): Likewise.
66755         (pow_test): Likewise.
66756         (remainder_test): Likewise.
66757         (sin_test): Likewise.
66758         (tan_test): Likewise.
66759         (yn_test): Likewise.
66760         (initialize): Set errno to 0.
66761         (main): Print number of errno tests.
66762         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
66764 2013-04-29  Andreas Jaeger  <aj@suse.de>
66766         [BZ #15084]
66767         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
66768         and RES_USEVC.
66770         [BZ #15085]
66771         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
66772         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
66773         unimplemented.
66775         [BZ #15380]
66776         * stdlib/random.c (__initstate): Return NULL if
66777         __initstate fails.
66779         [BZ #15086]
66780         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
66781         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
66782         RES_SNGLKUPREOP.
66784 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66788 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66790         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
66791         of individual tests.
66792         (casin_test): Likewise.
66793         (casinh_test): Likewise.
66795 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
66797         [BZ #15409]
66798         * math/s_catan.c (__catan): Handle arguments with large real or
66799         imaginary part separately without squaring.
66800         * math/s_catanf.c (__catanf): Likewise.
66801         * math/s_catanh.c (__catanh): Likewise.
66802         * math/s_catanhf.c (__catanhf): Likewise.
66803         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66804         and redefine.
66805         (__catanhl): Handle arguments with large real or imaginary part
66806         separately without squaring.
66807         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66808         and redefine.
66809         (__catanl): Handle arguments with large real or imaginary part
66810         separately without squaring.
66811         * math/libm-test.inc (catan_test): Add more tests.
66812         (catanh_test): Likewise.
66813         * sysdeps/i386/fpu/libm-test-ulps: Update.
66814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66816 2013-04-27  Andreas Jaeger  <aj@suse.de>
66818         [BZ #15007]
66819         * stdlib/stdlib.h: Update guards for qecvt.
66820         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
66821         <stdlib.h>.
66823 2013-04-27  Allan McRae  <allan@archlinux.org>
66825         * sysdeps/i386/fpu/libm-test-ulps: Update.
66827 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
66829         [BZ #15406]
66830         * math/s_catan.c: Include <float.h>.
66831         (__catan): Ensure underflow exception occurs for underflowed
66832         result.
66833         * math/s_catanf.c: Include <float.h>.
66834         (__catanf): Ensure underflow exception occurs for underflowed
66835         result.
66836         * math/s_catanh.c: Include <float.h>.
66837         (__catanh): Ensure underflow exception occurs for underflowed
66838         result.
66839         * math/s_catanhf.c: Include <float.h>.
66840         (__catanhf): Ensure underflow exception occurs for underflowed
66841         result.
66842         * math/s_catanhl.c: Include <float.h>.
66843         (__catanhl): Ensure underflow exception occurs for underflowed
66844         result.
66845         * math/s_catanl.c: Include <float.h>.
66846         (__catanl): Ensure underflow exception occurs for underflowed
66847         result.
66848         * math/libm-test.inc (catan_test): Add more tests.
66849         (catanh_test): Likewise.
66851         [BZ #15405]
66852         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
66853         underflowed result.
66854         * math/s_ccoshf.c (__ccoshf): Likewise.
66855         * math/s_ccoshl.c (__ccoshl): Likewise.
66856         * math/s_csin.c (__csin): Likewise.
66857         * math/s_csinf.c (__csinf): Likewise.
66858         * math/s_csinh.c (__csinh): Likewise.
66859         * math/s_csinhf.c (__csinhf): Likewise.
66860         * math/s_csinhl.c (__csinhl): Likewise.
66861         * math/s_csinl.c (__csinl): Likewise.
66862         * math/libm-test.inc (ccos_test): Add more tests.
66863         (ccosh_test): Likewise.
66864         (csin_test): Likewise.
66865         (csinh_test): Likewise.
66867 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66869         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
66870         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
66871         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
66872         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
66873         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
66874         powerpc/power5+/fpu folders.
66875         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
66878 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
66880         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66882 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
66884         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
66885         additions to variable.
66886         [$(config-machine) = x86_64] (modules-names): Likewise.
66887         ($(objpfx)tst-audit3): Remove dependency.
66888         ($(objpfx)tst-audit3.out): Likewise.
66889         ($(objpfx)tst-audit4): Likewise.
66890         ($(objpfx)tst-audit4.out): Likewise.
66891         ($(objpfx)tst-audit5): Likewise.
66892         ($(objpfx)tst-audit5.out): Likewise.
66893         ($(objpfx)tst-audit6): Likewise.
66894         ($(objpfx)tst-audit6.out): Likewise.
66895         ($(objpfx)tst-audit7): Likewise.
66896         ($(objpfx)tst-audit7.out): Likewise.
66897         (tst-audit3-ENV): Remove variable.
66898         (tst-audit4-ENV): Likewise.
66899         (tst-audit5-ENV): Likewise.
66900         (tst-audit6-ENV): Likewise.
66901         (tst-audit7-ENV): Likewise.
66902         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
66903         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
66904         addition to variable.
66905         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
66906         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
66907         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
66908         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
66909         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
66910         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
66911         tst-audit3, tst-audit4 and tst-audit5.
66912         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
66913         tst-audit6 and tst-audit7.
66914         [$(subdir) = elf] (modules-names): Add audit modules for those
66915         tests.
66916         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
66917         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
66918         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
66919         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
66920         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
66921         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
66922         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
66923         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
66924         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
66925         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
66926         [$(subdir) = elf] (tst-audit3-ENV): New variable.
66927         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
66928         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
66929         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
66930         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
66931         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
66932         Likewise.
66933         [$(subdir) = elf && $(config-cflags-avx) = yes]
66934         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
66935         [$(subdir) = elf && $(config-cflags-avx) = yes]
66936         (CFLAGS-tst-auditmod4a.c): Likewise.
66937         [$(subdir) = elf && $(config-cflags-avx) = yes]
66938         (CFLAGS-tst-auditmod4b.c): Likewise.
66939         [$(subdir) = elf && $(config-cflags-avx) = yes]
66940         (CFLAGS-tst-auditmod6b.c): Likewise.
66941         [$(subdir) = elf && $(config-cflags-avx) = yes]
66942         (CFLAGS-tst-auditmod6c.c): Likewise.
66943         [$(subdir) = elf && $(config-cflags-avx) = yes]
66944         (CFLAGS-tst-auditmod7b.c): Likewise.
66945         * elf/tst-audit3.c: Move to ...
66946         * sysdeps/x86_64/tst-audit3.c: ... here.
66947         * elf/tst-audit4.c: Move to ...
66948         * sysdeps/x86_64/tst-audit4.c: ... here.
66949         * elf/tst-audit5.c: Move to ...
66950         * sysdeps/x86_64/tst-audit5.c: ... here.
66951         * elf/tst-audit6.c: Move to ...
66952         * sysdeps/x86_64/tst-audit6.c: ... here.
66953         * elf/tst-audit7.c: Move to ...
66954         * sysdeps/x86_64/tst-audit7.c: ... here.
66955         * elf/tst-auditmod3a.c: Move to ...
66956         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
66957         * elf/tst-auditmod3b.c: Move to ...
66958         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
66959         * elf/tst-auditmod4a.c: Move to ...
66960         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
66961         * elf/tst-auditmod4b.c: Move to ...
66962         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
66963         * elf/tst-auditmod5a.c: Move to ...
66964         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
66965         * elf/tst-auditmod5b.c: Move to ...
66966         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
66967         * elf/tst-auditmod6a.c: Move to ...
66968         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
66969         * elf/tst-auditmod6b.c: Move to ...
66970         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
66971         * elf/tst-auditmod6c.c: Move to ...
66972         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
66973         * elf/tst-auditmod7a.c: Move to ...
66974         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
66975         * elf/tst-auditmod7b.c: Move to ...
66976         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
66978 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
66980         [BZ #15366]
66981         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
66982         define unconditionally.
66983         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
66984         define unconditionally.
66985         (INT8_C, INT16_C, etc.): Likewise.
66987 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
66989         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
66990         __ehdr_start with hidden visibility.
66992         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
66994 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
66996         * math/libm-test.inc (cos_test): Use accurate hex constants.
66997         (sincost_test): Likewise.
66999 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
67001         * math/libm-test.inc (catan_test): Add more tests.
67002         (catanh_test): Likewise.
67004         * math/s_catanf.c (__catanf): Use suffixed floating-point
67005         constants.
67006         * math/s_catanhf.c (__catanhf): Likewise.
67007         * math/s_catanhl.c (__catanhl): Likewise.
67008         * math/s_catanl.c (__catanl): Likewise.
67010         [BZ #15394]
67011         * math/s_catan.c (__catan): Calculate imaginary part of result
67012         with log1p not log unless computing log of number close to 0.
67013         * math/s_catanf.c (__catanf): Likewise.
67014         * math/s_catanl.c (__catanl): Likewise.
67015         * math/s_catanh.c (__catanh): Calculate real part of result with
67016         log1p not log unless computing log of number close to 0.
67017         * math/s_catanhf.c (__catanhf): Likewise.
67018         * math/s_catanhl.c (__catanhl): Likewise.
67019         * math/libm-test.inc (catan_test): Add more tests.
67020         (catanh_test): Likewise.
67021         * sysdeps/i386/fpu/libm-test-ulps: Update.
67022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67024 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
67026         * benchtests/Makefile: Mention files in which fast and slow
67027         paths of math functions are implemented.
67029 2013-04-23  Roland McGrath  <roland@hack.frob.com>
67031         * sysdeps/posix/timespec_get.c: New file.
67033 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67035         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
67036         POWER.
67037         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
67038         for POWER.
67039         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
67040         powerpc/power5/fpu folders.
67041         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
67042         * benchtests/Makefile: Add modf testcase.
67043         * benchtests/bench-modf.c: New file: Benchmark test for mo
67045 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
67047         [BZ #14888]
67048         * time/Makefile (tests): Add tst-strptime-whitespace.
67049         * time/strptime_l.c (get_number): Use ISSPACE.
67050         (__strptime_internal): Likewise.
67051         * time/tst-strptime-whitespace.c: New test case.
67053 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
67055         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
67056         member.
67057         (_nss_files_init): Set it here.
67059 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
67061         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
67062         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
67063         unsigned.
67065 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
67067         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
67069 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
67071         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
67072         size just once.
67074 2013-04-21  David S. Miller  <davem@davemloft.net>
67076         * po/ru.po: Update Russion translation from translation project.
67078 2013-04-17  Adam Conrad  <adconrad@0c3.net>
67080         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
67081         and setfsgid.
67083 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
67085         * configure.in: Remove i386 configure warning. Remove i386 case.
67086         * configure: Regenerate.
67087         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
67088         Add example to error message.
67089         * sysdeps/i386/configure: Regenerate.
67091 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
67093         * benchtests/Makefile (bench): Add cos, tan, slowcos and
67094         slowtan.
67095         * benchtests/cos-inputs: New file.
67096         * benchtests/slowcos-inputs: New file.
67097         * benchtests/slowcos.c: New file.
67098         * benchtests/slowtan-inputs: New file.
67099         * benchtests/slowtan.c: New file.
67100         * benchtests/tan-inputs: New file.
67102 2013-04-16  Roland McGrath  <roland@hack.frob.com>
67104         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
67105         considered kosher.
67107 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67109         * benchtests/Makefile: Include cppflags-iterator.mk to add
67110         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
67112         * Makefile.in (bench-clean): New target.
67113         * benchtests/Makefile (bench-clean): Likewise.
67115 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
67117         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
67119 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
67121         * stdio-common/tstdiomisc.c: Fix coding-style violation.
67123 2013-04-15  Andreas Schwab  <schwab@suse.de>
67125         * nscd/grpcache.c (cache_addgr): Properly check for short write.
67126         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67127         * nscd/pwdcache.c (cache_addpw): Likewise.
67128         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
67129         more than recsize.
67131 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67133         * benchtests/Makefile (bench): Write all output to
67134         bench-out.tmp together.
67136 2013-04-15  Andreas Schwab  <schwab@suse.de>
67138         * nscd/nscd.c (main): Don't fork again after closing files.
67140 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67142         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
67144         * benchtests/Rules (bench-deps): Collect dependencies into a
67145         single variable.  Add Makefile to dependencies.
67146         ($(objpfx)bench-%.c): Depend on bench-deps.
67148 2013-04-12  Roland McGrath  <roland@hack.frob.com>
67149             Xavier Roche  <roche+kml2@exalead.com>
67151         [BZ #15361]
67152         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
67153         just that it's a file descriptor.
67154         * manual/llio.texi (Synchronizing AIO Operations): Update description
67155         for EBADF error from aio_fsync.
67157 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
67159         * Rules (bench): Move target definition...
67160         * benchtests/Makefile: ... here.
67162 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
67164         * math/libm-test.inc (cos_test): Fix PI/2 test.
67165         (sincos_test): Likewise.
67166         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
67167         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
67169 2013-04-11  Andreas Schwab  <schwab@suse.de>
67171         [BZ #13988]
67172         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
67173         accept exponent character only when digits were seen.
67174         * stdio-common/Makefile (tests): Add bug26.
67175         * stdio-common/bug26.c: New file.
67177         [BZ #14293]
67178         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
67179         non-freeable.
67181 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67183         * Makeconfig (rtld-prefix): Define built linker prefix.
67184         * Rules (run-bench): Use it.
67185         * math/Makefile (run-regen-ulps): Likewise.
67187         * Rules (bench): Remove eval.
67189 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67190             Roland McGrath  <roland@hack.frob.com>
67191             Ondrej Bilka  <neleai@seznam.cz>
67193         [BZ #15346]
67194         * time/getdate.c: Include ctype.h and alloca.h.
67195         (__getdate_r): Trim leading and trailing spaces of input.
67196         * time/tst-getdate.c (tests): Add tests with leading and
67197         trailing spaces.
67199 2013-04-08  Roland McGrath  <roland@hack.frob.com>
67201         [BZ #14280]
67202         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
67203         when computing value.
67205 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67207         * math/README.libm-test (How can I generate "libm-test-ulps"?):
67208         Use testrun.sh to run libm tests.
67210         [BZ #15309]
67211         * elf/dl-open.c (dl_open_worker): memset all of seen array.
67213 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
67215         [BZ #15264]
67216         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
67218 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67220         * Makefile.in (regen-ulps): New target.
67221         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
67222         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
67223         [ifneq (no,$(PERL)] (regen-ulps): New target.
67224         [ifeq (no,$(PERL)] (regen-ulps): New target.
67225         * math/libm-test.inc (ulps_file_name): Define.
67226         (output_dir): New variable.
67227         (options): Add "output-dir" option.
67228         (parse_opt): Handle 'o' case.
67229         (main): If output_dir is non-NULL use it as a prefix
67230         otherwise use "".
67231         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
67233 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67235         [BZ #10060, #10062]
67236         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
67237         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
67238         fail configure if __sync_val_compare_and_swap is not inlined.
67239         * sysdeps/i386/configure: Regenerate.
67240         * configure.in: Build for i686 when configured for i386.
67241         * configure: Regenerate.
67242         * README: Remove i386 reference.
67244 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67246         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
67247         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67249 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
67251         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
67252         (lmsnanval): New variables.
67253         (F): Add conversion tests.
67254         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
67255         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
67257         * stdio-common/tstdiomisc.c (F): Properly collect individual
67258         tests' results.
67260         [BZ #14686, #15336]
67261         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
67262         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
67263         Instead, use input NaN values or generate a qNaN by arithmetic
67264         operation.  Also fix bugs to comply with the standard.
67265         * math/libm-test.inc (remainder_test): Add more tests.
67267         [BZ #15335, #15342]
67268         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
67269         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
67270         input NaN values or generate a qNaN by arithmetic operation.
67272         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
67273         unreachable code.
67275         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
67276         definitions.
67278 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
67280         [BZ #14478]
67281         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
67282         underflowed result.
67283         * math/s_cexpf.c (__cexpf): Likewise.
67284         * math/s_cexpl.c (__cexpl): Likewise.
67285         * math/libm-test.inc (cexp_test): Add more tests.
67287 2013-04-03  Andreas Schwab  <schwab@suse.de>
67289         [BZ #15330]
67290         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
67291         order arrays from heap if bigger than alloca cutoff.
67293 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
67295         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
67296         (SNAN_TESTS_double): Refer to GCC PR56831.
67297         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
67298         GCC PR56828.
67300 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
67302         * Rules (bench): Move bench.out after the run is complete.
67304         * Rules (bench): Echo currently running benchmark.
67306         * benchtests/Makefile (bench): Add atan and slowatan.
67307         * benchtests/atan-inputs: New file.
67308         * benchtests/slowatan-inputs: New file.
67309         * benchtests/slowatan.c: New file.
67311         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
67312         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
67313         its value.
67315         [BZ #15305]
67316         * sysdeps/unix/sysv/linux/kernel-features.h
67317         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
67318         __ASSUME_XFS_RESTRICTED_CHOWN.
67319         * sysdeps/unix/sysv/linux/pathconf.c
67320         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
67321         Save and restore errno.
67323 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
67325         [BZ #15327]
67326         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
67327         arguments using __kernel_casinh.
67328         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
67329         arguments using __kernel_casinhf.
67330         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
67331         arguments using __kernel_casinhl.
67332         * math/libm-test.inc (cacosh_test): Add more tests.
67333         * sysdeps/i386/fpu/libm-test-ulps: Update.
67334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67336 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
67338         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
67339         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
67341         * bench/Makefile (bench): Add sin and slowsin.
67342         * benchtests/sin-inputs: New file.
67343         * benchtests/slowsin-inputs: New file.
67344         * benchtests/slowsin.c: New file.
67346         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
67347         (bench): Add slowexp and slowpow.
67348         (exp-ITER): Increase iterations.
67349         (pow-ITER): Likewise.
67350         * benchtests/exp-inputs: Change input.
67351         * benchtests/pow-inputs: Likewise.
67352         * benchtests/slowexp-inputs: New file.
67353         * benchtests/slowexp.c: New file.
67354         * benchtests/slowpow-inputs: New file.
67355         * benchtests/slowpow.c: New file.
67357 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67359         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
67360         instructions.
67361         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
67362         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
67363         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
67364         * benchtests/Makefile: Add rint benchtest.
67365         * benchtests/rint-inputs: Input for rint benchtest.
67367 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
67369         * Versions.def (libm): Add GLIBC_2.18.
67370         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
67371         hidden libm prototypes.
67372         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
67373         * math/Makefile (libm-calls): Add s_issignaling.
67374         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
67375         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
67376         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
67377         declaration.
67378         * math/math.h [__USE_GNU] (issignaling): New macro.
67379         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
67380         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
67381         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
67382         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
67383         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
67384         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
67385         * manual/arith.texi (issignaling): New section.
67386         * manual/libm-err-tab.pl (@all_functions): Update comment.
67387         * math/gen-libm-test.pl (parse_args): Apply special handling for
67388         issignaling.
67389         * math/libm-test.inc (print_float, issignaling_test): New
67390         functions.
67391         (check_float_internal): Add issignaling checks.
67392         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
67393         default definition.
67394         * sysdeps/powerpc/math-tests.h: New file.
67395         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
67396         tests.
67397         * math/test-snan.c (TEST_FUNC): Likewise.
67399 2013-03-30  David S. Miller  <davem@davemloft.net>
67401         * po/de.po: Update from translation team.
67403 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
67405         [BZ #10357]
67406         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67407         imaginary part less than 1.0 and real part less than 0.5
67408         specially.
67409         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67410         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67411         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
67412         (cacos_test): Add more tests.
67413         (casin_test): Likewise.
67414         (casinh_test): Likewise.
67415         * sysdeps/i386/fpu/libm-test-ulps: Update.
67416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67418 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67420         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
67421         ONE with its value.
67423         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
67424         (__pow_mp): Replace ONE and MONE with their values.
67425         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67426         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
67427         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67428         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
67429         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67430         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67432         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
67434         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
67435         (__pow_mp): Replace ZERO and MZERO with their values.
67436         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
67437         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67438         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67439         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67440         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67441         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
67442         (__sqr): Likewise.
67444         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
67446         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
67448 2013-03-28  Roland McGrath  <roland@hack.frob.com>
67450         * include/stdlib.h [!SHARED] (__call_tls_dtors):
67451         Declare with __attribute__ ((weak)).
67452         * stdlib/exit.c (__libc_atexit) [!SHARED]:
67453         Call __call_tls_dtors only if it's not NULL.
67455 2013-03-28  Roland McGrath  <roland@hack.frob.com>
67457         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
67458         didn't do it already, then set _dl_phdr and _dl_phnum based on the
67459         magic __ehdr_start linker symbol if it's defined.
67460         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
67461         them up here if it was already done.
67463         * elf/dl-support.c (_dl_phdr): Make pointer to const.
67464         (_dl_aux_init): Use const in cast when setting it.
67465         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
67466         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
67467         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
67469         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
67470         Declare them here.
67471         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
67472         * csu/libc-tls.c: Nor here.
67473         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
67475         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
67476         (__libc_message): Never call vsyslog.
67478 2013-03-28  Alan Modra  <amodra@gmail.com>
67480         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
67481         Define as empty.
67482         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
67483         Likewise.
67485 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67487         [BZ #15214]
67488         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
67489         underflow.
67490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67492 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67494         [BZ #15304]
67495         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
67496         Don't add gid passed as argument.
67498         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
67500 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
67502         [BZ #15307]
67503         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67504         imaginary part between 1.0 and 1.5 and real part less than 0.5
67505         specially.
67506         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67507         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67508         * math/libm-test.inc (cacos_test): Add more tests.
67509         (casin_test): Likewise.
67510         (casinh_test): Likewise.
67511         * sysdeps/i386/fpu/libm-test-ulps: Update.
67512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67514 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67516         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
67517         constants.
67518         (norm): Likewise.
67519         (denorm): Likewise.
67520         (__dbl_mp): Likewise.
67521         (add_magnitudes): Likewise.
67522         (sub_magnitudes): Likewise.
67523         (__add): Likewise.
67524         (__sub): Likewise.
67525         (__mul): Likewise.
67526         (__sqr): Likewise.
67527         (__inv): Likewise.
67528         (__dvd): Likewise.
67530         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
67531         commented code.
67532         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
67533         (__dubcos): Likewise.
67534         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
67535         (__ieee754_acos): Likewise.
67536         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
67537         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
67538         (__exp1): Likewise.
67539         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67540         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67541         (log1): Likewise.
67542         (my_log2): Likewise.
67543         (checkint): Likewise.
67544         * sysdeps/ieee754/dbl-64/e_remainder.c
67545         (__ieee754_remainder): Likewise.
67546         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67547         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
67548         (bsloww): Likewise.
67549         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67551         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67552         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
67553         MANTISSA_STORE_T to store computations on mantissa.  Use
67554         macros for rounding and division.
67555         (denorm): Likewise.
67556         (__dbl_mp): Likewise.
67557         (add_magnitudes): Likewise.
67558         (sub_magnitudes): Likewise.
67559         (__mul): Likewise.
67560         (__sqr): Likewise.
67561         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
67562         powers of two in terms of TWOPOW macro.
67563         (mp_no): Make type of mantissa as MANTISSA_T.
67564         [!RADIXI]: Define RADIXI.
67565         [!TWO52]: Define TWO52.
67566         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67568 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67570         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
67571         llroundl symbol when building for PPC32.
67573 2013-03-24  Mark H Weaver  <mhw@netris.org>
67575         * manual/arith.texi (Normalization Functions): Fix prototypes for
67576         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
67578 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67580         [BZ #13889]
67581         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
67582         high value to check if expl overflow.
67583         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
67584         to check for underflow and overflow.
67585         * math/libm-test.inc: Add exp test.
67587 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
67589         [BZ #11120]
67590         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
67591         with NOT_IN_libc.
67593 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67595         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
67596         symbol.
67598 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67600         * math/gen-libm-test.pl (parse_args, special_functions): Properly
67601         wrap blocks consisting of several statements.
67603         * sysdeps/generic/math-tests.h: New file.
67604         * sysdeps/i386/fpu/math-tests.h: Likewise.
67605         * math/test-snan.c: Include it.
67606         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
67608 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
67610         [BZ #15285]
67611         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
67612         (__ieee754_j0l): Do not improve calculations using cos of twice
67613         input for inputs above LDBL_MAX / 2.0L.
67614         (__ieee754_y0l): Likewise.
67615         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
67616         (__ieee754_j1l): Do not improve calculations using cos of twice
67617         input for inputs above LDBL_MAX / 2.0L.
67618         (__ieee754_y1l): Likewise.
67619         * math/libm-test.inc (j0_test): Add another test.
67620         (j1_test): Likewise.
67621         (y0_test): Likewise.
67622         (y1_test): Likewise.
67623         * sysdeps/i386/fpu/libm-test-ulps: Update.
67625 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67627         * Rules ($(objpfx)bench-%.c): Include code from a C source
67628         file.
67630 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
67632         [BZ #15287]
67633         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67634         imaginary part 1.0 and real part less than 0.5 specially.
67635         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67636         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67637         * math/libm-test.inc (cacos_test): Add more tests.
67638         (casin_test): Likewise.
67639         (casinh_test): Likewise.
67640         * sysdeps/i386/fpu/libm-test-ulps: Update.
67641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67643 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67645         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
67646         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
67648 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
67650         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
67651         * config.make.in (config-cflags-sse4): Remove variable.
67652         (config-cflags-avx): Likewise.
67653         (config-cflags-sse2avx): Likewise.
67654         (config-cflags-novzeroupper): Likewise.
67655         (config-asflags-i686): Likewise.
67656         (have-mfma4): Likewise.
67657         (have-as-vis3): Likewise.
67658         (MIG): Likewise.
67659         * configure.in (MIG): Do not AC_SUBST.
67660         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
67661         (libc_cv_cc_sse4): Do not AC_SUBST.
67662         (libc_cv_cc_avx): Likewise.
67663         (libc_cv_cc_sse2avx): Likewise.
67664         (libc_cv_cc_novzeroupper): Likewise.
67665         (libc_cv_cc_fma4): Likewise.
67666         (libc_cv_as_i686): Likewise.
67667         (libc_cv_sparc_as_vis3): Likewise.
67668         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
67669         LIBC_CONFIG_VAR.
67670         (config-asflags-i686): Likewise.
67671         (config-cflags-avx): Likewise.
67672         (config-cflags-sse2avx): Likewise.
67673         (have-mfma4): Likewise.
67674         (config-cflags-novzeroupper): Likewise.
67675         * sysdeps/mach/configure.in (MIG): Likewise.
67676         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
67677         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
67678         LIBC_CONFIG_VAR.
67679         (config-cflags-avx): Likewise.
67680         (config-cflags-sse2avx): Likewise.
67681         (have-mfma4): Likewise.
67682         (config-cflags-novzeroupper): Likewise.
67683         * configure: Regenerated.
67684         * sysdeps/i386/configure: Likewise.
67685         * sysdeps/mach/configure: Likewise.
67686         * sysdeps/sparc/configure: Likewise.
67687         * sysdeps/x86_64/configure: Likewise.
67689 2013-03-20  Roland McGrath  <roland@hack.frob.com>
67691         [BZ #14812]
67692         * locale/programs/localedef.c (options): Put N_ translation marker
67693         on argument names, not just descriptions.
67695 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67697         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
67699 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
67701         [BZ #14176]
67702         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
67704 2013-03-19  Roland McGrath  <roland@hack.frob.com>
67706         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
67707         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
67708         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
67709         [!BEFORE_ABORT] (before_abort): New function.
67710         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
67711         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
67712         (writev_for_fatal): New function.
67713         (WRITEV_FOR_FATAL): New macro; call that.
67714         (backtrace_and_maps): New function.
67715         (BEFORE_ABORT): New macro; call that.
67716         (struct str_list): Type removed.
67717         (__libc_message, __libc_fatal): Functions removed.
67718         Include <sysdeps/posix/libc_fatal.c> instead.
67720 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
67722         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
67723         constants.
67724         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
67725         double constants.
67727 2013-03-19  Andreas Schwab  <schwab@suse.de>
67729         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
67730         * sysdeps/gnu/configure: Regenerate.
67732         * configure.in: Substitute libc_cv_rtlddir.
67733         * configure: Regenerate.
67734         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
67735         * Makeconfig (rtlddir, inst_rtlddir): New variables.
67736         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
67737         * elf/Makefile (install-others, CFLAGS-interp.c)
67738         (ldso_install, common-ldd-rewrite): Likewise.
67739         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
67740         $(inst_slibdir)/$(rtld-installed-name).
67741         * scripts/rellns-sh: Add -p option.
67742         * Makerules (make-shlib-link): Use rellns-sh to get relative name
67743         for source.
67745 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67747         * manual/nptl.texi: Renamed to ...
67748         * manual/threads.texi: ... this.
67749         * manual/Makefile (chapters): Update.
67751 2013-03-18  Roland McGrath  <roland@hack.frob.com>
67753         [BZ #14812]
67754         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
67755         on argument names, not just descriptions.
67756         * malloc/memusagestat.c (options): Likewise.
67757         * nss/getent.c (options): Likewise.
67759 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
67761         [BZ #14812]
67762         * iconv/iconv_prog.c (options): Put N_ translation marker
67763         on argument names, not just descriptions.
67764         * iconv/iconvconfig.c (options): Likewise.
67766 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
67768         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
67769         implementation which is faster on all x86_64 architectures.
67770         Tested on AMD, Intel Nehalem, SNB, IVB.
67771         * sysdeps/x86_64/strnlen.S: Likewise.
67773         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
67774         Remove all multiarch strlen and strnlen versions.
67775         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
67776         Remove strlen and strnlen related parts.
67778         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
67779         Inline strlen part.
67780         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
67782         * sysdeps/x86_64/multiarch/strlen.S: Remove.
67783         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
67784         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
67785         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
67786         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67787         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
67789 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
67791         * manual/memory.texi (Malloc Tunable Parameters):
67792         Sort parameters alphabetically. Add comments for missing entries.
67794 2013-03-17  David S. Miller  <davem@davemloft.net>
67796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67798 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
67800         [BZ #15283]
67801         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
67802         for arguments at most half maximum finite value.
67803         * math/libm-test.inc (j0_test): Add more tests.
67804         (j1_test): Likewise.
67805         (y0_test): Likewise.
67806         (y1_test): Likewise.
67807         * sysdeps/i386/fpu/libm-test-ulps: Update.
67808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67810         [BZ #14155]
67811         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
67812         1 / x and functions P and Q for arguments above 0x1p256L.
67813         (__ieee754_y0l): Likewise.
67814         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
67815         (__ieee754_y1l): Likewise.
67816         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
67817         (j1_test): Likewise.
67818         (y0_test): Likewise.
67819         (y1_test): Likewise.
67821 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
67823         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
67824         variable.
67826 2013-03-15  Roland McGrath  <roland@hack.frob.com>
67828         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
67829         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
67830         zero since it's initialized to EXEC_PAGESIZE.
67832         * sysdeps/unix/sysv/linux/ldsodefs.h
67833         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
67834         * sysdeps/generic/ldsodefs.h: ... here.
67836 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
67838         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
67840         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
67841         math/test-snan.c.
67842         * math/test-snan.c: Renamed from
67843         sysdeps/powerpc/fpu/test-powerpc-snan.c.
67844         * math/Makefile (tests): Add test-snan.
67845         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
67846         test-powerpc-snan.
67848         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
67849         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
67850         functions.
67851         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
67852         __builtin_nan family of functions.
67853         * math/libm-test.inc (initialize): Initialize qnan_value with
67854         __builtin_nan family of functions.
67855         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
67856         Remove variables.
67857         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
67858         Remove functions.
67859         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
67860         storage class.  Initialize qNaN_var and sNaN_var with
67861         __builtin_nan and __builtin_nans families of functions,
67862         respectively.
67864         * math/libm-test.inc (acosh_test): Also test with qNaN input.
67865         (sqrt_test): Remove duplicate test with qNaN input.
67866         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
67867         (round_test, signbit_test, significand_test): Note missing +/-Inf
67868         as well as qNaN tests.
67870         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
67871         qNaN_var.  Fix a few strings, too.
67872         * math/libm-test.inc (nan_value): Rename to qnan_value.
67873         * math/gen-libm-test.pl (%beautify): Adjust to that.
67874         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
67875         * math/test-misc.c (main): Likewise.
67876         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
67877         to __qnan_bytes, and __qnan_union, respectively.
67878         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
67879         Likewise.
67880         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
67881         and lqnanval, respectively.
67882         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
67883         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
67884         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
67885         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
67887         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
67888         * math/test-misc.c (main) [__x86_64__]: Enable test for long
67889         doubles.
67891         * math/test-misc.c (main): Fix copy'n'pastos.
67892         * misc/tst-efgcvt.c (special): Likewise.
67894         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
67895         Remove declarations.
67897 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67899         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
67900         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
67901         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
67902         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
67904 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67906         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
67907         macro to return vdso values correctly in IFUNC implementations.
67908         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
67909         Optimization by using IFUNC.
67911 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67912             Richard Henderson  <rth@redhat.com>
67913             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67915         * Makefile.in (bench): New target.
67916         * NEWS: Mention the benchmark framework.
67917         * Rules (bench): Likewise.
67918         (binaries-bench): Generate binaries for functions to
67919         benchmark.
67920         * benchtests/Makefile: New makefile for benchmark tests.
67921         * benchtests/bench-skeleton.c: New skeleton file for benchmark
67922         programs.
67923         * benchtests/exp-inputs: New input file for EXP function.
67924         * benchtests/pow-inputs: New input file for POW function.
67925         * scripts/bench.pl: New script to generate source files for
67926         benchmark programs.
67928 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67930         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67931         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
67932         computations on mantissa.  Use macros for rounding and
67933         division.
67934         (denorm): Likewise.
67935         (__dbl_mp): Likewise.
67936         (add_magnitudes): Likewise.
67937         (sub_magnitudes): Likewise.
67938         (__mul): Likewise.
67939         (__sqr): Likewise.
67940         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
67941         powers of two in terms of TWOPOW macro.
67942         (mp_no): Make type of mantissa as MANTISSA_T.
67943         [!RADIXI]: Define RADIXI.
67944         [!TWO52]: Define TWO52.
67945         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67947         * manual/nptl.texi (cindex): Modify threads to pthreads.
67949 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
67951         * sysdeps/x86_64/preconfigure: Regenerated.
67953 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
67955         [BZ #14155]
67956         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
67957         0x1p28 and above.
67958         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
67959         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
67960         0x1p28 and above.
67961         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
67962         * math/libm-test.inc (j0_test): Do not allow one spurious
67963         underflow exception.
67964         (y1_test): Likewise.
67966 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67968         * manual/Makefile (chapters): Add nptl.
67969         * manual/debug.texi (Debugging Support): Add link to Threads
67970         chapter.
67971         * manual/nptl.texi: New file.
67973         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
67975 2013-03-14  Petr Baudis  <pasky@ucw.cz>
67977         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
67978         for non-NULL pointer before the memory validity test. Pointed
67979         out by Holger Brunck <holger.brunck@keymile.com>.
67981 2013-03-13  Andreas Schwab  <schwab@suse.de>
67983         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
67984         instead of .os.
67986 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
67988         * timezone/zic.c: Update from tzcode 2013b.
67990 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
67992         * manual/install.texi (Configuring and compiling):
67993         Mention i686 and i586.
67994         * INSTALL: Regenerate.
67996 2013-03-12  Roland McGrath  <roland@hack.frob.com>
67998         * sysdeps/init_array/elf-init.c: New file.
67999         * csu/elf-init.c
68000         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
68001         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
68003         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
68004         __gmon_start__ as global, but as static with a .preinit_array pointer.
68005         * sysdeps/init_array/gmon-start.c: New file.  Use that.
68006         * sysdeps/init_array/crti.S: New file, empty except for comments.
68007         * sysdeps/init_array/crtn.S: Likewise.
68009 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
68011         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
68012         definining bcopy.
68013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68014         Remove Prefer_SSE_for_memop.
68015         * sysdeps/x86_64/multiarch/init-arch.h: Remove
68016         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
68017         HAS_PREFER_SSE_FOR_MEMOP.
68018         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
68019         memset-x86-64.
68020         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
68021         Remove bzero, memset ifunc support.
68022         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
68023         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
68024         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68025         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68027 2013-03-11  Andreas Schwab  <schwab@suse.de>
68029         [BZ #15234]
68030         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
68031         by SHLIB_COMPAT.
68032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
68033         (GLIBC_2.16): Remove pthread_atfork.
68035 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
68037         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
68038         (ptestcases.h): Likewise.
68040 2013-03-08  Roland McGrath  <roland@hack.frob.com>
68042         * Makeconfig ($(common-objpfx)config.status): Depend on
68043         sysdeps/*/preconfigure{,.in} too.
68045 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
68047         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
68048         (__free_hook): Use void * instead of __malloc_ptr_t.
68049         (__malloc_hook): Likewise.
68050         (__realloc_hook): Likewise.
68051         (__memalign_hook): Likewise.
68052         (__after_morecore_hook): Likewise.
68053         * malloc/arena.c (save_malloc_hook): Likewise.
68054         (save_free_hook): Likewise.
68055         * malloc/hooks.c (malloc_hook_ini): Likewise.
68056         (realloc_hook_ini): Likewise.
68057         (memalign_hook_ini): Likewise.
68058         * malloc/malloc.c (malloc_hook_ini): Likewise.
68059         (realloc_hook_ini): Likewise.
68060         (memalign_hook_ini): Likewise.
68061         (__free_hook): Likewise.
68062         (__malloc_hook): Likewise.
68063         (__realloc_hook): Likewise.
68064         (__memalign_hook): Likewise.
68065         (__libc_malloc): Likewise.
68066         (__libc_free): Likewise.
68067         (__libc_realloc): Likewise.
68068         (__libc_memalign): Likewise.
68069         (__libc_valloc): Likewise.
68070         (__libc_pvalloc): Likewise.
68071         (__libc_calloc): Likewise.
68072         (__posix_memalign): Likewise.
68073         * malloc/morecore.c (__sbrk): Likewise.
68074         (__default_morecore): Likewise.
68076         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
68078         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
68079         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
68080         __malloc_ptrdiff_t.
68082         * malloc/malloc.h (__malloc_size_t): Remove macro.
68083         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
68084         __malloc_size_t.
68085         (old_memalign_hook): Likewise.
68086         (old_realloc_hook): Likewise.
68087         (struct hdr): Likewise.
68088         (flood): Likewise.
68089         (mallochook): Likewise.
68090         (memalignhook): Likewise.
68091         (reallochook): Likewise.
68092         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
68093         (tr_old_realloc_hook): Likewise.
68094         (tr_old_memalign_hook): Likewise.
68095         (tr_mallochook): Likewise.
68096         (tr_reallochook): Likewise.
68097         (tr_memalignhook): Likewise.
68099 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68101         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
68102         default_ldbl_pack and using as default implementation.
68103         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
68104         implementation.
68105         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
68106         redundant definition.
68107         (ldbl_insert_mantissa): Likewise.
68108         (ldbl_canonicalize): Likewise.
68109         (ldbl_nearbyint): Likewise.
68110         (ldbl_pack): Rename to ldbl_pack_ppc.
68111         (ldbl_unpack): Rename to ldbl_unpack_ppc.
68112         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
68113         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
68115 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
68117         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
68118         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
68119         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
68120         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
68121         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
68122         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
68123         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
68124         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
68126 2013-03-07  Andreas Jaeger  <aj@suse.de>
68128         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68129         bits/mman-linux.h.
68131 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
68133         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
68134         Include mpa.h and declare __MPEXP.
68135         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
68136         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
68137         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
68138         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
68139         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
68140         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
68141         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
68143         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
68144         (__slowpow): Use long double EXPL and LOGL functions to
68145         compute POW.
68146         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
68147         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
68148         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
68149         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
68150         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
68151         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
68153         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
68154         intermediate variable to calculate exponent.
68155         (__sqr): Likewise.
68156         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
68157         Likewise.
68158         (__sqr): Likewise.
68160         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
68161         [!NO__SQR]: Define __sqr.
68162         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
68163         and NO__SQR.  Remove all code except __mul and __sqr.  Include
68164         sysdeps/ieee754/dbl-64/mpa.c.
68165         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68167         [BZ #12723]
68168         * posix/Makefile (tests): Add tst-pathconf.
68169         * posix/tst-pathconf.c: New test case.
68170         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
68171         _PC_PIPE_BUF.
68172         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
68174 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
68176         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
68178 2013-03-06  Andreas Jaeger  <aj@suse.de>
68180         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
68181         definition via __MAP_ANONYMOUS.
68183         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
68184         it's not part of Linux headers.
68186         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
68187         (MAP_HUGE_MASK): Define.
68189         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68190         Define.
68191         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68192         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68193         Define.
68194         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68195         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68196         Define.
68197         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68198         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
68199         Define.
68200         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68202         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
68203         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
68204         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
68205         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
68206         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
68207         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
68209         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
68210         Handle f2fs.
68212         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68213         Handle f2fs and efivarfs.
68215         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
68216         f2fs.
68218         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
68219         (EFIVARFS_MAGIC): Add.
68220         (F2FS_LINK_MAX): Add.
68222 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68224         * stdio-common/vfprintf.c: Replace __builtin_expect with
68225         __glibc_unlikely.
68227 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
68229         [BZ #13550]
68230         * sysdeps/generic/bp-sym.h: Remove file.
68231         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
68232         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
68233         <bp-sym.h> and <bp-asm.h>.
68234         (__longjmp): Don't use BP_SYM.
68235         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
68236         and <bp-asm.h>.
68237         (memcpy): Don't use BP_SYM.
68238         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
68239         <bp-sym.h> and <bp-asm.h>.
68240         (memcpy): Don't use BP_SYM.
68241         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
68242         <bp-asm.h>.
68243         (memcpy): Don't use BP_SYM.
68244         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
68245         <bp-asm.h>.
68246         (memset): Don't use BP_SYM.
68247         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68248         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68249         (__bzero): Don't use BP_SYM.
68250         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68251         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68252         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
68253         <bp-sym.h> and <bp-asm.h>.
68254         (memcmp): Don't use BP_SYM.  Remove comment about bounded
68255         pointers.
68256         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
68257         <bp-sym.h> and <bp-asm.h>.
68258         (memcpy): Don't use BP_SYM.
68259         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
68260         <bp-sym.h> and <bp-asm.h>.
68261         (memset): Don't use BP_SYM.
68262         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68263         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68264         (__bzero): Don't use BP_SYM.
68265         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68266         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68267         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
68268         <bp-sym.h> and <bp-asm.h>.
68269         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68270         pointers.
68271         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
68272         <bp-sym.h> and <bp-asm.h>.
68273         (memcpy): Don't use BP_SYM.
68274         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
68275         <bp-sym.h> and <bp-asm.h>.
68276         (memset): Don't use BP_SYM.
68277         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68278         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68279         (__bzero): Don't use BP_SYM.
68280         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68281         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68282         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
68283         <bp-sym.h> and <bp-asm.h>.
68284         (__memchr): Don't use BP_SYM.
68285         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
68286         <bp-sym.h> and <bp-asm.h>.
68287         (memcmp): Don't use BP_SYM.  Remove comment about bounded
68288         pointers.
68289         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
68290         <bp-sym.h> and <bp-asm.h>.
68291         (memcpy): Don't use BP_SYM.
68292         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
68293         <bp-sym.h> and <bp-asm.h>.
68294         (__mempcpy): Don't use BP_SYM.
68295         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
68296         <bp-sym.h> and <bp-asm.h>.
68297         (__memrchr): Don't use BP_SYM.
68298         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
68299         <bp-sym.h> and <bp-asm.h>.
68300         (memset): Don't use BP_SYM.
68301         (__bzero): Likewise.
68302         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
68303         <bp-sym.h> and <bp-asm.h>.
68304         (__rawmemchr): Don't use BP_SYM.
68305         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
68306         <bp-sym.h> and <bp-asm.h>.
68307         (__STRCMP): Don't use BP_SYM.
68308         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
68309         <bp-sym.h> and <bp-asm.h>.
68310         (strchr): Don't use BP_SYM.
68311         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
68312         <bp-sym.h> and <bp-asm.h>.
68313         (__strchrnul): Don't use BP_SYM.
68314         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
68315         <bp-sym.h> and <bp-asm.h>.
68316         (strlen): Don't use BP_SYM.
68317         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
68318         <bp-sym.h> and <bp-asm.h>.
68319         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68320         pointers.
68321         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
68322         <bp-sym.h> and <bp-asm.h>.
68323         (__strnlen): Don't use BP_SYM.
68324         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
68325         <bp-sym.h> and <bp-asm.h>.
68326         (__GI__setjmp): Don't use BP_SYM.
68327         (_setjmp): Likewise.
68328         (__sigsetjmp): Likewise.
68329         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
68330         (L(start_addresses)): Don't use BP_SYM.
68331         (_start): Likewise.
68332         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
68333         <bp-asm.h>.
68334         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
68335         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
68336         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68337         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68338         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
68339         <bp-asm.h>.
68340         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
68341         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
68342         about bounded pointers.
68343         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68344         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68345         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
68346         <bp-asm.h>.
68347         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
68348         about bounded pointers.  Remove GKM FIXME comments.
68349         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68350         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
68351         <bp-asm.h>.
68352         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
68353         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
68354         Remove GKM FIXME comments.
68355         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68356         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68357         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
68358         <bp-asm.h>.
68359         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
68360         about bounded pointers.  Remove GKM FIXME comment.
68361         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
68362         and <bp-asm.h>.
68363         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68364         pointers.
68365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
68366         <bp-sym.h> and <bp-asm.h>.
68367         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
68369         <bp-sym.h> and <bp-asm.h>.
68370         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
68371         comment.
68373 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68375         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
68376         call free(NULL).
68378 2013-03-05  David S. Miller  <davem@davemloft.net>
68380         * po/es.po: Update from translation team.
68382 2013-03-05  Andreas Jaeger  <aj@suse.de>
68384         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
68385         <bits/mman-linux.h>.
68386         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68387         is fine.
68388         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
68389         <bits/mman-linux.h> to end of file.
68390         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68391         is fine.
68392         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
68393         <bits/mman-linux.h> to end of file.
68394         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68395         is fine.
68396         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
68397         <bits/mman-linux.h> to end of file.
68399         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
68400         (MCL_CURRENT, MCL_FUTURE): Define here.
68402 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68404         [BZ #15232]
68405         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
68406         attribute_hidden.
68407         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68409 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68411         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
68412         fourth parameter needed for rt_sigprocmask syscall.
68413         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
68414         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
68415         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
68416         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
68417         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
68418         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
68420 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
68422         [BZ #13550]
68423         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
68424         comment about bounded pointers.
68425         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
68426         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
68428 2013-03-04  Andreas Jaeger  <aj@suse.de>
68430         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
68431         common definitions.
68433         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
68434         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
68435         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
68436         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68437         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
68438         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68440 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68442         [BZ #15055]
68443         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
68444         __ieee754_sqrl instead of __sqrl.
68446 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
68448         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
68449         * sysdeps/powerpc/fpu_control.h: ... here.
68450         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
68451         * sysdeps/powerpc/bits/fenvinline.h: ... here.
68452         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
68453         * sysdeps/powerpc/bits/mathinline.h: ... here.
68455 2013-03-01  Roland McGrath  <roland@hack.frob.com>
68457         * elf/dl-hwcaps.c (_dl_important_hwcaps):
68458         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
68459         to just [NEED_DL_SYSINFO_DSO].
68460         * elf/dl-support.c: Likewise.
68461         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
68462         * elf/rtld.c (dl_main): Likewise.
68463         * elf/setup-vdso.h (setup_vdso): Likewise.
68464         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
68465         * sysdeps/unix/sysv/linux/dl-sysdep.c
68466         (_dl_discover_osversion): Likewise.
68468 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
68470         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
68471         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
68473 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
68475         * NEWS: Mention libm performance improvements and non-x86 PI
68476         futex support.
68478         * csu/libc-start.c (__pthread_initialize_minimal): Change
68479         function arguments.
68480         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
68482 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
68484         [BZ #13550]
68485         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
68486         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
68487         <bp-sym.h> and <bp-asm.h>.
68488         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68489         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
68490         and <bp-asm.h>.
68491         (memcpy): Don't use BP_SYM.
68492         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
68493         <bp-asm.h>.
68494         (__mpn_add_n): Don't use BP_SYM.
68495         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
68496         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
68497         and <bp-asm.h>.
68498         (__mpn_addmul_1): Don't use BP_SYM.
68499         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68500         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
68501         <bp-sym.h>.
68502         (_setjmp): Don't use BP_SYM.
68503         (__novmx_setjmp): Likewise.
68504         (__GI__setjmp): Likewise.
68505         (__vmx_setjmp): Likewise.
68506         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
68507         <bp-sym.h>.
68508         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
68509         (__bzero): Don't use BP_SYM.
68510         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68511         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68512         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
68513         <bp-sym.h> and <bp-asm.h>.
68514         (memcpy): Don't use BP_SYM.
68515         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
68516         <bp-sym.h> and <bp-asm.h>.
68517         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68518         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
68519         <bp-sym.h> and <bp-asm.h>.
68520         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68521         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
68522         <bp-asm.h>.
68523         (__mpn_lshift): Don't use BP_SYM.
68524         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68525         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
68526         <bp-asm.h>.
68527         (memset): Don't use BP_SYM.
68528         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68529         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68530         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
68531         <bp-asm.h>.
68532         (__mpn_mul_1): Don't use BP_SYM.
68533         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68534         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
68535         <bp-sym.h> and <bp-asm.h>.
68536         (memcmp): Don't use BP_SYM.
68537         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
68538         <bp-sym.h> and <bp-asm.h>.
68539         (memcpy): Don't use BP_SYM.
68540         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
68541         <bp-sym.h> and <bp-asm.h>.
68542         (memset): Don't use BP_SYM.
68543         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
68544         <bp-sym.h> and <bp-asm.h>.
68545         (strncmp): Don't use BP_SYM.
68546         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
68547         <bp-sym.h> and <bp-asm.h>.
68548         (memcpy): Don't use BP_SYM.
68549         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
68550         <bp-sym.h> and <bp-asm.h>.
68551         (memset): Don't use BP_SYM.
68552         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
68553         <bp-sym.h> and <bp-asm.h>.
68554         (__memchr): Don't use BP_SYM.
68555         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
68556         <bp-sym.h> and <bp-asm.h>.
68557         (memcmp): Don't use BP_SYM.
68558         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
68559         <bp-sym.h> and <bp-asm.h>.
68560         (memcpy): Don't use BP_SYM.
68561         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
68562         <bp-sym.h> and <bp-asm.h>.
68563         (__mempcpy): Don't use BP_SYM.
68564         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
68565         <bp-sym.h> and <bp-asm.h>.
68566         (__memrchr): Don't use BP_SYM.
68567         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
68568         <bp-sym.h> and <bp-asm.h>.
68569         (memset): Don't use BP_SYM.
68570         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
68571         <bp-sym.h> and <bp-asm.h>.
68572         (__rawmemchr): Don't use BP_SYM.
68573         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
68574         <bp-sym.h> and <bp-asm.h>.
68575         (__STRCMP): Don't use BP_SYM.
68576         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
68577         <bp-sym.h> and <bp-asm.h>.
68578         (strchr): Don't use BP_SYM.
68579         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
68580         <bp-sym.h> and <bp-asm.h>.
68581         (__strchrnul): Don't use BP_SYM.
68582         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
68583         <bp-sym.h> and <bp-asm.h>.
68584         (strlen): Don't use BP_SYM.
68585         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
68586         <bp-sym.h> and <bp-asm.h>.
68587         (strncmp): Don't use BP_SYM.
68588         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
68589         <bp-sym.h> and <bp-asm.h>.
68590         (__strnlen): Don't use BP_SYM.
68591         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
68592         <bp-asm.h>.
68593         (__mpn_rshift): Don't use BP_SYM.
68594         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68595         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
68596         <bp-sym.h> and <bp-asm.h>.
68597         (__sigsetjmp): Don't use BP_SYM.
68598         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
68599         (L(start_addresses)): Don't use BP_SYM.
68600         (_start): Likewise.
68601         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
68602         <bp-asm.h>.
68603         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
68604         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68605         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68606         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
68607         <bp-asm.h>.
68608         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
68609         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68610         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68611         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
68612         <bp-asm.h>.
68613         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
68614         comments.
68615         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68616         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
68617         <bp-asm.h>.
68618         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
68619         FIXME comments.
68620         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68621         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68622         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
68623         <bp-asm.h>.
68624         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
68625         comment.
68626         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
68627         and <bp-asm.h>.
68628         (strncmp): Don't use BP_SYM,
68629         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
68630         <bp-asm.h>.
68631         (__mpn_sub_n): Don't use BP_SYM.
68632         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68633         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
68634         and <bp-asm.h>.
68635         (__mpn_submul_1): Don't use BP_SYM.
68636         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
68638         <bp-sym.h> and <bp-asm.h>.
68639         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
68641         <bp-sym.h> and <bp-asm.h>.
68642         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
68643         comment.
68645 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68647         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
68648         Use ZK to minimize writes to Z.
68649         (sub_magnitudes): Simplify code a bit.
68650         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
68651         Use ZK to minimize writes to Z.
68652         (sub_magnitudes): Simplify code a bit.
68654 2013-02-27  Roland McGrath  <roland@hack.frob.com>
68656         * csu/gmon-start.c: Add special exception to license text.
68658 2013-02-27  Richard Henderson  <rth@redhat.com>
68660         * scripts/config.guess: Update from config.git.
68661         * scripts/config.sub: Likewise.
68663 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68665         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
68667         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
68669         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
68671         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
68673         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
68675 2013-02-26  Roland McGrath  <roland@hack.frob.com>
68677         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
68678         [$(build-shared = yes].
68680 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68682         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
68683         (__mul): Reduce iterations for calculating mantissa.
68685         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
68686         MPTWO.
68687         (__mpranred): Likewise.
68689         [BZ #15160]
68690         * malloc/memusagestat.c (main): Draw graphs for heap and stack
68691         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
68693 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
68695         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
68696         Define __attribute__.
68698 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68700         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
68701         unused.
68702         * posix/regex_internal.h (__attribute): Remove.
68703         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
68704         (re_string_context_at): Likewise.
68705         (bitset_not): Use __attribute__ and mark function as possibly
68706         unused.
68707         (bitset_merge): Likewise.
68708         (bitset_mask): Likewise.
68709         (re_string_char_size_at): Likewise.
68710         (re_string_wchar_at): Likewise.
68711         (re_string_elem_size_at): Likewise.
68713 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68715         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
68716         code.
68717         (cc32): Likewise.
68719         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
68720         (__acr): Likewise.
68721         (__cpy): Likewise.
68722         (norm): Likewise.
68723         (denorm): Likewise.
68724         (__dbl_mp): Likewise.
68725         (add_magnitudes): Likewise.
68726         (sub_magnitudes): Likewise.
68727         (__mul): Likewise.
68728         (__inv): Likewise.
68730         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
68731         style.
68733         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
68734         style.
68736         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
68737         code.
68739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
68740         up changes with default code.
68741         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
68742         Likewise.
68744 2013-02-24  Allan McRae  <allan@archlinux.org>
68746         * manual/socket.texi (The Internet Namespace): Order menu items
68747         to match that in the file.
68749         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
68750         node listing of the info page menu.
68752 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
68754         [BZ #13550]
68755         * sysdeps/i386/bp-asm.h: Remove file.
68756         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68757         (PARMS): Do not use macros from bp-asm.h.
68758         (S1): Likewise.
68759         (S2): Likewise.
68760         (SIZE): Likewise.
68761         (__mpn_add_n): Do not use BP_SYM
68762         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
68763         "bp-asm.h".
68764         (PARMS): Do not use macros from bp-asm.h.
68765         (S1): Likewise.
68766         (SIZE): Likewise.
68767         (__mpn_addmul_1): Do not use BP_SYM
68768         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
68769         "bp-asm.h".
68770         (PARMS): Do not use macros from bp-asm.h.
68771         (SIGMSK): Likewise.
68772         (_setjmp): Likewise.  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/fpu/s_frexp.S: Do not include "bp-sym.h" and
68779         "bp-asm.h".
68780         (PARMS): Do not use macros from bp-asm.h.
68781         (__frexp): Do not use BP_SYM.
68782         (frexp): Likewise.
68783         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
68784         "bp-asm.h".
68785         (PARMS): Do not use macros from bp-asm.h.
68786         (__frexpf): Do not use BP_SYM.
68787         (frexpf): Likewise.
68788         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
68789         "bp-asm.h".
68790         (PARMS): Do not use macros from bp-asm.h.
68791         (__frexpl): Do not use BP_SYM.
68792         (frexpl): Likewise.
68793         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
68794         "bp-asm.h".
68795         (PARMS): Do not use macros from bp-asm.h.
68796         (__remquo): Do not use BP_SYM.
68797         (remquo): Likewise.
68798         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
68799         "bp-asm.h".
68800         (PARMS): Do not use macros from bp-asm.h.
68801         (__remquof): Do not use BP_SYM.
68802         (remquof): Likewise.
68803         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
68804         "bp-asm.h".
68805         (PARMS): Do not use macros from bp-asm.h.
68806         (__remquol): Do not use BP_SYM.
68807         (remquol): Likewise.
68808         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
68809         "bp-asm.h".
68810         (PARMS): Do not use macros from bp-asm.h.
68811         (DEST): Likewise.
68812         (SRC): Likewise.
68813         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
68814         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
68815         "bp-asm.h".
68816         (PARMS): Do not use macros from bp-asm.h.
68817         (strlen): Do not use BP_SYM.
68818         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
68819         "bp-asm.h".
68820         (PARMS): Do not use macros from bp-asm.h.
68821         (S1): Likewise.
68822         (S2): Likewise.
68823         (SIZE): Likewise.
68824         (__mpn_add_n): Do not use BP_SYM.
68825         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
68826         "bp-asm.h".
68827         (PARMS): Do not use macros from bp-asm.h.
68828         (S1): Likewise.
68829         (SIZE): Likewise.
68830         (__mpn_addmul_1): Do not use BP_SYM.
68831         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
68832         weak_alias.
68833         (bzero): Likewise.
68834         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
68835         "bp-asm.h".
68836         (PARMS): Do not use macros from bp-asm.h.
68837         (S): Likewise.
68838         (SIZE): Likewise.
68839         (__mpn_lshift): Do not use BP_SYM.
68840         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
68841         "bp-asm.h".
68842         (PARMS): Do not use macros from bp-asm.h.
68843         (DEST): Likewise.
68844         (SRC): Likewise.
68845         (LEN): Likewise.
68846         (memcpy): Likewise.  Do not use BP_SYM.
68847         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
68848         libc_hidden_def and weak_alias.
68849         (mempcpy): Do not use BP_SYM in weak_alias.
68850         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
68851         "bp-asm.h".
68852         (PARMS): Do not use macros from bp-asm.h.
68853         (DEST): Likewise.
68854         (LEN): Likewise.
68855         [!BZERO_P] (CHR): Likewise.
68856         (memset): Likewise.  Do not use BP_SYM.
68857         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
68858         "bp-asm.h".
68859         (PARMS): Do not use macros from bp-asm.h.
68860         (S1): Likewise.
68861         (SIZE): Likewise.
68862         (__mpn_mul_1): Do not use BP_SYM.
68863         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
68864         "bp-asm.h".
68865         (PARMS): Do not use macros from bp-asm.h.
68866         (S): Likewise.
68867         (SIZE): Likewise.
68868         (__mpn_rshift): Do not use BP_SYM.
68869         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
68870         "bp-asm.h".
68871         (PARMS): Do not use macros from bp-asm.h.
68872         (STR): Likewise.
68873         (CHR): Likewise.
68874         (strchr): Likewise.  Do not use BP_SYM.
68875         (index): Do not use BP_SYM in weak_alias.
68876         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
68877         "bp-asm.h".
68878         (PARMS): Do not use macros from bp-asm.h.
68879         (DEST): Likewise.
68880         (SRC): Likewise.
68881         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
68882         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
68883         "bp-asm.h".
68884         (PARMS): Do not use macros from bp-asm.h.
68885         (strlen): Do not use BP_SYM.
68886         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
68887         "bp-asm.h".
68888         (PARMS): Do not use macros from bp-asm.h.
68889         (S1): Likewise.
68890         (S2): Likewise.
68891         (SIZE): Likewise.
68892         (__mpn_sub_n): Do not use BP_SYM.
68893         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
68894         "bp-asm.h".
68895         (PARMS): Do not use macros from bp-asm.h.
68896         (S1): Likewise.
68897         (SIZE): Likewise.
68898         (__mpn_submul_1): Do not use BP_SYM.
68899         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
68900         "bp-asm.h".
68901         (PARMS): Do not use macros from bp-asm.h.
68902         (S1): Likewise.
68903         (S2): Likewise.
68904         (SIZE): Likewise.
68905         (__mpn_add_n): Do not use BP_SYM.
68906         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
68907         weak_alias.
68908         (bzero): Likewise.
68909         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
68910         "bp-asm.h".
68911         (PARMS): Do not use macros from bp-asm.h.
68912         (BLK2): Likewise.
68913         (LEN): Likewise.
68914         (memcmp): Do not use BP_SYM.
68915         (bcmp): Do not use BP_SYM in weak_alias.
68916         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
68917         "bp-asm.h".
68918         (PARMS): Do not use macros from bp-asm.h.
68919         (DEST): Likewise.
68920         (SRC): Likewise.
68921         (LEN): Likewise.
68922         (memcpy): Likewise.  Do not use BP_SYM.
68923         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
68924         "bp-asm.h".
68925         (PARMS): Do not use macros from bp-asm.h.
68926         (DEST): Likewise.
68927         (SRC): Likewise.
68928         (LEN): Likewise.
68929         (memmove): Likewise.  Do not use BP_SYM.
68930         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
68931         "bp-asm.h".
68932         (PARMS): Do not use macros from bp-asm.h.
68933         (DEST): Likewise.
68934         (SRC): Likewise.
68935         (LEN): Likewise.
68936         (__mempcpy): Likewise.  Do not use BP_SYM.
68937         (mempcpy): Do not use BP_SYM in weak_alias.
68938         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
68939         "bp-asm.h".
68940         (PARMS): Do not use macros from bp-asm.h.
68941         (DEST): Likewise.
68942         (LEN): Likewise.
68943         [!BZERO_P] (CHR): Likewise.
68944         (memset): Likewise.  Do not use BP_SYM.
68945         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
68946         "bp-asm.h".
68947         (PARMS): Do not use macros from bp-asm.h.
68948         (STR2): Likewise.
68949         (strcmp): Do not use BP_SYM.
68950         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
68951         "bp-asm.h".
68952         (PARMS): Do not use macros from bp-asm.h.
68953         (STR): Likewise.
68954         (DELIM): Likewise.
68955         [USE_AS_STRTOK_R] (SAVE): Likewise.
68956         (FUNCTION): Likewise.  Do not use BP_SYM.
68957         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
68958         aliases.
68959         (strtok_r): Likewise.
68960         (__GI___strtok_r): Likewise.
68961         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68962         (PARMS): Do not use macros from bp-asm.h.
68963         (S): Likewise.
68964         (SIZE): Likewise.
68965         (__mpn_lshift): Do not use BP_SYM.
68966         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
68967         (PARMS): Do not use macros from bp-asm.h.
68968         (STR): Likewise.
68969         (CHR): Likewise.
68970         (__memchr): Do not use BP_SYM.
68971         (memchr): Do not use BP_SYM in weak_alias.
68972         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68973         (PARMS): Do not use macros from bp-asm.h.
68974         (BLK2): Likewise.
68975         (LEN): Likewise.
68976         (memcmp): Do not use BP_SYM.
68977         (bcmp): Do not use BP_SYM in weak_alias.
68978         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
68979         (PARMS): Do not use macros from bp-asm.h.
68980         (S1): Likewise.
68981         (SIZE): Likewise.
68982         (__mpn_mul_1): Do not use BP_SYM.
68983         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
68984         "bp-asm.h".
68985         (PARMS): Do not use macros from bp-asm.h.
68986         (STR): Likewise.
68987         (CHR): Likewise.
68988         (__rawmemchr): Do not use BP_SYM.
68989         (rawmemchr): Do not use BP_SYM in weak_alias.
68990         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68991         (PARMS): Do not use macros from bp-asm.h.
68992         (S): Likewise.
68993         (SIZE): Likewise.
68994         (__mpn_rshift): Do not use BP_SYM.
68995         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68996         (PARMS): Do not use macros from bp-asm.h.
68997         (SIGMSK): Likewise.
68998         (__sigsetjmp): Likewise.  Do not use BP_SYM.
68999         * sysdeps/i386/start.S: Do not include "bp-sym.h".
69000         (_start): Do not use BP_SYM.
69001         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
69002         (PARMS): Do not use macros from bp-asm.h.
69003         (DEST): Likewise.
69004         (SRC): Likewise.
69005         (__stpcpy): Likewise.  Do not use BP_SYM.
69006         (stpcpy): Do not use BP_SYM in weak_alias.
69007         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
69008         "bp-asm.h".
69009         (PARMS): Do not use macros from bp-asm.h.
69010         (DEST): Likewise.
69011         (SRC): Likewise.
69012         (LEN): Likewise.
69013         (__stpncpy): Likewise.  Do not use BP_SYM.
69014         (stpncpy): Do not use BP_SYM in weak_alias.
69015         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
69016         (PARMS): Do not use macros from bp-asm.h.
69017         (STR): Likewise.
69018         (CHR): Likewise.
69019         (strchr): Likewise.  Do not use BP_SYM.
69020         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
69021         "bp-asm.h".
69022         (PARMS): Do not use macros from bp-asm.h.
69023         (STR): Likewise.
69024         (CHR): Likewise.
69025         (__strchrnul): Likewise.  Do not use BP_SYM.
69026         (strchrnul): Do not use BP_SYM in weak_alias.
69027         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
69028         "bp-asm.h".
69029         (PARMS): Do not use macros from bp-asm.h.
69030         (STOP): Likewise.
69031         (strcspn): Do not use BP_SYM.
69032         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
69033         "bp-asm.h".
69034         (PARMS): Do not use macros from bp-asm.h.
69035         (STR): Likewise.
69036         (STOP): Likewise.
69037         (strpbrk): Likewise.  Do not use BP_SYM.
69038         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
69039         "bp-asm.h".
69040         (PARMS): Do not use macros from bp-asm.h.
69041         (STR): Likewise.
69042         (CHR): Likewise.
69043         (strrchr): Likewise.  Do not use BP_SYM.
69044         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
69045         (PARMS): Do not use macros from bp-asm.h.
69046         (SKIP): Likewise.
69047         (strspn): Do not use BP_SYM.
69048         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
69049         (PARMS): Do not use macros from bp-asm.h.
69050         (STR): Likewise.
69051         (DELIM): Likewise.
69052         (SAVE): Likewise.
69053         (FUNCTION): Likewise.  Do not use BP_SYM.
69054         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
69055         aliases.
69056         (strtok_r): Likewise.
69057         (__GI___strtok_r): Likewise.
69058         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
69059         (PARMS): Do not use macros from bp-asm.h.
69060         (S1): Likewise.
69061         (S2): Likewise.
69062         (SIZE): Likewise.
69063         (__mpn_sub_n): Do not use BP_SYM.
69064         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
69065         "bp-asm.h".
69066         (PARMS): Do not use macros from bp-asm.h.
69067         (S1): Likewise.
69068         (SIZE): Likewise.
69069         (__mpn_submul_1): Do not use BP_SYM.
69070         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
69071         <bp-sym.h>.
69072         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
69073         and <bp-asm.h>.
69074         (PARMS): Do not use macros from bp-asm.h.
69075         (FLAGS): Likewise.
69076         (PTID): Likewise.
69077         (TLS): Likewise.
69078         (CTID): Likewise.
69079         (__clone): Do not use BP_SYM.
69080         (clone): Do not use BP_SYM in weak_alias.
69081         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
69082         and <bp-asm.h>.
69083         (PARMS): Do not use macros from bp-asm.h.
69084         (LEN): Likewise.
69085         (__mmap64): Do not use BP_SYM.
69086         (mmap64): Do not use BP_SYM in weak_alias.
69087         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
69088         <bp-sym.h> and <bp-asm.h>.
69089         (PARMS): Do not use macros from bp-asm.h.
69090         (__posix_fadvise64_l64): Do not use BP_SYM.
69091         * sysdeps/unix/sysv/linux/i386/semtimedop.S
69092         (PARMS): Do not use macros from bp-asm.h.
69093         (NSOPS): Likewise.
69094         (semtimedop): Do not use BP_SYM.
69095         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
69096         and <bp-asm.h>.
69098 2013-02-21  Allan McRae  <allan@archlinux.org>
69100         * manual/message.texi (Charset conversion in gettext):
69101         Move @end statement to beginning of line.
69103 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69105         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
69106         static.
69107         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
69108         Likewise.
69110         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
69111         (denorm): Likewise.
69112         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
69113         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
69115 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69117         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
69118         tail-call to the resolved function if pltexit isn't needed.
69120 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69122         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
69123         or Y being zero as being unlikely.
69124         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69125         Likewise.
69127 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
69129         * manual/nss.texi (System Databases and Name Service Switch):
69130         Remove frobnicate @pxref.
69132 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
69134         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
69135         __attribute__ ((unused)) to __attribute__ ((__unused__)).
69137 2013-02-20  Petr Machata  <pmachata@redhat.com>
69139         * elf/elf.h (R_ARM_TARGET1): New macro.
69140         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
69141         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
69142         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
69143         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
69144         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
69145         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
69146         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
69147         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
69148         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
69149         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
69150         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
69151         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
69152         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
69153         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
69154         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
69155         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
69156         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
69157         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
69158         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
69159         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
69160         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
69161         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
69162         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
69163         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
69164         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
69165         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
69166         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
69167         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
69168         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
69169         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
69170         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
69171         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
69172         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
69173         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
69174         (R_ARM_THM_GOT_BREL12): Likewise.
69175         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
69176         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
69177         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
69178         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
69179         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
69180         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
69181         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
69182         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
69183         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
69185 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
69187         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
69188         __attribute_used__ to __attribute__ ((unused)).
69190 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69192         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
69193         powerpc mpa.c.
69194         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
69195         comment formatting.
69196         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
69198 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
69200         [BZ #13550]
69201         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
69202         Remove macro.
69203         (ENTER): Remove both macro definitions.
69204         (LEAVE): Likewise.
69205         (CHECK_BOUNDS_LOW): Likewise.
69206         (CHECK_BOUNDS_HIGH): Likewise.
69207         (CHECK_BOUNDS_BOTH): Likewise.
69208         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
69209         (RETURN_BOUNDED_POINTER): Likewise.
69210         (RETURN_NULL_BOUNDED_POINTER): Likewise.
69211         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
69212         (POP_ERRNO_LOCATION_RETURN): Likewise.
69213         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
69214         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69215         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
69216         macros.
69217         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69218         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
69219         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
69220         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
69221         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
69222         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
69223         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
69224         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
69225         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
69226         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
69227         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
69228         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
69229         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69230         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
69231         removed macros.
69232         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69233         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
69234         macros.
69235         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69236         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
69237         * sysdeps/i386/i586/memset.S (memset): Likewise.
69238         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
69239         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69240         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
69241         macros.
69242         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69243         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
69244         Change uses of L(2) to L(out).
69245         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
69246         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
69247         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
69248         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69249         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
69250         removed macros.
69251         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69252         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
69253         macros.
69254         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69255         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
69256         (RETURN): Do not use macro LEAVE.
69257         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
69258         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
69259         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
69260         * sysdeps/i386/i686/memset.S (memset): Likewise.
69261         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
69262         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
69263         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69264         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
69265         Likewise.
69266         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69267         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
69268         L(1_2) and L(1_3) into L(1).
69269         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69270         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
69271         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69272         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
69273         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69274         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
69275         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
69276         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69277         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
69278         macros.
69279         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
69280         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69281         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
69282         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
69283         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
69284         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69285         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
69286         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
69287         * sysdeps/i386/strcspn.S (strcspn): Likewise.
69288         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
69289         * sysdeps/i386/strrchr.S (strrchr): Likewise.
69290         * sysdeps/i386/strspn.S (strspn): Likewise.
69291         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
69292         conditional code.
69293         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69294         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
69295         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69296         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
69297         L(1_3) into L(1_1).
69298         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
69299         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69300         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
69301         macros.
69302         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69304 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
69306         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
69307         macro.
69309 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69311         * math/atest-exp.c (exp_mpn): Remove ROUND.
69312         * math/atest-exp2.c (exp_mpn): Likewise.
69313         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
69315         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
69316         * stdlib/tst-tls-atexit-lib.c: Likewise.
69317         * stdlib/tst-tls-atexit.c: Likewise.
69319 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69321         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
69322         and __attribute_alloc_size__.
69324 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69326         * include/programs/xmalloc.h: Change __attribute_alloc_size to
69327         __attribute_alloc_size__.
69328         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
69329         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
69331 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69333         * include/programs/xmalloc.h: New file.
69334         * catgets/gencat.c: Include it.
69335         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
69336         * elf/pldd.c: Likewise.
69337         * iconv/iconv_charmap.c: Likewise.
69338         * iconv/iconvconfig.c: Likewise.
69339         * iconv/strtab.c: Likewise.
69340         * locale/programs/locale.c: Likewise.
69341         * locale/programs/localedef.h: Likewise.
69342         * locale/programs/simple-hash.c: Likewise.
69343         * nscd/nscd.h: Likewise.
69344         * nss/makedb.c: Likewise.
69345         * sysdeps/generic/ldconfig.h: Likewise.
69347 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69349         * Versions.def: Add GLIBC_2.18.
69350         * include/link.h (struct link_map): New member l_tls_dtor_count.
69351         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
69352         (__call_tls_dtors): Likewise.
69353         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
69354         __cxa_thread_atexit_impl.
69355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69356         Likewise.
69357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69358         Likewise.
69359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
69360         Likewise.
69361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
69362         Likewise.
69363         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
69365         Likewise.
69366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
69367         Likewise.
69368         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69370         Likewise.
69371         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
69372         (tests): Add test case tst-tls-atexit.
69373         (modules-names): Add shared library for tst-tls-atexit.
69374         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
69375         (GLIBC_PRIVATE): Add __call_tls_dtors.
69376         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
69377         for libstdc++.
69378         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
69379         * stdlib/tst-tls-atexit.c: New test case.
69380         * stdlib/tst-tls-atexit-lib.c: New test case.
69382         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
69384         * elf/Versions (ld): Add _dl_find_dso_for_object.
69385         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
69386         * elf/dl-open.c (_dl_find_dso_for_object): New function.
69387         (dl_open_worker): Use _dl_find_dso_for_object.
69388         * elf/dl-sym.c (do_sym): Likewise.
69389         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
69391 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69393         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
69394         Syntactic changes only.
69395         (_dl_runtime_profile): Do a tail-call to the resolved function.
69397 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
69399         [BZ #13550]
69400         * sysdeps/x86_64/bp-asm.h: Remove file.
69401         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
69402         <bp-sym.h> and <bp-asm.h>.
69403         (__clone): Do not use BP_SYM.
69404         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
69405         <bp-sym.h> and <bp-asm.h>.
69406         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69407         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
69408         "bp-asm.h".
69409         (_setjmp): Do not use BP_SYM.
69410         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
69411         "bp-asm.h".
69412         (setjmp): Do not use BP_SYM.
69413         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
69414         libc_hidden_def.
69415         (mempcpy): Do not use BP_SYM in weak_alias.
69416         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
69417         "bp-asm.h".
69418         (strchr): Do not use BP_SYM.
69419         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
69420         "bp-asm.h".
69421         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
69422         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
69423         (_start): Do not use BP_SYM.
69424         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
69425         "bp-asm.h".
69426         (strcat): Do not use BP_SYM.
69427         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
69428         "bp-asm.h".
69429         (STRCMP): Do not use BP_SYM.
69430         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
69431         "bp-asm.h".
69432         (STRCPY): Do not use BP_SYM.
69433         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
69434         "bp-asm.h".
69435         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
69436         "bp-asm.h".
69437         (FUNCTION): Do not use BP_SYM.
69438         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
69439         weak_alias.
69440         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
69442 2013-02-17  Andreas Jaeger  <aj@suse.de>
69444         * time/Versions: Sort entries.
69445         * string/Versions: Likewise.
69446         * resolv/Versions: Likewise.
69447         * posix/Versions: Likewise.
69448         * iconv/Versions: Likewise.
69449         * elf/Versions: Likewise.
69450         * wcsmbs/Versions: Likewise.
69452 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69454         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
69455         loop termination condition.
69457         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
69458         variable to calculate EZ.
69459         (__sqr): Likewise.
69461         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
69462         the lower precision input.
69464 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
69466         [BZ #13550]
69467         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
69468         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
69469         (run-via-rtld-prefix): Do not handle %-bp tests.
69470         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
69471         (all-object-suffixes): Remove .ob.
69472         (bppfx): Remove variable.
69473         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
69474         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
69475         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
69476         [$(build-bounded) = yes] (libtype.ob): Likewise.
69477         * Makerules (elide-routines.ob): Remove variable.
69478         (do-tests-clean): Do not handle *-bp.out.
69479         (common-mostlyclean): Do not handle *-bp and *-bp.out.
69480         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
69481         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
69482         (tests): Do not include $(tests-bp.out).
69483         (xtests): Do not include $(xtests-bp.out).
69484         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
69485         [$(build-bounded) = yes] ($(addprefix
69486         $(objpfx),$(binaries-bounded))): Remove rule.
69487         ($(objpfx)%-bp.out): Remove rule.
69488         * config.make.in (build-bounded): Remove variable.
69489         * crypt/Makefile [$(build-bounded) = yes]
69490         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
69491         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
69492         append to variable.
69493         [$(build-bounded) = yes] (install-lib): Likewise.
69494         [$(build-bounded) = yes] (generated): Likewise.
69495         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
69496         Remove rule.
69497         * intl/Makefile [$(build-bounded) = yes]
69498         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
69499         * math/Makefile [$(build-bounded) = yes]
69500         ($(tests:%=$(objpfx)%-bp): Likewise.
69501         * misc/Makefile [$(build-bounded) = yes]
69502         ($(objpfx)tst-tsearch-bp): Likewise.
69503         * nptl/Makeconfig (bounded-thread-library): Remove variable.
69504         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
69505         Remove dependency.
69506         * string/Makefile (o-objects.ob): Remove variable.
69507         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
69508         (CFLAGS-.ob): Remove variable.
69509         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
69510         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
69511         both definitions of variable.
69512         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
69513         (ASFLAGS-.ob): Remove variable.
69515 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
69517         [BZ #13550]
69518         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
69519         Remove __BOUNDED_POINTERS__ from condition.
69520         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
69521         * string/bits/string2.h [!__NO_STRING_INLINES &&
69522         !__BOUNDED_POINTERS__]: Likewise.
69523         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
69524         Likewise.
69525         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
69526         Remove conditional code.
69527         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
69528         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
69529         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
69530         condition.
69532         [BZ #13550]
69533         * csu/libc-start.c: Do not include <bp-sym.h>.
69534         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
69535         * elf/dl-open.c: Do not include <bp-sym.h>.
69536         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
69537         * math/fegetenv.c: Do not include <bp-sym.h>.
69538         (fegetenv): Do not use BP_SYM in versioned symbols.
69539         * nptl/sysdeps/pthread/bits/libc-lockP.h
69540         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
69541         <bp-sym.h>.
69542         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69543         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
69544         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69545         (__pthread_mutex_destroy): Likewise.
69546         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69547         (__pthread_mutex_lock): Likewise.
69548         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69549         (__pthread_mutex_trylock): Likewise.
69550         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69551         (__pthread_mutex_unlock): Likewise.
69552         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69553         (__pthread_mutexattr_init): Likewise.
69554         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69555         (__pthread_mutexattr_destroy): Likewise.
69556         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69557         (__pthread_mutexattr_settype): Likewise.
69558         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69559         (__pthread_rwlock_init): Likewise.
69560         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69561         (__pthread_rwlock_destroy): Likewise.
69562         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69563         (__pthread_rwlock_rdlock): Likewise.
69564         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69565         (__pthread_rwlock_tryrdlock): Likewise.
69566         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69567         (__pthread_rwlock_wrlock): Likewise.
69568         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69569         (__pthread_rwlock_trywrlock): Likewise.
69570         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69571         (__pthread_rwlock_unlock): Likewise.
69572         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69573         (__pthread_key_create): Likewise.
69574         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69575         (__pthread_setspecific): Likewise.
69576         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69577         (__pthread_getspecific): Likewise.
69578         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
69579         Likewise.
69580         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69581         (_pthread_cleanup_push_defer): Likewise.
69582         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69583         (_pthread_cleanup_pop_restore): Likewise.
69584         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69585         (pthread_setcancelstate): Likewise.
69586         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
69587         <bp-sym.h>.
69588         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
69589         (memchr): Do not use BP_SYM in weak_alias.
69590         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
69591         (fegetenv): Do not use BP_SYM in versioned symbols.
69592         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
69593         (fesetenv): Do not use BP_SYM in versioned symbols.
69594         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69595         (feupdateenv): Do not use BP_SYM in versioned symbols.
69596         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69597         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69598         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
69599         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
69600         (open64): Do not use BP_SYM in weak_alias.
69601         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
69602         (fegetenv): Do not use BP_SYM in versioned symbols.
69603         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
69604         (fesetenv): Do not use BP_SYM in versioned symbols.
69605         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69606         (feupdateenv): Do not use BP_SYM in versioned symbols.
69607         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
69608         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
69609         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
69610         (feraiseexcept): Do not use BP_SYM in versioned symbols.
69611         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69612         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69613         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
69614         <bp-sym.h>.
69615         (__libc_start_main): Do not use BP_SYM.
69617 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69619         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
69620         redundant return line.
69621         (norm): Likewise.
69622         (denorm): Likewise.
69623         (dbl_mp): Likewise.
69624         (sub_magnitudes): Likewise.
69625         (__add): Likewise.
69626         (__sub): Likewise.
69627         (__mul): Likewise.
69628         (__inv): Likewise.
69629         (__dvd): Likewise.
69630         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
69631         (norm): Likewise.
69632         (denorm): Likewise.
69633         (dbl_mp): Likewise.
69634         (sub_magnitudes): Likewise.
69635         (__add): Likewise.
69636         (__sub): Likewise.
69637         (__mul): Likewise.
69638         (__inv): Likewise.
69639         (__dvd): Likewise.
69641         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
69642         instead of __mul.
69643         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69644         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
69645         (cc32): Likewise.
69647         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
69648         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
69649         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
69650         of __mul for squares.
69651         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
69652         function
69653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
69654         Likewise.
69655         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
69656         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69658 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
69660         [BZ #13550]
69661         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
69662         code.
69663         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
69664         prototype or function definition.  Rename ubp_* variables and
69665         parameters.  Remove argv definitions conditional on
69666         [__BOUNDED_POINTERS__].
69667         * debug/backtrace.c (__backtrace): Do not use __unbounded.
69668         * elf/dl-runtime.c (_dl_fixup): Likewise.
69669         * include/set-hooks.h (RUN_HOOK): Likewise.
69670         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
69671         definition.
69672         * string/strcpy.c (strcpy): Do not use __unbounded.
69673         * sysdeps/generic/frame.h (struct layout): Likewise.
69674         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
69675         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
69676         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
69677         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
69678         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
69679         (__backtrace): Likewise.
69680         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
69681         use __ptrvalue.
69682         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
69683         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
69684         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
69685         Likewise.
69686         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
69687         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
69688         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
69689         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69690         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
69691         Do not use __unbounded.
69692         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
69693         Rename __unboundedrlimits parameter to rlimits in prototype.
69694         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
69695         Do not use __unbounded.
69696         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
69697         not use __ptrvalue.
69698         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69699         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
69700         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69701         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
69702         __ptrvalue or __unbounded.
69703         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
69704         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
69705         use __unbounded.
69706         (__new_msgctl): Do not use __ptrvalue.
69707         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
69708         __unbounded.
69709         (__libc_msgrcv): Do not use __ptrvalue.
69710         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
69711         startup_info): Do not use __unbounded.
69712         (__libc_start_main): Likewise.  Rename ubp_* variables and
69713         parameters.  Remove argv definitions conditional on
69714         [__BOUNDED_POINTERS__].
69715         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
69716         __ptrvalue.
69717         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
69718         use __unbounded.
69719         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
69720         or __ptrvalue.
69721         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
69722         use __unbounded.
69723         (__new_shmctl): Do not use __ptrvalue.
69724         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
69725         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
69726         Likewise.
69727         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
69728         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
69729         (__libc_sigaction): Likewise.
69730         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
69731         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
69732         Likewise.
69733         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
69735 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
69737         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
69739         * string/mempcpy.c: Implement by calling memcpy.
69741 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
69743         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
69745         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
69746         evaluation.
69748         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
69749         values in the mantissa.
69751         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
69752         minimize writes to Z.
69753         (sub_magnitudes): Simplify code a bit.
69755 2013-02-12  Roland McGrath  <roland@hack.frob.com>
69757         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
69758         from the message.  The linker prefixes all warnings with that already.
69760 2013-02-12  Andreas Schwab  <schwab@suse.de>
69762         [BZ #15078]
69763         * posix/regexec.c (extend_buffers): Add parameter min_len.
69764         (check_matching): Pass minimum needed length.
69765         (clean_state_log_if_needed): Likewise.
69766         (get_subexp): Likewise.
69767         * posix/Makefile (tests): Add bug-regex34.
69768         (bug-regex34-ENV): Define.
69769         * posix/bug-regex34.c: New file.
69771         [BZ #11561]
69772         * posix/regcomp.c (parse_bracket_exp): When looking up collating
69773         elements compare against the byte sequence of it, not its name.
69774         * posix/Makefile (tests): Add bug-regex35.
69775         (bug-regex35-ENV): Define.
69776         * posix/bug-regex35.c: New file.
69778 2013-02-11  Tom de Vries  <tom@codesourcery.com>
69780         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
69781         comment.
69782         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
69783         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
69784         (CHECK_EOL): Add undef.
69786 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
69788         * bits/stdlib-bsearch.h: New file.
69789         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
69790         * stdlib/stdlib.h: Likewise.
69792 2013-02-11  Roland McGrath  <roland@hack.frob.com>
69794         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
69795         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
69796         declaration.
69797         * manual/search.texi (Array Search Function): Add missing const in
69798         lfind prototype.
69799         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
69800         declaration to use rlim_t.
69801         (Basic Scheduling Functions): Remove erroneous const from
69802         sched_getparam prototype.  Remove erroneous * from
69803         sched_get_priority_max and sched_get_priority_min prototypes.
69804         (Resource Usage): Fix summary @comment on vtimes to refer to
69805         sys/vtimes.h rather than vtimes.h.
69806         Add missing *s in vtimes prototype.
69807         (Limits on Resources): Fix ulimit prototype to return long int.
69808         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
69809         prototypes to use long int rather than double.
69810         (BSD Random): Fix initstate and setstate to use char *, not void *.
69811         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
69812         prototype to make second argument 'struct aiocb64 *const[]'.
69813         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
69814         (Status of AIO Operations): Remove erroneous const in aio_return and
69815         aio_return64 prototypes.
69816         (Synchronizing I/O): Fix sync prototype to return void.
69817         * manual/startup.texi (Suboptions): Remove an erroneous const in
69818         getsubopt prototype.
69819         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
69820         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
69821         use size_t rather than int.
69822         (Scanning All Users): Likewise for getpwent_r.
69823         (Setting Groups): Add missing const to setgroups prototype.
69824         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
69825         * manual/socket.texi (Host Names): Fix gethostbyaddr and
69826         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
69827         'const void *' rather than 'const char *'.
69828         (Host Address Functions): Likewise for inet_ntop.
69829         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
69830         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
69831         ssize_t for return value.
69832         (Sending Data): Likewise for send, sendto, sendmsg.
69833         (Socket Option Functions): Add a missing const in setsockopt prototype.
69834         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
69835         use wchar_t for the argument.
69836         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
69837         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
69838         take no arguments.
69839         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
69840         double/float/long double for second argument.
69841         Fix return types of significand, significandf, significandl.
69842         * manual/filesys.texi (Setting Permissions): Use mode_t for second
69843         argument in fchmod prototype.
69844         (File Owner): Use uid_t and gid_t in fchown prototype.
69845         (File Times): Add const to utimes, futimes, and lutimes prototypes.
69846         (Making Special Files): Use mode_t and dev_t in mknod prototype.
69847         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
69848         use 'const struct dirent **' as argument types to CMP function pointer
69849         argument.
69850         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
69851         (File Times): Fix summary magic @comment for struct utimbuf and utime
69852         to refer to utime.h, not time.h.
69853         * manual/string.texi (Argz Functions): Add missing const in
69854         argz_extract and argz_next prototypes.
69855         (Finding Tokens in a String): Likewise for basename.
69856         (String/Array Comparison): Fix typo in wcscasecmp prototype.
69857         (Copying and Concatenation): Fix typo in wmemmove prototype.
69858         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
69859         (Signal Stack): Remove erroneous const in sigstack prototype.
69860         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
69861         prototype.
69862         (Simple Calendar Time): Likewise for stime.
69863         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
69864         prototype.
69865         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
69866         say sys/sysctl.h instead.
69867         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
69868         and vsyslog prototypes.
69870 2013-02-11  Tom de Vries  <tom@codesourcery.com>
69872         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
69873         Remove.
69875 2013-02-11  Roland McGrath  <roland@hack.frob.com>
69877         * misc/sys/mman.h: Fix typo in mremap comment.
69879 2013-02-08  Roland McGrath  <roland@hack.frob.com>
69881         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
69882         the '\0' terminator.
69884 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
69886         [BZ #13550]
69887         * debug/segfault.c: Don't include <bp-checks.h>.
69888         * sysdeps/generic/bp-checks.h: Remove file.
69889         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
69890         (__GETDENTS): Don't use CHECK_N.
69891         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
69892         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
69893         (__getgroups): Don't use CHECK_N.
69894         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
69895         (setgroups): Don't use CHECK_N.
69896         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
69897         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
69898         (__libc_msgrcv): Don't use CHECK_N.
69899         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
69900         (__libc_msgsnd): Don't use CHECK_N.
69901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
69902         <bp-checks.h>.
69903         (__libc_pread): Don't use CHECK_N.
69904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
69905         include <bp-checks.h>.
69906         (__libc_pread64): Don't use CHECK_N.
69907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
69908         include <bp-checks.h>.
69909         (__libc_pwrite): Don't use CHECK_N.
69910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
69911         include <bp-checks.h>.
69912         (__libc_pwrite64): Don't use CHECK_N.
69913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
69914         <bp-checks.h>.
69915         (__libc_pread): Don't use CHECK_N.
69916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
69917         include <bp-checks.h>.
69918         (__libc_pread64): Don't use CHECK_N.
69919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
69920         include <bp-checks.h>.
69921         (__libc_pwrite): Don't use CHECK_N.
69922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
69923         include <bp-checks.h>.
69924         (__libc_pwrite64): Don't use CHECK_N.
69925         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
69926         (do_pread): Don't use CHECK_N.
69927         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
69928         (do_pread64): Don't use CHECK_N.
69929         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
69930         (do_pwrite): Don't use CHECK_N.
69931         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
69932         (do_pwrite64): Don't use CHECK_N.
69933         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
69934         (__libc_readv): Don't use CHECK_N.
69935         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
69936         (semop): Don't use CHECK_N.
69937         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
69938         <bp-checks.h>.
69939         (semtimedop): Don't use CHECK_N.
69940         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
69941         (__libc_pread): Don't use CHECK_N.
69942         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
69943         <bp-checks.h>.
69944         (__libc_pread64): Don't use CHECK_N.
69945         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
69946         <bp-checks.h>.
69947         (__libc_pwrite): Don't use CHECK_N.
69948         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
69949         <bp-checks.h>.
69950         (__libc_pwrite64): Don't use CHECK_N.
69951         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
69952         <bp-checks.h>.
69953         (__libc_msgrcv): Don't use CHECK_N.
69954         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
69955         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
69956         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
69957         (__libc_writev): Don't use CHECK_N.
69959 2013-02-08  Roland McGrath  <roland@hack.frob.com>
69961         * string/strcpy.c: Removed unused variable.
69963         * Makeconfig (+sysdep-includes): Define with := rather than =.
69964         Use an existing include/ subdir of each sysdeps dir before it.
69966 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69968         * nscd/connection.c (register_traced_file): Comment function.
69969         [HAVE_INOTIFY] (union __inev): Define.
69970         [HAVE_INOTIFY] (inotify_check_files): New function.
69971         [HAVE_INOTIFY] (clear_db_cache): Likewise.
69972         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
69973         clear_db_cache.
69974         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
69976 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69978         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
69979         loaded if not already and that a failure is permanent.
69981 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69983         [BZ #15006]
69984         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
69985         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
69987 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
69989         [BZ #13550]
69990         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
69991         (CHECK_1_NULL_OK): Likewise.
69992         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
69993         (__fxstat): Do not use CHECK_1.
69994         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
69995         <bp-checks.h>.
69996         (___fxstat64): Do not use CHECK_1.
69997         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
69998         <bp-checks.h>.
69999         (__fxstatat): Do not use CHECK_1.
70000         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
70001         <bp-checks.h>.
70002         (__fxstatat64): Do not use CHECK_1.
70003         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
70004         <bp-checks.h>.
70005         (__fxstat): Do not use CHECK_1.
70006         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
70007         <bp-checks.h>.
70008         (__fxstatat): Do not use CHECK_1.
70009         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70010         <bp-checks.h>.
70011         (__getresgid): Do not use CHECK_1.
70012         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70013         <bp-checks.h>.
70014         (__getresuid): Do not use CHECK_1.
70015         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
70016         <bp-checks.h>.
70017         (__lxstat): Do not use CHECK_1.
70018         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70019         <bp-checks.h>.
70020         (__old_msgctl): Do not use CHECK_1.
70021         (__new_msgctl): Likewise.
70022         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
70023         <bp-checks.h>.
70024         (__new_setrlimit): Do not use CHECK_1.
70025         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70026         <bp-checks.h>.
70027         (__old_shmctl): Do not use CHECK_1.
70028         (__new_shmctl): Likewise.
70029         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
70030         <bp-checks.h>.
70031         (__xstat): Do not use CHECK_1.
70032         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
70033         (__lxstat): Do not use CHECK_1.
70034         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
70035         <bp-checks.h>.
70036         (___lxstat64): Do not use CHECK_1.
70037         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
70038         (__old_msgctl): Do not use CHECK_1.
70039         (__new_msgctl): Likewise.
70040         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
70041         <bp-checks.h>.
70042         (__gettimeofday): Do not use CHECK_1.
70043         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
70044         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
70045         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
70046         <bp-checks.h>.
70047         (__gettimeofday): Do not use CHECK_1.
70048         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
70049         (__old_shmctl): Do not use CHECK_1_NULL_OK.
70050         (__new_shmctl): Do not use CHECK_1.
70051         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
70052         <bp-checks.h>.
70053         (do_sigtimedwait): Do not use CHECK_1.
70054         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
70055         <bp-checks.h>.
70056         (do_sigwaitinfo): Do not use CHECK_1.
70057         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
70058         <bp-checks.h>.
70059         (msgctl): Do not use CHECK_1.
70060         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
70061         <bp-checks.h>.
70062         (shmctl): Do not use CHECK_1.
70063         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
70064         (ustat): Do not use CHECK_1.
70065         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
70066         <bp-checks.h>.
70067         (__fxstat): Do not use CHECK_1.
70068         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
70069         <bp-checks.h>.
70070         (__fxstatat): Do not use CHECK_1.
70071         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
70072         <bp-checks.h>.
70073         (__lxstat): Do not use CHECK_1.
70074         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
70075         <bp-checks.h>.
70076         (__xstat): Do not use CHECK_1.
70077         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
70078         (__xstat): Do not use CHECK_1.
70079         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
70080         (___xstat64): Do not use CHECK_1.
70082         [BZ #13550]
70083         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
70084         definitions.
70085         (CHECK_BOUNDS_HIGH): Likewise.
70086         * string/strcpy.c: Do not include <bp-checks.h>.
70087         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
70089 2013-02-07  Roland McGrath  <roland@hack.frob.com>
70091         * nscd/nscd-client.h (__nscd_drop_map_ref):
70092         Add __attribute__ ((unused)).
70093         * nis/nss-nisplus.h (niserr2nss): Likewise.
70095         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
70096         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
70098         * csu/libc-tls.c (init_static_tls, init_slotinfo):
70099         Remove inline keyword.
70100         * include/rounding-mode.h (round_away): Likewise.
70101         * libio/wfileops.c (adjust_wide_data): Likewise.
70102         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
70103         (__m128i_strloadu_tolower): Likewise.
70104         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
70105         (__m128i_strloadu_tolower): Likewise.
70106         * time/mktime.c (ydhms_diff): Likewise.
70107         * locale/elem-hash.h (elem_hash): Likewise.
70108         * locale/setlocale.c (setdata): Likewise.
70109         * posix/regex_internal.h (re_string_char_size_at): Likewise.
70110         (re_string_wchar_at): Likewise.
70111         (bitset_not, bitset_merge, bitset_mask): Likewise.
70112         [!(__GNUC__ > 3)] (inline): Remove macro.
70113         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
70114         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
70115         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
70116         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
70117         * string/memcmp.c (memcmp_bytes): Likewise.
70118         * locale/programs/locarchive.c (compute_hashval): Likewise.
70119         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
70120         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
70121         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
70122         * nss/getent.c (print_rpc, print_protocols): Likewise.
70123         (print_passwd, print_group, print_aliases): Likewise.
70124         * nis/nss-nisplus.h (niserr2nss): Likewise.
70125         * nscd/connections.c (restart_p): Likewise.
70126         Change return type to bool.
70128 2013-02-05  Roland McGrath  <roland@hack.frob.com>
70130         * Makeconfig (all-Depend-files): Add existing
70131         $(sorted-subdirs:=/Depend) files.
70132         (all-subdirs): Remove nss.
70133         * sysdeps/unix/inet/Subdirs: Add it here instead.
70134         * hesiod/Depend: New file.
70136         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
70137         instead of calling alloca.
70139         * io/lseek.c (__lseek): Rename to __libc_lseek.
70140         Define __lseek as an alias.
70142         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
70144 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
70146         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
70147         else clause and remove check for non-standard endianness.
70149 2013-02-04  David S. Miller  <davem@davemloft.net>
70151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70153 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
70155         [BZ #13550]
70156         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
70157         (__ubp_memchr): Remove prototype.
70158         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
70159         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
70160         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
70161         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
70162         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
70163         Remove alias.
70164         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
70165         (__ubp_memchr): Likewise.
70166         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
70167         (__ubp_memchr): Likewise.
70168         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
70169         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
70170         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
70171         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
70172         CHECK_STRING.
70173         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
70174         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
70175         (__getcwd): Do not use CHECK_STRING.
70176         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
70177         <bp-checks.h>.
70178         (__real_chown): Do not use CHECK_STRING.
70179         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
70180         <bp-checks.h>.
70181         (fchownat): Do not use CHECK_STRING.
70182         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
70183         CHECK_STRING.
70184         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70185         <bp-checks.h>.
70186         (__lchown): Do not use CHECK_STRING.
70187         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
70188         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
70189         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
70190         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
70191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
70192         include <bp-checks.h>.
70193         (truncate64): Do not use CHECK_STRING.
70194         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70195         <bp-checks.h>.
70196         (__real_chown): Do not use CHECK_STRING.
70197         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70198         <bp-checks.h>.
70199         (__lchown): Do not use CHECK_STRING.
70200         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70201         <bp-checks.h>.
70202         (__chown): Do not use CHECK_STRING.
70203         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
70204         <bp-checks.h>.
70205         (truncate64): Do not use CHECK_STRING.
70206         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
70207         Likewise.
70208         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
70209         (__xmknod): Do not use CHECK_STRING.
70210         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
70211         <bp-checks.h>.
70212         (__xmknodat): Do not use CHECK_STRING.
70213         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
70214         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
70216 2013-02-04  Andreas Schwab  <schwab@suse.de>
70218         [BZ #14142]
70219         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
70220         * include/netdb.h: Likewise for h_errno.
70221         * elf/tst-stackguard1.c: Include <tls.h>.
70223 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
70225         * elf/link.h (struct link_map): Extend the l_addr comment.
70226         * include/link.h (struct link_map): Likewise.
70228 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
70230         [BZ #13550]
70231         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
70232         (BOUNDED_1): Remove macro.
70233         * debug/backtrace.c: Don't include <bp-checks.h>.
70234         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
70235         (__backtrace): Likewise.
70236         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
70237         <bp-checks.h>.
70238         (__backtrace): Don't use BOUNDED_1.
70239         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
70240         <bp-checks.h>.
70241         (__backtrace): Don't use BOUNDED_1.
70242         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
70243         (__backtrace): Don't use BOUNDED_1.
70244         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
70245         (shmat): Don't use BOUNDED_N.
70247 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
70249         [BZ #13550]
70250         * sysdeps/generic/bp-start.h: Remove file.
70251         * csu/libc-start.c: Don't include <bp-start.h>.
70252         (LIBC_START_MAIN): Set up __environ directly instead of using
70253         INIT_ARGV_and_ENVIRON.
70254         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
70255         <bp-start.h>.
70257         [BZ #13550]
70258         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
70259         definitions.
70260         (CHECK_FCNTL): Likewise.
70261         (CHECK_N_PAGES): Likewise.
70263         [BZ #13550]
70264         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
70265         definitions.
70266         (CHECK_SIGSET_NULL_OK): Likewise.
70267         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
70268         <bp-checks.h>.
70269         (sigpending): Don't use CHECK_SIGSET.
70270         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
70271         <bp-checks.h>.
70272         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70273         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
70274         <bp-checks.h>.
70275         (do_sigsuspend): Don't use CHECK_SIGSET.
70276         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
70277         use CHECK_SIGSET.
70278         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
70279         (do_sigwait): Don't use CHECK_SIGSET.
70280         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
70281         use CHECK_SIGSET.
70282         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
70283         include <bp-checks.h>.
70284         (sigpending): Don't use CHECK_SIGSET.
70285         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
70286         include <bp-checks.h>.
70287         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70288         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
70289         <bp-checks.h>.
70290         (sigpending): Don't use CHECK_SIGSET.
70291         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
70292         <bp-checks.h>.
70293         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70295         [BZ #13550]
70296         * sysdeps/generic/bp-semctl.h: Remove file.
70297         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
70298         <bp-checks.h> and <bp-semctl.h>.
70299         (__old_semctl): Don't use CHECK_SEMCTL.
70300         (__new_semctl): Likewise.
70301         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
70302         and <bp-semctl.h>.
70303         (__old_semctl): Don't use CHECK_SEMCTL.
70304         (__new_semctl): Likewise.
70305         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
70306         <bp-checks.h> and <bp-semctl.h>.
70307         (__old_semctl): Don't use CHECK_SEMCTL.
70308         (__new_semctl): Likewise.
70309         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
70310         <bp-checks.h> and <bp-semctl.h>.
70311         (semctl): Don't use CHECK_SEMCTL.
70313         [BZ #13550]
70314         * Makerules (elide-bp-thunks): Remove variable.
70315         (elide-routines.oS): Don't use $(elide-bp-thunks).
70316         (elide-routines.os): Likewise.
70317         (elide-routines.o): Likewise.
70318         (elide-routines.op): Likewise.
70319         (elide-routines.og): Likewise.
70320         (objects): Don't use $(bp-thunks).
70321         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
70322         include.
70323         (common-generated): Do not add s-proto-bp.d.
70324         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
70325         (int): Likewise.
70326         (typ): Likewise.
70327         Do not generate makefile rules for bounded-pointer thunks.
70328         * sysdeps/generic/bp-thunks.h: Remove file.
70329         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
70330         * sysdeps/unix/s-proto-bp.S: Likewise.
70332         [BZ #15062]
70333         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
70334         parts of result separately when argument is not close to line from
70335         -i to i and one part of argument is small.
70336         * math/k_casinhf.c (__kernel_casinhf): Likewise.
70337         * math/k_casinhl.c (__kernel_casinhl): Likewise.
70338         * math/libm-test.inc (cacos_test): Add more tests.
70339         (casin_test): Likewise.
70340         (casinh_test): Likewise.
70341         * sysdeps/i386/fpu/libm-test-ulps: Update.
70342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70344 2013-01-31  David S. Miller  <davem@davemloft.net>
70346         * po/de.po: Update from translation team.
70348 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
70350         * time/tzfile.c: Include stdint.h for SIZE_MAX.
70352 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
70354         * configure.in (_AC_PROG_CC_C89): New definition.
70355         * configure: Regenerate.
70357         * configure.in (AC_PROG_CPP): New definition.
70358         * configure: Regenerate.
70360 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
70362         * debug/tst-backtrace.h: New file.
70363         * debug/tst-backtrace2.c: Include tst-backtrace.h.
70364         (ret): Remove variable.
70365         (x): Likewise.
70366         (FAIL): Remove macro.
70367         (NO_INLINE): Likewise.
70368         (fn1): Use match function instead of strstr.
70369         * debug/tst-backtrace3.c: Include tst-backtrace.h.
70370         (ret): Remove variable.
70371         (x): Likewise.
70372         (FAIL): Remove macro.
70373         (NO_INLINE): Likewise.
70374         (fn): Use match function instead of strstr.
70375         * debug/tst-backtrace4.c: Include tst-backtrace.h.
70376         (ret): Remove variable.
70377         (x): Likewise.
70378         (FAIL): Remove macro.
70379         (NO_INLINE): Likewise.
70380         (handle_signal): Use match function instead of strstr.
70381         * debug/tst-backtrace5.c: Include tst-backtrace.h.
70382         (ret): Remove variable.
70383         (x): Likewise.
70384         (FAIL): Remove macro.
70385         (NO_INLINE): Likewise.
70386         (handle_signal): Use match function instead of strstr.
70388 2013-01-23  Roland McGrath  <roland@hack.frob.com>
70390         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
70392 2013-01-23  David S. Miller  <davem@davemloft.net>
70394         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
70395         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
70396         argument of CAS if possible.
70397         * sysdeps/sparc/sparc64/bits/atomic.h
70398         (__arch_compare_and_exchange_val_32_acq): Likewise.
70399         (__arch_compare_and_exchange_val_64_acq): Likewise.
70401 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
70403         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
70404         * sysdeps/posix/ulimit.c: ... this.
70405         Include <limits.h>.
70406         * sysdeps/unix/bsd/ulimit.c: Remove file.
70408 2013-01-23  Adam Conrad  <adconrad@0c3.net>
70410         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
70411         (LDFLAGS-tst-array5): Likewise.
70413 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
70415         [BZ #15036]
70416         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
70417         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
70418         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
70419         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
70421 2013-01-21  David S. Miller  <davem@davemloft.net>
70423         * sysdeps/sparc/backtrace.c: New file.
70424         * sysdeps/sparc/sparc32/backtrace.h: New file.
70425         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
70426         * sysdeps/sparc/sparc64/backtrace.h: New file.
70427         * sysdeps/sparc/sparc64/backtrace.c: Delete.
70428         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
70429         -funwind-tables.
70431 2013-01-21  Andreas Schwab  <schwab@suse.de>
70433         [BZ #15020]
70434         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
70435         closed its stdout.
70437 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
70439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
70440         "mpa2.h".
70441         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70443 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
70444             Mark Mitchell  <mark@codesourcery.com>
70445             Tom de Vries  <tom@codesourcery.com>
70446             Paul Pluzhnikov  <ppluzhnikov@google.com>
70448         * debug/tst-backtrace2.c: New file.
70449         * debug/tst-backtrace3.c: Likewise.
70450         * debug/tst-backtrace4.c: Likewise.
70451         * debug/tst-backtrace5.c: Likewise.
70452         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
70453         (CFLAGS-tst-backtrace3.c): Likewise.
70454         (CFLAGS-tst-backtrace4.c): Likewise.
70455         (CFLAGS-tst-backtrace5.c): Likewise.
70456         (LDFLAGS-tst-backtrace2): Likewise.
70457         (LDFLAGS-tst-backtrace3): Likewise.
70458         (LDFLAGS-tst-backtrace4): Likewise.
70459         (LDFLAGS-tst-backtrace5): Likewise.
70460         (tests): Add new tests tst-backtrace2, tst-backtrace3,
70461         tst-backtrace4 and tst-backtrace5.
70463 2013-01-18  Anton Blanchard  <anton@samba.org>
70464             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
70466         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
70467         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
70468         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
70469         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
70470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
70471         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
70472         "+r" and remove output regs list as redundant.  Add explicit inline
70473         asm to specify register of return val to work around compiler codegen
70474         bug.  Remove (int) cast on return value.  Add return type parameter to
70475         use in macro so that this macro does not truncate return value for
70476         64-bit values.
70477         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
70478         pass to INTERNAL_VSYSCALL_NCS.
70479         (INLINE_VSYSCALL): Add 'long int' as return type to
70480         INTERNAL_VSYSCALL_NCS macro invocation.
70481         (INTERNAL_VSYSCALL): Add 'long int' as return type to
70482         INTERNAL_VSYSCALL_NCS macro invocation.
70483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70485 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70487         [BZ #14496]
70488         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
70489         Fix application of SIMD FP exception mask.
70491         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
70492         mp_no from a power of two.
70493         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
70494         __mpexp_twomm1.  Use __pow_mp.
70496         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
70497         multiplication.
70499 2013-01-17  David S. Miller  <davem@davemloft.net>
70501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70503 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
70505         [BZ #15023]
70506         * include/complex.h: Condition contents on [!_COMPLEX_H].
70507         (__kernel_casinhf): New prototype.
70508         (__kernel_casinh): Likewise.
70509         (__kernel_casinhl): Likewise.
70510         * math/Makefile (libm_calls): Add k_casinh.
70511         * math/k_casinh.c: New file.
70512         * math/k_casinhf.c: Likewise.
70513         * math/k_casinhl.c: Likewise.
70514         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
70515         finite nonzero arguments.
70516         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
70517         finite nonzero arguments.
70518         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
70519         finite nonzero arguments.
70520         * math/s_casinh.c: Do not include <float.h>.
70521         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
70522         * math/s_casinhf.c: Do not include <float.h>.
70523         (__casinhf): Move code for finite nonzero arguments to
70524         k_casinhf.c.
70525         * math/s_casinhl.c: Do not include <float.h>.
70526         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
70527         redefine.
70528         (__casinhl): Move code for finite nonzero arguments to
70529         k_casinhl.c.
70530         * math/libm-test.inc (cacos_test): Add more tests.
70531         * sysdeps/i386/fpu/libm-test-ulps: Update.
70532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70534 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
70536         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
70537         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
70538         [!HAVE_MREMAP]: Remove [defined linux] case.
70539         * malloc/arena.c: Do not include <malloc-sysdep.h>.
70541 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
70543         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
70545 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
70547         * elf/elf.h (R_386_SIZE32): New relocation.
70548         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
70549         R_386_SIZE32.
70550         (elf_machine_rela): Likewise.
70551         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
70552         R_X86_64_SIZE64 and R_X86_64_SIZE32.
70554 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
70556         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
70557         (FP_FAST_FMA): Do not define.
70558         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
70559         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
70560         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
70561         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
70562         !_SOFT_FLOAT]: Likewise.
70563         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
70564         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
70565         value.
70566         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
70567         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
70568         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
70569         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
70570         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
70571         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
70572         file.
70574 2013-01-16  Andreas Schwab  <schwab@suse.de>
70576         [BZ #14327]
70577         * include/stdlib.h (__mktemp): Add declaration.
70578         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
70579         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
70581 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70583         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
70584         definitions.
70585         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70586         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
70587         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
70588         definitions here.
70589         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
70590         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
70591         definitions.
70592         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
70593         and ONE.
70594         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
70595         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
70596         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
70597         definitions.
70598         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
70599         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
70600         definitions.
70601         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70603         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
70605 2013-01-15  David S. Miller  <davem@davemloft.net>
70607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70608         trunc{,f} to libm-sysdep_routes.
70609         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
70611         file.
70612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
70613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
70614         file.
70615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
70616         file.
70617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
70618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
70619         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
70620         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
70621         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
70622         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
70623         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
70624         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
70626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70627         nearbyint{,f} to libm-sysdep_routes.
70628         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
70630         New file.
70631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
70632         file.
70633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
70634         New file.
70635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
70636         file.
70637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
70638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
70639         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
70640         file.
70641         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
70642         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
70643         file.
70644         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
70645         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
70646         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
70648         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
70649         libc_feholdexcept and libc_fesetenv.
70651 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
70653         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
70655 2013-01-14  David S. Miller  <davem@davemloft.net>
70657         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
70658         (SPARC_ASM_VIS2_IFUNC): Likewise.
70659         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
70660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
70661         use of 'siam' instruction.
70662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
70663         Likewise.
70664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
70665         Likewise.
70666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
70667         Likewise.
70668         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
70669         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
70670         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
70671         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
70672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
70673         file.
70674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
70675         file.
70676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
70677         file.
70678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
70679         file.
70680         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
70681         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
70682         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
70683         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
70684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
70685         new VIS2 routines.
70686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70689         Likewise.
70690         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70691         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70692         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70693         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
70695         routines to libm-sysdep_routines.
70696         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70699         fdim/fdimf to libm-sysdep_routines.
70700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
70701         file.
70702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
70703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
70704         file.
70705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
70706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
70707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
70708         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
70709         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
70710         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
70711         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
70713 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
70715         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
70716         to optimize copies.
70718         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
70719         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70720         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70722         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
70723         local variable MPTWO.
70724         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70725         Likewise.
70727 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70729         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
70730         GLOB_NOESCAPE.
70732 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70734         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
70736 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70738         * manual/pattern.texi (glob_t): Document gl_flags.
70739         (glob64_t): Likewise.
70741 2013-01-11  David S. Miller  <davem@davemloft.net>
70743         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
70744         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
70745         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
70746         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
70747         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
70748         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
70749         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
70750         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
70751         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
70752         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
70753         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
70754         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
70755         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
70757         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70758         sparc V9 rather than using V8 code.
70759         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70760         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70762         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70763         Move to...
70764         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
70765         Here.
70767 2013-01-11  Roland McGrath  <roland@hack.frob.com>
70769         [BZ #14941]
70770         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
70771         not in the main loop.
70772         * configure: Regenerated.
70774 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
70776         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
70777         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
70778         to just #else.
70779         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
70780         [!__GLIBC_HAVE_LONG_LONG] case.
70781         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
70782         condition to just #else.
70783         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
70784         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
70785         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
70786         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
70787         unconditional.
70788         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
70789         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70790         #elif condition to just #else.
70791         * sysdeps/unix/sysv/linux/sys/sysmacros.h
70792         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
70793         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70794         #elif condition to just #else.
70796 2013-01-11  Steve Ellcey  <sellcey@mips.com>
70798         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
70799         (EF_MIPS_ARCH_64): Fix value.
70800         (EF_MIPS_ARCH_32R2): New.
70801         (EF_MIPS_ARCH_64R2): New.
70803 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
70805         * Makeconfig (+link-pie-before-libc): New.
70806         (+link-pie-after-libc): Likewise.
70807         (+link-pie-tests): Likewise.
70808         (+link-pie): Rewritten.
70809         (link-before-libc): Remove $(config-LDFLAGS).
70810         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
70811         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
70812         (config-LDFLAGS): Renamed to ...
70813         (rtld-LDFLAGS): This.
70814         (rtld-tests-LDFLAGS): New macro.
70815         (link-libc-rpath-link): Likewise.
70816         (link-libc-tests-rpath-link): Likewise.
70817         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
70818         (link-libc): Prepand $(link-libc-rpath-link).
70819         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
70820         (test-program-prefix): New macro.
70821         (test-via-rtld-prefix): Likewise.
70822         (test-program-cmd): Likewise.
70823         (host-test-program-cmd): Likewise.
70824         * Makefile ($(common-objpfx)testrun.sh): Replace
70825         $(run-program-prefix) with $(test-program-prefix).
70826         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
70827         $(rtld-LDFLAGS).
70828         ($(common-objpfx)shlib.lds): Likewise.
70829         (build-module-helper): Likewise.
70830         ($(common-objpfx)format.lds): Likewise.
70831         * Rules (binaries-pie-tests): New.
70832         (binaries-pie-notests): Likewise.
70833         (binaries-pie): Rewritten.
70834         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
70835         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
70836         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
70837         (make-test-out): Replace $(host-built-program-cmd) with
70838         $(host-test-program-cmd).
70839         * config.make.in (build-hardcoded-path-in-tests): New variable.
70840         * configure.in (--enable-hardcoded-path-in-tests): New configure
70841         option.
70842         (hardcoded_path_in_tests): New AC_SUBST.
70843         * configure: Regenerated.
70844         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
70845         $(built-program-cmd) with $(test-program-cmd).
70846         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
70847         (test_program_cmd): This.
70848         * elf/Makefile ($(objpfx)order.out): Run test with
70849         $(test-program-prefix).
70850         ($(objpfx)order2.out): Likewise.
70851         ($(objpfx)tst-initorder.out): Likewise.
70852         ($(objpfx)tst-initorder2.out): Likewise.
70853         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
70854         $(test-program-cmd).
70855         ($(objpfx)tst-array1-static.out): Likewise.
70856         ($(objpfx)tst-array2.out): Likewise.
70857         ($(objpfx)tst-array3.out): Likewise.
70858         ($(objpfx)tst-array4.out): Likewise.
70859         ($(objpfx)tst-array5.out): Likewise.
70860         ($(objpfx)tst-array5-static.out): Likewise.
70861         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
70862         $(test-program-cmd).
70863         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
70864         $(run-program-prefix) with $(test-program-prefix).
70865         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
70866         (test_program_prefix): This.
70867         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
70868         $(run-program-prefix) with $(test-program-prefix).
70869         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
70870         (test_program_prefix): This.
70871         * iconvdata/tst-tables.sh: Likewise.
70872         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
70873         $(run-program-prefix) with $(test-program-prefix).
70874         ($(objpfx)tst-translit.out): Likewise.
70875         ($(objpfx)tst-gettext2.out): Likewise.
70876         ($(objpfx)tst-gettext4.out): Likewise.
70877         ($(objpfx)tst-gettext6.out): Likewise.
70878         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
70879         (test_program_prefix): This.
70880         * intl/tst-gettext2.sh: Likewise.
70881         * intl/tst-gettext4.sh  Likewise.
70882         * intl/tst-gettext6.sh: Likewise.
70883         * intl/tst-translit.sh: Likewise.
70884         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
70885         with $(test-program-cmd).
70886         * libio/Makefile ($(objpfx)test-freopen.out): Replace
70887         $(run-program-prefix) with $(test-program-prefix).
70888         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
70889         (test_program_prefix): This.
70890         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
70891         $(run-program-prefix) with $(test-program-prefix).
70892         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
70893         (test_program_prefix): This.
70894         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
70895         * posix/Makefile ($(objpfx)globtest.out): Replace
70896         $(run-via-rtld-prefix) and $(test-wrapper) with
70897         $(test-program-prefix) and $(test-via-rtld-prefix).
70898         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
70899         $(test-program-prefix).
70900         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
70901         $(host-test-program-cmd).
70902         (tst-spawn-ARGS): Likewise.
70903         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
70904         $(test-program-prefix).
70905         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
70906         (test_via_rtld_prefix): This.
70907         (test_wrapper): Renamed to ...
70908         (test_program_prefix): This.
70909         (run_program_prefix): Replaced by test_program_prefix.
70910         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
70911         (test_program_prefix): This.
70912         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
70913         with $(host-test-program-cmd).
70914         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
70915         $(run-program-prefix) with $(test-program-prefix).
70916         ($(objpfx)tst-printf.out): Likewise.
70917         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
70918         $(test-program-cmd).
70919         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
70920         (test_program_prefix): This.
70921         * stdio-common/tst-unbputc.sh: Likewise.
70922         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
70923         $(run-program-prefix) with $(test-program-prefix).
70924         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
70925         (test_program_prefix): This.
70926         * string/Makefile ($(objpfx)tst-svc.out):  Replace
70927         $(built-program-cmd) with $(test-program-cmd).
70929 2013-01-11  Andreas Jaeger  <aj@suse.de>
70931         [BZ #15003]
70932         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
70933         value. Sync with Linux 3.7.
70935 2013-01-10  David S. Miller  <davem@davemloft.net>
70937         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
70938         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70939         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70941 2013-01-10  Roland McGrath  <roland@hack.frob.com>
70943         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
70944         never set.
70945         * configure: Regenerated.
70947 2013-01-10  David S. Miller  <davem@davemloft.net>
70949         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70950         sparc V9 rather than using V8 code.
70951         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70952         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70954 2013-01-10  Roland McGrath  <roland@hack.frob.com>
70956         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
70957         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
70958         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
70959         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
70960         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
70961         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
70962         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
70963         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
70964         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
70965         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
70966         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
70967         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
70968         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
70969         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
70970         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
70971         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
70972         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
70973         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
70974         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
70975         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
70976         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
70977         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
70978         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
70979         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
70980         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
70981         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
70982         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
70984 2013-01-10  David S. Miller  <davem@davemloft.net>
70986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70988 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
70990         * posix/Makefile (tests-static): New variable.
70991         (tests): Add $(tests-static).
70992         (tst-exec-static-ARGS): New variable.
70993         (tst-spawn-static-ARGS): Likewise.
70994         * posix/tst-exec-static.c: New file.
70995         * posix/tst-spawn-static.c: Likewise.
70996         * posix/tst-exec.c: Support run directly.
70997         * posix/tst-spawn.c: Likewise.
70999 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
71001         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
71002         long.
71003         * math/bits/mathcalls.h (llrint): Likewise.
71004         (llround): Likewise.
71005         * stdlib/stdlib.h (struct drand48_data): Likewise.
71006         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
71007         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
71008         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
71009         Likewise.
71010         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
71011         Likewise.
71012         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
71013         (elf_greg_t): Likewise.
71014         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
71015         (__jmp_buf): Likewise.
71016         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
71017         definitions.
71018         (llrint): Likewise, for all definitions.
71019         (llrintl): Likewise.
71021         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
71022         Remove [__GNUC__] condition.
71023         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
71024         condition to just [__USE_ISOC99].
71025         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
71027 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
71029         [BZ #14200]
71030         * sysdeps/unix/sysv/linux/x86/bits/environments.h
71031         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
71032         defined.
71033         (_POSIX_V6_ILP32_OFF32): Likewise.
71034         (_XBS5_ILP32_OFF32): Likewise.
71035         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
71036         (__ILP32_OFFBIG_LDFLAGS): Likewise.
71038 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71040         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
71042         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
71043         doubles __mpexp_twomm1.  Adjust usage.
71044         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
71045         Remove.
71047 2013-01-10  Andreas Schwab  <schwab@suse.de>
71049         [BZ #14964]
71050         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
71051         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
71053 2013-01-09  David S. Miller  <davem@davemloft.net>
71055         [BZ #15003]
71056         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
71057         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
71058         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
71059         (TCP_FASTOPEN): Define.
71060         (tcp_repair_opt): New structure.
71061         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
71062         enum values.
71063         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
71064         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
71065         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
71066         (tcp_cookie_transactions): New structure.
71068 2013-01-09  Anton Blanchard  <anton@samba.org>
71070         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
71071         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
71072         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
71073         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
71075 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
71077         * include/features.h (__USE_ANSI): Remove.
71079 2013-01-09  Roland McGrath  <roland@hack.frob.com>
71081         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
71083         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
71085 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
71087         * sysdeps/s390/fpu/libm-test-ulps: Update.
71089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71091         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
71092         (__acr): Likewise.
71093         (__cpy): Likewise.
71094         (norm): Likewise.
71095         (denorm): Likewise.
71096         (__mp_dbl): Likewise.
71097         (__dbl_mp): Likewise.
71098         (add_magnitudes): Likewise.
71099         (sub_magnitudes): Likewise.
71100         (__add): Likewise.
71101         (__sub): Likewise.
71102         (__mul): Likewise.
71103         (__inv): Likewise.
71104         (__dvd): Likewise.
71105         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
71106         (__acr): Likewise.
71107         (__cpy): Likewise.
71108         (norm): Likewise.
71109         (denorm): Likewise.
71110         (__mp_dbl): Likewise.
71111         (__dbl_mp): Likewise.
71112         (add_magnitudes): Likewise.
71113         (sub_magnitudes): Likewise.
71114         (__add): Likewise.
71115         (__sub): Likewise.
71116         (__mul): Likewise.
71117         (__inv): Likewise.
71118         (__dvd): Likewise.
71119         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
71120         (__acr): Likewise.
71121         (__cpy): Likewise.
71122         (norm): Likewise.
71123         (denorm): Likewise.
71124         (__mp_dbl): Likewise.
71125         (__dbl_mp): Likewise.
71126         (add_magnitudes): Likewise.
71127         (sub_magnitudes): Likewise.
71128         (__add): Likewise.
71129         (__sub): Likewise.
71130         (__mul): Likewise.
71131         (__inv): Likewise.
71132         (__dvd): Likewise.
71134 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
71136         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
71137         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
71138         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
71139         2 && __USE_EXTERN_INLINES]: Likewise.
71141 2013-01-08  Andreas Jaeger  <aj@suse.de>
71143         [BZ #14985]
71144         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
71145         Remove.
71146         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
71147         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
71149 2013-01-07  Anton Blanchard  <anton@samba.org>
71151         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
71152         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
71153         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
71154         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
71155         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
71156         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
71157         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
71158         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
71159         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71160         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71161         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71162         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71163         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
71164         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
71165         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
71166         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71167         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71168         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
71169         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
71170         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
71171         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
71172         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
71173         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71174         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
71175         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
71176         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
71177         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71178         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
71179         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
71180         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
71181         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
71182         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71183         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71184         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
71185         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
71186         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71187         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
71188         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71189         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
71190         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
71191         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
71192         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71193         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
71195 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
71197         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
71198         (__MALLOC_PMT): Likewise.
71199         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
71200         [__GNUC__], only on [_LIBC].
71201         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
71202         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
71203         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
71204         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
71205         forward declaration.
71206         (realloc_hook_ini): Likewise.
71207         (memalign_hook_ini): Likewise.
71208         (__libc_memalign): Do not use __MALLOC_PMT in variable
71209         declaration.
71210         (__libc_valloc): Likewise.
71211         (__libc_pvalloc): Likewise.
71212         (__libc_calloc): Likewise.
71213         (__posix_memalign): Likewise.
71215         [BZ #14996]
71216         * math/s_casinh.c: Include <float.h>.
71217         (__casinh): Do not do computation with squaring and square root
71218         for large arguments.
71219         * math/s_casinhf.c: Include <float.h>.
71220         (__casinhf): Do not do computation with squaring and square root
71221         for large arguments.
71222         * math/s_casinhl.c: Include <float.h>.
71223         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
71224         (__casinhl): Do not do computation with squaring and square root
71225         for large arguments.
71226         * math/libm-test.inc (casin_test): Add more tests.
71227         (casinh_test): Likewise.
71228         * sysdeps/i386/fpu/libm-test-ulps: Update.
71229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71231 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
71233         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
71234         (__x86_64_raw_data_cache_size): Likewise.
71235         (__x86_64_data_cache_size_half): Likewise.
71236         (__x86_64_raw_data_cache_size_half): Likewise.
71237         (__x86_64_shared_cache_size): Likewise.
71238         (__x86_64_raw_shared_cache_size): Likewise.
71239         (__x86_64_shared_cache_size_half): Likewise.
71240         (__x86_64_raw_shared_cache_size_half): Likewise.
71241         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
71242         to ...
71243         (__x86_data_cache_size): This.
71244         (__x86_64_raw_data_cache_size): Renamed to ...
71245         (__x86_raw_data_cache_size): This.
71246         (__x86_64_data_cache_size_half): Renamed to ...
71247         (__x86_data_cache_size_half): This.
71248         (__x86_64_raw_data_cache_size_half): Renamed to ...
71249         (__x86_raw_data_cache_size_half): This.
71250         (__x86_64_shared_cache_size): Renamed to ...
71251         (__x86_shared_cache_size): This.
71252         (__x86_64_raw_shared_cache_size): Renamed to ...
71253         (__x86_raw_shared_cache_size): This.
71254         (__x86_64_shared_cache_size_half): Renamed to ...
71255         (__x86_shared_cache_size_half): This.
71256         (__x86_64_raw_shared_cache_size_half): Renamed to ...
71257         (__x86_raw_shared_cache_size_half): This.
71258         * sysdeps/x86_64/memcpy.S: Updated.
71259         * sysdeps/x86_64/memset.S: Likewise.
71260         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
71261         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71262         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71264 2013-01-04  David S. Miller  <davem@davemloft.net>
71266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71268 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
71270         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
71271         1 to avoid redefinition warning.
71272         (__USE_GNU): Don't define.
71273         (init_signaling_nan): Protoize.
71275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71277 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71279         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
71280         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
71281         (__cpymn): Likewise.
71282         (norm): Remove commented code.
71283         (denorm): Likewise.
71284         (__mp_dbl): Likewise.
71285         (__inv): Likewise.
71286         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
71287         (__cpymn): Likewise.
71288         (norm): Remove commented code.
71289         (denorm): Likewise.
71290         (__mp_dbl): Likewise.
71291         (__inv): Likewise.
71293         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
71294         mp_no value for 1.0 and 2.0.
71295         (norm): Use RADIXI instead of radixi.d.
71296         (denorm): Likewise.
71297         (__mul): Use 0.0 instead of zero.d.
71298         * sysdeps/powerpc/powerpc64/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.
71304 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
71306         [BZ #14994]
71307         * math/s_casinh.c (__casinh): Reduce finite argument to first
71308         quadrant then set signs of results at the end.
71309         * math/s_casinhf.c (__casinhf): Likewise.
71310         * math/s_casinhl.c (__casinhl): Likewise.
71311         * math/libm-test.inc (casin_test): Add more tests.
71312         (casinh_test): Likewise.
71313         * sysdeps/i386/fpu/libm-test-ulps: Update.
71314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71316 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71318         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
71320         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
71322         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
71323         declarations.
71324         (denorm): Likewise.
71325         (__mp_dbl): Likewise.
71326         (__inv): Likewise.
71328         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
71329         and adjust the header comment.
71331         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
71332         variable name from declaration.
71334 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
71336         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71337         Initialize COMMON_CPUID_INDEX_7 element.
71338         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
71339         (CPUID_RTM): Likewise.
71340         (HAS_RTM): Likewise.
71341         (COMMON_CPUID_INDEX_7): New enum.
71343 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
71345         [BZ #14981]
71346         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
71347         size is zero, record memory as freed.
71349 2013-01-03  Andreas Jaeger  <aj@suse.de>
71351         * po/ia.po: Add new Interlingua translation.
71353 2012-01-03  Allan McRae  <allan@archlinux.org>
71355         * locale/programs/localedef.c: Fix description of '--posix' flag.
71357 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
71359         * NEWS: Update dates in second copyright notice.
71360         * README: Update copyright dates in example.
71361         * manual/libc.texinfo: Update copyright dates.
71362         * scripts/test-installation.pl: Update copyright date in --version
71363         output.
71365         * hurd/ctty-input.c: Fix copyright notice formatting.
71366         * hurd/ctty-output.c: Likewise.
71367         * hurd/dtable.c: Likewise.
71368         * hurd/hurd-raise.c: Likewise.
71369         * hurd/hurdprio.c: Likewise.
71370         * hurd/msgportdemux.c: Likewise.
71371         * misc/sys/file.h: Likewise.
71372         * misc/sys/ioctl.h: Likewise.
71373         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
71374         * sysdeps/mach/hurd/chdir.c: Likewise.
71375         * sysdeps/mach/hurd/fchdir.c: Likewise.
71376         * sysdeps/mach/hurd/rename.c: Likewise.
71377         * sysdeps/mach/hurd/rmdir.c: Likewise.
71378         * sysdeps/mach/hurd/seekdir.c: Likewise.
71379         * sysdeps/mach/hurd/setsid.c: Likewise.
71380         * sysdeps/posix/wait3.c: Likewise.
71382         * All files with FSF copyright notices: Update copyright dates
71383         using scripts/update-copyrights.
71384         * intl/plural.c: Regenerated.
71385         * locale/programs/charmap-kw.h: Likewise.
71386         * locale/programs/locfile-kw.h: Likewise.
71388 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
71390         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
71391         four values.
71393         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
71394         calculation loop and add branch prediction.
71396         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
71397         check access beyond bounds of m1np.
71399         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71400         MPTWO.
71401         (__inv): Remove local variable MPTWO to use the global
71402         constant.
71403         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
71404         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71405         variable MPTWO.
71406         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
71407         MP3HALFS static const.
71409 2013-01-01  David S. Miller  <davem@davemloft.net>
71411         * po/ca.po: Update from translation team.
71413 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
71415         * scripts/update-copyrights: New file.
71416         * Makeconfig: Reformat copyright notice.
71417         * ctype/ctype.h: Likewise.
71418         * debug/swprintf_chk.c: Likewise.
71419         * elf/dl-cache.c: Likewise.
71420         * elf/dl-debug.c: Likewise.
71421         * elf/dl-object.c: Likewise.
71422         * grp/initgroups.c: Likewise.
71423         * hurd/Makefile: Likewise.
71424         * hurd/hurd/signal.h: Likewise.
71425         * hurd/hurdfault.c: Likewise.
71426         * hurd/hurdioctl.c: Likewise.
71427         * hurd/hurdlookup.c: Likewise.
71428         * hurd/intr-msg.c: Likewise.
71429         * iconv/gconv_open.c: Likewise.
71430         * libio/swprintf.c: Likewise.
71431         * locale/lc-ctype.c: Likewise.
71432         * locale/nl_langinfo.c: Likewise.
71433         * mach/Machrules: Likewise.
71434         * mach/Makefile: Likewise.
71435         * malloc/obstack.h: Likewise.
71436         * manual/Makefile: Likewise.
71437         * manual/tsort.awk: Likewise.
71438         * misc/bits/stab.def: Likewise.
71439         * nis/nis_print_group_entry.c: Likewise.
71440         * nis/nis_table.c: Likewise.
71441         * nis/nss_compat/compat-pwd.c: Likewise.
71442         * nis/nss_compat/compat-spwd.c: Likewise.
71443         * po/Makefile: Likewise.
71444         * posix/fnmatch.c: Likewise.
71445         * posix/regex.h: Likewise.
71446         * resolv/Makefile: Likewise.
71447         * resolv/nss_dns/dns-network.c: Likewise.
71448         * resolv/res_hconf.c: Likewise.
71449         * scripts/gen-sorted.awk: Likewise.
71450         * soft-fp/soft-fp.h: Likewise.
71451         * stdio-common/printf.h: Likewise.
71452         * stdlib/monetary.h: Likewise.
71453         * stdlib/random.c: Likewise.
71454         * stdlib/random_r.c: Likewise.
71455         * sysdeps/generic/Makefile: Likewise.
71456         * sysdeps/gnu/Makefile: Likewise.
71457         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71458         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71459         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71460         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71461         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71462         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71463         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71464         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71465         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71466         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71467         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71468         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71469         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71470         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71471         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
71472         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71473         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71474         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71475         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71476         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71477         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71478         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71479         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71480         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
71481         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
71482         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71483         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
71484         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
71485         * sysdeps/mach/hurd/errnos.awk: Likewise.
71486         * sysdeps/mach/hurd/fork.c: Likewise.
71487         * sysdeps/mach/hurd/getcwd.c: Likewise.
71488         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
71489         * sysdeps/mach/hurd/mmap.c: Likewise.
71490         * sysdeps/mach/hurd/utimes.c: Likewise.
71491         * sysdeps/mach/hurd/xmknod.c: Likewise.
71492         * sysdeps/posix/profil.c: Likewise.
71493         * sysdeps/posix/readdir_r.c: Likewise.
71494         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71495         * sysdeps/powerpc/bits/setjmp.h: Likewise.
71496         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
71497         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
71498         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71499         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71500         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71501         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71502         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71503         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71504         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71505         * sysdeps/pthread/lio_listio.c: Likewise.
71506         * sysdeps/sparc/dl-procinfo.h: Likewise.
71507         * sysdeps/unix/i386/sysdep.S: Likewise.
71508         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
71509         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
71510         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
71511         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
71512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71513         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
71514         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
71515         * sysdeps/unix/sysv/linux/speed.c: Likewise.
71516         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
71517         * sysdeps/wordsize-32/divdi3.c: Likewise.
71518         * time/sys/time.h: Likewise.
71519         * wcsmbs/Makefile: Likewise.
71521 2013-01-01  David S. Miller  <davem@davemloft.net>
71523         * po/fr.po: Update from translation team.
71525         * catgets/gencat.c: Update copyright year.
71526         * csu/version.c: Likewise.
71527         * debug/catchsegv.sh: Likewise.
71528         * debug/pcprofiledump.c: Likewise.
71529         * debug/xtrace.sh: Likewise.
71530         * elf/ldconfig.c: Likewise.
71531         * elf/ldd.bash.in: Likewise.
71532         * elf/pldd.c: Likewise.
71533         * elf/sotruss.ksh: Likewise.
71534         * elf/sprof.c: Likewise.
71535         * iconv/iconv_prog.c: Likewise.
71536         * iconv/iconvconfig.c: Likewise.
71537         * locale/programs/locale.c: Likewise.
71538         * locale/programs/localedef.c: Likewise.
71539         * login/programs/pt_chown.c: Likewise.
71540         * malloc/memusage.sh: Likewise.
71541         * malloc/memusagestat.c: Likewise.
71542         * malloc/mtrace.pl: Likewise.
71543         * nscd/nscd.c: Likewise.
71544         * nss/getent.c: Likewise.
71545         * nss/makedb.c: Likewise.
71546         * posix/getconf.c: Likewise.
71548 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
71550         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
71551         numbers.
71553 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
71555         * math/bits/mathcalls.h (modf): Use __nonnull.
71557 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
71559         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
71560         (split): Use macro CN instead of the bare value.
71561         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
71562         could be used.
71563         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
71564         instead of the bare value.
71565         (power1): Likewise.
71567 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71569         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
71570         __ATAN_TWOM.
71571         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71573         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
71574         their values.
71575         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71576         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
71577         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
71578         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71580 2012-12-28  Andreas Jaeger  <aj@suse.de>
71582         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
71583         values are from Linux 3.7.
71585         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
71586         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
71588 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71590         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
71591         TRUE case.
71593         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
71594         (norm): Likewise.
71595         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
71596         variables with preprocessor constants.
71597         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71598         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71599         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71601 2012-12-27  Bruno Haible  <bruno@clisp.org>
71603         [BZ #14317]
71604         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
71605         only if needed.
71607 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
71609         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
71610         and use variable directly.
71611         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
71613         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71614         MPONE.
71615         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
71616         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71617         variable MPONE.
71618         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
71619         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
71620         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
71621         include directive.  Remove local variable MPONE.
71622         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
71623         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
71624         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71626 2012-12-25  David S. Miller  <davem@davemloft.net>
71628         * version.h (RELEASE): Set to "development".
71629         (VERSION): Set to "2.17.90".
71630         * NEWS: Add 2.18 section.
71632 2012-12-21  David S. Miller  <davem@davemloft.net>
71634         * po/hr.po: Update from translation team.
71636 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71638         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
71640 2012-12-19  Steve Ellcey  <sellcey@mips.com>
71642         * NEWS:  Mention new memcpy for MIPS.
71644 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71646         * manual/contrib.texi (Contributors): Spelling correction.
71648 2012-12-15  David S. Miller  <davem@davemloft.net>
71650         * po/ru.po: Update from translation team.
71652 2012-12-13  David S. Miller  <davem@davemloft.net>
71654         * NEWS: Mention IFUNC testsuite enhancements.
71656         * po/pl.po: Update from translation team.
71657         * po/bg.po: Likewise.
71659         * manual/contrib.texi (Contributors): Update entries for Hongjiu
71660         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
71662 2012-12-11  David S. Miller  <davem@davemloft.net>
71664         * po/sv.po: Update from translation team.
71666         * po/vi.po: Update from translation team.
71668         * po/cs.po: Update from translation team.
71670         * po/de.po: Update from translation team.
71671         * po/eo.po: Likewise.
71672         * po/nl.po: Likewise.
71674 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
71676         [BZ #14246]
71677         * manual/argp.texi (Argp Helper Functions): Move node to follow
71678         Argp Parsing State.
71680         [BZ #14872]
71681         * manual/conf.texi (Limits on File System Capacity): Mention if
71682         terminating null is included in the max size.
71684 2012-12-10  Andreas Jaeger  <aj@suse.de>
71686         * po/cs.po: Update from translation team.
71688 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
71690         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
71691         void pointer and cast to uintptr_t.
71692         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
71693         path.
71694         * sysdeps/s390/s390-64/memcpy.S: Likewise.
71695         * sysdeps/s390/s390-64/memset.S: Likewise.
71697 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
71699         [BZ #14833]
71700         * menual/message.texi (Message Translation): Fix typos.
71701         (Helper programs for gettext): Likewise.
71703 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
71705         [BZ #14898]
71706         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
71707         Change to -1.
71709 2012-12-07  David S. Miller  <davem@davemloft.net>
71711         * po/libc.pot: Update.
71713 2012-12-07  Richard Henderson  <rth@redhat.com>
71715         [BZ #10114]
71716         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
71717         normal/normal case to before the switch.
71718         (_FP_DIV): Likewise.
71720 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
71721             Mike Frysinger  <vapier@gentoo.org>
71723         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
71724         check for __NR_fadvise64_64.
71726 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
71728         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
71729         0, not just to plain "0" as a statement.
71730         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
71731         with cw.
71733 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
71735         * NEWS: Use sourceware.org in Bugzilla URL.
71737 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
71739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
71740         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71742         * stdio-common/tst-put-error.c (do_test): Add newline to the
71743         padded test to ensure flush.
71745 2012-12-05  Jeff Law  <law@redhat.com>
71747         * sunrpc/etc.rpc (fedfs_admin): Add entry.
71749 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
71751         * README: Don't refer to ports add-on as distributed separately.
71752         Mention AArch64 in list of systems supported in the ports add-on.
71754         * LICENSES: Add more non-FSF copyright and license notices.
71756         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
71757         ((unused)).
71759         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
71761         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
71762         10000 as width of padded output.
71764 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71766         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
71768         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
71769         variable LX with __attribute__ ((unused)).
71770         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
71771         Likewise.
71772         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
71773         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71774         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
71775         with __attribute__ ((unused)).
71777 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
71779         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
71781 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71783         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
71784         (CFLAGS-nldbl-acos.c): New variable.
71785         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
71786         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
71787         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
71788         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
71789         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
71790         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
71791         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
71792         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
71793         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
71794         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
71795         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
71796         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
71797         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
71798         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
71799         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
71800         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
71801         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
71802         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
71803         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
71804         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
71805         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
71806         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
71807         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
71808         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
71809         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
71810         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
71811         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
71812         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
71813         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
71814         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
71815         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
71816         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
71817         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
71818         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
71819         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
71820         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
71821         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
71822         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
71823         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
71824         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
71825         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
71826         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
71827         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
71828         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
71829         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
71830         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
71831         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
71832         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
71833         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
71834         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
71835         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
71836         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
71837         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
71838         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
71839         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
71840         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
71841         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
71842         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
71843         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
71844         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
71845         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
71846         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
71847         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
71848         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
71849         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
71850         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
71851         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
71852         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
71853         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
71854         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
71855         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
71856         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
71857         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
71858         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
71859         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
71860         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
71861         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
71862         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
71863         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
71864         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
71865         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
71866         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
71867         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
71868         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
71869         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
71870         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
71871         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
71872         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
71873         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
71874         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
71875         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
71876         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
71877         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
71878         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
71879         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
71880         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
71881         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
71883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71884         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71886         [BZ #14914]
71887         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
71888         whole low double instead of just low 47 bits when splitting values
71889         into two parts.
71891 2012-12-03  Allan McRae  <allan@archlinux.org>
71893         * manual/stdio.texi (Predefined Printf Handlers): Remove
71894         @hsep and @vsep usage.
71896 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
71898         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
71899         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
71901 2012-12-03  Jeff Law  <law@redhat.com>
71903         * time/sys/time.h (settimeofday): Do not mark TV argument
71904         as __nonnull.
71906 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
71908         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
71909         when currently writing and seek to current position when not.
71910         * libio/Makefile (tests): Remove bug-fclose1.
71911         * libio/bug-fclose1.c: Delete.
71913 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
71915         * manual/arith.texi (feenableexcept): Fix typo.
71916         (fedisableexcept): Likewise.
71918 2012-11-30  Roland McGrath  <roland@hack.frob.com>
71920         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
71921         second, differently-typed declaration, rather than a cast.
71923 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
71925         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
71926         * include/rpc/svc.h: ... here.
71928 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
71930         [BZ #13013]
71931         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
71932         depending n and resplen2 to catch cases where answer
71933         equals answerp2.
71935 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
71937         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
71938         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
71940 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
71942         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
71944 2012-11-29  Roland McGrath  <roland@hack.frob.com>
71946         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
71948 2012-11-28  Jeff Law  <law@redhat.com>
71950         [BZ #13761]
71951         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
71952         dataset_temporary.  Track alloca usage into alloca_used.
71953         If dataset is large allocate and release it via malloc/free.
71955 2012-06-04  Florian Weimer  <fweimer@redhat.com>
71957         [BZ #14197]
71958         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
71960 2012-11-28  David S. Miller  <davem@davemloft.net>
71962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71964 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
71966         [BZ #14803]
71967         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
71968         of pi/2 rounded to nearest to 64 bits.
71969         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
71970         nearest to 64 bits.
71971         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
71972         bits.
71974 2012-11-28  Jeff Law <law@redhat.com>
71975             Martin Osvald <mosvald@redhat.com>
71977         [BZ #14889]
71978         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
71979         * sunrpc/svc.c: Include time.h.
71980         (__svc_accept_failed): New function.
71981         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
71982         any reason other than EINTR, call __svc_accept_failed.
71983         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
71984         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
71986 2012-11-28  Andreas Schwab  <schwab@suse.de>
71988         * scripts/abilist.awk: Also handle indirect functions in .opd
71989         section.
71991 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
71993         [BZ #13881]
71994         * sysdeps/x86/fpu/powl_helper.c: New file.
71995         * sysdeps/x86/fpu/Makefile: Likewise.
71996         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
71997         (p3): New object.
71998         (__ieee754_powl): Use __powl_helper for finite arguments except
71999         integer exponents below 8.
72000         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
72001         (p3): New object.
72002         (__ieee754_powl): Use __powl_helper for finite arguments except
72003         integer exponents below 8.
72004         * math/libm-test.inc (pow_test): Add more tests and enable some
72005         previously disabled tests.
72006         * sysdeps/i386/fpu/libm-test-ulps: Update.
72007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72009 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72010             Carlos O'Donell  <carlos_odonell@mentor.com>
72012         * nss/makedb.c (is_prime): Assert that input is odd and greater
72013         than 4.  Note that fact in a comment too.
72014         (next_prime): Add 4 to input.
72016 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
72018         [BZ #11741]
72019         * libio/Makefile (tests): Add test case tst-fwrite-error.
72020         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
72021         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
72022         * libio/tst-fwrite-error.c: New test case.
72024 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
72026         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
72027         before casting to void *.
72028         * include/libc-internal.h (__pointer_type): New macro.
72029         (__integer_if_pointer_type_sub): Likewise.
72030         (__integer_if_pointer_type): Likewise.
72031         (cast_to_integer): Likewise.
72032         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
72033         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
72034         before casting to atomic64_t.
72035         (atomic_exchange_acq): Likewise.
72036         (__arch_exchange_and_add_body): Likewise.
72037         (__arch_add_body): Likewise.
72038         (atomic_add_negative): Likewise.
72039         (atomic_add_zero): Likewise.
72041 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
72043         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
72044         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
72045         (add_fdes): Likewise.
72046         (linear_search_fdes): Likewise.
72047         (binary_search_unencoded_fdes): Likewise.
72049 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
72051         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
72053 2012-11-24  Adam Conrad  <adconrad@0c3.net>
72055         * configure.in: Autodetect C++ header directories.
72056         * configure: Regenerated.
72058 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
72060         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
72062 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
72064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72066 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
72068         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
72069         LDBL_MANT_DIG == 106]: Disable some tests.
72070         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
72071         Likewise.
72072         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
72073         Likewise.
72075         [BZ #14871]
72076         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
72077         input for small inputs.  Return +/- pi/2 for large inputs.
72078         * math/libm-test.inc (atan_test): Add more tests.
72080         * sysdeps/generic/unwind-dw2-fde-glibc.c
72081         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
72082         __attribute__ ((unused)).
72084         [BZ #14645]
72085         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
72086         x * y if x and y are nonzero and z is zero.
72088         [BZ #14811]
72089         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
72090         nonzero exponents with absolute value below 0x1p-117 to +/-
72091         0x1p-117.
72093         [BZ #14869]
72094         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
72095         up arguments below 2**-450, not just those below 2**-500.
72096         * math/libm-test.inc (hypot_test): Add another test.
72098         [BZ #14868]
72099         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
72100         Return a+b for ratio over 2**120, not 2**60.
72101         * math/libm-test.inc (hypot_test): Add another test.
72103         * math/libm-test.inc (clog_test): Use
72104         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
72105         (clog10_test): Likewise.
72107         [BZ #6778]
72108         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
72110 2012-11-22  Andreas Schwab  <schwab@suse.de>
72112         * sysdeps/i386/fpu/libm-test-ulps: Update.
72114 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
72116         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
72117         printf output with newline.
72119 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
72121         [BZ #14865]
72122         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
72123         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
72124         -z nodlopen, -z initfirst and -z execstack support.
72125         * configure: Regenerated.
72127         * elf/elf.h (DF_1_NODIRECT): New macro.
72128         (DF_1_IGNMULDEF): Likewise.
72129         (DF_1_NOKSYMS): Likewise.
72130         (DF_1_NOHDR): Likewise.
72131         (DF_1_EDITED): Likewise.
72132         (DF_1_NORELOC): Likewise.
72133         (DF_1_SYMINTPOSE): Likewise.
72134         (DF_1_GLOBAUDIT): Likewise.
72135         (DF_1_SINGLETON): Likewise.
72136         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
72137         DT_1_SUPPORTED_MASK bits.
72138         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
72140 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
72142         * sysdeps/unix/make-syscalls.sh: Document prefixes.
72144 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
72146         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
72147         macro.
72149         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
72150         (sendmmsg): Move declarations...
72151         * socket/sys/socket.h: ... here.
72152         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
72153         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
72154         include it from...
72155         * socket/recvmmsg.c: ... this new file.
72156         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
72157         (sendmmsg): Rename to __sendmmsg, create weak alias and make
72158         definition of __sendmmsg hidden.
72159         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
72160         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
72161         Move ENOSYS stub into and include it from...
72162         * socket/sendmmsg.c: ... this new file.
72163         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
72164         (sysdep_routines): Move recvmmsg and sendmmsg...
72165         * socket/Makefile (routines): ... here.
72166         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
72167         (GLIBC_PRIVATE): Add __sendmmsg.
72168         * include/sys/socket.h (__sendmmsg): Add declarations.
72169         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
72170         sendmmsg.
72172 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
72174         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
72175         variable I1 with __attribute__ ((unused)).
72176         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72178 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
72180         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
72181         DUMMY variables with __attribute__ ((unused)).
72183         * bits/byteswap.h: Include <bits/types.h>.
72184         (__bswap_64): Use __uint64_t instead of unsigned long long int.
72186 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
72188         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
72189         string_t.  Do not manually set errno.
72190         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
72191         length with __strnlen.  Make sure to both set errno and return it on
72192         failure.
72194 2012-11-19  David S. Miller  <davem@davemloft.net>
72196         With help from Joseph Myers.
72197         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
72198         very large arguments properly.
72199         * math/libm-test.inc (atan_test): New tests.
72200         (atan2_test): New tests.
72201         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72204 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
72206         [BZ #14856]
72207         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
72208         Define to 3.
72210         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
72211         [POSIX] (EADDRNOTAVAIL): Likewise.
72212         [POSIX] (EAFNOSUPPORT): Likewise.
72213         [POSIX] (EALREADY): Likewise.
72214         [POSIX] (ECONNABORTED): Likewise.
72215         [POSIX] (ECONNREFUSED): Likewise.
72216         [POSIX] (ECONNRESET): Likewise.
72217         [POSIX] (EDESTADDRREQ): Likewise.
72218         [POSIX] (EDQUOT): Likewise.
72219         [POSIX] (EHOSTUNREACH): Likewise.
72220         [POSIX] (EIDRM): Likewise.
72221         [POSIX] (EISCONN): Likewise.
72222         [POSIX] (ELOOP): Likewise.
72223         [POSIX] (EMULTIHOP): Likewise.
72224         [POSIX] (ENETDOWN): Likewise.
72225         [POSIX] (ENETUNREACH): Likewise.
72226         [POSIX] (ENOBUFS): Likewise.
72227         [POSIX] (ENODATA): Likewise.
72228         [POSIX] (ENOLINK): Likewise.
72229         [POSIX] (ENOMSG): Likewise.
72230         [POSIX] (ENOPROTOOPT): Likewise.
72231         [POSIX] (ENOSR): Likewise.
72232         [POSIX] (ENOSTR): Likewise.
72233         [POSIX] (ENOTCONN): Likewise.
72234         [POSIX] (ENOTSOCK): Likewise.
72235         [POSIX] (EOPNOTSUPP): Likewise.
72236         [POSIX] (EOVERFLOW): Likewise.
72237         [POSIX] (EPROTO): Likewise.
72238         [POSIX] (EPROTONOSUPPORT): Likewise.
72239         [POSIX] (EPROTOTYPE): Likewise.
72240         [POSIX] (ESTALE): Likewise.
72241         [POSIX] (ETIME): Likewise.
72242         [POSIX] (ETXTBSY): Likewise.
72243         [POSIX] (EWOULDBLOCK): Likewise.
72244         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
72245         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
72246         [POSIX] (SEEK_CUR): Likewise.
72247         [POSIX] (SEEK_END): Likewise.
72248         [POSIX || UNIX98] (mode_t): Do not require.
72249         [POSIX] (off_t): Likewise.
72250         [POSIX] (pid_t): Likewise.
72251         [POSIX] (sys/stat.h): Do not allow header.
72252         [POSIX] (unistd.h): Likewise.
72253         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
72254         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
72255         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
72256         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
72257         require.
72258         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
72259         sigevent): Specify elements.
72260         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
72261         entry.
72262         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
72263         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
72265         * conform/data/cpio.h-data [POSIX]: Disable whole file.
72266         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
72267         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
72268         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
72269         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
72270         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
72271         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
72272         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
72273         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
72274         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
72275         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
72276         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
72277         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
72278         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
72279         Likewise.
72280         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
72281         Likewise.
72282         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
72283         Likewise.
72284         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
72285         Likewise.
72286         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
72287         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
72288         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
72289         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
72290         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
72291         Specify lower bound on value.
72292         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
72293         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
72294         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
72295         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
72296         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
72297         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
72298         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
72299         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
72300         value.
72301         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
72302         as optional.
72303         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
72304         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
72305         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
72306         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
72307         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
72308         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
72309         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
72310         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
72311         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
72312         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
72313         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
72314         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
72315         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
72316         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
72317         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
72318         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
72319         entry.
72320         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
72321         optional.
72322         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
72323         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
72324         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
72325         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
72326         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
72327         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
72328         Likewise.
72329         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
72330         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
72331         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
72332         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
72333         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
72334         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
72335         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
72336         as optional.
72337         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
72338         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
72339         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
72340         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
72341         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
72342         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
72343         specify as optional.
72344         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
72345         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
72346         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
72347         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
72348         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
72349         [XPG3] (NL_LANGMAX): Likewise.
72350         [POSIX || XPG3] (NL_MSGMAX): Likewise.
72351         [POSIX || XPG3] (NL_NMAX): Likewise.
72352         [POSIX || XPG3] (NL_SETMAX): Likewise.
72353         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
72354         [XPG3] (NZERO): Likewise.
72355         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
72356         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
72357         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
72358         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
72359         (REG_ERANGE): Expect.
72360         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
72361         optional-constant.
72362         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
72363         Use (void) in prototype.
72364         [POSIX] (*_t): Allow.
72365         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
72366         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
72367         (WRDE_BADVAL): Expect.
72369         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
72370         expect.
72371         [XPG3 || XPG4] (O_RSYNC): Likewise.
72372         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
72373         Likewise.
72374         [XPG3 || XPG4] (pthread_sigmask): Likewise.
72375         [XPG3 || XPG4] (sigqueue): Likewise.
72376         [XPG3 || XPG4] (sigtimedwait): Likewise.
72377         [XPG3 || XPG4] (sigwaitinfo): Likewise.
72378         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
72379         [XPG3 || XPG4] (vsnprintf): Likewise.
72380         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
72381         Likewise.
72382         [XPG3 || XPG4] (blksize_t): Likewise.
72383         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
72384         Likewise.
72385         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
72386         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
72387         [XPG3 || XPG4] (struct itimerspec): Likewise.
72388         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
72389         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
72390         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
72391         [XPG3 || XPG4] (clockid_t): Likewise.
72392         [XPG3 || XPG4] (timer_t): Likewise.
72393         [XPG3 || XPG4] (clock_getres): Likewise.
72394         [XPG3 || XPG4] (clock_gettime): Likewise.
72395         [XPG3 || XPG4] (clock_settime): Likewise.
72396         [XPG3 || XPG4] (nanosleep): Likewise.
72397         [XPG3 || XPG4] (timer_create): Likewise.
72398         [XPG3 || XPG4] (timer_delete): Likewise.
72399         [XPG3 || XPG4] (timer_gettime): Likewise.
72400         [XPG3 || XPG4] (timer_getoverrun): Likewise.
72401         [XPG3 || XPG4] (timer_settime): Likewise.
72402         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
72403         [XPG3 || XPG4] (getlogin_r): Likewise.
72404         [XPG3 || XPG4] (pread): Likewise.
72405         [XPG3 || XPG4] (pthread_atfork): Likewise.
72406         [XPG3 || XPG4] (pwrite): Likewise.
72408         [BZ #14835]
72409         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
72410         <bits/siginfo.h>.
72412 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
72414         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
72415         finalizing MALLSTREAM.
72417         * sysdeps/mach/hurd/syncfs.c: New file.
72419 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
72421         [BZ #14719]
72422         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
72423         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
72424         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
72425         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
72426         (_nss_dns_gethostbyname4_r): Likewise.
72427         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
72428         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
72430 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
72432         [BZ #13763]
72433         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
72435 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
72437         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
72438         * elf/cache.c (print_entry): Print ",AArch64" for
72439         FLAG_AARCH64_LIB64
72441         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
72442         * elf/cache.c (print_entry): Print ",hard-float" for
72443         FLAG_ARM_LIBHF.
72445 2012-11-18  David S. Miller  <davem@davemloft.net>
72447         With help from Joseph Myers.
72448         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
72449         cutoff to 2**-13.
72450         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
72451         cutoff to 2**-25.
72452         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
72453         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
72454         small.
72455         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
72456         * math/libm-test.inc (y0_test): New tests.
72457         (y1_test): New tests.
72458         * sysdeps/i386/fpu/libm-test-ulps: Update.
72459         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72462 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
72464         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
72465         64-bit targets.
72466         * configure: Regenerated.
72468 2012-11-17  David S. Miller  <davem@davemloft.net>
72470         [BZ #14811]
72471         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
72472         nonzero exponents with absolute value below 0x1p-128 to +/-
72473         0x1p-128.
72475 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
72477         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
72479         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
72481         * posix/getconf-speclist.c: New file.
72482         * posix/posix-envs.def: Likewise.
72483         * posix/confstr.c (START_ENV_GROUP): New macro.
72484         (END_ENV_GROUP): Likewise.
72485         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
72486         (KNOWN_PRESENT_ENV_STRING): Likewise.
72487         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
72488         (UNKNOWN_ENVIRONMENT): Likewise.
72489         (confstr): Include posix-envs.def instead of handling
72490         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
72491         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
72492         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
72493         (END_ENV_GROUP): Likewise.
72494         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
72495         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
72496         (UNKNOWN_ENVIRONMENT): Likewise.
72497         (__sysconf): Include posix-envs.def instead of handling associated
72498         cases directly here.
72499         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
72500         preprocessing getconf-speclist.c rather than running getconf or
72501         generating empty file.
72503 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
72505         * scripts/check-local-headers.sh: Ignore 'mach' headers.
72507 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
72509         [BZ #14672]
72510         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
72512 2012-11-16  David S. Miller  <davem@davemloft.net>
72514         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
72515         smaller than LDBL_EPSILON/2.0L, just return xm1.
72517 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
72519         * elf/tst-array1.c (init): Set constructor priority to 1000.
72520         (fini): Set destructor priority to 1000.
72521         * elf/tst-array2dep.c: Likewise.
72523 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72525         [BZ #11741]
72526         * libio/fileops.c (_IO_new_file_write): Correctly return error.
72527         (_IO_new_file_xsputn): Also return EOF if none of the input
72528         data was written when overflow failed.
72529         * libio/iopadn.c (_IO_padn): Likewise.
72530         * libio/iowpadn.c (_IO_wpadn): Likewise.
72531         * stdio-common/tst-put-error.c: Add copyright notice.
72532         (do_test): Add case for printing padded string.
72533         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
72534         _IO_padn returned error.
72535         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
72536         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
72537         return EOF.
72539 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72541         * libio/libioP.h: Add comment note that the references to C++
72542         bits are now obsolete.
72544 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72546         * math/libm-test.inc (check_complex): Use asprintf.
72548 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
72550         * debug/pcprofiledump.c (print_version): Update copyright year.
72551         * malloc/memusagestat.c (print_version): Likewise.
72553 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
72555         [BZ #14831]
72556         * elf/Makefile (tests): Add tst-audit8.
72557         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
72558         ($(objpfx)tst-audit8.out): New target.
72559         (tst-audit8-ENV): New variable.
72560         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
72561         audit if l_reloc_result is NULL.
72562         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
72563         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
72564         * elf/tst-audit8.c: New file.
72566 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72568         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
72569         * misc/Makefile (CFLAGS-select.c): Define.
72570         * posix/Makefile (CFLAGS-pause.c): Define.
72572 2012-11-13  David S. Miller  <davem@davemloft.net>
72574         * crypt/Makefile: Move test targets after toplevel Rules
72575         inclusion.  Grab any necessary sysdep routines when linking.
72576         * crypt/md5.c (md5_process_block): Remove define, we will always
72577         name it __md5_process_block.
72578         (md5_finish_ctx): Update md5_process_block call.
72579         (md5_stream): Likewise.
72580         (md5_process_bytes): Likewise.
72581         (md5_process_block): Rename to __md5_process_block and move to ...
72582         * crypt/md5-block.c: ... here.
72583         * crypt/sha256.c (sha256_process_block): Move to ...
72584         * crypt/sha256-block.c: ... here.
72585         * crypt/sha512.c (sha512_process_block): Move to ...
72586         * crypt/sha512-block.c: ... here.
72587         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
72588         path.
72589         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
72590         * sysdeps/sparc/sparc64/multiarch/Makefile
72591         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
72592         crypt subdir.
72593         (localedef-aux): Add md5 crypto assembler when in locale subdir.
72594         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
72595         multiarch changes.
72596         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
72597         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
72598         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
72599         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
72600         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
72601         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
72602         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
72603         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
72604         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
72605         file.
72606         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
72607         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
72608         file.
72609         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
72611 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
72613         * timezone/tzselect.ksh: Update from tzcode git revision
72614         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
72615         * timezone/zdump.c: Likewise.
72616         * timezone/zic.c: Likewise.
72617         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
72618         in TZVERSION setting, not $(PKGVERSION).
72619         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
72620         REPORT_BUGS_TO settings.
72622         [BZ #14838]
72623         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
72624         macro.
72626 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72628         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
72629         detection to immediately after _FP_ROUND().
72630         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
72631         bits are 0.
72633 2012-11-11  David S. Miller  <davem@davemloft.net>
72635         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
72636         inttypes.h
72637         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
72638         __close rather than their public counterparts.
72640 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
72642         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
72643         file.
72644         [UNIX98] (sem_timedwait): Do not expect.
72645         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
72646         [XPG4 || UNIX98] (sockatmark): Do not expect.
72647         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
72648         (clock_getcpuclockid): Do not expect.
72649         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
72650         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
72651         Do not expect.
72652         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
72653         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
72654         [UNIX98] (vwscanf): Likewise.
72655         [UNIX98] (vswscanf): Likewise.
72657 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
72659         * timezone/version.h: Remove file.
72660         * timezone/README: Do not refer to version.h.
72661         * timezone/Makefile ($(objpfx)zic.o): New dependency on
72662         $(objpfx)version.h.
72663         ($(objpfx)zdump.o): Likewise.
72664         ($(objpfx)version.h): New target.
72666         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
72667         2012i.
72668         * timezone/README: Don't mention modification to tzselect.ksh.
72669         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
72670         work on unmodified tzselect.ksh.  Substitute version numbers in
72671         tzselect.ksh.
72673         * Makefile (format-me): Remove.
72674         (INSTALL): Adjust indentation.  Use commands directly instead of
72675         using $(format-me).
72677         * aclocal.m4 (ACX_PKGVERSION): New macro.
72678         (ACX_BUGURL): Likewise.
72679         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
72680         (PKGVERSION): New AC_DEFINE_UNQUOTED.
72681         (REPORT_BUGS_TO): Likewise.
72682         * configure: Regenerated.
72683         * config.h.in (PKGVERSION): New macro.
72684         (REPORT_BUGS_TO): Likewise.
72685         * config.make.in (PKGVERSION): New variable.
72686         (PKGVERSION_TEXI): Likewise.
72687         (REPORT_BUGS_TO): Likewise.
72688         (REPORT_BUGS_TEXI): Likewise.
72689         * Makefile (format-me): Use -I$(common-objpfx)manual.
72690         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
72691         ($(common-objpfx)manual/%): New target.
72692         (manual/%): Remove target.
72693         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
72694         (print_version): Use PKGVERSION.
72695         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
72696         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
72697         and REPORT_BUGS_TO.
72698         ($(objpfx)xtrace): Likewise.
72699         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
72700         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
72701         (print_version): Use PKGVERSION.
72702         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
72703         (do_version): Use PKGVERSION.
72704         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
72705         REPORT_BUGS_TO.
72706         (common-ldd-rewrite): Likewise.
72707         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
72708         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
72709         (print_version): Use PKGVERSION.
72710         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
72711         * elf/pldd.c (argp_program_bug_address): Remove variable.
72712         (more_help): New function.
72713         (argp): Use more_help.
72714         (print_version): Use PKGVERSION.
72715         * elf/sln.c (main): Use PKGVERSION.
72716         (usage): Use REPORT_BUGS_TO.
72717         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
72718         (top level): Use PKGVERSION.
72719         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
72720         (print_version): Use PKGVERSION.
72721         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
72722         (print_version): Use PKGVERSION.
72723         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
72724         (print_version): Use PKGVERSION.
72725         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
72726         (print_version): Use PKGVERSION.
72727         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
72728         (print_version): Use PKGVERSION.
72729         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
72730         (print_version): Use PKGVERSION.
72731         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
72732         and BUGURL.
72733         ($(objpfx)memusage): Likewise.
72734         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
72735         (do_version): Use PKGVERSION.
72736         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
72737         (print_version): Use PKGVERSION.
72738         * malloc/mtrace.pl ($PACKAGE): Remove variable.
72739         ($PKGVERSION): New variable.
72740         ($REPORT_BUGS_TO): Likewise.
72741         (usage): Use $REPORT_BUGS_TO.
72742         (top level): Use $PKGVERSION.
72743         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
72744         ($(objpfx)pkgvers.texi): New rule.
72745         ($(objpfx)stamp-pkgvers): Likewise.
72746         * manual/install.texi: Include pkgvers.texi.
72747         (--with-pkgversion): Document new configure option.
72748         (--with-bugurl): Likewise.
72749         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
72750         than necessarily for this particular distribution.  Use
72751         REPORT_BUGS_TO for where to report bugs.
72752         * INSTALL: Regenerated.
72753         * manual/libc.texinfo: Include pkgvers.texi.
72754         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
72755         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
72756         (print_version): Use PKGVERSION.
72757         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
72758         (print_version): Use PKGVERSION.
72759         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
72760         (print_version): Use PKGVERSION.
72761         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
72762         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
72763         macro.
72764         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
72765         (print_version): Use PKGVERSION.
72766         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
72767         (print_version): Use PKGVERSION.
72768         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
72769         and PKGVERSION.
72771         * timezone/checktab.awk: Update from tzcode 2012i.
72772         * timezone/ialloc.c: Likewise.
72773         * timezone/private.h: Likewise.
72774         * timezone/scheck.c: Likewise.
72775         * timezone/tzfile.h: Likewise.
72776         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
72777         (TZVERSION): Hardcode tzcode version number.
72778         * timezone/zdump.c: Update from tzcode 2012i.
72779         * timezone/zic.c: Likewise.
72780         * timezone/version.h: New file.
72781         * timezone/README: Describe version.h.  Update upstream location.
72783         [BZ #14824]
72784         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
72785         (mktemp): Enable declaration.
72786         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
72787         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
72788         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
72789         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
72790         Likewise.
72791         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
72792         Likewise.
72793         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
72794         Likewise.
72795         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
72796         Likewise.
72797         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
72798         Likewise.
72799         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
72800         Likewise.
72802         [BZ #14821]
72803         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
72804         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
72805         for copies of such integer values.
72806         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72807         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72809 2012-11-09  Andreas Jaeger  <aj@suse.de>
72811         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
72812         definitions and declarations that are provided by
72813         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72815 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72817         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
72818         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
72819         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
72820         definition.
72822 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72824         * elf/elf.h: Update comment before AArch64 relocations.
72826 2012-11-07  David S. Miller  <davem@davemloft.net>
72828         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
72829         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72830         (__start_context): Declare.
72831         (__makecontext_ret): Delete.
72832         (__makecontext): Hook up __start_context instead of
72833         __makecontext_ret.
72834         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
72835         (sysdep_routines): Add __start_context when in stdlib.
72837 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72839         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
72840         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
72841         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
72842         hardcoded "nm".
72843         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
72844         (READELF): New variable.  Use it instead of hardcoded "readelf".
72846 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72848         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
72849         * sysdeps/x86/Makefile: Here.
72850         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
72851         * sysdeps/x86/tst-xmmymm.sh: This.
72853 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72855         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
72856         expectations.
72857         [UNIX98] (pthread_barrier_t): Do not expect.
72858         [UNIX98] (pthread_barrierattr_t): Likewise.
72859         [UNIX98] (pthread_spinlock_t): Likewise.
72860         [UNIX98] (pthread_barrier_destroy): Likewise.
72861         [UNIX98] (pthread_barrier_init): Likewise.
72862         [UNIX98] (pthread_barrier_wait): Likewise.
72863         [UNIX98] (pthread_barrierattr_destroy): Likewise.
72864         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
72865         [UNIX98] (pthread_barrierattr_init): Likewise.
72866         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
72867         [UNIX98] (pthread_getcpuclockid): Likewise.
72868         [UNIX98] (pthread_mutex_timedlock): Likewise.
72869         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
72870         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
72871         [UNIX98] (pthread_sigmask): Likewise.
72872         [UNIX98] (pthread_spin_destroy): Likewise.
72873         [UNIX98] (pthread_spin_init): Likewise.
72874         [UNIX98] (pthread_spin_lock): Likewise.
72875         [UNIX98] (pthread_spin_trylock): Likewise.
72876         [UNIX98] (pthread_spin_unlock): Likewise.
72877         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
72878         Do not expect.
72879         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
72880         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
72881         [XPG3 || XPG4] (pthread_cond_t): Likewise.
72882         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
72883         [XPG3 || XPG4] (pthread_key_t): Likewise.
72884         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
72885         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
72886         [XPG3 || XPG4] (pthread_once_t): Likewise.
72887         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
72888         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
72889         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
72890         [XPG3 || XPG4] (pthread_t): Likewise.
72892         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
72893         not expect.
72894         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
72896         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
72897         Change function return type to int.
72899         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
72900         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
72901         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
72902         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
72903         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
72904         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
72905         [!POSIX] (posix_madvise): Likewise.
72906         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
72907         && !UNIX98].
72908         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
72909         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
72910         (mode_t): Likewise.
72911         (posix_mem_offset): Likewise.
72912         (posix_typed_mem_get_info): Likewise.
72913         (posix_typed_mem_open): Likewise.
72915         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
72916         Change condition to [XOPEN2K8].
72918         * conform/conformtest.pl: Preprocess allow-header data with -x c
72919         instead of from stdin.
72920         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
72921         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
72922         [C99-based standards] (cerfc): Likewise.
72923         [C99-based standards] (cexp2): Likewise.
72924         [C99-based standards] (cexpm1): Likewise.
72925         [C99-based standards] (clog10): Likewise.
72926         [C99-based standards] (clog1p): Likewise.
72927         [C99-based standards] (clog2): Likewise.
72928         [C99-based standards] (clgamma): Likewise.
72929         [C99-based standards] (ctgamma): Likewise.
72930         [C99-based standards] (cerff): Likewise.
72931         [C99-based standards] (cerfcf): Likewise.
72932         [C99-based standards] (cexp2f): Likewise.
72933         [C99-based standards] (cexpm1f): Likewise.
72934         [C99-based standards] (clog10f): Likewise.
72935         [C99-based standards] (clog1pf): Likewise.
72936         [C99-based standards] (clog2f): Likewise.
72937         [C99-based standards] (clgammaf): Likewise.
72938         [C99-based standards] (ctgammaf): Likewise.
72939         [C99-based standards] (cerfl): Likewise.
72940         [C99-based standards] (cerfcl): Likewise.
72941         [C99-based standards] (cexp2l): Likewise.
72942         [C99-based standards] (cexpm1l): Likewise.
72943         [C99-based standards] (clog10l): Likewise.
72944         [C99-based standards] (clog1pl): Likewise.
72945         [C99-based standards] (clog2l): Likewise.
72946         [C99-based standards] (clgammal): Likewise.
72947         [C99-based standards] (ctgammal): Likewise.
72948         * conform/data/inttypes.h-data [C99-based standards]: Include
72949         stdint.h-data.  Remove all expectations for stdint.h contents.
72950         [C99-based standards] (PRI*): Do not allow.
72951         [C99-based standards] (SCN*): Likewise.
72952         [C99-based standards] (*_t): Likewise.
72953         [C99-based-standards] (PRId8): Expect macro.
72954         [C99-based-standards] (PRIi8): Likewise.
72955         [C99-based-standards] (PRIo8): Likewise.
72956         [C99-based-standards] (PRIu8): Likewise.
72957         [C99-based-standards] (PRIx8): Likewise.
72958         [C99-based-standards] (PRIX8): Likewise.
72959         [C99-based-standards] (SCNd8): Likewise.
72960         [C99-based-standards] (SCNi8): Likewise.
72961         [C99-based-standards] (SCNo8): Likewise.
72962         [C99-based-standards] (SCNu8): Likewise.
72963         [C99-based-standards] (SCNx8): Likewise.
72964         [C99-based-standards] (PRIdLEAST8): Likewise.
72965         [C99-based-standards] (PRIiLEAST8): Likewise.
72966         [C99-based-standards] (PRIoLEAST8): Likewise.
72967         [C99-based-standards] (PRIuLEAST8): Likewise.
72968         [C99-based-standards] (PRIxLEAST8): Likewise.
72969         [C99-based-standards] (PRIXLEAST8): Likewise.
72970         [C99-based-standards] (SCNdLEAST8): Likewise.
72971         [C99-based-standards] (SCNiLEAST8): Likewise.
72972         [C99-based-standards] (SCNoLEAST8): Likewise.
72973         [C99-based-standards] (SCNuLEAST8): Likewise.
72974         [C99-based-standards] (SCNxLEAST8): Likewise.
72975         [C99-based-standards] (PRIdFAST8): Likewise.
72976         [C99-based-standards] (PRIiFAST8): Likewise.
72977         [C99-based-standards] (PRIoFAST8): Likewise.
72978         [C99-based-standards] (PRIuFAST8): Likewise.
72979         [C99-based-standards] (PRIxFAST8): Likewise.
72980         [C99-based-standards] (PRIXFAST8): Likewise.
72981         [C99-based-standards] (SCNdFAST8): Likewise.
72982         [C99-based-standards] (SCNiFAST8): Likewise.
72983         [C99-based-standards] (SCNoFAST8): Likewise.
72984         [C99-based-standards] (SCNuFAST8): Likewise.
72985         [C99-based-standards] (SCNxFAST8): Likewise.
72986         [C99-based-standards] (PRId16): Likewise.
72987         [C99-based-standards] (PRIi16): Likewise.
72988         [C99-based-standards] (PRIo16): Likewise.
72989         [C99-based-standards] (PRIu16): Likewise.
72990         [C99-based-standards] (PRIx16): Likewise.
72991         [C99-based-standards] (PRIX16): Likewise.
72992         [C99-based-standards] (SCNd16): Likewise.
72993         [C99-based-standards] (SCNi16): Likewise.
72994         [C99-based-standards] (SCNo16): Likewise.
72995         [C99-based-standards] (SCNu16): Likewise.
72996         [C99-based-standards] (SCNx16): Likewise.
72997         [C99-based-standards] (PRIdLEAST16): Likewise.
72998         [C99-based-standards] (PRIiLEAST16): Likewise.
72999         [C99-based-standards] (PRIoLEAST16): Likewise.
73000         [C99-based-standards] (PRIuLEAST16): Likewise.
73001         [C99-based-standards] (PRIxLEAST16): Likewise.
73002         [C99-based-standards] (PRIXLEAST16): Likewise.
73003         [C99-based-standards] (SCNdLEAST16): Likewise.
73004         [C99-based-standards] (SCNiLEAST16): Likewise.
73005         [C99-based-standards] (SCNoLEAST16): Likewise.
73006         [C99-based-standards] (SCNuLEAST16): Likewise.
73007         [C99-based-standards] (SCNxLEAST16): Likewise.
73008         [C99-based-standards] (PRIdFAST16): Likewise.
73009         [C99-based-standards] (PRIiFAST16): Likewise.
73010         [C99-based-standards] (PRIoFAST16): Likewise.
73011         [C99-based-standards] (PRIuFAST16): Likewise.
73012         [C99-based-standards] (PRIxFAST16): Likewise.
73013         [C99-based-standards] (PRIXFAST16): Likewise.
73014         [C99-based-standards] (SCNdFAST16): Likewise.
73015         [C99-based-standards] (SCNiFAST16): Likewise.
73016         [C99-based-standards] (SCNoFAST16): Likewise.
73017         [C99-based-standards] (SCNuFAST16): Likewise.
73018         [C99-based-standards] (SCNxFAST16): Likewise.
73019         [C99-based-standards] (PRId32): Likewise.
73020         [C99-based-standards] (PRIi32): Likewise.
73021         [C99-based-standards] (PRIo32): Likewise.
73022         [C99-based-standards] (PRIu32): Likewise.
73023         [C99-based-standards] (PRIx32): Likewise.
73024         [C99-based-standards] (PRIX32): Likewise.
73025         [C99-based-standards] (SCNd32): Likewise.
73026         [C99-based-standards] (SCNi32): Likewise.
73027         [C99-based-standards] (SCNo32): Likewise.
73028         [C99-based-standards] (SCNu32): Likewise.
73029         [C99-based-standards] (SCNx32): Likewise.
73030         [C99-based-standards] (PRIdLEAST32): Likewise.
73031         [C99-based-standards] (PRIiLEAST32): Likewise.
73032         [C99-based-standards] (PRIoLEAST32): Likewise.
73033         [C99-based-standards] (PRIuLEAST32): Likewise.
73034         [C99-based-standards] (PRIxLEAST32): Likewise.
73035         [C99-based-standards] (PRIXLEAST32): Likewise.
73036         [C99-based-standards] (SCNdLEAST32): Likewise.
73037         [C99-based-standards] (SCNiLEAST32): Likewise.
73038         [C99-based-standards] (SCNoLEAST32): Likewise.
73039         [C99-based-standards] (SCNuLEAST32): Likewise.
73040         [C99-based-standards] (SCNxLEAST32): Likewise.
73041         [C99-based-standards] (PRIdFAST32): Likewise.
73042         [C99-based-standards] (PRIiFAST32): Likewise.
73043         [C99-based-standards] (PRIoFAST32): Likewise.
73044         [C99-based-standards] (PRIuFAST32): Likewise.
73045         [C99-based-standards] (PRIxFAST32): Likewise.
73046         [C99-based-standards] (PRIXFAST32): Likewise.
73047         [C99-based-standards] (SCNdFAST32): Likewise.
73048         [C99-based-standards] (SCNiFAST32): Likewise.
73049         [C99-based-standards] (SCNoFAST32): Likewise.
73050         [C99-based-standards] (SCNuFAST32): Likewise.
73051         [C99-based-standards] (SCNxFAST32): Likewise.
73052         [C99-based-standards] (PRId64): Likewise.
73053         [C99-based-standards] (PRIi64): Likewise.
73054         [C99-based-standards] (PRIo64): Likewise.
73055         [C99-based-standards] (PRIu64): Likewise.
73056         [C99-based-standards] (PRIx64): Likewise.
73057         [C99-based-standards] (PRIX64): Likewise.
73058         [C99-based-standards] (SCNd64): Likewise.
73059         [C99-based-standards] (SCNi64): Likewise.
73060         [C99-based-standards] (SCNo64): Likewise.
73061         [C99-based-standards] (SCNu64): Likewise.
73062         [C99-based-standards] (SCNx64): Likewise.
73063         [C99-based-standards] (PRIdLEAST64): Likewise.
73064         [C99-based-standards] (PRIiLEAST64): Likewise.
73065         [C99-based-standards] (PRIoLEAST64): Likewise.
73066         [C99-based-standards] (PRIuLEAST64): Likewise.
73067         [C99-based-standards] (PRIxLEAST64): Likewise.
73068         [C99-based-standards] (PRIXLEAST64): Likewise.
73069         [C99-based-standards] (SCNdLEAST64): Likewise.
73070         [C99-based-standards] (SCNiLEAST64): Likewise.
73071         [C99-based-standards] (SCNoLEAST64): Likewise.
73072         [C99-based-standards] (SCNuLEAST64): Likewise.
73073         [C99-based-standards] (SCNxLEAST64): Likewise.
73074         [C99-based-standards] (PRIdFAST64): Likewise.
73075         [C99-based-standards] (PRIiFAST64): Likewise.
73076         [C99-based-standards] (PRIoFAST64): Likewise.
73077         [C99-based-standards] (PRIuFAST64): Likewise.
73078         [C99-based-standards] (PRIxFAST64): Likewise.
73079         [C99-based-standards] (PRIXFAST64): Likewise.
73080         [C99-based-standards] (SCNdFAST64): Likewise.
73081         [C99-based-standards] (SCNiFAST64): Likewise.
73082         [C99-based-standards] (SCNoFAST64): Likewise.
73083         [C99-based-standards] (SCNuFAST64): Likewise.
73084         [C99-based-standards] (SCNxFAST64): Likewise.
73085         [C99-based-standards] (PRIdMAX): Likewise.
73086         [C99-based-standards] (PRIiMAX): Likewise.
73087         [C99-based-standards] (PRIoMAX): Likewise.
73088         [C99-based-standards] (PRIuMAX): Likewise.
73089         [C99-based-standards] (PRIxMAX): Likewise.
73090         [C99-based-standards] (PRIXMAX): Likewise.
73091         [C99-based-standards] (SCNdMAX): Likewise.
73092         [C99-based-standards] (SCNiMAX): Likewise.
73093         [C99-based-standards] (SCNoMAX): Likewise.
73094         [C99-based-standards] (SCNuMAX): Likewise.
73095         [C99-based-standards] (SCNxMAX): Likewise.
73096         [C99-based-standards] (PRIdPTR): Likewise.
73097         [C99-based-standards] (PRIiPTR): Likewise.
73098         [C99-based-standards] (PRIoPTR): Likewise.
73099         [C99-based-standards] (PRIuPTR): Likewise.
73100         [C99-based-standards] (PRIxPTR): Likewise.
73101         [C99-based-standards] (PRIXPTR): Likewise.
73102         [C99-based-standards] (SCNdPTR): Likewise.
73103         [C99-based-standards] (SCNiPTR): Likewise.
73104         [C99-based-standards] (SCNoPTR): Likewise.
73105         [C99-based-standards] (SCNuPTR): Likewise.
73106         [C99-based-standards] (SCNxPTR): Likewise.
73107         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
73108         allow.
73109         * conform/data/stdint.h-data: Update comments to clarify
73110         requirements.
73111         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
73112         type.
73113         [C99-based standards] (INT8_MAX): Likewise.
73114         [C99-based standards] (INT16_MIN): Likewise.
73115         [C99-based standards] (INT16_MAX): Likewise.
73116         [C99-based standards] (INT32_MIN): Likewise.
73117         [C99-based standards] (INT32_MAX): Likewise.
73118         [C99-based standards] (INT64_MIN): Likewise.
73119         [C99-based standards] (INT64_MAX): Likewise.
73120         [C99-based standards] (UINT8_MAX): Likewise.
73121         [C99-based standards] (UINT16_MAX): Likewise.
73122         [C99-based standards] (UINT32_MAX): Likewise.
73123         [C99-based standards] (UINT64_MAX): Likewise.
73124         [C99-based standards] (INT_LEAST8_MIN): Likewise.
73125         [C99-based standards] (INT_LEAST8_MAX): Likewise.
73126         [C99-based standards] (INT_LEAST16_MIN): Likewise.
73127         [C99-based standards] (INT_LEAST16_MAX): Likewise.
73128         [C99-based standards] (INT_LEAST32_MIN): Likewise.
73129         [C99-based standards] (INT_LEAST32_MAX): Likewise.
73130         [C99-based standards] (INT_LEAST64_MIN): Likewise.
73131         [C99-based standards] (INT_LEAST64_MAX): Likewise.
73132         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
73133         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
73134         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
73135         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
73136         [C99-based standards] (INT_FAST8_MIN): Likewise.
73137         [C99-based standards] (INT_FAST8_MAX): Likewise.
73138         [C99-based standards] (INT_FAST16_MIN): Likewise.
73139         [C99-based standards] (INT_FAST16_MAX): Likewise.
73140         [C99-based standards] (INT_FAST32_MIN): Likewise.
73141         [C99-based standards] (INT_FAST32_MAX): Likewise.
73142         [C99-based standards] (INT_FAST64_MIN): Likewise.
73143         [C99-based standards] (INT_FAST64_MAX): Likewise.
73144         [C99-based standards] (UINT_FAST8_MAX): Likewise.
73145         [C99-based standards] (UINT_FAST16_MAX): Likewise.
73146         [C99-based standards] (UINT_FAST32_MAX): Likewise.
73147         [C99-based standards] (UINT_FAST64_MAX): Likewise.
73148         [C99-based standards] (INTPTR_MIN): Likewise.
73149         [C99-based standards] (INTPTR_MAX): Likewise.
73150         [C99-based standards] (UINTPTR_MAX): Likewise.
73151         [C99-based standards] (INTMAX_MIN): Likewise.
73152         [C99-based standards] (INTMAX_MAX): Likewise.
73153         [C99-based standards] (UINTMAX_MAX): Likewise.
73154         [C99-based standards] (PTRDIFF_MIN): Likewise.
73155         [C99-based standards] (PTRDIFF_MAX): Likewise.
73156         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
73157         [C99-based standards] (SIZE_MAX): Likewise.
73158         [C99-based standards] (WCHAR_MAX): Likewise.
73159         [C99-based standards] (WINT_MAX): Likewise.
73160         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
73161         constraint on value.
73162         [C99-based standards] (WCHAR_MIN): Likewise.
73163         [C99-based standards] (WINT_MIN): Likewise.
73164         [C99-based standards] (*_t): Allow.
73165         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
73166         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
73167         Include math.h-data and complex.h-data.  Remove all expectations
73168         of math.h and complex.h contents.
73169         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
73170         at end of line.
73171         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
73172         (struct tm): Expect tag.
73173         [C99-based-standards] (wcstof): Expect function.
73174         [C99-based-standards] (wcstold): Likewise.
73175         [C99-based-standards] (wcstoll): Likewise.
73176         [C99-based-standards] (wcstoull): Likewise.
73177         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
73178         macro-int-constant.  Specify type.
73179         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
73180         constraint on value.
73181         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
73182         Specify type.
73183         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
73184         Specify value.
73185         [ISO C standards]: Do not allow headers.
73186         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
73187         wcs[abcdefghijklmnopqrstuvwxyz]*.
73188         [ISO C standards] (*_t): Do not allow.
73189         * conform/data/wctype.h-data [C99-based standards] (iswblank):
73190         Expect function.
73191         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
73192         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
73193         Specify type.
73194         [ISO C standards]: Do not allow headers.
73195         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
73196         is[abcdefghijklmnopqrstuvwxyz]*.
73197         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
73198         to[abcdefghijklmnopqrstuvwxyz]*.
73199         [ISO C standards] (*_t): Do not allow.
73200         * conform/data/stdalign.h-data: New file.
73201         * conform/data/stdbool.h-data: Likewise.
73202         * conform/data/stdnoreturn.h-data: Likewise.
73204 2012-11-07  Roland McGrath  <roland@hack.frob.com>
73206         [BZ #14815]
73207         * manual/filesys.texi (Directory Entries): Typo fix.
73208         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
73210 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73212         * elf/elf.h (EM_AARCH64): New macro.
73213         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
73214         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
73215         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
73216         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
73217         (R_AARCH64_TLSDESC): Likewise.
73218         (NT_ARM_TLS): Likewise.
73219         (NT_ARM_HW_BREAK): Likewise.
73220         (NT_ARM_HW_WATCH): Likewise.
73222 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73224         [BZ #14811]
73225         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
73226         (__ieee754_powl): Saturate nonzero exponents with absolute value
73227         below 0x1p-79 to +/- 0x1p-79.
73228         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
73229         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
73230         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
73231         nonzero exponents with absolute value below 0x1p-32 to +/-
73232         0x1p-32.
73233         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
73234         (__ieee754_powl): Saturate nonzero exponents with absolute value
73235         below 0x1p-79 to +/- 0x1p-79.
73236         * math/libm-test.inc (pow_test): Add more tests.
73238 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73240         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
73241         _dl_s390_cap_flags with kernel. Increase string length.
73242         (_dl_s390_platforms): Add z196 and zEC12.
73244 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73246         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
73247         Change XOPEN21K to XOPEN2K.
73249 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
73251         * string/memmove.c: Use memcpy when possible.
73253 2012-11-06  Andreas Jaeger  <aj@suse.de>
73255         * po/eo.po: Update from translation team.
73257 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
73259         [BZ #14793]
73260         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
73261         exponent and small x and y exponents, scale x or y up.  Increase
73262         by 2 the exponent used in scaling up.
73263         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73264         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73265         * math/libm-test.inc (fma_test): Add more tests.
73266         (fma_test_towardzero): Likewise.
73267         (fma_test_downward): Likewise.
73268         (fma_test_upward): Likewise.
73270 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
73272         [BZ #14805]
73273         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
73274         fenv_t *.
73276         [BZ #14801]
73277         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
73278         namespace for names of struct fields.
73279         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
73280         fenv_t fields.
73281         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
73282         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
73284 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73286         [BZ #3665]
73287         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
73289 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
73291         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
73292         PTR_DEMANGLE.
73294         [BZ #5246]
73295         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
73296         PTR_DEMANGLE.
73298 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
73300         [BZ #14797]
73301         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
73302         definitely overflow as x * y not x * y + z.
73303         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73304         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73305         * math/libm-test.inc (fma_test): Add more tests.
73306         (fma_test_towardzero): Likewise.
73307         (fma_test_downward): Likewise.
73308         (fma_test_upward): Likewise.
73310 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
73312         [BZ #157]
73314         * include/stub-tag.h: Remove file.
73315         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
73316         '#include' of it.
73317         * manual/maint.texi (Porting): Don't reference it.
73318         * Makerules ($(objpfx)stubs): Likewise.
73319         * dirent/closedir.c: Don't include <stub-tag.h>.
73320         * dirent/dirfd.c: Likewise.
73321         * dirent/fdopendir.c: Likewise.
73322         * dirent/getdents.c: Likewise.
73323         * dirent/getdents64.c: Likewise.
73324         * dirent/opendir.c: Likewise.
73325         * dirent/readdir.c: Likewise.
73326         * dirent/readdir64.c: Likewise.
73327         * dirent/readdir64_r.c: Likewise.
73328         * dirent/readdir_r.c: Likewise.
73329         * dirent/rewinddir.c: Likewise.
73330         * dirent/seekdir.c: Likewise.
73331         * dirent/telldir.c: Likewise.
73332         * gmon/profil.c: Likewise.
73333         * grp/setgroups.c: Likewise.
73334         * inet/if_index.c: Likewise.
73335         * io/access.c: Likewise.
73336         * io/chdir.c: Likewise.
73337         * io/chmod.c: Likewise.
73338         * io/chown.c: Likewise.
73339         * io/close.c: Likewise.
73340         * io/dup.c: Likewise.
73341         * io/dup2.c: Likewise.
73342         * io/dup3.c: Likewise.
73343         * io/euidaccess.c: Likewise.
73344         * io/faccessat.c: Likewise.
73345         * io/fchdir.c: Likewise.
73346         * io/fchmod.c: Likewise.
73347         * io/fchmodat.c: Likewise.
73348         * io/fchown.c: Likewise.
73349         * io/fchownat.c: Likewise.
73350         * io/fcntl.c: Likewise.
73351         * io/flock.c: Likewise.
73352         * io/fstatfs.c: Likewise.
73353         * io/fstatfs64.c: Likewise.
73354         * io/fstatvfs.c: Likewise.
73355         * io/fstatvfs64.c: Likewise.
73356         * io/futimens.c: Likewise.
73357         * io/fxstat.c: Likewise.
73358         * io/fxstat64.c: Likewise.
73359         * io/fxstatat.c: Likewise.
73360         * io/fxstatat64.c: Likewise.
73361         * io/getcwd.c: Likewise.
73362         * io/isatty.c: Likewise.
73363         * io/lchmod.c: Likewise.
73364         * io/lchown.c: Likewise.
73365         * io/link.c: Likewise.
73366         * io/linkat.c: Likewise.
73367         * io/lseek.c: Likewise.
73368         * io/lseek64.c: Likewise.
73369         * io/lxstat64.c: Likewise.
73370         * io/mkdir.c: Likewise.
73371         * io/mkdirat.c: Likewise.
73372         * io/mkfifo.c: Likewise.
73373         * io/mkfifoat.c: Likewise.
73374         * io/open.c: Likewise.
73375         * io/open64.c: Likewise.
73376         * io/openat.c: Likewise.
73377         * io/openat64.c: Likewise.
73378         * io/pipe.c: Likewise.
73379         * io/pipe2.c: Likewise.
73380         * io/poll.c: Likewise.
73381         * io/posix_fadvise.c: Likewise.
73382         * io/posix_fadvise64.c: Likewise.
73383         * io/posix_fallocate.c: Likewise.
73384         * io/posix_fallocate64.c: Likewise.
73385         * io/read.c: Likewise.
73386         * io/readlink.c: Likewise.
73387         * io/readlinkat.c: Likewise.
73388         * io/rmdir.c: Likewise.
73389         * io/sendfile.c: Likewise.
73390         * io/sendfile64.c: Likewise.
73391         * io/statfs.c: Likewise.
73392         * io/statfs64.c: Likewise.
73393         * io/statvfs.c: Likewise.
73394         * io/statvfs64.c: Likewise.
73395         * io/symlink.c: Likewise.
73396         * io/symlinkat.c: Likewise.
73397         * io/ttyname.c: Likewise.
73398         * io/ttyname_r.c: Likewise.
73399         * io/umask.c: Likewise.
73400         * io/unlink.c: Likewise.
73401         * io/unlinkat.c: Likewise.
73402         * io/utime.c: Likewise.
73403         * io/utimensat.c: Likewise.
73404         * io/write.c: Likewise.
73405         * io/xmknod.c: Likewise.
73406         * io/xmknodat.c: Likewise.
73407         * io/xstat.c: Likewise.
73408         * io/xstat64.c: Likewise.
73409         * login/getpt.c: Likewise.
73410         * login/grantpt.c: Likewise.
73411         * login/unlockpt.c: Likewise.
73412         * math/e_acoshl.c: Likewise.
73413         * math/e_acosl.c: Likewise.
73414         * math/e_asinl.c: Likewise.
73415         * math/e_atan2l.c: Likewise.
73416         * math/e_atanhl.c: Likewise.
73417         * math/e_coshl.c: Likewise.
73418         * math/e_expl.c: Likewise.
73419         * math/e_fmodl.c: Likewise.
73420         * math/e_gammal_r.c: Likewise.
73421         * math/e_hypotl.c: Likewise.
73422         * math/e_j0l.c: Likewise.
73423         * math/e_j1l.c: Likewise.
73424         * math/e_jnl.c: Likewise.
73425         * math/e_lgammal_r.c: Likewise.
73426         * math/e_log10l.c: Likewise.
73427         * math/e_log2l.c: Likewise.
73428         * math/e_logl.c: Likewise.
73429         * math/e_powl.c: Likewise.
73430         * math/e_rem_pio2l.c: Likewise.
73431         * math/e_sinhl.c: Likewise.
73432         * math/e_sqrtl.c: Likewise.
73433         * math/fclrexcpt.c: Likewise.
73434         * math/fedisblxcpt.c: Likewise.
73435         * math/feenablxcpt.c: Likewise.
73436         * math/fegetenv.c: Likewise.
73437         * math/fegetexcept.c: Likewise.
73438         * math/fegetround.c: Likewise.
73439         * math/feholdexcpt.c: Likewise.
73440         * math/fesetenv.c: Likewise.
73441         * math/fesetround.c: Likewise.
73442         * math/feupdateenv.c: Likewise.
73443         * math/fgetexcptflg.c: Likewise.
73444         * math/fraiseexcpt.c: Likewise.
73445         * math/fsetexcptflg.c: Likewise.
73446         * math/ftestexcept.c: Likewise.
73447         * math/k_cosl.c: Likewise.
73448         * math/k_rem_pio2l.c: Likewise.
73449         * math/k_sinl.c: Likewise.
73450         * math/k_tanl.c: Likewise.
73451         * math/s_asinhl.c: Likewise.
73452         * math/s_atanl.c: Likewise.
73453         * math/s_cbrtl.c: Likewise.
73454         * math/s_erfl.c: Likewise.
73455         * math/s_expm1l.c: Likewise.
73456         * math/s_log1pl.c: Likewise.
73457         * math/s_tanhl.c: Likewise.
73458         * misc/acct.c: Likewise.
73459         * misc/brk.c: Likewise.
73460         * misc/chflags.c: Likewise.
73461         * misc/chroot.c: Likewise.
73462         * misc/fchflags.c: Likewise.
73463         * misc/fgetxattr.c: Likewise.
73464         * misc/flistxattr.c: Likewise.
73465         * misc/fremovexattr.c: Likewise.
73466         * misc/fsetxattr.c: Likewise.
73467         * misc/fsync.c: Likewise.
73468         * misc/ftruncate.c: Likewise.
73469         * misc/futimes.c: Likewise.
73470         * misc/futimesat.c: Likewise.
73471         * misc/getdomain.c: Likewise.
73472         * misc/getdtsz.c: Likewise.
73473         * misc/gethostid.c: Likewise.
73474         * misc/gethostname.c: Likewise.
73475         * misc/getloadavg.c: Likewise.
73476         * misc/getpagesize.c: Likewise.
73477         * misc/getsysstats.c: Likewise.
73478         * misc/getxattr.c: Likewise.
73479         * misc/gtty.c: Likewise.
73480         * misc/ioctl.c: Likewise.
73481         * misc/lgetxattr.c: Likewise.
73482         * misc/listxattr.c: Likewise.
73483         * misc/llistxattr.c: Likewise.
73484         * misc/lremovexattr.c: Likewise.
73485         * misc/lsetxattr.c: Likewise.
73486         * misc/lutimes.c: Likewise.
73487         * misc/madvise.c: Likewise.
73488         * misc/mincore.c: Likewise.
73489         * misc/mlock.c: Likewise.
73490         * misc/mlockall.c: Likewise.
73491         * misc/mmap.c: Likewise.
73492         * misc/mprotect.c: Likewise.
73493         * misc/msync.c: Likewise.
73494         * misc/munlock.c: Likewise.
73495         * misc/munlockall.c: Likewise.
73496         * misc/munmap.c: Likewise.
73497         * misc/preadv.c: Likewise.
73498         * misc/preadv64.c: Likewise.
73499         * misc/ptrace.c: Likewise.
73500         * misc/pwritev.c: Likewise.
73501         * misc/pwritev64.c: Likewise.
73502         * misc/readv.c: Likewise.
73503         * misc/reboot.c: Likewise.
73504         * misc/remap_file_pages.c: Likewise.
73505         * misc/removexattr.c: Likewise.
73506         * misc/revoke.c: Likewise.
73507         * misc/select.c: Likewise.
73508         * misc/setdomain.c: Likewise.
73509         * misc/setegid.c: Likewise.
73510         * misc/seteuid.c: Likewise.
73511         * misc/sethostid.c: Likewise.
73512         * misc/sethostname.c: Likewise.
73513         * misc/setregid.c: Likewise.
73514         * misc/setreuid.c: Likewise.
73515         * misc/setxattr.c: Likewise.
73516         * misc/sstk.c: Likewise.
73517         * misc/stty.c: Likewise.
73518         * misc/swapoff.c: Likewise.
73519         * misc/swapon.c: Likewise.
73520         * misc/sync.c: Likewise.
73521         * misc/syncfs.c: Likewise.
73522         * misc/syscall.c: Likewise.
73523         * misc/truncate.c: Likewise.
73524         * misc/ualarm.c: Likewise.
73525         * misc/usleep.c: Likewise.
73526         * misc/ustat.c: Likewise.
73527         * misc/utimes.c: Likewise.
73528         * misc/vhangup.c: Likewise.
73529         * misc/writev.c: Likewise.
73530         * posix/_exit.c: Likewise.
73531         * posix/alarm.c: Likewise.
73532         * posix/execve.c: Likewise.
73533         * posix/fexecve.c: Likewise.
73534         * posix/fork.c: Likewise.
73535         * posix/fpathconf.c: Likewise.
73536         * posix/getaddrinfo.c: Likewise.
73537         * posix/getegid.c: Likewise.
73538         * posix/geteuid.c: Likewise.
73539         * posix/getgid.c: Likewise.
73540         * posix/getgroups.c: Likewise.
73541         * posix/getlogin.c: Likewise.
73542         * posix/getlogin_r.c: Likewise.
73543         * posix/getpgid.c: Likewise.
73544         * posix/getpid.c: Likewise.
73545         * posix/getppid.c: Likewise.
73546         * posix/getresgid.c: Likewise.
73547         * posix/getresuid.c: Likewise.
73548         * posix/getsid.c: Likewise.
73549         * posix/getuid.c: Likewise.
73550         * posix/glob64.c: Likewise.
73551         * posix/nanosleep.c: Likewise.
73552         * posix/pathconf.c: Likewise.
73553         * posix/pause.c: Likewise.
73554         * posix/posix_madvise.c: Likewise.
73555         * posix/pread.c: Likewise.
73556         * posix/pread64.c: Likewise.
73557         * posix/pwrite.c: Likewise.
73558         * posix/pwrite64.c: Likewise.
73559         * posix/sched_getaffinity.c: Likewise.
73560         * posix/sched_getp.c: Likewise.
73561         * posix/sched_gets.c: Likewise.
73562         * posix/sched_primax.c: Likewise.
73563         * posix/sched_primin.c: Likewise.
73564         * posix/sched_rr_gi.c: Likewise.
73565         * posix/sched_setaffinity.c: Likewise.
73566         * posix/sched_setp.c: Likewise.
73567         * posix/sched_sets.c: Likewise.
73568         * posix/sched_yield.c: Likewise.
73569         * posix/setgid.c: Likewise.
73570         * posix/setlogin.c: Likewise.
73571         * posix/setpgid.c: Likewise.
73572         * posix/setresgid.c: Likewise.
73573         * posix/setresuid.c: Likewise.
73574         * posix/setsid.c: Likewise.
73575         * posix/setuid.c: Likewise.
73576         * posix/sleep.c: Likewise.
73577         * posix/spawni.c: Likewise.
73578         * posix/sysconf.c: Likewise.
73579         * posix/times.c: Likewise.
73580         * posix/wait.c: Likewise.
73581         * posix/wait3.c: Likewise.
73582         * posix/wait4.c: Likewise.
73583         * posix/waitpid.c: Likewise.
73584         * resolv/gai_sigqueue.c: Likewise.
73585         * resource/getpriority.c: Likewise.
73586         * resource/getrlimit.c: Likewise.
73587         * resource/getrusage.c: Likewise.
73588         * resource/nice.c: Likewise.
73589         * resource/setpriority.c: Likewise.
73590         * resource/setrlimit.c: Likewise.
73591         * resource/ulimit.c: Likewise.
73592         * rt/aio_cancel.c: Likewise.
73593         * rt/aio_fsync.c: Likewise.
73594         * rt/aio_read.c: Likewise.
73595         * rt/aio_sigqueue.c: Likewise.
73596         * rt/aio_suspend.c: Likewise.
73597         * rt/aio_write.c: Likewise.
73598         * rt/clock_getres.c: Likewise.
73599         * rt/clock_gettime.c: Likewise.
73600         * rt/clock_nanosleep.c: Likewise.
73601         * rt/clock_settime.c: Likewise.
73602         * rt/lio_listio.c: Likewise.
73603         * rt/mq_close.c: Likewise.
73604         * rt/mq_getattr.c: Likewise.
73605         * rt/mq_notify.c: Likewise.
73606         * rt/mq_open.c: Likewise.
73607         * rt/mq_receive.c: Likewise.
73608         * rt/mq_send.c: Likewise.
73609         * rt/mq_setattr.c: Likewise.
73610         * rt/mq_timedreceive.c: Likewise.
73611         * rt/mq_timedsend.c: Likewise.
73612         * rt/mq_unlink.c: Likewise.
73613         * rt/shm_open.c: Likewise.
73614         * rt/shm_unlink.c: Likewise.
73615         * rt/timer_create.c: Likewise.
73616         * rt/timer_delete.c: Likewise.
73617         * rt/timer_getoverr.c: Likewise.
73618         * rt/timer_gettime.c: Likewise.
73619         * rt/timer_settime.c: Likewise.
73620         * setjmp/__longjmp.c: Likewise.
73621         * setjmp/setjmp.c: Likewise.
73622         * signal/kill.c: Likewise.
73623         * signal/killpg.c: Likewise.
73624         * signal/raise.c: Likewise.
73625         * signal/sigaction.c: Likewise.
73626         * signal/sigaltstack.c: Likewise.
73627         * signal/sigblock.c: Likewise.
73628         * signal/sigignore.c: Likewise.
73629         * signal/sigintr.c: Likewise.
73630         * signal/signal.c: Likewise.
73631         * signal/sigpause.c: Likewise.
73632         * signal/sigpending.c: Likewise.
73633         * signal/sigqueue.c: Likewise.
73634         * signal/sigreturn.c: Likewise.
73635         * signal/sigset.c: Likewise.
73636         * signal/sigsetmask.c: Likewise.
73637         * signal/sigstack.c: Likewise.
73638         * signal/sigsuspend.c: Likewise.
73639         * signal/sigtimedwait.c: Likewise.
73640         * signal/sigvec.c: Likewise.
73641         * signal/sigwait.c: Likewise.
73642         * signal/sigwaitinfo.c: Likewise.
73643         * signal/sysv_signal.c: Likewise.
73644         * socket/accept.c: Likewise.
73645         * socket/accept4.c: Likewise.
73646         * socket/bind.c: Likewise.
73647         * socket/connect.c: Likewise.
73648         * socket/getpeername.c: Likewise.
73649         * socket/getsockname.c: Likewise.
73650         * socket/getsockopt.c: Likewise.
73651         * socket/isfdtype.c: Likewise.
73652         * socket/listen.c: Likewise.
73653         * socket/recv.c: Likewise.
73654         * socket/recvfrom.c: Likewise.
73655         * socket/recvmsg.c: Likewise.
73656         * socket/send.c: Likewise.
73657         * socket/sendmsg.c: Likewise.
73658         * socket/sendto.c: Likewise.
73659         * socket/setsockopt.c: Likewise.
73660         * socket/shutdown.c: Likewise.
73661         * socket/sockatmark.c: Likewise.
73662         * socket/socket.c: Likewise.
73663         * socket/socketpair.c: Likewise.
73664         * stdio-common/ctermid.c: Likewise.
73665         * stdio-common/cuserid.c: Likewise.
73666         * stdio-common/remove.c: Likewise.
73667         * stdio-common/rename.c: Likewise.
73668         * stdio-common/renameat.c: Likewise.
73669         * stdio-common/tempname.c: Likewise.
73670         * stdlib/getcontext.c: Likewise.
73671         * stdlib/makecontext.c: Likewise.
73672         * stdlib/setcontext.c: Likewise.
73673         * stdlib/swapcontext.c: Likewise.
73674         * stdlib/system.c: Likewise.
73675         * streams/fattach.c: Likewise.
73676         * streams/fdetach.c: Likewise.
73677         * streams/getmsg.c: Likewise.
73678         * streams/getpmsg.c: Likewise.
73679         * streams/putmsg.c: Likewise.
73680         * streams/putpmsg.c: Likewise.
73681         * sysdeps/unix/bsd/getpt.c: Likewise.
73682         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
73683         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
73684         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
73685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73686         Likewise.
73687         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
73688         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73689         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
73690         * sysvipc/msgctl.c: Likewise.
73691         * sysvipc/msgget.c: Likewise.
73692         * sysvipc/msgrcv.c: Likewise.
73693         * sysvipc/msgsnd.c: Likewise.
73694         * sysvipc/semctl.c: Likewise.
73695         * sysvipc/semget.c: Likewise.
73696         * sysvipc/semop.c: Likewise.
73697         * sysvipc/semtimedop.c: Likewise.
73698         * sysvipc/shmat.c: Likewise.
73699         * sysvipc/shmctl.c: Likewise.
73700         * sysvipc/shmdt.c: Likewise.
73701         * sysvipc/shmget.c: Likewise.
73702         * termios/tcdrain.c: Likewise.
73703         * termios/tcflow.c: Likewise.
73704         * termios/tcflush.c: Likewise.
73705         * termios/tcgetattr.c: Likewise.
73706         * termios/tcgetpgrp.c: Likewise.
73707         * termios/tcsendbrk.c: Likewise.
73708         * termios/tcsetattr.c: Likewise.
73709         * termios/tcsetpgrp.c: Likewise.
73710         * time/adjtime.c: Likewise.
73711         * time/clock.c: Likewise.
73712         * time/getitimer.c: Likewise.
73713         * time/gettimeofday.c: Likewise.
73714         * time/setitimer.c: Likewise.
73715         * time/settimeofday.c: Likewise.
73716         * time/stime.c: Likewise.
73717         * time/time.c: Likewise.
73719 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
73721         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
73722         /usr/old/bin.
73724         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
73725         instead of spaces.
73726         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
73728 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
73730         [BZ #14796]
73731         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
73732         FE_TONEAREST before applying Dekker multiplication and Knuth
73733         addition.  Clear inexact exceptions and check for exact zero
73734         results afterwards.
73735         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73736         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73737         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73738         * math/libm-test.inc (fma_test): Add more tests.
73739         (fma_test_towardzero): Likewise.
73740         (fma_test_downward): Likewise.
73741         (fma_test_upward): Likewise.
73742         * sysdeps/generic/math_private.h (default_libc_fesetround): New
73743         function.
73744         (libc_fesetround): New macro.
73745         (libc_fesetroundf): Likewise.
73746         (libc_fesetroundl): Likewise.
73747         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
73748         function.
73749         (libc_fesetround_387): Likewise.
73750         (libc_fesetroundf): New macro.
73751         (libc_fesetround): Likewise.
73752         (libc_fesetroundl): Likewise.
73753         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
73754         function.
73755         (libc_fesetroundf): New macro.
73756         (libc_fesetround): Likewise.
73757         (libc_fesetroundl): Likewise.
73758         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
73759         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
73760         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
73761         libm_hidden_ver.
73762         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
73763         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
73764         libm_hidden_def.
73765         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
73766         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
73767         libm_hidden_ver.
73768         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
73769         libm_hidden_def.
73771         [BZ #3439]
73772         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
73773         integer constant usable in #if and use that to give value to enum
73774         constant.
73775         (FE_DIVBYZERO): Likewise.
73776         (FE_UNDERFLOW): Likewise.
73777         (FE_OVERFLOW): Likewise.
73778         (FE_INVALID): Likewise.
73779         (FE_INVALID_SNAN): Likewise.
73780         (FE_INVALID_ISI): Likewise.
73781         (FE_INVALID_IDI): Likewise.
73782         (FE_INVALID_ZDZ): Likewise.
73783         (FE_INVALID_IMZ): Likewise.
73784         (FE_INVALID_COMPARE): Likewise.
73785         (FE_INVALID_SOFTWARE): Likewise.
73786         (FE_INVALID_SQRT): Likewise.
73787         (FE_INVALID_INTEGER_CONVERSION): Likewise.
73788         (FE_TONEAREST): Likewise.
73789         (FE_TOWARDZERO): Likewise.
73790         (FE_UPWARD): Likewise.
73791         (FE_DOWNWARD): Likewise.
73792         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
73793         (FE_DIVBYZERO): Likewise.
73794         (FE_OVERFLOW): Likewise.
73795         (FE_UNDERFLOW): Likewise.
73796         (FE_INEXACT): Likewise.
73797         (FE_TONEAREST): Likewise.
73798         (FE_DOWNWARD): Likewise.
73799         (FE_UPWARD): Likewise.
73800         (FE_TOWARDZERO): Likewise.
73801         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
73802         (FE_UNDERFLOW): Likewise.
73803         (FE_OVERFLOW): Likewise.
73804         (FE_DIVBYZERO): Likewise.
73805         (FE_INVALID): Likewise.
73806         (FE_TONEAREST): Likewise.
73807         (FE_TOWARDZERO): Likewise.
73808         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
73809         (FE_OVERFLOW): Likewise.
73810         (FE_UNDERFLOW): Likewise.
73811         (FE_DIVBYZERO): Likewise.
73812         (FE_INEXACT): Likewise.
73813         (FE_TONEAREST): Likewise.
73814         (FE_TOWARDZERO): Likewise.
73815         (FE_UPWARD): Likewise.
73816         (FE_DOWNWARD): Likewise.
73817         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
73818         (FE_DIVBYZERO): Likewise.
73819         (FE_OVERFLOW): Likewise.
73820         (FE_UNDERFLOW): Likewise.
73821         (FE_INEXACT): Likewise.
73822         (FE_TONEAREST): Likewise.
73823         (FE_DOWNWARD): Likewise.
73824         (FE_UPWARD): Likewise.
73825         (FE_TOWARDZERO): Likewise.
73827 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
73829         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
73831 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
73833         * scripts/cross-test-ssh.sh (command): Use newlines to separate
73834         commands.  Quote $PWD.
73835         (blacklist_exports): Don't use remove_newlines.  Replace "declare
73836         -x" by "export".
73837         (remove_newlines): Remove.
73839 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
73841         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
73842         * stdlib/stdlib.h (atof): Moved to ...
73843         * include/bits/stdlib-float.h: Here.  New file.
73844         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
73845         * stdlib/bits/stdlib-float.h: New file.
73846         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
73847         -mno-sse -mno-mmx.
73848         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
73849         <xmmintrin.h>.
73851 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
73853         * conform/conformtest.pl (@headers): Add fenv.h.
73854         * conform/data/fenv.h-data: New file.
73855         * include/fenv.h [_ISOMAC]: Disable all contents of file except
73856         include of <math/fenv.h>.
73858         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
73859         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
73860         && !UNIX98].  Enables tests for XOPEN2K8.
73861         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
73862         POSIX2008]: Likewise.
73864         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
73865         (struct rusage): Do not expect type or its members.
73867         [BZ #3439]
73868         * math/math.h (FP_NAN): Define macro to integer constant usable in
73869         #if and use that to give value to enum constant.
73870         (FP_INFINITE): Likewise.
73871         (FP_ZERO): Likewise.
73872         (FP_SUBNORMAL): Likewise.
73873         (FP_NORMAL): Likewise.
73875 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
73877         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
73878         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
73879         arguments.
73881 2012-11-02  Roland McGrath  <roland@hack.frob.com>
73883         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
73884         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
73885         autoconf-time if not.
73886         * configure.in: Remove AC_PREREQ.
73888 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73890         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
73891         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
73892         of the internal implementation.
73894 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
73896         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
73897         except include of <misc/sys/syslog.h>.
73899 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
73902         function returns with a NULL context exit with zero.
73904 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73906         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
73908 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
73910         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
73911         (run_program_cmd): This.
73912         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
73913         (tst_langinfo): New variable.  Use it.
73915 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
73917         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
73918         floating point opcodes.
73920 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73922         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
73923         variable.
73925         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
73927         * sysdeps/mach/hurd/powerpc: Remove directory.
73928         * sysdeps/mach/powerpc: Likewise.
73930 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73932         * scripts/check-local-headers.sh: Ignore c++ headers.
73934 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73936         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
73937         __libc_cleanup_region_start argument.
73939 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
73941         [BZ #14784]
73942         [BZ #14785]
73943         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
73944         x * y using scaling, not as x * y + z.
73945         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73946         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73947         * math/libm-test.inc (fma_test): Add more tests.
73948         (fma_test_towardzero): Likewise.
73949         (fma_test_downward): Likewise.
73950         (fma_test_upward): Likewise.
73952 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73954         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
73956 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
73958         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
73959         New variable.
73961 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
73963         * rt/tst-shm.c (worker): Correct checking for mmap failure.
73965 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
73967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73968         Fix sort order.
73969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73970         Likewise.
73972 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73975         Fix the order of the list for glibc 2.17.
73976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73977         Likewise.
73979 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
73981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73983 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
73985         [BZ #14610]
73986         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
73987         for low part of x being zero before using __atanl (y).
73988         * math/libm-test.inc (atan2_test): Add another test.
73990         * manual/install.texi (Configuring and compiling): Document
73991         general use of test-wrapper and test-wrapper-env.
73992         * INSTALL: Regenerated.
73994         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
73995         (__fma): Do not extract and scale down low bits on after-rounding
73996         systems when result rounded to normal precision would have normal
73997         exponent.
73998         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
73999         (__fmal): Do not extract and scale down low bits on after-rounding
74000         systems when result rounded to normal precision would have normal
74001         exponent.
74002         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
74003         (__fmal): Do not extract and scale down low bits on after-rounding
74004         systems when result rounded to normal precision would have normal
74005         exponent.
74006         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
74007         macro.
74008         (fma_test): Add more tests.
74009         (fma_test_towardzero): Likewise.
74010         (fma_test_downward): Likewise.
74011         (fma_test_upward): Likewise.
74013 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
74015         * sysdeps/i386/tininess.h: Renamed to ...
74016         * sysdeps/x86/tininess.h: This.
74017         * sysdeps/x86_64/tininess.h: Removed.
74019 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
74021         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
74022         input.  Use $(build-program-cmd).
74023         ($(objpfx)tst-array1-static.out): Likewise.
74024         ($(objpfx)tst-array2.out): Likewise.
74025         ($(objpfx)tst-array3.out): Likewise.
74026         ($(objpfx)tst-array4.out): Likewise.
74027         ($(objpfx)tst-array5.out): Likewise.
74028         ($(objpfx)tst-array5-static.out): Likewise.
74030 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
74032         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
74033         if defined.
74035         * nss/nsswitch.h (nss_interface_function): Provide new
74036         macro for use with NSS functions.
74037         * grp/initgroups.c: Use new macro.
74038         * nss/getXXbyYY.c: Likewise.
74039         * nss/getXXbyYY_r.c: Likewise.
74040         * nss/getXXent.c: Likewise.
74041         * nss/getXXent_r.c: Likewise.
74042         * sysdeps/posix/getaddrinfo.c: Likewise.
74044 2012-10-30  Andreas Jaeger  <aj@suse.de>
74046         * po/ru.po: Update Russion translation from translation project.
74048 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
74050         [BZ #14152]
74051         [BZ #14783]
74052         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
74053         result and shift together with sticky bit instead of replicating
74054         round-to-nearest rounding.
74055         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74056         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74057         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
74058         missing underflow exceptions.
74059         (fma_test_towardzero): Add more tests.
74060         (fma_test_downward): Likewise.
74061         (fma_test_upward): Likewise.
74063         [BZ #14047]
74064         * sysdeps/generic/tininess.h: New file.
74065         * sysdeps/i386/tininess.h: Likewise.
74066         * sysdeps/sh/tininess.h: Likewise.
74067         * sysdeps/x86_64/tininess.h: Likewise.
74068         * stdlib/tst-strtod-underflow.c: Likewise.
74069         * stdlib/tst-tininess.c: Likewise.
74070         * stdlib/strtod_l.c: Include <tininess.h>.
74071         (round_and_return): Do not set errno for exact underflow cases.
74072         Force an underflow exception when setting errno for underflow.
74073         Determine underflow based on rounding to normal precision if
74074         TININESS_AFTER_ROUNDING.
74075         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
74076         ERANGE for exact underflow cases.
74077         * stdlib/Makefile (tests): Add tst-tininess and
74078         tst-strtod-underflow.
74079         ($(objpfx)tst-tininess): Use $(link-libm).
74080         ($(objpfx)tst-strtod-underflow): Likewise.
74082 2012-10-30  Andreas Jaeger  <aj@suse.de>
74084         [BZ #14767]
74085         * elf/Makefile (tests): Remove conditional for have-initfini-array
74086         since this is now always required and the variable does not exist
74087         anymore.
74088         (tests-static): Likewise.
74089         (modules-names): Likewise.
74091         * po/eo.po: Add Esperanto translation from translation project.
74093         * elf/tst-array1.c (fini_array): Make writeable so that it can be
74094         merged with constructor/destructor.
74095         (init_array): Likewise.
74096         * elf/tst-array2dep.c (fini_array): Likewise.
74097         (init_array): Likewise.
74099 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
74101         * manual/message.texi: Delete @cartouche tags.
74103 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
74105         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
74106         EOPNOTSUPP.
74107         * sysdeps/mach/hurd/fsync.c: Likewise.
74109         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
74110         [_POSIX_REALTIME_SIGNALS]: Change condition to
74111         [_POSIX_REALTIME_SIGNALS > 0].
74113 2012-10-27  Andreas Jaeger  <aj@suse.de>
74115         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
74116         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
74117         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
74118         [__WORDSIZE != 64]: Likewise.
74120 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
74122         *  iconvdata/tst-table.sh: Remove ${SHELL}.
74123         *  iconvdata/tst-tables.sh: Likewise.
74125 2012-10-25  David S. Miller  <davem@davemloft.net>
74127         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74128         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
74129         of strtoull.
74131         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
74132         ifunc-impl-list.c
74133         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74134         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
74135         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
74136         file.
74138 2012-10-25  Roland McGrath  <roland@hack.frob.com>
74140         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74141         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
74142         __getdirentries.
74144 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
74145             Jim Blandy  <jimb@codesourcery.com>
74147         * scripts/cross-test-ssh.sh: New file.
74148         * manual/install.texi (Configuring and compiling): Document use of
74149         cross-test-ssh.sh.
74150         * INSTALL: Regenerated.
74152 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
74154         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
74155         EOPNOTSUPP.
74157 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
74159         * Makeconfig (run-program-prefix): Fix comment.
74161 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
74162             Jim Blandy  <jimb@codesourcery.com>
74164         * Makeconfig (test-wrapper): New variable,
74165         (test-wrapper-env): Likewise.
74166         [$(cross-compiling) = yes && $(test-wrapper) != ""]
74167         (run-built-tests): Define to yes.
74168         (run-program-prefix): Use $(test-wrapper).
74169         (built-program-cmd): Likewise.
74170         * Rules (make-test-out): Use $(test-wrapper-env) and
74171         $(host-built-program-cmd).
74172         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
74173         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
74174         tst-pathopt.sh.
74175         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
74176         $(test-wrapper-env) to tst-rtld-load-self.sh.
74177         ($(objpfx)order2.out): Use $(test-wrapper).
74178         ($(objpfx)tst-initorder.out): Likewise.
74179         ($(objpfx)tst-initorder2.out): Likewise.
74180         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
74181         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
74182         (test_wrapper_env): New variable.  Use it to run ld.so.
74183         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
74184         Use it to run ld.so.
74185         (test_wrapper_env): Likewise.
74186         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
74187         $(test-wrapper) to run-iconv-test.sh.
74188         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
74189         (ICONV): Use $test_wrapper.
74190         * posix/Makefile ($(objpfx)globtest.out): Pass
74191         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
74192         globtest.sh, not $(run-program-prefix).
74193         * posix/globtest.sh (run_via_rtld_prefix): New variable.
74194         (test_wrapper): Likewise.
74195         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
74196         set together with run_via_rtld_prefix.
74197         (run_program_prefix): Define in terms of test_wrapper and
74198         run_via_rtld_prefix.
74200 2012-10-24  Roland McGrath  <roland@hack.frob.com>
74202         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
74203         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
74204         Targets removed.
74206         [BZ #14743]
74207         * include/time.h: Remove librt_hidden_proto (clock_gettime).
74208         Declare __clock_getres, __clock_gettime, __clock_settime,
74209         __clock_nanosleep, and __clock_getcpuclockid.
74210         * rt/clock_gettime.c: Define __clock_gettime as an alias.
74211         Remove librt_hidden_def (clock_gettime).
74212         * sysdeps/unix/clock_gettime.c: Likewise.
74213         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
74214         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
74215         * rt/clock_getres.c: Define __clock_getres as an alias.
74216         * sysdeps/posix/clock_getres.c: Likewise.
74217         * rt/clock_settime.c: Define __clock_settime as an alias.
74218         * sysdeps/unix/clock_settime.c: Likewise.
74219         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
74220         * sysdeps/unix/clock_nanosleep.c: Likewise.
74221         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
74222         * rt/clock-compat.c: New file.
74223         * rt/Makefile (librt-routines): Add clock-compat and move
74224         $(clock-routines) to ...
74225         (routines): ... here, new variable.
74226         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
74227         Don't add get_clockfreq here.
74228         * rt/Versions (libc: GLIBC_2.17): New version set.
74229         Add clock_* symbols here.
74230         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
74231         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
74232         (GLIBC_2.17): Add clock_* symbols.
74233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
74234         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
74235         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
74236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74237         Likewise.
74238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74239         Likewise.
74240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
74241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
74242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
74243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
74244         * NEWS: Mention the move.
74246         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
74247         Use __open, __read, __close rather than their public counterparts.
74248         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74249         (__get_clockfreq_via_cpuinfo): Likewise.
74250         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
74251         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
74253         * config.h.in (HAVE_IFUNC): New #undef.
74254         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
74255         was successful.
74256         * configure: Regenerated.
74258 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
74260         * configure.in: Move READELF check to start of file.
74261         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
74262         libc_cv_asm_gnu_indirect_function in the process.
74263         * configure: Regenerated.
74265 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
74267         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
74268         send the output to /dev/null.
74269         (libc_cv_cc_with_libunwind): Likewise.
74270         (libc_cv_as_noexecstack): Likewise.
74271         * configure: Regenerate.
74273 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
74275         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
74277         * posix/globtest.sh (TMPDIR): Do not set.
74278         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
74279         (testout): Likewise.
74281 2012-10-24  Andreas Jaeger  <aj@suse.de>
74283         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
74284         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
74285         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
74286         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
74287         posix_fadvise64, posix_fallocate64.
74289         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
74290         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
74291         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
74292         Likewise.
74293         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
74294         Likewise.
74295         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
74297         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
74298         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
74299         <bits/fcntl-linux.h>.
74300         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
74302         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
74303         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
74304         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
74305         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
74306         [__WORDSIZE != 64]: Likewise.
74308 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
74310         * Makeconfig (run-built-tests): New variable.
74311         * Rules [$(cross-compiling) = yes]: Change condition to
74312         [$(run-built-tests) = no].
74313         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
74314         to [$(run-built-tests) = yes].
74315         * elf/Makefile [$(cross-compiling) = no]: Likewise.
74316         * grp/Makefile [$(cross-compiling) = no]: Likewise.
74317         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
74318         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
74319         * intl/Makefile [$(cross-compiling) = no]: Likewise.
74320         * io/Makefile [$(cross-compiling) = no]: Likewise.
74321         * libio/Makefile [$(cross-compiling) = no]: Likewise.
74322         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
74323         * misc/Makefile [$(cross-compiling) = no]: Likewise.
74324         * posix/Makefile [$(cross-compiling) = no]: Likewise.
74325         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
74326         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
74327         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
74328         * string/Makefile [$(cross-compiling) = no]: Likewise.
74330         * posix/Makefile ($(objpfx)globtest.out): Pass
74331         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
74332         $(rtld-installed-name).
74333         * posix/globtest.sh (elf_objpfx): Remove variable.
74334         (rtld_installed_name): Likewise.
74335         (library_path): Likewise.
74336         (run_program_prefix): New variable.  Use for running globtest
74337         binary.
74339 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
74340             Joseph Myers  <joseph@codesourcery.com>
74342         * Makeconfig (host-built-program-cmd): New variable.
74343         * elf/Makefile (tst-stackguard1-ARGS): Use
74344         $(host-built-program-cmd).
74345         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
74346         (tst-spawn-ARGS): Likewise.
74347         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
74349 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
74350             Jim Blandy  <jimb@codesourcery.com>
74352         * Makeconfig (run-via-rtld-prefix): New variable.
74353         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
74354         (built-program-cmd): Likewise.
74356 2012-10-22  Andreas Jaeger  <aj@suse.de>
74358         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
74359         __O_RSYNC if it exists, otherwise to O_SYNC.
74361 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
74362             Joseph Myers  <joseph@codesourcery.com>
74364         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
74365         /dev/null.
74366         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
74367         from /dev/null
74368         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
74369         /dev/null.
74371 2012-10-22  Andreas Jaeger  <aj@suse.de>
74373         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
74374         Define always.
74375         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
74377         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74378         bits/fcntl-linux.h.
74380         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
74381         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
74383         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
74384         to __O_LARGEFILE.
74385         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
74386         to __O_LARGEFILE.
74388 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
74389             Joseph Myers  <joseph@codesourcery.com>
74391         * config.make.in (NM): New variable.
74393 2012-10-21  Andreas Jaeger  <aj@suse.de>
74395         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
74396         definitions and declarations that are provided by
74397         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74399 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
74401         [BZ #14683]
74402         * elf/Makefile (tests-static): Add tst-leaks1-static.
74403         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
74404         ($(objpfx)tst-leaks1-static): New rule.
74405         ($(objpfx)tst-leaks1-static-mem): Likewise.
74406         (tst-leaks1-static-ENV): New macro.
74407         * elf/dl-open.c (dl_open_worker): Check the main application
74408         only if SHARED is defined.
74409         * elf/tst-leaks1-static.c: New file.
74411 2012-10-20  Andreas Jaeger  <aj@suse.de>
74413         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
74414         generic values for Linux.
74415         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
74416         and declarations that are provided by <bits/fcntl-linux.h> and
74417         include <bits/fcntl-linux.h>.
74418         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74419         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74421 2012-10-20  Roland McGrath  <roland@hack.frob.com>
74423         * io/fcntl.h: Move include of <bits/types.h> to the top and
74424         include it unconditionally.
74426 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
74428         * wcsmbs/Makefile (tests-ifunc): New variable.
74429         (tests): Add $(tests-ifunc).
74430         * wcsmbs/test-wcschr-ifunc.c: New file.
74431         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
74432         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
74433         * wcsmbs/test-wcslen-ifunc.c: Likewise.
74434         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
74435         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
74437         * string/Makefile (tests-ifunc): New variable.
74438         (tests): Add $(tests-ifunc).
74439         * string/test-memccpy.c (TEST_NAME): New macro.
74440         * string/test-memchr.c (TEST_NAME): Likewise.
74441         * string/test-memcmp.c (TEST_NAME): Likewise.
74442         * string/test-memcpy.c (TEST_NAME): Likewise.
74443         * string/test-memmem.c (TEST_NAME): Likewise.
74444         * string/test-memmove.c (TEST_NAME): Likewise.
74445         * string/test-memset.c (TEST_NAME): Likewise.
74446         * string/test-rawmemchr.c (TEST_NAME): Likewise.
74447         * string/test-stpcpy.c (TEST_NAME): Likewise.
74448         * string/test-stpncpy.c (TEST_NAME): Likewise.
74449         * string/test-strcasecmp.c (TEST_NAME): Likewise.
74450         * string/test-strcasestr.c (TEST_NAME): Likewise.
74451         * string/test-strcat.c (TEST_NAME): Likewise.
74452         * string/test-strchr.c (TEST_NAME): Likewise.
74453         * string/test-strcmp.c(TEST_NAME): Likewise.
74454         * string/test-strcpy.c (TEST_NAME): Likewise.
74455         * string/test-strcspn.c (TEST_NAME): Likewise.
74456         * string/test-strlen.c (TEST_NAME): Likewise.
74457         * string/test-strncasecmp.c (TEST_NAME): Likewise.
74458         * string/test-strncmp.c (TEST_NAME): Likewise.
74459         * string/test-strncpy.c (TEST_NAME): Likewise.
74460         * string/test-strnlen.c (TEST_NAME): Likewise.
74461         * string/test-strpbrk.c (TEST_NAME): Likewise.
74462         * string/test-strrchr.c (TEST_NAME): Likewise.
74463         * string/test-strspn.c (TEST_NAME): Likewise.
74464         * string/test-strstr.c (TEST_NAME): Likewise.
74465         * string/test-bcopy-ifunc.c: New file.
74466         * string/test-bzero-ifunc.c: Likewise.
74467         * string/test-memccpy-ifunc.c: Likewise.
74468         * string/test-memchr-ifunc.c: Likewise.
74469         * string/test-memcmp-ifunc.c: Likewise.
74470         * string/test-memcpy-ifunc.c: Likewise.
74471         * string/test-memmem-ifunc.c: Likewise.
74472         * string/test-memmove-ifunc.c: Likewise.
74473         * string/test-mempcpy-ifunc.c: Likewise.
74474         * string/test-memset-ifunc.c: Likewise.
74475         * string/test-rawmemchr-ifunc.c: Likewise.
74476         * string/test-stpcpy-ifunc.c: Likewise.
74477         * string/test-stpncpy-ifunc.c: Likewise.
74478         * string/test-strcasecmp-ifunc.c: Likewise.
74479         * string/test-strcasestr-ifunc.c: Likewise.
74480         * string/test-strcat-ifunc.c: Likewise.
74481         * string/test-strchr-ifunc.c: Likewise.
74482         * string/test-strchrnul-ifunc.c: Likewise.
74483         * string/test-strcmp-ifunc.c: Likewise.
74484         * string/test-strcpy-ifunc.c: Likewise.
74485         * string/test-strcspn-ifunc.c: Likewise.
74486         * string/test-strlen-ifunc.c: Likewise.
74487         * string/test-strncasecmp-ifunc.c: Likewise.
74488         * string/test-strncat-ifunc.c: Likewise.
74489         * string/test-strncmp-ifunc.c: Likewise.
74490         * string/test-strncpy-ifunc.c: Likewise.
74491         * string/test-strnlen-ifunc.c: Likewise.
74492         * string/test-strpbrk-ifunc.c: Likewise.
74493         * string/test-strrchr-ifunc.c: Likewise.
74494         * string/test-strspn-ifunc.c: Likewise.
74495         * string/test-strstr-ifunc.c: Likewise.
74497         * debug/Makefile (tests-ifunc): New variable.
74498         (tests): Add $(tests-ifunc).
74499         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
74500         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
74501         * debug/test-stpcpy_chk-ifunc.c: New file.
74502         * debug/test-strcpy_chk-ifunc.c: Likewise.
74504 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
74506         [BZ #13601]
74507         * elf/dl-load.c (open_verify): Retry read if the entire ELF
74508         header is not read in.
74510 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
74512         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
74513         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
74514         directly.  Pass built executable to script as
74515         $(built-program-cmd).
74516         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
74517         $testprogram without using LD_LIBRARY_PATH and $ldso.
74519         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
74520         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
74521         $(rtld-installed-name).
74522         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
74523         (rtld_installed_name): Likewise.
74524         (library_path): Likewise.
74525         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
74526         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
74527         $(run-program-prefix) to tst-tables.sh.
74528         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
74529         it to run tst-table-from and tst-table-to.
74530         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
74531         Pass it to tst-table.sh.
74532         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
74533         $(run-program-prefix) to tst-gettext.sh.
74534         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
74535         tst-translit.sh.
74536         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
74537         tst-gettext2.sh.
74538         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
74539         to run tst-gettext.
74540         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
74541         to run tst-gettext2.
74542         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
74543         to run tst-translit.
74544         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
74545         $(run-program-prefix) to tst-mtrace.sh.
74546         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
74547         to run tst-mtrace.
74548         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
74549         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
74550         $(rtld-installed-name).
74551         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
74552         (rtld_installed_name): Likewise.
74553         (run_program_prefix): New variable.  Use it to run wordexp-test.
74555         * Makeconfig (ARCH): Remove all definitions.
74556         (machine): Likewise.
74557         [ARCH]: Remove conditional code.
74558         [!objdir]: Give error.
74559         [!objdir] (objpfx): Remove.
74560         [!objdir] (common-objpfx): Likewise.
74561         [!objdir] (common-objdir): Likewise.
74562         * configure.in (config_makefile): Remove.  Hardcode Makefile in
74563         AC_CONFIG_FILES call.
74564         * configure: Regenerated.
74566         [BZ #13888]
74567         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
74568         or TMPDIR.
74569         (testout): Likewise.
74571         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
74572         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
74573         $(rtld-installed-name).
74574         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
74575         (rtld_installed_name): Likewise.
74576         (runit): Remove function.
74577         (run_getconf): New variable,  Use it for running getconf binary.
74579 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
74581         [BZ #14716]
74582         * string/test-memmem.c (check_result): New function.
74583         (do_one_test): Use it.
74584         (check1): New function.
74585         (test_main): Use it.
74587 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
74589         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
74591 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
74593         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
74594         (_G_LSEEK64): Likewise.
74595         (_G_MMAP64): Likewise.
74596         (_G_FSTAT64): Likewise.
74597         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
74598         (_G_LSEEK64): Likewise.
74599         (_G_MMAP64): Likewise.
74600         (_G_FSTAT64): Likewise.
74601         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
74602         unconditional.  Call __mmap64 directly.
74603         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
74604         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
74605         __lseek64 directly.
74606         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
74607         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
74608         __mmap64 directly.
74609         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
74610         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
74611         __lseek64 directly.
74612         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
74613         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
74614         __lseek64 directly.
74615         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
74616         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
74617         __lseek64 directly.
74618         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
74619         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
74620         __fxstat64 directly.
74621         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
74622         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
74623         unconditional.
74624         (freopen64) [!_G_OPEN64]: Remove conditional code.
74625         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
74626         unconditional.
74627         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
74628         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
74629         unconditional.
74630         (ftello64) [!_G_LSEEK64]: Remove conditional code.
74631         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
74632         unconditional.
74633         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74634         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
74635         unconditional.
74636         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
74637         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
74638         unconditional.
74639         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74640         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
74641         unconditional.
74642         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74643         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
74644         unconditional.
74645         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74647 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
74649         [BZ #12140]
74650         * manual/memory.texi (Malloc Tunable Parameters): Add note
74651         about free list pointers overwriting some perturb bytes.
74652         Wording suggested by Roland McGrath.
74654 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
74656         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
74657         (lgamma_test): Likewise.
74658         (tgamma_test): Likewise.
74660 2012-10-16  Florian Weimer  <fweimer@redhat.com>
74662         [BZ #14700]
74663         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
74664         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
74666 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
74668         * NEWS: Mention BZ #14716.
74669         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
74670         when removing AVAILABLE1_USES_J macro.
74672 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
74674         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
74675         (__bswap_64): __uint64_t for unsigned 64-bit int.
74677 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
74679         * include/string.h (memmem): Declare libc hidden alias.
74680         * string/memmem.c (memmem): Define libc hidden alias.
74681         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
74682         __read, __close instead of open, read, close.
74684 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
74686         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
74687         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
74688         global and hidden.
74689         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
74690         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
74691         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
74692         Likewise.
74693         (__rawmemchr_sse2): Likewise.
74694         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
74695         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
74696         (__strchr_sse2): Likewise.
74697         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
74698         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
74699         (__strcasecmp_sse2): Likewise.
74700         (__strncasecmp_sse2): Likewise.
74701         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
74702         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
74703         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
74704         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
74705         (__strrchr_sse2): Likewise.
74706         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
74707         ifunc-impl-list.c.
74708         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
74709         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
74710         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
74711         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74712         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
74713         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
74714         * sysdeps/x86_64/multiarch/memset.S: Likewise.
74715         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
74716         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
74717         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
74718         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
74719         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
74720         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
74721         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
74722         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
74723         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
74724         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
74725         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
74726         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
74727         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
74728         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
74729         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
74730         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
74731         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
74732         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
74733         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74734         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
74735         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74736         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
74737         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
74739         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
74740         global and hidden.
74741         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
74742         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
74743         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
74744         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
74745         Likewise.
74746         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
74747         Likewise.
74748         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
74749         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
74750         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
74751         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
74752         ifunc-impl-list.c.
74753         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74754         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74755         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74756         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74757         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74758         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74759         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74760         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74761         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74762         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74763         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74764         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74765         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74766         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
74767         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
74768         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74769         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
74770         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
74771         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74772         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74773         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74774         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74775         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74776         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74777         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74778         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
74779         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
74780         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
74781         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
74782         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74783         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
74784         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74785         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74786         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
74787         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74788         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74789         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74790         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74791         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74792         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74793         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
74795         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
74796         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
74797         * include/ifunc-impl-list.h: New file.
74798         * misc/ifunc-impl-list.c: Likewise.
74799         * misc/Makefile (routines): Add ifunc-impl-list.
74800         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
74801         * string/test-string.h: Include <ifunc-impl-list.h>.
74802         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
74803         TEST_NAME]: New variables.
74804         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
74805         are defined.
74806         (test_init): Call __libc_ifunc_impl_list to initialize
74807         func_list if TEST_IFUNC and TEST_NAME are defined.
74809         * string/Makefile (strop-tests): Add bcopy and bzero.
74810         * string/test-bcopy.c: New file.
74811         * string/test-bzero.c: Likewise.
74812         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
74813         defined.
74814         * string/test-memset.c: Support bzero test if TEST_BZERO is
74815         defined.
74816         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
74817         __libc_memmove.
74818         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
74819         __libc_memset.
74820         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
74821         of memset.
74823 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
74825         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
74826         * configure: Regenerated.
74828         * Makeconfig (+link-static-before-libc): Don't include
74829         $(link-static-libc).
74831         * libio/libio.h (_IO_pos_t): Remove.
74833 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74835         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
74836         McGrath.
74838 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74840         * crypt/crypt-entry.c: Include fips-private.h.
74841         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
74842         * crypt/md5c-test.c (main): Tolerate disabled MD5.
74843         * sysdeps/unix/sysv/linux/fips-private.h: New file.
74844         * sysdeps/generic/fips-private.h: New file, dummy fallback.
74846 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74848         * crypt/crypt-private.h: Include stdbool.h.
74849         (_ufc_setup_salt_r): Return bool.
74850         * crypt/crypt-entry.c: Include errno.h.
74851         (__crypt_r): Return NULL with EINVAL for bad salt.
74852         * crypt/crypt_util.c (bad_for_salt): New.
74853         (_ufc_setup_salt_r): Check that salt is long enough and within
74854         the specified alphabet.
74855         * crypt/badsalttest.c: New file.
74856         * crypt/Makefile (tests): Add it.
74857         ($(objpfx)badsalttest): New.
74859 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
74861         * NEWS: Add entry for BZ #14602.
74863 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
74865         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
74866         type-generic.
74867         * math/libm-test.inc: Update comment listing what functions and
74868         macros are tested.
74869         (isgreater_test): New function.
74870         (isgreaterequal_test): Likewise.
74871         (isless_test): Likewise.
74872         (islessequal_test): Likewise.
74873         (islessgreater_test): Likewise.
74874         (isunordered_test): Likewise.
74875         (main): Call the new functions.
74877 2012-10-09  Roland McGrath  <roland@hack.frob.com>
74879         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
74880         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
74881         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
74882         * sysdeps/i386/configure: Regenerated.
74883         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
74884         * sysdeps/mach/configure: Regenerated.
74885         * sysdeps/mach/hurd/configure: Regenerated.
74886         * sysdeps/powerpc/configure: Regenerated.
74887         * sysdeps/powerpc/powerpc32/configure: Regenerated.
74888         * sysdeps/powerpc/powerpc64/configure: Regenerated.
74889         * sysdeps/s390/s390-32/configure: Regenerated.
74890         * sysdeps/s390/s390-64/configure: Regenerated.
74891         * sysdeps/sh/configure: Regenerated.
74892         * sysdeps/sparc/configure: Regenerated.
74893         * sysdeps/unix/sysv/linux/configure: Regenerated.
74894         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
74895         * sysdeps/x86_64/configure: Regenerated.
74897         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
74898         defined.  Don't check if MAP is NULL.
74900 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
74902         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
74903         (_G_stat64): Likewise.
74904         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
74905         (_G_stat64): Likewise.
74906         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
74907         instead of struct _G_stat64.
74908         * libio/fileops.c (mmap_remap_check): Likewise.
74909         (decide_maybe_mmap): Likewise.
74910         (_IO_new_file_seekoff): Likewise.
74911         (_IO_file_stat): Likewise.
74912         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
74913         _G_off64_t.
74914         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
74915         instead of struct _G_stat64.
74916         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
74918 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
74920         [BZ #14602]
74921         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74922         Replace with ...
74923         (CHECK_EOL): New macro.
74924         (two_way_short_needle): Check beginning of haystack for EOL.  Use
74925         CHECK_EOL.
74926         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74927         Replace with CHECK_EOL.
74928         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74929         Replace with CHECK_EOL.
74931 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
74933         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
74934         type-generic.
74935         * math/libm-test.inc: Update comment listing what functions and
74936         macros are tested.
74937         (finite_test): New function.
74938         (isinf_test): Likewise.
74939         (isnan_test): Likewise.
74940         (fpclassify_test): Test subnormal input.
74941         (isfinite_test): Likewise.
74942         (isnormal_test): Likewise.
74943         (main): Call the new functions.
74945 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
74947         [BZ #14660]
74948         * Makerules (%.dynsym): Force C locale when running
74949         $(OBJDUMP) --dynamic-syms.
74951 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
74953         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
74954         <stdint.h>.
74956 2012-10-06  David S. Miller  <davem@davemloft.net>
74958         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
74959         upper 32-bits of the length value in %o2 since we use branch-on-register
74960         tests which consider the entire 64-bit register.
74962 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
74964         * string/test-strstr.c (check2): Add a test for page boundary.
74966 2012-10-05  David S. Miller  <davem@davemloft.net>
74968         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
74969         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
74970         file.
74971         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
74972         sysdep_routines.
74973         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
74974         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
74975         and bzero when HWCAP_SPARC_CRYPTO is present.
74977 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
74979         [BZ #14602]
74980         * string/test-strstr.c (check2): New function.
74981         (test_main): Call check2.
74983         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
74984         and bug-strchr1.
74985         * string/bug-strcasestr1.c (do_test): Moved to ...
74986         * string/test-strcasestr.c (check1): Here.  New function.
74987         (do_one_test): Break out result checking code into ...
74988         (check_result): This.  New function.
74989         (do_one_test): Call check_result.
74990         (test_main): Call check1.
74991         * string/bug-strchr1.c (do_test): Moved to ...
74992         * string/test-strchr.c (check1): Here.  New function.
74993         (do_one_test): Break out result checking code into ...
74994         (check_result): This.  New function.
74995         (do_one_test): Call check_result.
74996         (test_main): Call check1.
74997         * string/bug-strstr1.c (main): Moved to ...
74998         * string/test-strstr.c (check1): Here.  New function.
74999         (do_one_test): Break out result checking code into ...
75000         (check_result): This.  New function.
75001         (do_one_test): Call check_result.
75002         (test_main): Call check1.
75003         * string/bug-strcasestr1.c: Removed.
75004         * string/bug-strchr1.c: Likewise.
75005         * string/bug-strstr1.c: Likewise.
75007         * elf/Makefile (dl-routines): Add hwcaps.
75008         * elf/dl-support.c (_dl_important_hwcaps): Removed.
75009         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
75010         (_dl_important_hwcaps): Moved to ...
75011         * elf/dl-hwcaps.c: Here.  New file.
75012         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
75014         [BZ #14557]
75015         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
75016         if IS_IN_rtld isn't defined.
75018         * elf/dl-support.c (_dl_sysinfo_map): New.
75019         Include "get-dynamic-info.h" and "setup-vdso.h".
75020         (_dl_non_dynamic_init): Call setup_vdso.
75021         * elf/dynamic-link.h: Don't include <assert.h>.
75022         (elf_get_dynamic_info): Moved to ...
75023         * elf/get-dynamic-info.h: Here.  New file.
75024         * elf/dynamic-link.h: Include "get-dynamic-info.h".
75025         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
75026         * elf/setup-vdso.h: Here.  New file.
75027         * elf/rtld.c: Include "setup-vdso.h".
75028         (dl_main): Call setup_vdso.
75030 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
75032         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
75033         creal in comment listing functions tested.  List finite, isinf,
75034         isnan, isless, islessequal, isgreater, isgreaterequal,
75035         islessgreater, isunordered, lgamma_r and pow10 as functions and
75036         macros not tested.  Mention which functions not tested are aliases
75037         for other functions.  Fix typo.  Note that signs of NaNs are not
75038         tested.
75040         * scripts/config.guess: Update from config.git.
75041         * scripts/config.sub: Likewise.
75043 2012-10-04  Roland McGrath  <roland@hack.frob.com>
75045         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
75046         * misc/madvise.c (madvise): Renamed to __madvise.
75047         Make madvise a weak alias.
75048         * include/sys/mman.h: Declare __madvise.
75049         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
75050         * sysdeps/unix/syscalls.list
75051         (madvise): Make __madvise the strong name, and madvise a weak alias.
75052         * sysdeps/unix/sysv/linux/syscalls.list
75053         (madvise, mmap): Remove redundant entries.
75054         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
75055         * malloc/malloc.c (mtrim): Likewise.
75056         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
75058 2012-10-03  Roland McGrath  <roland@hack.frob.com>
75060         * sysdeps/mach/hurd/dl-cache.c: File removed.
75061         * config.h.in (USE_LDCONFIG): New #undef.
75062         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
75063         * configure: Regenerated.
75064         * elf/Makefile (dl-routines): Add dl-cache only under
75065         [$(use-ldconfig) = yes].
75066         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
75067         cache on [USE_LDCONFIG].
75068         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
75069         [USE_LDCONFIG].
75070         * elf/rtld.c (dl_main): Likewise.
75072 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
75074         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
75075         _SC_LEVEL4_CACHE_LINESIZE.
75077 2012-10-03  Roland McGrath  <roland@hack.frob.com>
75079         * sysdeps/unix/bsd/confstr.h: File removed.
75081 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
75083         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
75084         sys/sdt-config.h.
75086 2012-10-02  Roland McGrath  <roland@hack.frob.com>
75088         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
75089         Make 'mapoff' field ElfW(Off) rather than off_t.
75091 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
75093         * nscd/Makefile: Remove nscd-cflags and all its users.
75094         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
75095         (CFLAGS-nonlib): Add compiler flags for nscd modules.
75097         [BZ #10631]
75098         * malloc.c (malloc_printerr): Clarify error message.
75100 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
75102         [BZ #14648]
75103         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75104         Set bit_FMA_Usable if FMA is supported.
75105         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
75106         macro.
75107         (bit_FMA4_Usable): Updated.
75108         (index_FMA_Usable): New macro.
75109         (CPUID_FMA): Likewise.
75110         (HAS_FMA): Defined with bit_FMA_Usable.
75112 2012-10-01  Roland McGrath  <roland@hack.frob.com>
75114         * bits/types.h (__swblk_t): Type removed.
75115         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
75116         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
75117         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75118         (__SWBLK_T_TYPE): Likewise.
75119         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75120         (__SWBLK_T_TYPE): Likewise.
75121         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75122         (__SWBLK_T_TYPE): Likewise.
75123         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75124         (__SWBLK_T_TYPE): Likewise.
75126 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
75127             Honza Horak <hhorak@redhat.com>
75129         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
75130         (xdr_mapname): Use YPMAXMAP as maxsize.
75131         (xdr_peername): Use YPMAXPEER as maxsize.
75132         (xdr_keydat): Use YPAXRECORD as maxsize.
75133         (xdr_valdat): Use YPMAXRECORD as maxsize.
75135 2012-10-01  Roland McGrath  <roland@hack.frob.com>
75137         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
75139         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
75140         * csu/init-first.c: ... here.
75141         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
75142         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
75143         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
75144         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
75145         * sysdeps/i386/init-first.c: File removed.
75146         * sysdeps/sh/init-first.c: File removed.
75148 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
75150         [BZ #14645]
75151         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
75152         if x * y might underflow to zero and z is zero.
75153         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75154         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75155         * math/libm-test.inc (min_subnorm_value): New variable.
75156         (fma_test): Add more tests.
75157         (fma_test_towardzero): Likewise.
75158         (fma_test_downward): Likewise.
75159         (fma_test_upward): Likewise.
75160         (initialize): Set min_subnorm_value.
75162 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
75164         [BZ #14638]
75165         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
75166         0 + 0.
75167         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
75168         mode for addition resulting in exact zero.
75169         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
75170         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
75171         exact 0 + 0.
75172         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75173         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75174         * math/libm-test.inc (fma_test): Add more tests.
75175         (fma_test_towardzero): New function.
75176         (fma_test_downward): Likewise.
75177         (fma_test_upward): Likewise.
75178         (main): Call the new functions.
75180 2012-09-28  David S. Miller  <davem@davemloft.net>
75182         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
75184 2012-09-28  Roland McGrath  <roland@hack.frob.com>
75186         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
75187         instead of SIGALRM.
75189         * sysdeps/gnu/_G_config.h: Moved to ...
75190         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
75191         * sysdeps/mach/hurd/_G_config.h: Moved to ...
75192         * sysdeps/generic/_G_config.h: ... here.
75194         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
75196         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
75198         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
75199         Conditionalize target on [libnss_test1.so-version].
75201         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
75203         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
75204         (elfobjdir): Move out of conditionals.
75206         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
75207         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
75208         (__nss_lookup_function): Conditionalize label remove_from_tree on
75209         [!DO_STATIC_NSS || SHARED], matching its only use.
75211 2012-09-28  David S. Miller  <davem@davemloft.net>
75213         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
75214         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
75215         file.
75216         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
75217         sysdep_routines.
75218         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
75219         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
75220         when HWCAP_SPARC_CRYPTO is present.
75222 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75224         * io/tst-mknodat.c: Create a FIFO instead of a socket.
75226 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
75228         [BZ #6530]
75229         * stdio-common/vfprintf.c (process_string_arg): Revert
75230         2000-07-22 change.
75232 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
75234         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
75235         for testcase.
75236         * stdio-common/tst-sprintf.c: Include <locale.h>
75237         (main): Test sprintf's handling of incomplete multibyte
75238         characters.
75240 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
75242         * elf/dl-runtime.c (VERSYMIDX): Removed.
75243         * elf/dl-version.c (VERSYMIDX): Likewise.
75244         * elf/do-rel.h (VERSYMIDX): Likewise.
75245         (VALIDX): Likewise.
75246         * elf/dynamic-link.h (VERSYMIDX): Likewise.
75247         * elf/rtld.c (VALIDX): Likewise.
75248         (ADDRIDX): Likewise.
75249         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
75250         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
75251         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
75252         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
75253         (VALIDX): Likewise.
75254         (ADDRIDX): Likewise.
75256 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75258         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
75260 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
75262         [BZ #11438]
75263         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
75264         to global scope.
75265         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
75266         addresses are in the same scope as 192.0.2/24.
75267         * posix/gai.conf: Document new scope table defaults.
75269 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
75271         [BZ #5298]
75272         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
75273         for ftell.  Compute offsets from write pointers instead.
75274         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
75276 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
75278         [BZ #14543]
75279         * libio/Makefile (tests): New test case tst-fseek.
75280         * libio/tst-fseek.c: New test case to verify that fseek/ftell
75281         combination works in wide mode.
75282         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
75283         state when the external buffer state changes.
75285 2012-09-27  David S. Miller  <davem@davemloft.net>
75287         [BZ #14376]
75288         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
75289         pass reloc->r_addend in as the 'high' argument to
75290         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
75292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75294 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75296         * rt/tst-aio2.c: Include <pthread.h>.
75297         * rt/tst-aio3.c: Likewise.
75299 2012-09-27  Steve Ellcey  <sellcey@mips.com>
75301         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
75303 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
75305         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
75306         contents on [SHARED].
75308 2012-09-26  Marek Polacek  <polacek@redhat.com>
75310         [BZ #14530]
75311         [BZ #13741]
75312         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
75313         for C++ and GCC <4.3 as well as for non GCC compilers.
75315 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
75317         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75319 2012-09-25  Roland McGrath  <roland@hack.frob.com>
75321         * Makefile.in (all, install): Declare with .PHONY.
75322         Reported by Michael Hope <michael.hope@linaro.org>.
75324 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75326         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
75327         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
75328         system header.
75329         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
75330         Likewise.
75331         (sydep_routines): Add the new and the internal functions.
75332         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
75333         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
75334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
75335         (GLIBC_2.17): Add the new function.
75336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
75337         (GLIBC_2.17): Likewise.
75338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
75339         (GLIBC_2.17): Likewise.
75340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
75341         (GLIBC_2.17): Likewise.
75342         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
75344 2012-09-25  Alan Modra  <amodra@gmail.com>
75346         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
75347         Add release barrier before setting once_control to say
75348         initialisation is done.  Add hints on lwarx.  Use macro in
75349         place of isync.
75350         (clear_once_control): Add release barrier.
75352 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
75354         [BZ #13629]
75355         * math/s_clog.c (__clog): Handle more values close to |z| = 1
75356         specially.
75357         * math/s_clog10.c (__clog10): Likewise.
75358         * math/s_clog10f.c (__clog10f): Likewise.
75359         * math/s_clog10l.c (__clog10l): Likewise.
75360         * math/s_clogf.c (__clogf): Likewise.
75361         * math/s_clogl.c (__clogl): Likewise.
75362         * math/Makefile (libm-calls): Add x2y2m1.
75363         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
75364         (__x2y2m1): Likewise.
75365         (__x2y2m1l): Likewise.
75366         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
75367         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
75368         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
75369         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
75370         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
75371         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
75372         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
75373         * sysdeps/i386/fpu/libm-test-ulps: Update.
75374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75376         [BZ #14621]
75377         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
75378         int as type of variable DEPTH.
75379         (glob): Use size_t instead of int as type of variables NEWCOUNT
75380         and OLD_PATHC.
75382 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75384         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75385         Add s_sincosf-sse2.
75386         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
75387         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
75388         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
75389         macros for using routine as __sincosf_ia32.
75390         Use macro for function declaration and weak_alias.
75391         * sysdeps/i386/fpu/libm-test-ulps: Update.
75393         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
75394         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75396         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
75397         subnormal argument.
75398         * math/s_cexpf.c (__cexpf): Likewise.
75399         * math/s_csinf.c (__csinf): Likewise.
75400         * math/s_csinhf.c (__csinhf): Likewise.
75401         * math/s_ctanf.c (__ctanf): Likewise.
75402         * math/s_ctanhf.c (__ctanhf): Likewise.
75403         * math/s_ccosh.c (__ccoshf): Likewise.
75404         * math/s_cexp.c (__cexpl): Likewise.
75405         * math/s_csin.c (__csin): Likewise.
75406         * math/s_csinh.c (__csinh): Likewise.
75407         * math/s_ctan.c (__ctan): Likewise.
75408         * math/s_ctanh.c (ctanh): Likewise.
75409         * math/s_ccoshl.c (__ccoshl): Likewise.
75410         * math/s_cexpl.c (__cexpl): Likewise.
75411         * math/s_csinl.c (__csinl): Likewise.
75412         * math/s_csinhl.c (__csinhl): Likewise.
75413         * math/s_ctanl.c (__ctanl): Likewise.
75414         * math/s_ctanhl.c (__ctanhl): Likewise.
75416 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
75418         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
75419         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
75420         (_IO_off_t): Define to __off_t, not _G_off_t.
75421         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
75422         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
75423         (_IO_wint_t): Define to wint_t, not _G_wint_t.
75424         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
75425         type of __dummy and __dummy2 fields.
75426         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
75427         (_G_ssize_t): Likewise.
75428         (_G_off_t): Likewise.
75429         (_G_pid_t): Likewise.
75430         (_G_uid_t): Likewise.
75431         (_G_wchar_t): Likewise.
75432         (_G_wint_t): Likewise.
75433         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
75434         (_G_ssize_t): Likewise.
75435         (_G_off_t): Likewise.
75436         (_G_pid_t): Likewise.
75437         (_G_uid_t): Likewise.
75438         (_G_wchar_t): Likewise.
75439         (_G_wint_t): Likewise.
75440         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
75441         (_G_ssize_t): Likewise.
75442         (_G_off_t): Likewise.
75443         (_G_pid_t): Likewise.
75444         (_G_uid_t): Likewise.
75445         (_G_wchar_t): Likewise.
75446         (_G_wint_t): Likewise.
75448 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75450         * malloc/arena.c: Include malloc-sysdep.h.
75451         (shrink_heap): Use check_may_shrink_heap to decide if madvise
75452         is sufficient to shrink the heap or an unmap is needed.
75453         * sysdeps/generic/malloc-sysdep.h: New file.  Define
75454         new function check_may_shrink_heap.
75455         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
75456         new function check_may_shrink_heap.
75458 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75460         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
75461         comments.
75463 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
75465         * catgets/test-gencat.sh: Add "set -e".
75466         * elf/tst-pathopt.sh: Likewise.
75467         * grp/tst_fgetgrent.sh: Likewise.
75468         * iconvdata/run-iconv-test.sh: Likewise.
75469         * intl/tst-gettext.sh: Likewise.
75470         * intl/tst-gettext2.sh: Likewise.
75471         * intl/tst-gettext4.sh: Likewise.
75472         * intl/tst-gettext6.sh: Likewise.
75473         * intl/tst-translit.sh: Likewise.
75474         * io/ftwtest-sh: Likewise.
75475         * libio/test-freopen.sh: Likewise.
75476         * malloc/tst-mtrace.sh: Likewise.
75477         * posix/globtest.sh: Likewise.
75478         * posix/tst-getconf.sh: Likewise.
75479         * posix/wordexp-tst.sh: Likewise.
75480         * stdio-common/tst-printf.sh: Likewise.
75481         * stdio-common/tst-unbputc.sh: Likewise.
75482         * stdlib/tst-fmtmsg.sh: Likewise.
75483         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
75484         * catgets/Makefile: Do not specify -e option when running
75485         testsuite shell scripts.
75486         * elf/Makefile: Likewise.
75487         * grp/Makefile: Likewise.
75488         * iconvdata/Makefile: Likewise.
75489         * intl/Makefile: Likewise.
75490         * io/Makefile: Likewise.
75491         * libio/Makefile: Likewise.
75492         * malloc/Makefile: Likewise.
75493         * posix/Makefile: Likewise.
75494         * stdio-common/Makefile: Likewise.
75495         * stdlib/Makefile: Likewise.
75496         * sysdeps/x86_64/Makefile: Likewise.
75498         * io/ftwtest-sh: Add copyright header.
75499         * posix/globtest.sh: Likewise.
75500         * posix/tst-getconf.sh: Likewise.
75501         * posix/wordexp-tst.sh: Likewise.
75502         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
75504 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
75506         [BZ #13679]
75507         * Makeconfig (+link): Defined as $(+link-static) if
75508         $(build-shared) isn't yes.
75509         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
75510         isn't yes.
75511         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
75513         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
75515         [BZ #14562]
75516         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
75517         new chunk size with MALLOC_ALIGN_MASK.
75519 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
75521         [BZ #5044]
75522         * stdio-common/printf_fphex.c: Include <stdbool.h> and
75523         <rounding-mode.h>.
75524         (__printf_fphex): Determine rounding using get_rounding_mode and
75525         round_away.
75526         * stdio-common/tst-printf-round.c (struct hex_test): New
75527         structure.
75528         (hex_tests): New variable.
75529         (test_hex_in_one_mode): New function.
75530         (do_test): Also run tests for hex float output.
75532 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
75534         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
75535         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
75536         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
75537         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
75538         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
75539         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
75540         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
75541         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
75543 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
75545         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
75546         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
75547         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
75548         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
75550 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
75552         [BZ #14579]
75553         * elf/rtld.c (dl_main): Limit the check for self loading to normal
75554         mode only.
75555         * elf/tst-rtld-load-self.sh: New test.
75556         * elf/Makefile: Run it.
75558 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
75560         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
75561         (tst-writev-ENV): Remove.
75562         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
75564 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
75566         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
75568 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
75570         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
75571         unconditional.
75572         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
75573         Likewise.
75574         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
75575         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
75576         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
75577         Likewise.
75579 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
75581         [BZ #14587]
75582         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
75583         * config.make.in (have-cpp-asm-debuginfo): Removed.
75584         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
75585         * configure: Regenerated.
75587 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
75589         [BZ #5044]
75590         * stdio-common/printf_fp.c: Include <stdbool.h> and
75591         <rounding-mode.h>.
75592         (___printf_fp): Determine rounding using get_rounding_mode and
75593         round_away.
75594         * stdio-common/tst-printf-round.c: New file.
75595         * stdio-common/Makefile (tests): Add tst-printf-round.
75596         (link-libm): New variable.
75597         ($(objpfx)tst-printf-round): Depend in $(link-libm).
75599 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
75601         [BZ #14576]
75602         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
75603         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
75604         Likewise.
75605         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
75606         Likewise.
75608 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
75610         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
75611         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75612         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75613         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75615 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
75617         [BZ #14518]
75618         * include/rounding-mode.h: New file.
75619         * sysdeps/generic/get-rounding-mode.h: Likewise.
75620         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
75621         * stdlib/strtod_l.c: Include <rounding-mode.h>.
75622         (MAX_VALUE): New macro.
75623         (MIN_VALUE): Likewise.
75624         (overflow_value): New function.
75625         (underflow_value): Likewise.
75626         (round_and_return): Use overflow_value and underflow_value to
75627         determine return values in overflow and underflow cases.  Use
75628         round_away to determine rounding depending on rounding mode.
75629         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
75630         determine return values in overflow and underflow cases.
75631         * stdlib/tst-strtod-round.c: Include <fenv.h>.
75632         (struct test_results): New structure.
75633         (struct test): Use struct test_results to store expected results
75634         for all rounding modes.
75635         (TEST): Include expected results for all rounding modes.
75636         (test_in_one_mode): New function.
75637         (do_test): Use test_in_one_mode to compute and check results.
75638         Check results for all rounding modes.
75639         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
75640         $(link-libm).
75642 2012-12-09  Allan McRae  <allan@archlinux.org>
75644         * sysdeps/i386/fpu/libm-test-ulps: Update
75646 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
75648         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
75649         (_G_int32_t): Likewise.
75650         (_G_uint16_t): Likewise.
75651         (_G_uint32_t): Likewise.
75652         (_G_HAVE_BOOL): Likewise.
75653         (_G_HAVE_ATEXIT): Likewise.
75654         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75655         (_G_HAVE_IO_FILE_OPEN): Likewise.
75656         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
75657         (_G_int32_t): Likewise.
75658         (_G_uint16_t): Likewise.
75659         (_G_uint32_t): Likewise.
75660         (_G_HAVE_BOOL): Likewise.
75661         (_G_HAVE_ATEXIT): Likewise.
75662         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75663         (_G_HAVE_IO_FILE_OPEN): Likewise.
75664         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
75665         (_G_int32_t): Likewise.
75666         (_G_uint16_t): Likewise.
75667         (_G_uint32_t): Likewise.
75668         (_G_HAVE_BOOL): Likewise.
75669         (_G_HAVE_ATEXIT): Likewise.
75670         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75671         (_G_HAVE_IO_FILE_OPEN): Likewise.
75673 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
75675         * csu/libc-tls.c: Update copyright years.
75677 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
75679         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
75680         [!_G_USING_THUNKS]: Remove conditional code.
75681         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
75682         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
75684         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
75685         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
75686         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75687         (_G_VTABLE_LABEL_PREFIX): Likewise.
75688         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75689         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75690         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75691         (_G_VTABLE_LABEL_PREFIX): Likewise.
75692         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75693         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75694         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75695         (_G_VTABLE_LABEL_PREFIX): Likewise.
75696         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75698 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
75700         * libio/Makefile: Include ../Makeconfig before tests.
75701         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
75702         only if $(build-shared) is yes.
75704         * iconv/gconv_db.c: Update copyright years.
75706 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75708         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
75709         unwind info if defined PIC. Fix special cases description.
75710         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
75712         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
75713         DP_HI_MASK entry.
75714         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
75716 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
75718         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
75720         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
75721         is NULL.
75723         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
75724         (LDLIBS-tst-chk4): This.
75725         (LDFLAGS-tst-chk5): Renamed to ...
75726         (LDLIBS-tst-chk5): This.
75727         (LDFLAGS-tst-chk6): Renamed to ...
75728         (LDLIBS-tst-chk6): This.
75729         (LDFLAGS-tst-lfschk4): Renamed to ...
75730         (LDLIBS-tst-lfschk4): This.
75731         (LDFLAGS-tst-lfschk5): Renamed to ...
75732         (LDLIBS-tst-lfschk5): This.
75733         (LDFLAGS-tst-lfschk6): Renamed to ...
75734         (LDLIBS-tst-lfschk6): This.
75736         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
75737         on $(common-objpfx)soversions.mk.
75739 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
75741         [BZ #10014]
75742         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
75743         example host name.
75745 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
75747         * malloc/arena.c (arena_get_retry): New function that gets
75748         another arena for the caller to try its request on.
75749         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
75750         current arena cannot fulfill the request.
75751         (__libc_memalign): Likewise.
75752         (__libc_memalign): Likewise.
75753         (__libc_pvalloc): Likewise.
75754         (__libc_calloc): Likewise.
75756 2012-09-05  John Tobey  <john.tobey@gmail.com>
75758         [BZ #13542]
75759         * manual/arith.texi (Operations on Complex): Fix description
75760         of carg branch cut.
75762 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75764         [BZ #10014]
75765         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
75766         host name.
75768         [BZ #10038]
75769         * manual/memory.texi (Memory): Make order of menu items match
75770         order of sections.
75772 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75774         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
75775         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
75776         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
75778 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75780         * csu/libc-tls.c (static_dtv): Renamed to ...
75781         (_dl_static_dtv): This.  Make it global.
75782         (_dl_initial_dtv): Removed.
75783         (__libc_setup_tls): Updated.
75784         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
75785         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
75786         DL_INITIAL_DTV.
75788 2012-09-06  Petr Machata  <pmachata@redhat.com>
75790         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
75791         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
75792         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
75793         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
75795 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75797         [BZ #14545]
75798         * csu/libc-tls.c (_dl_initial_dtv): New variable.
75799         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
75800         freeing dtv[-1].
75802 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75804         [BZ #14544]
75805         * Makeconfig (link-static-before-libc): Replace $(+prector)
75806         with $(+prectorT).
75807         (link-static-after-libc): Replace $(+postctor) with
75808         $(+postctorT).
75809         (link-bounded): Replace $(+prector)/$(+postctor) with
75810         $(+prectorT)/$(+postctorT).
75811         (+prectorT): New macro.
75812         (+postctorT): Likewise.
75814 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75816         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
75817         (round_str): Handle values above the maximum for IBM long double
75818         as inexact.
75819         * stdlib/tst-strtod-round.c (tests): Regenerated.
75821 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75823         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
75824         assembler flag.
75825         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
75826         zarch_nohighgprs around the zarch optimized routines.
75827         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
75828         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
75829         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
75830         for zarch.
75832 2012-09-05  David S. Miller  <davem@davemloft.net>
75834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75836         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
75837         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
75838         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
75839         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75840         entries.
75842 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75844         * malloc/arena.c: Fold copyright years.
75845         * malloc/mcheck.c, malloc/memusage.c: Likewise.
75847 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75849         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
75851 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75853         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
75855 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75857         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
75858         change internal state upon failure.
75860 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75862         * malloc/mcheck.c (mcheck_check_all): Fix typo.
75863         * malloc/memusage.c (mmap): Likewise.
75864         (mmap64, mremap): Likewise.  Adjust name in comment.
75866 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
75868         * libio/fileops.c: Fix typos in comments.
75869         * libio/oldfileops.c: Likewise.
75870         * libio/wfileops.c: Likewise.
75872 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
75874         [BZ #1349]
75875         * malloc/Makefile (tests): Add tst-malloc-usable test case.
75876         (tst-malloc-usable-ENV): Set environment for test case.
75877         * malloc/hooks.c (malloc_check_get_size): New function to get
75878         requested size.
75879         * malloc/malloc.c (musable): Use malloc_check_get_size.
75880         * malloc/tst-malloc-usable.c: New test case.
75882 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75884         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
75886 2012-09-05  Allan McRae  <allan@archlinux.org>
75888         [BZ #13966]
75889         * configure.in (CXX_SYSINCLUDES): Use compiler output to
75890         determine header location.
75891         * configure: Regenerated.
75893 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75895         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
75896         float format.
75897         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
75898         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
75899         format.
75900         (test): Regenerate.
75902 2012-09-04  David S. Miller  <davem@davemloft.net>
75904         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
75905         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
75906         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
75908 2012-09-04  Florian Weimer  <fweimer@redhat.com>
75910         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
75911         failures.
75913         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
75915 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
75917         [BZ #9914]
75918         * libio/iogetdelim.c: Include <limits.h>.
75919         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
75920         + len + 1 would overflow.
75922 2012-09-03  Andreas Jaeger  <aj@suse.de>
75924         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75925         * sysdeps/i386/fpu/libm-test-ulps: Update.
75927 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75929         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75930         Add s_sinf-sse2, s_conf-sse2.
75932         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
75933         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
75934         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
75935         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
75937         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
75938         for using routine as __sinf_ia32.
75939         Use macro for function declaration and weak_alias.
75940         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
75941         for using routine as __cosf_ia32.
75942         Use macro for function declaration and weak_alias.
75944         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
75945         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
75947         * sysdeps/x86_64/fpu/s_sinf.S: New file.
75948         * sysdeps/x86_64/fpu/s_cosf.S: New file.
75949         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75951         * math/libm-test.inc (cos_test): Add more test cases.
75952         (sin_test): Likewise.
75953         (sincos_test): Likewise.
75955 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75957         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
75958         (IFUNC_RESOLVE): Make pointers to the specialized implementations
75959         hidden.
75960         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
75962 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
75964         [BZ #14538]
75965         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
75966         first element of the GOT.
75967         (elf_machine_load_address): Return the difference between
75968         the runtime address of _DYNAMIC and elf_machine_dynamic ().
75970 2012-09-01  Allan McRae  <allan@archlinux.org>
75972         [BZ #13412]
75973         * configure.in (AWK): Require gawk version 3.0 or later.
75974         * configure: Regenerated.
75976 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
75978         * sysdeps/unix/sysv/linux/kernel-features.h
75979         (__ASSUME_POSIX_CPU_TIMERS): Remove.
75980         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75981         [__NR_clock_getres]: Make code unconditional.
75982         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
75983         (clock_getcpuclockid): Remove code left unreachable by removal of
75984         conditionals.
75985         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
75986         code unconditional.
75987         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75988         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75989         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
75990         Make code unconditional.
75991         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75992         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75993         * sysdeps/unix/sysv/linux/clock_settime.c
75994         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
75995         conditional code.
75996         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
75997         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75999 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
76001         [BZ #14476]
76002         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
76003         scripts/test-installation.pl.
76005         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
76006         and $ld_so_version if it is set.
76008 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
76010         [BZ #14516]
76011         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
76012         failure if reading from procfs failed.
76013         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
76015 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
76017         * sysdeps/unix/sysv/linux/kernel-features.h
76018         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
76019         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76020         Remove conditional code.
76021         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76022         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
76023         Remove conditional code.
76024         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76025         * sysdeps/unix/sysv/linux/i386/fxstat.c
76026         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76027         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76028         * sysdeps/unix/sysv/linux/i386/fxstatat.c
76029         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76030         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76031         * sysdeps/unix/sysv/linux/i386/lxstat.c
76032         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76033         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76034         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
76035         Remove conditional code.
76036         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76037         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76038         Remove conditional code.
76039         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76040         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
76041         <kernel-features.h>.
76042         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
76043         Remove.
76044         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
76045         Remove conditional code.
76046         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76047         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
76048         Remove conditional.
76050 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
76052         [BZ #5400]
76053         * NEWS: Add fixed bug number.
76055 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
76057         [BZ #14519]
76058         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
76059         underflowing exponent in case of negative sign.
76060         * stdlib/tst-strtod-round-data: Add more tests.
76061         * stdlib/tst-strtod-round.c (tests): Regenerated.
76063         [BZ #3479]
76064         * stdlib/strtod_l.c (NDIG): Remove.
76065         (HEXNDIG): Likewise.
76066         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
76067         smallest representable value.
76068         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
76069         lie within an exact representation of 1/2 ulp of the result.
76070         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
76071         unconditionally.
76072         (TENS_P9_IDX): Define unconditionally.
76073         (TENS_P9_SIZE): Likewise.
76074         (TENS_P10_IDX): Likewise.
76075         (TENS_P10_SIZE): Likewise.
76076         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
76077         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
76078         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
76079         entries for 10^2^13 and 10^2^14.
76080         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
76081         (TENS_P13_IDX): Define.
76082         (TENS_P13_SIZE): Likewise.
76083         (TENS_P14_IDX): Likewise.
76084         (TENS_P14_SIZE): Likewise.
76085         (_fpioconst_pow10): Change array size to
76086         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
76087         unconditional.
76088         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
76089         1024]: Add entries for 10^2^13 and 10^2^14.
76090         [LAST_POW10 > _LAST_POW10]: Remove #error.
76091         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
76092         (_fpioconst_pow10): Change array size to
76093         FPIOCONST_POW10_ARRAY_SIZE.
76094         * stdlib/gen-fpioconst.c: New file.
76095         * stdlib/gen-tst-strtod-round.c: Likewise.
76096         * stdlib/tst-strtod-round-data: Likewise.
76097         * stdlib/tst-strtod-round.c: Likewise.
76098         * stdlib/Makefile (tests): Add tst-strtod-round.
76100         [BZ #14459]
76101         * stdlib/strtod_l.c: Include <stdint.h>.
76102         (NDEBUG): Do not define.
76103         (round_and_return): Change EXPONENT parameter to type intmax_t.
76104         Rearrange calculations to avoid internal overflow possibilities.
76105         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
76106         Rearrange calculations to avoid internal overflow possibilities.
76107         Assert that number fits inside MPNSIZE limbs.
76108         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
76109         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
76110         calculations and add assertions to avoid internal overflow
76111         possibilities.  Add casts to avoid signed/unsigned operations.
76112         * stdlib/tst-strtod-overflow.c: New file.
76113         * stdlib/Makefile (tests): Add tst-strtod-overflow.
76115 2012-08-25  Marek Polacek  <polacek@redhat.com>
76117         * time/time.h: Fix some typos in comments.
76119 2012-08-23  Roland McGrath  <roland@hack.frob.com>
76121         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
76122         * posix/tst-rfc3484-2.c: Likewise.
76123         * posix/tst-rfc3484-3.c: Likewise.
76125 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
76127         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
76128         (EF_ARM_ABI_FLOAT_HARD): Likewise.
76130 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
76132         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
76133         #include of fxstatat64.c.
76135 2012-08-22  Roland McGrath  <roland@hack.frob.com>
76137         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
76138         * shadow/getspent_r.c: Likewise.
76139         * shadow/getspnam.c: Likewise.
76140         * shadow/getspnam_r.c: Likewise.
76141         * gshadow/getsgent.c: Likewise.
76142         * gshadow/getsgent_r.c: Likewise.
76143         * gshadow/getsgnam.c: Likewise.
76144         * gshadow/getsgnam_r.c: Likewise.
76145         * inet/getnetbyad.c: Likewise.
76146         * inet/getnetbyad_r.c: Likewise.
76147         * inet/getnetbynm.c: Likewise.
76148         * inet/getnetbynm_r.c: Likewise.
76149         * inet/getnetent.c: Likewise.
76150         * inet/getnetent_r.c: Likewise.
76151         * inet/getproto.c: Likewise.
76152         * inet/getproto_r.c: Likewise.
76153         * inet/getprtent.c: Likewise.
76154         * inet/getprtent_r.c: Likewise.
76155         * inet/getprtname.c: Likewise.
76156         * inet/getprtname_r.c: Likewise.
76157         * inet/getrpcbyname.c: Likewise.
76158         * inet/getrpcbyname_r.c: Likewise.
76159         * inet/getrpcbynumber.c: Likewise.
76160         * inet/getrpcbynumber_r.c: Likewise.
76161         * inet/getrpcent.c: Likewise.
76162         * inet/getrpcent_r.c: Likewise.
76163         * inet/getaliasent.c: Likewise.
76164         * inet/getaliasent_r.c: Likewise.
76165         * inet/getaliasname.c: Likewise.
76166         * inet/getaliasname_r.c: Likewise.
76167         * nscd/getgrgid_r.c: Likewise.
76168         * nscd/getgrnam_r.c: Likewise.
76169         * nscd/gethstbyad_r.c: Likewise.
76170         * nscd/gethstbynm3_r.c: Likewise.
76171         * nscd/getpwnam_r.c: Likewise.
76172         * nscd/getpwuid_r.c: Likewise.
76173         * nscd/getsrvbynm_r.c: Likewise.
76174         * nscd/getsrvbypt_r.c: Likewise.
76175         * nscd/gai.c: Likewise.
76177         * configure.in (build_nscd): New substituted variable, set
76178         by --disable-build-nscd and defaults to $use_nscd.
76179         * configure: Regenerated.
76180         * config.make.in (build-nscd): New substituted variable.
76181         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
76182         Change conditional to require [$(build-nscd) = yes] as well.
76183         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
76185         [BZ #13696]
76186         * configure.in (use_nscd): New substituted variable, set by
76187         --disable-nscd.  If enabled, define USE_NSCD.
76188         * configure: Regenerated.
76189         * config.h.in: Add USE_NSCD.
76190         * config.make.in (use-nscd): New substituted variable.
76191         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
76192         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
76193         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
76194         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
76195         (CFLAGS-getgrnam_r.c): Likewise.
76196         (CFLAGS-initgroups.c): Likewise.
76197         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
76198         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
76199         Variables removed.
76200         * inet/getnetgrent_r.c
76201         (nscd_setnetgrent): New function, broken out of ...
76202         (setnetgrent): ... here.  Call it.
76203         (innetgr): Conditionalize nscd bits on [USE_NSCD].
76204         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
76205         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
76206         * nscd/Makefile (routines, aux): Move definitions after include of
76207         Makeconfig.  Conditionalize on [$(use-nscd) != no].
76208         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
76209         Conditionalize on [USE_NSCD].
76210         (is_nscd, nscd_init_cb): Likewise.
76211         (nss_load_library): Conditionalize init callback on [USE_NSCD].
76212         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
76213         * nss/nss_db/db-init.c: Likewise.
76214         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
76215         [USE_NSCD].
76216         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
76217         (make_request): Use it.
76218         (cache_valid_p): New function.
76219         (__check_pf): Use it.
76220         * NEWS: Add item for --disable-nscd.
76222 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
76224         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
76225         to support sed >= 4.2.1-20-ga9bf076.
76226         * configure: Regenerated.
76228 2012-08-22  Roland McGrath  <roland@hack.frob.com>
76230         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
76231         Conditionalize whole body on [IREL].
76233 2012-08-22  Jeff Law <law@redhat.com>
76235         [BZ #14505]
76236         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
76237         if the family is PF_UNSPEC.
76239 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
76241         * Makerules (lib-version): Rename from V.
76242         (install-lib-nosubdir): Change V to lib-version.
76244 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
76246         [BZ #14252]
76247         * powerpc32/power6/wcschr.c: New file.
76248         * powerpc32/power6/wcscpy.c: New file.
76249         * powerpc32/power6/wcsrchr.c: New file.
76250         * powerpc64/power6/wcschr.c: New file.
76251         * powerpc64/power6/wcscpy.c: New file.
76252         * powerpc64/power6/wcsrchr.c: New file.
76254 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
76256         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
76257         (two_way_short_needle): Use it.
76258         * string/strstr.c (AVAILABLE1_USES_J): Define.
76259         * string/strcasestr.c: Likewise.
76261         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
76262         array references.
76263         * string/strcasestr.c (TOLOWER): Make side-effect safe.
76265         [BZ #11607]
76266         * NEWS: Add an entry.
76267         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
76268         define their defaults.
76269         (two_way_short_needle): Detect end-of-string on-the-fly.
76270         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
76271         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
76272         * string/bug-strcasestr1.c: New test.
76273         * string/Makefile: Run it.
76275 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
76277         [BZ #11607]
76278         * string/str-two-way.h (two_way_short_needle): Optimize matching of
76279         the first character.
76281 2012-08-21  Roland McGrath  <roland@hack.frob.com>
76283         * csu/elf-init.c (__libc_csu_irel): Function removed.
76284         * csu/libc-start.c (apply_irel): New function.
76285         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
76287 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
76289         * sysdeps/unix/sysv/linux/kernel-features.h
76290         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
76291         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
76292         <kernel-features.h>.
76293         [__NR_fadvise64_64]: Make code unconditional.
76294         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
76295         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76296         !__NR_fadvise64_64)]: Likewise.
76297         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76298         !__NR_fadvise64_64))]: Likewise.
76299         [__NR_fadvise64]: Make code unconditional.
76300         [!__NR_fadvise64]: Remove conditional code.
76301         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
76302         <kernel-features.h>.
76303         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76304         unconditional.
76305         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76306         conditional code.
76307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
76308         not include <kernel-features.h>.
76309         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76310         unconditional.
76311         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76312         conditional code.
76313         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
76314         include <kernel-features.h>.
76315         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76316         unconditional.
76317         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76318         conditional code.
76320 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76322         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
76323         slight instruction rearrangements per scrollpipe analysis.
76324         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
76326 2012-08-20  Roland McGrath  <roland@hack.frob.com>
76328         * manual/syslog.texi (syslog; vsyslog, closelog):
76329         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
76330         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
76332         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
76333         DSOCAPS to match condition on defining it.
76335 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
76337         * sysdeps/unix/sysv/linux/kernel-features.h
76338         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
76339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
76340         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76341         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
76343         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76344         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
76346         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76347         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76349         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
76350         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
76352         * sysdeps/unix/sysv/linux/kernel-features.h
76353         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
76354         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
76355         unconditional.
76356         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76357         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
76358         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76359         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76360         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
76361         Make code unconditional.
76362         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76363         (__mmap64) [!__NR_mmap2]: Likewise.
76364         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
76365         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76366         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76367         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
76368         [__NR_mmap2]: Make code unconditional.
76369         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76370         (__mmap64) [!__NR_mmap2]: Likewise.
76372 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76374         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
76376 2012-08-18  Andreas Jaeger  <aj@suse.de>
76378         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
76380 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
76382         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
76383         * include/unistd.h (__have_sock_cloexec): Likewise.
76384         (__have_pipe2): Likewise.
76385         (__have_dup3): Likewise.
76387 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
76389         [BZ #9685]
76390         * include/unistd.h (__have_pipe2): Change define into an extern int.
76391         (__have_dup3): Likewise.
76392         * socket/have_sock_cloexec.c: Include fcntl.h.
76393         (__have_pipe2): New variable.
76394         (__have_dup3): Likewise.
76396 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
76398         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
76400 2012-08-17  Marek Polacek  <polacek@redhat.com>
76402         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
76403         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
76405 2012-08-17  Roland McGrath  <roland@hack.frob.com>
76407         * configure.in: Add AC_SUBST for sysheaders.
76408         * configure: Regenerated.
76409         * config.make.in (sysheaders): New substituted variable.
76411         * sysdeps/unix/mkfifo.c: Moved ...
76412         * sysdeps/posix/mkfifo.c: ... here.
76413         * sysdeps/unix/mkfifoat.c: Moved ...
76414         * sysdeps/posix/mkfifoat.c: ... here.
76416         * sysdeps/unix/utime.c: Moved ...
76417         * sysdeps/posix/utime.c: ... here.
76419         * sysdeps/unix/time.c: Moved ...
76420         * sysdeps/posix/time.c: ... here.
76421         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
76422         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
76424         * sysdeps/unix/nice.c: Moved ...
76425         * sysdeps/posix/nice.c: ... here.
76427         * sysdeps/unix/alarm.c: Moved ...
76428         * sysdeps/posix/alarm.c: ... here.
76430         * intl/Makefile ($(codeset_mo)): Depend on the input file.
76432 2012-08-17  Jeff Law <law@redhat.com>
76434         * intl/Makefile (codeset_mo): New variable.
76435         ($(codeset_mo)): New target.
76436         (tst-codeset.out): Depend on that.  Remove explicit rule.
76437         (tst-gettext3.out, tst-gettext5.out): Likewise.
76438         (LOCPATH-ENV, tst-codeset-ENV): New variables.
76439         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
76440         * intl/tst-codeset.sh: Remove.
76441         * intl/tst-gettext3.sh: Likewise.
76442         * intl/tst-gettext5.sh: Likewise.
76444 2012-08-17  Roland McGrath  <roland@hack.frob.com>
76446         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
76447         * sysdeps/unix/syscalls.list: ... here.
76449         * sysdeps/posix/getaddrinfo.c
76450         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
76451         (gaiconf_init, gaiconf_reload): Use them.
76452         [!_STATBUF_ST_NSEC]
76453         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
76454         Define using time_t rather than struct timespec.
76456         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
76457         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
76458         Macros removed.
76459         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
76460         [!NO_THREADS].
76461         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
76462         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
76463         Likewise.
76465         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
76466         __libc_cleanup_push argument.
76468         * bits/param.h: New file.
76469         * misc/sys/param.h: New file.
76470         * include/sys/param.h: New file.
76471         * misc/Makefile (headers): Add bits/param.h.
76472         * sysdeps/generic/sys/param.h: File removed.
76473         * sysdeps/unix/sysv/linux/bits/param.h: New file.
76474         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
76475         * sysdeps/mach/hurd/bits/param.h: New file.
76476         * sysdeps/mach/hurd/sys/param.h: File removed.
76478         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
76479         last change.
76481         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
76482         [_IO_MTSAFE_IO].
76483         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
76484         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
76485         New macros.
76487         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
76488         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
76489         rather than -D_IO_MTSAFE_IO conditionally.
76490         * stdio-common/Makefile (CPPFLAGS): Likewise.
76491         * wcsmbs/Makefile (CPPFLAGS): Likewise.
76492         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
76493         Use $(libio-mtsafe).
76494         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
76495         of -D_IO_MTSAFE_IO.
76496         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
76497         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
76498         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
76499         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
76500         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
76501         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
76502         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
76503         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
76504         (CFLAGS-fread_u_chk.c): Likewise.
76505         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
76506         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
76507         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
76508         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
76509         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
76510         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
76511         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
76512         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
76513         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
76515         * libio/Makefile: Test [$(libc-reentrant) = yes]
76516         instead of [$(filter %REENTRANT, $(defines)) nonempty].
76518         * Makeconfig
76519         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
76520         * sysdeps/pthread/configure: File removed.
76521         * sysdeps/pthread/Makeconfig: New file.
76522         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
76523         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
76525 2012-08-16  Gary Benson  <gbenson@redhat.com>
76527         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
76528         unmapping the first object in a namespace.
76530 2012-08-16  Roland McGrath  <roland@hack.frob.com>
76532         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
76533         (__internal_setnetgrent): ... this.  Add internal_function to
76534         definition.  Add libc_hidden_def.
76535         (setnetgrent): Update caller.
76536         (internal_endnetgrent): Renamed to ...
76537         (__internal_endnetgrent): ... this.  Add internal_function to
76538         definition.  Add libc_hidden_def.
76539         (endnetgrent): Update caller.
76540         (internal_getnetgrent_r): Renamed to ...
76541         (__internal_getnetgrent_r): ... this.  Add internal_function to
76542         definition.  Add libc_hidden_def.
76543         (__getnetgrent_r): Update caller.
76544         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
76546 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
76548         * stdlib/longlong.h: Update from GCC.
76550 2012-08-16  Roland McGrath  <roland@hack.frob.com>
76552         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
76553         on _QL, which is set by umul_ppmm but never used.
76554         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
76555         variables, which are set by GMP macros but never used.
76556         * stdio-common/_itowa.c (_itowa): Likewise.
76557         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
76558         * stdlib/mod_1.c (mpn_mod_1): Likewise.
76560 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
76562         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
76563         struct La_sh_regs is not constant.
76564         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
76565         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
76566         and struct La_sparc64_regs are not constant.
76568 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
76570         * sysdeps/unix/sysv/linux/kernel-features.h
76571         (__ASSUME_POSIX_TIMERS): Remove.
76572         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
76573         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76574         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
76575         Make code unconditional.
76576         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76577         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
76578         Make code unconditional.
76579         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76580         * sysdeps/unix/sysv/linux/clock_nanosleep.c
76581         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
76582         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76583         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
76584         Make code unconditional.
76585         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76586         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
76587         (__libc_missing_posix_timers): Remove.
76589 2012-08-15  Roland McGrath  <roland@hack.frob.com>
76591         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
76592         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
76594         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
76596         * elf/dl-sym.c: Include <stdlib.h>.
76598         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
76599         constants, which avoids warnings in 32-bit builds.
76601         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
76602         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
76604         * misc/lseek.c: File moved to ...
76605         * io/lseek.c: ... here.
76607         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
76609         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
76610         shifting LEN more than 31 bits at once.
76612 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76614         [BZ #14195]
76615         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
76616         segmentation fault for a case of two empty input strings.
76617         * string/test-strncasecmp.c (check1): Renamed to...
76618         (bz12205): ...this.
76619         (bz14195): Add new testcase for two empty input strings and N > 0.
76620         (test_main): Call new testcase, adapt for renamed function.
76622 2012-08-15  Andreas Jaeger  <aj@suse.de>
76624         [BZ #14090]
76625         * crypt/md5test2.c: New test, based on test supplied by Serge
76626         Belyshev <belyshev@depni.sinp.msu.ru>.
76627         * crypt/Makefile (xtests): Add md5test-giant..
76628         * crypt/Makefile ($(objpfx)md5test-giant): Add.
76630 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
76632         [BZ #14090]
76633         * crypt/md5.c (md5_process_block): Don't assume the buffer
76634         length is less than 2**32.
76635         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
76636         length is less than 2**64.
76638 2012-08-15  Roland McGrath  <roland@hack.frob.com>
76640         * string/str-two-way.h: Include <sys/param.h>.
76641         (MAX): Macro removed.
76643         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
76644         Move #define and #undef of memmove to just before and after
76645         including <string.h>.
76647         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
76648         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
76649         and after including <string.h>.  Move declarations of
76650         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
76651         to before #include "string/memmove.c".
76653         * include/dirent.h: Declare __getdirentries.
76655         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
76656         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
76658 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
76660         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
76661         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
76662         * sysdeps/i386/configure: Regenerated.
76663         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
76664         STABS_CURRENT_FILE, and STABS_FUN.
76665         (END): Remove call to STABS_FUN_END.
76666         (STABS_CURRENT_FILE1): Delete.
76667         (STABS_CURRENT_FILE): Likewise.
76668         (STABS_FUN): Likewise.
76669         (STABS_FUN_END): Likewise.
76670         (STABS_FUN2): Likewise.
76671         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
76672         * sysdeps/x86_64/configure: Regenerated.
76674 2012-08-14  Roland McGrath  <roland@hack.frob.com>
76676         * elf/dl-open.c: Include <atomic.h>.
76677         * elf/dl-lookup.c: Likewise.
76679 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
76681         * sysdeps/unix/sysv/linux/kernel-features.h
76682         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
76683         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
76684         unconditionally.
76685         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
76686         unconditionally.
76687         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
76688         condition on __ASSUME_CLONE_THREAD_FLAGS.
76690 2012-08-14  Andreas Jaeger  <aj@suse.de>
76692         * sysdeps/i386/fpu/libm-test-ulps: Update.
76694 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
76696         * include/atomic.h (atomic_exchange_and_add): Split into ...
76697         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
76698         New atomic macros.
76700 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
76702         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76704 2012-08-13  Jeff Law <law@redhat.com>
76706         * manual/stdio.texi (snprintf): Clarify handling of the trailing
76707         null byte in the output string.
76709 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
76711         * sysdeps/unix/sysv/linux/kernel-features.h
76712         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
76713         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
76714         (__ASSUME_ARG_MAX_STACK_BASED): Define.
76715         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
76716         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
76717         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
76718         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
76720 2012-08-09  Jeff Law <law@redhat.com>
76722         [BZ #13939]
76723         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
76724         When avoid_arena is set, don't retry in the that arena.  Pick the
76725         next one, whatever it might be.
76726         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
76727         (arena_lock): Pass in new parameter to arena_get2.
76728         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
76729         arena_get2.
76730         (__libc_malloc): Unify retrying after main arena failure with
76731         __libc_memalign version.
76732         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
76734 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
76736         [BZ #14166]
76737         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
76738         to __redirect_strstr.
76739         (__strstr_sse42): Use typeof __redirect_strstr.
76740         (__strstr_ia32): Likewise.
76741         (__libc_strstr): New prototype.
76742         (strstr): Renamed to ...
76743         (__libc_strstr): This.
76744         (strstr): New strong alias of __libc_strstr.
76745         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76746         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
76747         __redirect_time.
76748         Include <time.h>.
76749         (__libc_time): New prototype.
76750         (time_ifunc): Replace time with __libc_time.
76751         (time): New strong alias and hidden definition of __libc_time.
76752         (__GI_time): Remove strong alias.
76753         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
76754         Include <stddef.h>.
76755         (memmove): Redefined to __redirect_memmove.
76756         (__memmove_sse2): Use typeof __redirect_memmove.
76757         (__memmove_ssse3): Likewise.
76758         (__memmove_ssse3_back): Likewise.
76759         (__libc_memmove): New prototype.
76760         (memmove): Renamed to ...
76761         (__libc_memmove): This.
76762         (memmove): New strong alias of __libc_memmove.
76764 2012-08-08  Mark Salter  <msalter@redhat.com>
76766         * elf/elf.h
76767         (R_MN10300_TLS_GD): Define.
76768         (R_MN10300_TLS_LD): Likewise.
76769         (R_MN10300_TLS_LDO): Likewise.
76770         (R_MN10300_TLS_GOTIE): Likewise.
76771         (R_MN10300_TLS_IE): Likewise.
76772         (R_MN10300_TLS_LE): Likewise.
76773         (R_MN10300_TLS_DTPMOD): Likewise.
76774         (R_MN10300_TLS_DTPOFF): Likewise.
76775         (R_MN10300_TLS_TPOFF): Likewise.
76776         (R_MN10300_SYM_DIFF): Likewise.
76777         (R_MN10300_ALIGN): Likewise.
76778         (R_MN10300_NUM): Update.
76780 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
76782         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
76783         Remove.
76785 2012-08-08  Roland McGrath  <roland@hack.frob.com>
76787         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
76789         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
76790         sysdeps/unix -> sysdeps/posix move.
76791         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
76793 2012-08-07      Allan McRae     <allan@archlinux.org>
76795         [BZ #14303]
76796         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
76797         (SUNOS_CPP): Likewise.
76798         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
76799         not found.
76800         (open_input): Call CPP using execvp.
76802 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
76804         * sysdeps/unix/sysv/linux/kernel-features.h
76805         (__ASSUME_PROT_GROWSUPDOWN): Remove.
76806         (__ASSUME_NO_CLONE_DETACHED): Likewise.
76807         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76808         (__ASSUME_WAITID_SYSCALL): Likewise.
76809         * sysdeps/unix/sysv/linux/dl-execstack.c
76810         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
76811         code unconditional.
76812         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
76813         conditional code.
76814         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
76815         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
76816         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
76817         code.
76818         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
76819         unconditional.
76820         [__ASSUME_WAITID_SYSCALL]: Likewise.
76821         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
76823 2012-08-07  Roland McGrath  <roland@hack.frob.com>
76825         * sysdeps/unix/closedir.c: Renamed to ...
76826         * sysdeps/posix/closedir.c: ... here.
76827         * sysdeps/unix/dirfd.c: Renamed to ...
76828         * sysdeps/posix/dirfd.c: ... here.
76829         * sysdeps/unix/dirstream.h: Renamed to ...
76830         * sysdeps/posix/dirstream.h: ... here.
76831         * sysdeps/unix/fdopendir.c: Renamed to ...
76832         * sysdeps/posix/fdopendir.c: ... here.
76833         * sysdeps/unix/opendir.c: Renamed to ...
76834         * sysdeps/posix/opendir.c: ... here.
76835         * sysdeps/unix/readdir.c: Renamed to ...
76836         * sysdeps/posix/readdir.c: ... here.
76837         * sysdeps/unix/readdir_r.c: Renamed to ...
76838         * sysdeps/posix/readdir_r.c: ... here.
76839         * sysdeps/unix/rewinddir.c: Renamed to ...
76840         * sysdeps/posix/rewinddir.c: ... here.
76841         * sysdeps/unix/seekdir.c: Renamed to ...
76842         * sysdeps/posix/seekdir.c: ... here.
76843         * sysdeps/unix/telldir.c: Renamed to ...
76844         * sysdeps/posix/telldir.c: ... here.
76845         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
76846         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
76847         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
76848         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
76850         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
76851         * bits/fcntl.h: ... here.
76853         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
76854         not 0.
76855         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
76856         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
76857         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
76858         (struct flock): Move l_start, l_len to the beginning.
76859         Use __pid_t for l_pid.
76860         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
76861         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
76862         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
76863         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
76864         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
76865         [__USE_LARGEFILE64] (struct flock64): New type.
76866         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
76868         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
76869         * bits/dirent.h: ... here.
76871         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
76872         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
76874 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
76876         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76877         Change from 2.6.0 to 2.6.16.
76878         * sysdeps/unix/sysv/linux/configure: Regenerated.
76879         * sysdeps/unix/sysv/linux/kernel-features.h
76880         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
76881         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
76882         version.
76883         (__ASSUME_UTIMES): Likewise.
76884         (__ASSUME_CLONE_STOPPED): Remove.
76885         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
76886         architectures, not kernel version.
76887         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
76888         (__ASSUME_NO_CLONE_DETACHED): Likewise.
76889         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76890         (__ASSUME_WAITID_SYSCALL): Likewise.
76891         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
76892         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
76893         * README: State 2.6.16 as minimum Linux kernel version.  Do not
76894         refer to older versions.
76896 2012-08-06  Roland McGrath  <roland@hack.frob.com>
76898         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
76899         Define alphasort64 as an alias.
76900         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
76901         Define versionsort64 as an alias.
76902         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
76903         Define scandir64 as an alias.
76904         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
76905         Define scandirat64 as an alias.
76906         * dirent/alphasort64.c (alphasort64):
76907         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
76908         * dirent/versionsort64.c: Likewise.
76909         * dirent/scandir64.c: Likewise.
76910         * dirent/scandirat64.c: Likewise.
76911         * sysdeps/wordsize-64/alphasort.c: File removed.
76912         * sysdeps/wordsize-64/alphasort64.c: File removed.
76913         * sysdeps/wordsize-64/scandir.c: File removed.
76914         * sysdeps/wordsize-64/scandir64.c: File removed.
76915         * sysdeps/wordsize-64/scandirat.c: File removed.
76916         * sysdeps/wordsize-64/scandirat64.c: File removed.
76917         * sysdeps/wordsize-64/versionsort.c: File removed.
76918         * sysdeps/wordsize-64/versionsort64.c: File removed.
76919         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
76920         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
76921         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
76922         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
76923         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
76924         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
76925         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
76926         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
76928         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
76929         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76930         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
76931         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76932         [defined __arch64__ || defined __sparcv9]
76933         (__INO_T_MATCHES_INO64_T): New macro.
76934         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76935         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
76936         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
76937         * sysdeps/unix/sysv/linux/bits/dirent.h
76938         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
76939         (_DIRENT_MATCHES_DIRENT64): New macro.
76941         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
76942         Define lockf64 as an alias.
76943         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
76944         Define fseeko64 as an alias.
76945         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
76946         Define ftello64 as an alias.
76947         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
76948         Define _IO_fgetpos64 and fgetpos64 as aliases.
76949         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
76950         Define _IO_fsetpos64 and fsetpos64 as aliases.
76951         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
76952         Conditionalize body on this.
76953         * libio/fseeko64.c: Likewise.
76954         * libio/ftello64.c: Likewise.
76955         * libio/iofgetpos64.c: Likewise.
76956         * libio/iofsetpos64.c: Likewise.
76957         * sysdeps/wordsize-64/lockf.c: File removed.
76958         * sysdeps/wordsize-64/lockf64.c: File removed.
76959         * sysdeps/wordsize-64/fseeko.c: File removed.
76960         * sysdeps/wordsize-64/fseeko64.c: File removed.
76961         * sysdeps/wordsize-64/ftello.c: File removed.
76962         * sysdeps/wordsize-64/ftello64.c: File removed.
76963         * sysdeps/wordsize-64/iofgetpos.c: File removed.
76964         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
76965         * sysdeps/wordsize-64/iofsetpos.c: File removed.
76966         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
76967         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
76968         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
76969         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
76970         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
76971         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
76972         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
76973         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
76974         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
76975         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
76976         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
76978         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76979         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76980         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
76981         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76982         [defined __arch64__ || defined __sparcv9]
76983         (__OFF_T_MATCHES_OFF64_T): New macro.
76984         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76985         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76986         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76987         (__OFF_T_MATCHES_OFF64_T): New macro.
76989 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
76991         * stdlib/secure-getenv.c (__secure_getenv): Replace
76992         GLIBC_2_16 with GLIBC_2_17.
76994 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
76996         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
76997         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
76999 2012-08-03  David S. Miller  <davem@davemloft.net>
77001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77003 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
77005         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
77006         Remove.
77007         (__ASSUME_CORRECT_SI_PID): Likewise.
77008         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
77009         (__ASSUME_TMPFS_NAME): Likewise.
77010         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
77011         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
77012         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
77013         (HAVE_AUX_SECURE): Make definition unconditional.
77014         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
77015         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
77017 2012-08-03  Roland McGrath  <roland@hack.frob.com>
77019         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
77020         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
77021         * sysdeps/mach/hurd/eloop-threshold.h: New file.
77022         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
77023         __eloop_threshold instead of SYMLOOP_MAX.
77025         * sysdeps/generic/eloop-threshold.h: New file.
77026         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
77027         of MAXSYMLINKS.
77028         * elf/chroot_canon.c (chroot_canon): Likewise.
77030 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
77032         [BZ #13717]
77033         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77034         Change to 2.6.0 everywhere.
77035         * sysdeps/unix/sysv/linux/configure: Regenerated.
77036         * sysdeps/unix/sysv/linux/kernel-features.h
77037         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
77038         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
77039         kernel versions.
77040         (__ASSUME_POSIX_TIMERS): Define unconditionally.
77041         (__ASSUME_FUTEX_REQUEUE): Remove.
77042         (__ASSUME_STATFS64): Define unconditionally.
77043         (__ASSUME_AT_SECURE): Likewise.
77044         (__ASSUME_CORRECT_SI_PID): Likewise.
77045         (__ASSUME_TGKILL): Define without depending on kernel version for
77046         i386.
77047         (__ASSUME_UTIMES): Likewise.
77048         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
77049         kernel version.
77050         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
77051         (__ASSUME_TMPFS_NAME): Likewise.
77052         * README: Update reference to Linux kernel versions.
77054 2012-08-02  Marek Polacek  <polacek@redhat.com>
77056         [BZ #14150]
77057         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
77058         libc_cv_asm_type_prefix with %.
77059         * configure: Regenerated.
77060         * include/libc-symbols.h: Remove comment about
77061         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77062         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
77063         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
77064         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
77065         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
77066         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77067         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
77068         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
77069         * elf/tst-unique2mod1.c: Likewise.
77070         * elf/tst-unique1mod2.c: Likewise.
77071         * elf/tst-unique1mod1.c: Likewise.
77072         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
77073         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
77074         Replace ASM_TYPE_DIRECTIVE with .type.
77075         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77076         * sysdeps/i386/sysdep.h: Likewise.
77077         * sysdeps/x86_64/sysdep.h: Likewise.
77078         * sysdeps/sh/sysdep.h: Likewise.
77079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77080         Do not define ASM_TYPE_DIRECTIVE.
77081         * sysdeps/powerpc/sysdep.h: Likewise.
77082         * sysdeps/powerpc/powerpc32/sysdep.h:
77083         Replace ASM_TYPE_DIRECTIVE with .type.
77084         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
77085         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
77086         * sysdeps/i386/fpu/e_powf.S: Likewise.
77087         * sysdeps/i386/fpu/e_expl.S: Likewise.
77088         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77089         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77090         * sysdeps/i386/fpu/e_pow.S: Likewise.
77091         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77092         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77093         * sysdeps/i386/fpu/s_expm1.S: Likewise.
77094         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77095         * sysdeps/i386/fpu/e_log2.S: Likewise.
77096         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77097         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77098         * sysdeps/i386/fpu/e_powl.S: Likewise.
77099         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77100         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77101         * sysdeps/i386/fpu/e_logl.S: Likewise.
77102         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77103         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77104         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77105         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77106         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77107         * sysdeps/i386/fpu/e_log.S: Likewise.
77108         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77109         * sysdeps/i386/fpu/e_logf.S: Likewise.
77110         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77111         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77112         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77113         * sysdeps/i386/fpu/e_log10.S: Likewise.
77114         * sysdeps/i386/fpu/s_frexp.S: Likewise.
77115         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77116         * sysdeps/i386/fpu/s_asinh.S: Likewise.
77117         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77118         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77119         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
77120         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77121         * sysdeps/i386/i686/strtok.S: Likewise.
77122         * sysdeps/i386/i386-mcount.S: Likewise.
77123         * sysdeps/i386/strtok.S: Likewise.
77124         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
77125         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77126         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77127         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77128         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
77129         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77130         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77131         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77132         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77133         * sysdeps/x86_64/_mcount.S: Likewise.
77134         * sysdeps/x86_64/strtok.S: Likewise.
77135         * sysdeps/sh/_mcount.S: Likewise.
77137 2012-08-01  Roland McGrath  <roland@hack.frob.com>
77139         * libio/iofopen.c: Include <fcntl.h>.
77140         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
77141         (_IO_fopen64, fopen64): Define as aliases.
77142         * libio/iofopen64.c: Include <fcntl.h>.
77143         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
77144         Conditionalize body on this.
77145         * sysdeps/wordsize-64/iofopen.c: File removed.
77146         * sysdeps/wordsize-64/iofopen64.c: File removed.
77148 2012-08-01  Marek Polacek  <polacek@redhat.com>
77150         * libc/Makeconfig: Use elf in place of binfmt-subdir.
77151         Use dlfcn directly instead of a variable.
77152         (binfmt-subdir): Do not define.
77153         (dlfcn): Likewise.
77155 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
77157         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
77158         Remove all definitions.
77159         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
77160         <kernel-features.h>.
77161         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
77162         (miss_F_GETOWN_EX): Remove all definitions.
77163         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
77164         macro definition.
77165         [!__ASSUME_FCNTL64]: Remove conditional code.
77166         [__ASSUME_FCNTL64]: Make code unconditional.
77167         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
77168         <kernel-features.h>.
77169         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
77170         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
77171         (lockf64) [__NR_fcntl64]: Make code unconditional.
77172         (lockf64) [__ASSUME_FCNTL64]: Likewise.
77174         * sysdeps/unix/sysv/linux/kernel-features.h
77175         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
77176         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
77177         Make code unconditional.
77178         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77179         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
77181         [__NR_vfork]: Make code unconditional.
77182         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77183         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
77185         [__NR_vfork]: Make code unconditional.
77186         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77187         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77189 2012-08-01  Roland McGrath  <roland@hack.frob.com>
77191         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
77192         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
77194         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77195         Define mkstemp64 as an alias.
77196         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77197         Define mkstemps64 as an alias.
77198         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77199         Define mkostemp64 as an alias.
77200         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77201         Define mkostemps64 as an alias.
77202         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
77203         Conditionalize body on this.
77204         * misc/mkostemp64.c: Likewise.
77205         * misc/mkostemps64.c: Likewise.
77206         * misc/mkstemps64.c: Likewise.
77207         * sysdeps/wordsize-64/mkstemp64.c: File removed.
77208         * sysdeps/wordsize-64/mkostemp64.c: File removed.
77209         * sysdeps/wordsize-64/mkostemp.c: File removed.
77210         * sysdeps/wordsize-64/mkstemp.c: File removed.
77211         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
77212         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
77213         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
77214         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
77216         [BZ #14138]
77217         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
77218         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
77219         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
77220         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
77222         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
77223         compat_symbol macros from <shlib-compat.h> rather than the underlying
77224         default_symbol_version and symbol_version macros, so that DEFAULT
77225         lines in shlib-versions are respected.
77226         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
77228 2012-08-01  Florian Weimer  <fweimer@redhat.com>
77230         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
77231         Declare with warn_unused_result.
77232         (setgid, setregid, setegid, setresgid): Likewise.
77233         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
77234         Likewise.
77235         * WUR-REPORT: Remove set*id functions.
77237 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
77239         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
77241 2012-07-31  Roland McGrath  <roland@hack.frob.com>
77243         [BZ #10191]
77244         * include/sys/socket.h (__libc_accept, __libc_accept4):
77245         Add attribute_hidden.
77246         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
77248         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
77249         use of PTR_MANGLE.
77250         * inet/getnetgrent_r.c (setup): Likewise.
77252         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
77254 2012-07-31  David S. Miller  <davem@davemloft.net>
77256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77258 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
77260         [BZ #13629]
77261         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
77262         value between 1.0 and 2.0 and smaller part has absolute value less
77263         than 1.0.
77264         * math/s_clog10.c (__clog10): Likewise.
77265         * math/s_clog10f.c (__clog10f): Likewise.
77266         * math/s_clog10l.c (__clog10l): Likewise.
77267         * math/s_clogf.c (__clogf): Likewise.
77268         * math/s_clogl.c (__clogl): Likewise.
77269         * math/libm-test.inc (clog_test): Add more tests.
77270         (clog10_test): Likewise.
77271         * sysdeps/i386/fpu/libm-test-ulps: Update.
77272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77274 2012-07-31  Florian Weimer  <fweimer@redhat.com>
77276         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
77277         Exit with zero in case no suitable GID is found, and write a
77278         message to standard error.
77280 2012-07-30  Roland McGrath  <roland@hack.frob.com>
77282         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
77283         rather than to 1.
77284         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
77285         (MAXPATHLEN): Removed.
77286         (NOGROUP, NODEV): New macros.
77287         (setbit, clrbit, isset, isclr): New macros.
77288         (howmany, roundup, powerof2): New macros.
77289         (DEV_BSIZE): New macro.
77291         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
77292         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
77294         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
77295         definition on [!__NO_LONG_DOUBLE_MATH].
77297         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
77298         PTR_MANGLE and PTR_DEMANGLE.
77300         * socket/accept4.c (accept4): Rename to __libc_accept4.
77301         Define accept4 as a weak alias.
77303         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
77304         on [_DIRENT_HAVE_D_TYPE].
77305         * io/ftw.c (ftw_dir): Likewise.
77307         * io/xmknod.c (__xmknod): Don't check PATH for being null.
77309         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
77311         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
77312         Use the BSD numbers rather than the arbitrary ones we had.
77313         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
77314         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
77315         (SIGXCPU, SIGXFSZ): New macros.
77316         (_NSIG): Now 32.
77318         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
77319         initializer on [_LIBC_REENTRANT].
77321         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
77322         definitions inside [_POSIX_MAPPED_FILES].
77324         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
77326         * dirent/opendir.c: Include <fcntl.h>.
77328         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
77329         (__libc_getspecific): Likewise.
77330         (__libc_key_create): Likewise.
77332         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
77333         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
77334         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
77335         (tmpfile64): Define as alias.
77336         * sysdeps/wordsize-64/tmpfile.c: File removed.
77337         * sysdeps/wordsize-64/tmpfile64.c: File removed.
77338         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
77339         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
77341         * stdio-common/vfscanf.c: Include <stdbool.h>.
77342         * nss/makedb.c: Likewise.
77343         * stdio-common/_i18n_number.h: Likewise.
77344         * argp/argp-help.c: Likewise.
77345         * posix/wordexp.c: Likewise.
77346         * sysdeps/posix/spawni.c: Likewise.
77347         * nss/nss_files/files-initgroups.c: Likewise.
77348         * stdio-common/reg-modifier.c: Include <stdlib.h>.
77349         * nss/nss_files/files-initgroups.c: Likewise.
77350         * nss/nss_db/db-netgrp.c: Likewise.
77351         * nss/nss_db/db-initgroups.c: Likewise.
77352         * io/fchmodat.c: Include <sys/stat.h>.
77354         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
77355         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
77357         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
77358         [HAVE_MMAP].
77360         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
77361         Add multiple inclusion protection.
77363 2012-07-27  David S. Miller  <davem@davemloft.net>
77365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77367 2012-07-27  Gary Benson  <gbenson@redhat.com>
77369         [BZ #14298]
77370         * elf/rtld.c: Include <stap-probe.h>.
77371         (dl_main): Added static probes "init_start" and "init_complete".
77372         * elf/dl-load.c: Include <stap-probe.h>.
77373         (lose): Take new parameter "nsid".
77374         Added static probe "map_failed".
77375         (_dl_map_object_from_fd): Pass namespace id to lose.
77376         Added static probe "map_start".
77377         (open_verify): Pass namespace id to lose.
77378         * elf/dl-open.c: Include <stap-probe.h>.
77379         (dl_open_worker) Added static probes "map_complete", "reloc_start"
77380         and "reloc_complete".
77381         * elf/dl-close.c: Include <stap-probe.h>.
77382         (_dl_close_worker): Added static probes "unmap_start" and
77383         "unmap_complete".
77384         * elf/rtld-debugger-interface.txt: New file documenting the above.
77386 2012-07-26  Roland McGrath  <roland@hack.frob.com>
77388         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
77389         rather than a string variable.
77390         * sunrpc/rpc_main.c (h_output): Likewise.
77391         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
77393 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
77395         * inet/check_native.c: New file.
77397 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
77399         [BZ #13629]
77400         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
77401         if larger part has absolute value 1.0.
77402         * math/s_clog10.c (__clog10): Likewise.
77403         * math/s_clog10f.c (__clog10f): Likewise.
77404         * math/s_clog10l.c (__clog10l): Likewise.
77405         * math/s_clogf.c (__clogf): Likewise.
77406         * math/s_clogl.c (__clogl): Likewise.
77407         * math/libm-test.inc (clog_test): Add more tests.
77408         (clog10_test): Likewise.
77409         * sysdeps/i386/fpu/libm-test-ulps: Update.
77410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77412         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
77413         (pltexit): Likewise.
77414         (La_regs): Likewise.
77415         (La_retval): Likewise.
77416         (int_retval): Likewise.
77417         Update #error for removed macros to refer only to definitions in
77418         tst-audit.h.
77419         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
77420         macro.
77421         (pltexit): Likewise.
77422         (La_regs): Likewise.
77423         (La_retval): Likewise.
77424         (int_retval): Likewise.
77425         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
77426         macro.
77427         (pltexit): Likewise.
77428         (La_regs): Likewise.
77429         (La_retval): Likewise.
77430         (int_retval): Likewise.
77431         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
77432         macro.
77433         (pltexit): Likewise.
77434         (La_regs): Likewise.
77435         (La_retval): Likewise.
77436         (int_retval): Likewise.
77437         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
77438         macro.
77439         (pltexit): Likewise.
77440         (La_regs): Likewise.
77441         (La_retval): Likewise.
77442         (int_retval): Likewise.
77443         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
77444         macro.
77445         (pltexit): Likewise.
77446         (La_regs): Likewise.
77447         (La_retval): Likewise.
77448         (int_retval): Likewise.
77449         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
77450         macro.
77451         (pltexit): Likewise.
77452         (La_regs): Likewise.
77453         (La_retval): Likewise.
77454         (int_retval): Likewise.
77455         * sysdeps/generic/tst-audit.h: Update comment to refer only to
77456         macro definitions in tst-audit.h.
77457         * sysdeps/i386/tst-audit.h: New file.
77458         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
77459         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
77460         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
77461         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
77462         * sysdeps/sh/tst-audit.h: Likewise.
77463         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
77464         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
77465         * sysdeps/x86_64/tst-audit.h: Likewise.
77467 2012-07-26  Andreas Jaeger  <aj@suse.de>
77469         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
77470         ptrace.
77472         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
77473         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
77474         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
77475         PTRACE_O_MASK.
77476         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
77477         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
77478         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
77480         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
77481         value.
77483         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
77484         _sigsys.
77485         (si_call_addr, si_syscall, si_arch): Define new macro.
77486         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
77487         _sigsys.
77488         (si_call_addr, si_syscall, si_arch): Define new marcro.
77489         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
77490         _sigsys.
77491         (si_call_addr, si_syscall, si_arch): Define new macro.
77492         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
77493         _sigsys.
77494         (si_call_addr, si_syscall, si_arch): Define new macro.
77496 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
77498         [BZ #13717]
77499         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77500         Change to 2.4.21 where previously 2.4.1.
77501         * sysdeps/unix/sysv/linux/configure: Regenerated.
77502         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
77503         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
77504         Linux kernel version.
77505         (__ASSUME_STD_AUXV): Remove.
77506         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
77507         kernel version.
77508         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
77509         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
77510         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
77511         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
77512         (__ASSUME_NETLINK_SUPPORT): Likewise.
77513         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
77514         (__no_netlink_support): Remove conditional definition.
77515         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
77516         Remove.
77517         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
77518         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
77519         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
77520         (if_nameindex_ioctl): Remove.
77521         (if_nameindex_netlink): Do not handle __no_netlink_support.
77522         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
77523         code.
77524         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
77525         Remove conditional code.
77526         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
77527         code.
77528         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
77529         unconditional.
77530         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
77531         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
77532         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
77533         Remove.
77534         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
77535         [!__ASSUME_STD_AUXV]: Remove conditional code.
77536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
77537         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
77538         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
77539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
77540         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
77541         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
77542         code.
77543         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
77544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
77545         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
77546         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
77547         conditional code.
77548         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
77549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
77550         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
77551         code.
77552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
77553         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
77554         conditional code.
77555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
77556         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77557         code unconditional.
77558         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77559         conditional code.
77560         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77561         unconditional.
77562         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77563         conditional code.
77564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77565         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77566         unconditional.
77567         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77568         conditional code.
77569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
77570         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77571         code unconditional.
77572         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77573         conditional code.
77574         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77575         unconditional.
77576         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77577         conditional code.
77578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
77579         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77580         code unconditional.
77581         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77582         conditional code.
77583         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77584         unconditional.
77585         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77586         conditional code.
77588 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
77590         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
77591         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
77592         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
77593         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
77594         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
77595         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
77596         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
77597         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
77598         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
77599         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
77600         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
77601         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
77602         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
77603         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
77604         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
77605         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
77606         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
77607         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
77608         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
77609         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
77610         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
77611         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
77612         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
77614 2012-07-25  Florian Weimer  <fweimer@redhat.com>
77616         * Versions.def: Add GLIBC_2.17.
77617         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
77618         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
77619         Introduce __libc_secure_getenv.
77620         * stdlib/Versions (2.17): Add secure_getenv
77621         (GLIBC_PRIVATE): Add __libc_secure_getenv.
77622         * stdlib/secure-getenv.c: Rename __secure_getenv to
77623         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
77624         symbol __secure_getenv for GLIBC_2.0.
77625         * stdlib/tst-secure-getenv.c: New.
77626         * stdlib/Makefile (tests): Add testcase.
77627         * manual/startup.texi (Environment Access): Document
77628         secure_getenv.
77629         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
77630         __libc_secure_getenv.
77631         * inet/ruserpass.c (ruserpass): Likewise.
77632         * malloc/mtrace.c (mtrace): Likewise.
77633         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
77634         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
77635         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
77636         * sysdeps/posix/tempname.c: Likewise.  Evaluate
77637         HAVE_SECURE_GETENV.
77638         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
77639         __secure_getenv to __libc_secure_getenv.
77640         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
77641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77642         Likewise.
77643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77644         Likewise.
77645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
77646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
77647         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
77648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
77649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
77650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
77651         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
77653 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
77655         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
77656         (struct La_i86_retval): Likewise.
77657         (struct La_x86_64_regs): Likewise.
77658         (struct La_x86_64_retval): Likewise.
77659         (struct La_x32_regs): Likewise.
77660         (struct La_x32_retval): Likewise.
77661         (struct La_ppc32_regs): Likewise.
77662         (struct La_ppc32_retval): Likewise.
77663         (struct La_ppc64_regs): Likewise.
77664         (struct La_ppc64_retval): Likewise.
77665         (struct La_sh_regs): Likewise.
77666         (struct La_sh_retval): Likewise.
77667         (struct La_s390_32_regs): Likewise.
77668         (struct La_s390_32_retval): Likewise.
77669         (struct La_s390_64_regs): Likewise.
77670         (struct La_s390_64_retval): Likewise.
77671         (struct La_sparc32_regs): Likewise.
77672         (struct La_sparc32_retval): Likewise.
77673         (struct La_sparc64_regs): Likewise.
77674         (struct La_sparc64_retval): Likewise.
77675         (struct audit_ifaces): Remove architecture-specific pltenter and
77676         pltexit members.
77677         * sysdeps/i386/ldsodefs.h: New file.
77678         * sysdeps/powerpc/ldsodefs.h: Likewise.
77679         * sysdeps/s390/ldsodefs.h: Likewise.
77680         * sysdeps/sh/ldsodefs.h: Likewise.
77681         * sysdeps/sparc/ldsodefs.h: Likewise.
77682         * sysdeps/x86_64/ldsodefs.h: Likewise.
77684 2012-07-25  Marek Polacek  <polacek@redhat.com>
77686         [BZ #6808]
77687         * math/libm-test.inc (yn_test): Add another test.
77688         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
77689         to ERANGE when the result is +-Inf.
77690         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
77691         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
77692         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
77693         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
77695 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
77697         * conform/data/time.h-data (NULL): Use macro-constant.  Require
77698         equal to 0.
77699         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
77700         clock_t.
77701         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
77703 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
77705         * configure.in <sysdeps resolving>: Correct printing
77706         Implies_before.
77707         * configure: Regenerate.
77709 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
77711         * math/w_ilogb.c: Include <limits.h>.
77712         * math/w_ilogbl.c: Likewise.
77714 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77716         * manual/lang.texi (__va_copy): Document primarily as ISO C99
77717         va_copy.  Document allowing for unavailable va_copy only as
77718         pre-C99 compatibility.
77719         * manual/string.texi (Copying and Concatenation): Use va_copy
77720         instead of __va_copy in concat example.
77722 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
77724         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
77725         (__sendto): Use create_address_port.  Initialize APORT and deallocate
77726         it if not null.
77728         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
77729         with O_NOLINK passed to __file_name_lookup.
77731         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
77732         with O_NOLINK passed to __file_name_lookup.
77734         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
77735         negative N or less than NGIDS.
77737         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
77738         type to string_t.  Set ERANGE as errno and return it if NAME is not big
77739         enough.  Use memcpy instead of strncpy.
77741 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77743         * elf/Makefile (check-data): Remove.
77744         (localplt.data): New vpath directive.
77745         ($(objpfx)check-localplt.out): Use localplt.data from vpath
77746         instead of $(check-data).
77747         * scripts/data/localplt-generic.data: Move to ...
77748         * sysdeps/generic/localplt.data: ... here.
77749         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
77750         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
77751         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
77752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
77753         ... here.
77754         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
77755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
77756         ... here.
77757         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
77758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
77759         ... here.
77760         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
77761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
77762         ... here.
77763         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
77764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
77765         ... here.
77766         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
77767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
77768         ... here.
77770 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77772         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
77773         PPC32 and PPC64 files.
77774         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
77775         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
77777 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77779         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
77780         __makecontext_ret to ...
77781         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
77782         ... here and call exit if uc_link is NULL.  New file.
77783         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
77784         __makecontext_ret.S.
77785         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
77786         __makecontext_ret to ...
77787         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
77788         ... here and call exit if uc_link is NULL.  New file.
77789         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
77790         __makecontext_ret.S.
77792 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77794         * elf/elf.h (R_390_IRELATIVE): New definition.
77795         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
77796         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
77797         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
77798         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
77799         (elf_machine_lazy_rel): Likewise.
77800         * sysdeps/s390/dl-irel.h: New file.
77801         * sysdeps/s390/s390-64/memcpy.S: New asm code.
77802         * sysdeps/s390/s390-64/memset.S: New asm code.
77803         * sysdeps/s390/s390-64/memcmp.S: New asm code.
77804         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
77805         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
77806         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
77807         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
77808         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
77809         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
77810         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
77811         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
77812         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
77813         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
77814         * sysdeps/s390/s390-32/memcpy.S: New asm code.
77815         * sysdeps/s390/s390-32/memset.S: New asm code.
77816         * sysdeps/s390/s390-32/memcmp.S: New asm code.
77818 2012-07-17  Marek Polacek  <polacek@redhat.com>
77820         [BZ #14349]
77821         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
77822         * sysdeps/s390/s390-64/configure.in: Likewise.
77823         * sysdeps/sparc/configure.in: Likewise.
77824         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
77825         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
77826         * sysdeps/i386/configure.in: Likewise.
77827         * sysdeps/x86_64/configure.in: Likewise.
77828         * sysdeps/sh/configure.in: Likewise.
77829         * sysdeps/s390/s390-32/configure: Regenerated.
77830         * sysdeps/s390/s390-64/configure: Likewise.
77831         * sysdeps/x86_64/configure: Likewise.
77832         * sysdeps/sh/configure: Likewise.
77833         * sysdeps/powerpc/powerpc64/configure: Likewise.
77834         * sysdeps/powerpc/powerpc32/configure: Likewise.
77835         * sysdeps/sparc/configure: Likewise.
77836         * sysdeps/i386/configure: Likewise.
77838         * elf/dl-open.c: Comment fixes.
77840 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
77842         * Makefile [CXX] (check-data): Remove.
77843         [CXX] (c++-types.data): New vpath directive.
77844         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
77845         vpath.  Do not allow for C++ type data being missing.
77846         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
77847         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
77848         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
77849         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
77850         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
77851         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
77852         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
77853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
77854         ... here.
77855         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
77856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
77857         ... here.
77858         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
77859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
77860         ... here.
77861         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
77862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
77863         ... here.
77864         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
77865         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
77866         ... here.
77867         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
77868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
77869         ... here.
77870         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
77871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
77872         ... here.
77873         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
77874         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
77876         * elf/tls-macros.h (TLS_LE): Move architecture-specific
77877         definitions to architecture-specific files.
77878         (TLS_IE): Likewise.
77879         (TLS_LD): Likewise.
77880         (TLS_GD): Likewise.
77881         * sysdeps/i386/tls-macros.h: New file.
77882         * sysdeps/powerpc/tls-macros.h: Likewise.
77883         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
77884         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
77885         * sysdeps/sh/tls-macros.h: Likewise.
77886         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
77887         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
77888         * sysdeps/x86_64/tls-macros.h: Likewise.
77890 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
77892         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
77893         zero value for regular exit case.
77895         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
77896         (__start_context): Preserve zero value for regular exit case.
77898 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
77899             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77901         * manual/setjmp.texi (setcontext): Clarify normal process
77902         termination when uc_link is the null pointer.
77903         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
77904         exit call.
77906 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
77908         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
77909         preprocessor.  Test for each exception mask separately.
77911 2012-07-16  Andreas Jaeger  <aj@suse.de>
77913         * po/ru.po: Update from translation team.
77915 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
77917         * conform/data/string.h-data (NULL): Use macro-constant.  Require
77918         equal to 0.
77919         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77920         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77921         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
77922         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
77923         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77925 2012-07-13  Andreas Jaeger  <aj@suse.de>
77927         * po/fr.po: Update from translation team.
77929 2012-07-12  Marek Polacek  <polacek@redhat.com>
77931         [BZ #14173]
77932         * math/libm-test.inc (yn_test): Add test for BZ #14173.
77933         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
77934         loop condition.
77936 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
77938         [BZ #13717]
77939         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77940         Change to 2.4.1 where previously 2.4.0.
77941         * sysdeps/unix/sysv/linux/configure: Regenerated.
77942         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
77943         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
77944         version.
77945         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
77946         (__ASSUME_AT_CLKTCK): Remove.
77947         (__ASSUME_AT_PAGESIZE): Likewise.
77948         (__ASSUME_AT_XID): Likewise.
77949         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
77950         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
77951         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
77952         unconditionally.
77953         (HAVE_AUX_PAGESIZE): Likewise.
77954         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
77955         [__ASSUME_AT_CLKTCK]: Make code unconditional.
77956         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
77958 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
77960         [BZ #14307]
77961         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
77962         the temporary buffer used to invoke __gethostbyname2_r,
77963         __gethostbyaddr_r and gethostbyname4_r to make room for struct
77964         host_data / struct gaih_addrtuple.
77965         * resolv/nss_dns/dns-host.c (global scope): Move definition of
77966         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
77967         header file nss/nsswitch.h.
77968         * nss/nsswitch.h (global scope): Add definition of implementation
77969         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
77970         resolv/nss_dns/dns-host.c).
77972 2012-07-11  Andreas Jaeger  <aj@suse.de>
77974         * po/fr.po: Update from translation team.
77976         * po/sv.po: Update from translation team
77977         * po/fr.po: Another update from translation team.
77979 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77981         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
77982         for subnormals or multiply small sinh result by itself.
77983         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
77984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77986 2012-07-11  David S. Miller  <davem@davemloft.net>
77988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77990 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
77992         [BZ #14347]
77993         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
77994         (INTERNAL_MARK): Shift it here.
77996 2012-07-10  Marek Polacek  <polacek@redhat.com>
77998         [BZ #14151]
77999         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
78000         libc_cv_asm_global_directive with .globl.
78001         * configure: Regenerated.
78002         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
78003         with .globl.
78004         * sysdeps/i386/configure: Regenerated.
78005         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
78006         with .globl.
78007         * sysdeps/x86_64/configure: Regenerated.
78008         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
78009         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
78010         * elf/tst-unique2mod2.c: Likewise.
78011         * elf/tst-unique2mod1.c: Likewise.
78012         * elf/tst-unique1mod2.c: Likewise.
78013         * elf/tst-unique1mod1.c: Likewise.
78014         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78015         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78016         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78017         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78018         * sysdeps/mach/sysdep.h: Likewise.
78019         * sysdeps/i386/sysdep.h: Likewise.
78020         * sysdeps/i386/i386-mcount.S: Likewise.
78021         * sysdeps/x86_64/_mcount.S: Likewise.
78022         * sysdeps/x86_64/sysdep.h: Likewise.
78023         * sysdeps/sh/_mcount.S: Likewise.
78024         * sysdeps/sh/sysdep.h: Likewise.
78025         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
78026         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
78027         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
78028         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78029         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
78030         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
78031         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
78032         * locale/localeinfo.h: Likewise.
78033         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
78034         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
78036 2012-07-09  Roland McGrath  <roland@hack.frob.com>
78038         [BZ #14336]
78039         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
78040         system".
78041         * manual/message.texi (The Uniforum approach): Likewise.
78042         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
78043         (glibc iconv Implementation): Likewise.
78045 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
78047         [BZ #14337]
78048         * math/s_clog.c (__clog): Avoid scaling a value down where that
78049         could result in underflow.
78050         * math/s_clog10.c (__clog10): Likewise.
78051         * math/s_clog10f.c (__clog10f): Likewise.
78052         * math/s_clog10l.c (__clog10l): Likewise.
78053         * math/s_clogf.c (__clogf): Likewise.
78054         * math/s_clogl.c (__clogl): Likewise.
78055         * math/libm-test.inc (clog_test): Add more tests.
78056         (clog10_test): Likewise.
78057         * sysdeps/i386/fpu/libm-test-ulps: Update.
78058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78060 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
78062         [BZ #14283]
78063         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
78064         by 7 not 8 to examine high bit of fractional part.
78066         [BZ #14042]
78067         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
78068         for call to __mcount_internal.
78069         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
78070         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
78071         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
78073 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
78075         [BZ #14154]
78076         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
78077         approximation for values within 0x1p-13f of an odd multiple of
78078         pi/4.
78079         * math/libm-test.inc (tan_test): Do not allow spurious underflow
78080         exception.  Add more tests.
78081         * sysdeps/i386/fpu/libm-test-ulps: Update.
78083         [BZ #6778]
78084         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
78085         inputs and return -1 for them.  Do not check for +Inf in case not
78086         reachable for +Inf.
78087         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
78088         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
78089         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
78090         and return -1 for them.  Do not check for +Inf in case not
78091         reachable for +Inf.
78092         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
78093         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         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
78098         spurious underflow.
78099         * sysdeps/i386/fpu/libm-test-ulps: Update.
78100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78102 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
78104         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
78106 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
78108         [BZ #14157]
78109         [BZ #14331]
78110         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
78111         could result in spurious underflow.  Scale down values above
78112         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
78113         * math/s_csqrtf.c (__csqrtf): Likewise.
78114         * math/s_csqrtl.c (__csqrtl): Likewise.
78115         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
78116         spurious underflow.
78117         * sysdeps/i386/fpu/libm-test-ulps: Update.
78118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78120 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
78122         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
78123         xopen-msg.sed.
78124         * catgets/xopen-msg.awk: New file.
78125         * catgets/xopen-msg.sed: Removed.
78127         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
78128         po2text.sed.
78129         * intl/po2test.awk: New file.
78130         * intl/po2test.sed: Removed.
78132 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
78134         [BZ #14328]
78135         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
78136         or multiply small sinh result by itself.
78137         * math/s_ctanf.c (__ctanf): Likewise.
78138         * math/s_ctanh.c (__ctanh): Likewise.
78139         * math/s_ctanhf.c (__ctanhf): Likewise.
78140         * math/s_ctanhl.c (__ctanhl): Likewise.
78141         * math/s_ctanl.c (__ctanl): Likewise.
78142         * math/libm-test.inc (ctan_test_tonearest): New function.
78143         (ctan_test_towardzero): Likewise.
78144         (ctan_test_downward): Likewise.
78145         (ctan_test_upward): Likewise.
78146         (ctanh_test_tonearest): Likewise.
78147         (ctanh_test_towardzero): Likewise.
78148         (ctanh_test_downward): Likewise.
78149         (ctanh_test_upward): Likewise.
78150         (main): Call these new functions.
78151         * sysdeps/i386/fpu/libm-test-ulps: Update.
78152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78154 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
78156         * .gitignore: Delete /ports entry.
78158 2012-07-03  Andreas Jaeger  <aj@suse.de>
78160         * po/bg.po: Update from translation team.
78161         * po/cs.po: Likewise.
78162         * po/de.po: Likewise.
78163         * po/hr.po: Likewise.
78164         * po/nl.pl: Likewise.
78165         * po/pl.po: Likewise.
78166         * po/vi.po: Likewise.
78168 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
78170         * Makeconfig [!+link] (+link-before-libc): New variable.
78171         [!+link] (+link-after-libc): Likewise.
78172         [!+link] (+link-tests): Likewise.
78173         [!+link] (+link): Define in terms of $(+link-before-libc) and
78174         $(+link-after-libc).
78175         [!+link-static] (+link-static-before-libc): New variable.
78176         [!+link-static] (+link-static-after-libc): Likewise.
78177         [!+link-static] (+link-static-tests): Likewise.
78178         [!+link-static] (+link-static): Define in terms of
78179         $(+link-static-before-libc) and $(+link-static-after-libc).
78180         [build-shared] (link-libc-before-gnulib): New variable.
78181         [build-shared] (link-libc-tests): Likewise.
78182         [build-shared] (link-libc): Define in terms of
78183         $(link-libc-before-gnulib).
78184         [!build-shared] (link-libc-tests): New variable.
78185         (link-libc-static-tests): New variable.
78186         [!gnulib] (gnulib-arch): New variable.
78187         [!gnulib] (gnulib-tests): Likewise.
78188         [!gnulib] (static-gnulib-arch): Likewise.
78189         [!gnulib] (static-gnulib-tests): Likewise.
78190         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
78191         Define with "=" instead of ":=".
78192         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
78193         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
78194         * Rules (binaries-all-notests): New variable.
78195         (binaries-all-tests): Likewise.
78196         (binaries-static-notests): Likewise.
78197         (binaries-static-tests): Likewise.
78198         (binaries-all): Define using $(binaries-all-notests) and
78199         $(binaries-all-tests).
78200         (binaries-static): Define using $(binaries-static-notests) and
78201         $(binaries-static-tests).
78202         (binaries-shared-tests): New variable.
78203         (binaries-shared-notests): Likewise.
78204         (binaries-shared): Remove variable.
78205         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
78206         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
78207         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
78208         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
78209         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
78210         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
78211         * elf/Makefile (sln-modules): New variable.
78212         (extra-objs): Add $(sln-modules:=.o).
78213         (ldconfig-modules): Add static-stubs.
78214         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
78215         * elf/static-stubs.c: New file.
78217         [BZ #14283]
78218         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
78219         by 7 not 8 to examine high bit of fractional part.  Use volatile
78220         variables when splitting into final array of floats if
78221         __FLT_EVAL_METHOD__ != 0.
78222         * math/libm-test.inc (cos_test): Add another test.
78223         (sin_test): Likewise.
78224         * sysdeps/i386/fpu/libm-test-ulps: Update.
78226         [BZ #14273]
78227         * math/libm-test.inc (cosh_test): Add more tests.
78229         * version.h (RELEASE): Set to "development".
78230         (VERSION): Set to "2.16.90".
78232 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
78234         * NEWS: Update copyright. Remove last-updated date.
78235         Mention math library bug fixes and timezone data changes.
78236         * README: Mention GNU/Hurd, x32, and HPPA support status.
78238 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
78240         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
78242 2012-06-27  Andreas Jaeger  <aj@suse.de>
78244         * manual/contrib.texi (Contributors): Add Samuel Thibault.
78246 2012-06-25  Andreas Jaeger  <aj@suse.de>
78248         * sysdeps/s390/fpu/libm-test-ulps: Update.
78250 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
78251             Thomas Schwinge  <thomas@codesourcery.com>
78253         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
78254         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
78255         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
78256         fanotify_mark.
78258 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
78260         * sysdeps/mach/start.c: Remove file.
78261         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
78262         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
78263         * sysdeps/sh/init-first.c: Likewise.
78265         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
78266         registers for frame unwinding purposes, add CFI directives.
78267         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
78268         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
78269         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
78270         Likewise.
78272         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
78273         __fortify_fail returning.
78274         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
78276         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
78277         sysdeps/sh/____longjmp_chk.S.
78278         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
78279         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
78280         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
78281         (gen-as-const-headers): Append sigaltstack-offsets.sym.
78283         * sysdeps/sh/abort-instr.h: New file.
78284         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
78285         process in case exit returns.
78287         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
78288         initialize the GOT register before use.
78290         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
78291         calculation of ARGC > 4.
78293         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
78294         meaningful names to some local labels.
78296 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78297             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78299         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
78300         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
78301         (__arch_compare_and_exchange_val_16_acq): Likewise.
78302         (__arch_compare_and_exchange_val_32_acq): Likewise.
78303         (atomic_exchange_and_add): Fix gUSA sequence.
78304         (atomic_add): Likewise.
78305         (atomic_add_negative): Likewise.
78306         (atomic_add_zero): Likewise.
78307         (atomic_bit_test_set): Likewise.
78309 2012-06-22  Andreas Schwab  <schwab@redhat.com>
78311         [BZ #13579]
78312         * include/link.h (struct link_map): Add l_free_initfini.
78313         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
78314         l_initfini.
78315         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
78316         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
78317         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
78318         set.
78320 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
78322         * configure.in: Use AC_LANG_SOURCE.
78323         * configure: Regenerate.
78325 2012-06-22  Roland McGrath  <roland@hack.frob.com>
78327         * configure.in (libc_cv_localstatedir): New substituted variable.
78328         * configure: Regenerated.
78329         * config.make.in (localstatedir): New variable, substituted from
78330         libc_cv_localstatedir.
78331         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
78332         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
78333         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
78334         * sysdeps/gnu/configure: Regenerated.
78336 2012-06-21  Jeff Law  <law@redhat.com>
78338         [BZ #14277]
78339         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
78340         free.  Simplify list management for _LIBC case.
78342 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
78344         [BZ #14273]
78345         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
78346         Clear sign bit of 64-bit integer value before comparing against
78347         overflow value.
78349         * sysdeps/mach/configure: Regenerated.
78351 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
78353         [BZ #14278]
78354         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
78356 2012-06-21  Jeff Law  <law@redhat.com>
78358         [BZ #13882]
78359         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
78360         uint16_t for elements in the "seen" array to avoid char overflows.
78361         * elf/dl-fini.c (_dl_sort_fini): Likewise.
78362         * elf/dl-open.c (dl_open_worker): Likewise.
78364 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
78366         * scripts/list-sources.sh: Scan PORTS for translations.
78367         * po/libc.pot: Regenerated.
78369 2012-06-21  Andreas Jaeger  <aj@suse.de>
78371         [BZ #12194]
78372         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
78373         warning.
78374         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
78375         * bits/byteswap-16.h (__bswap_16): Likewise.
78376         * bits/byteswap.h (__bswap_constant_16): Likewise.
78378 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
78380         [BZ #14117]
78381         * sysdeps/i386/fpu_control.h: Removed.
78382         * sysdeps/x86_64/fpu_control.h: Moved to ...
78383         * sysdeps/x86/fpu_control.h: Here.
78385         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
78386         (_FPU_SETCW): Likewise.
78388 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
78390         [BZ #14117]
78391         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
78392         * sysdeps/x86/fpu/bits/mathinline.h: This.
78393         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
78395         [BZ #14050]
78396         [BZ #14117]
78397         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
78398         functions if __x86_64__ is defined.
78400 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
78402         * string/endian.h: Add !__ASSEMBLER__ condition for including
78403         conversion interfaces.
78405 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
78407         [BZ #14241]
78408         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
78409         of ABS(x) in calculating zero to negative powers other than odd
78410         integers.
78411         * math/libm-test.inc (pow_test): Add more tests.
78413 2012-06-15  Andreas Jaeger  <aj@suse.de>
78415         * manual/contrib.texi (Contributors): Update entry of Liubov
78416         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
78417         Machado Filho.
78419 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
78421         * string/string.h: Add __wur to GNU version of strerror_r.
78423 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
78425         [BZ #14229]
78426         * string/Makefile (tests): Add tst-strtok_r.
78427         * string/tst-strtok_r.c: New file.
78428         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
78429         RAX_LP/RDX_LP on SAVE_PTR.
78431 2012-06-14  Roland McGrath  <roland@hack.frob.com>
78433         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
78435 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
78437         * libm_test.inc (csqrt_test): Allow more spurious underflow
78438         exceptions.
78439         (j0_test): Likewise.
78440         (j1_test): Likewise.
78441         (y0_test): Likewise.
78442         (y1_test): Likewise.
78444 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
78446         * po/Makefile (libc.pot): Use UTF-8 charset.
78448 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
78450         [BZ #14210]
78451         Suppress sign-conversion warning from FD_SET.
78452         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
78453         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
78454         not unsigned long int.
78455         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
78457 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
78459         [BZ #14050]
78460         [BZ #14117]
78461         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
78462         __extern_always_inline instead of __extern_inline.
78463         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
78464         (__signbit): Likewise.
78465         (__signbitl): Support C++ namespace.
78466         (lrintf): New inline function.
78467         (lrint): Likewise.
78468         (llrintf): Likewise.
78469         (llrint): Likewise.
78470         (fmaxf): Likewise.
78471         (fmax): Likewise.
78472         (fminf): Likewise.
78473         (fmin): Likewise.
78474         (rint): Likewise.
78475         (rintf): Likewise.
78476         (ceil): Likewise.
78477         (ceilf): Likewise.
78478         (floor): Likewise.
78479         (floorf): Likewise.
78480         (nearbyint): Likewise.
78481         (nearbyintf): Likewise.
78483 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
78485         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
78486         non-default versions.
78488 2012-06-11  Roland McGrath  <roland@hack.frob.com>
78490         [BZ #14218]
78491         * manual/argp.texi (Argp): Reword argp_parse description slightly.
78493 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
78495         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
78496         (FE_UPWARD, FE_DOWNWARD): Don't define.
78497         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
78498         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
78500         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
78501         reading it.
78502         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
78503         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78505 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78507         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78508         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
78509         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
78510         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
78512 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
78514         [BZ #14117]
78515         * sysdeps/i386/fpu/bits/fenv.h: Removed.
78516         * sysdeps/i386/fpu/Implies: New file.
78517         * sysdeps/x86_64/fpu/Implies: Likewise.
78518         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
78519         * sysdeps/x86/fpu/bits/fenv.h: This.
78521         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
78522         __SSE_MATH__.
78524 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
78526         [BZ #14134]
78527         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
78528         character 0xffff that matches the last element of the
78529         conversion table.
78531 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78533         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
78534         fmodl commit.
78536 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78538         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
78539         values higher than 25.6283.
78541 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78543         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
78544         subnormal exponent extraction and add some __builtin_expect.
78545         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
78546         Fix for subnormal mantissa calculation.
78548 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
78550         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
78551         cpu2 is -1 and errno is not ENOSYS.
78553 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
78555         [BZ #14117]
78556         * sysdeps/i386/i486/bits/string.h: Renamed to ...
78557         * sysdeps/x86/bits/string.h: This.
78558         * sysdeps/x86_64/bits/string.h: Removed.
78560         * sysdeps/i386/i486/bits/string.h: Define inline functions only
78561         if not compiling for x86-64, but compiling for >= i486.
78563         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
78564         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
78566         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
78567         New macro from Linux kernel 3.4.0.
78568         (FP_XSTATE_MAGIC2): Likewise.
78569         (FP_XSTATE_MAGIC2_SIZE): Likewise.
78570         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
78571         (struct _fpx_sw_bytes): New struct.
78572         (struct _xsave_hdr): Likewise.
78573         (struct _ymmh_state): Likewise.
78574         (struct _xstate): Likewise.
78576         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
78577         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
78578         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
78579         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
78580         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
78581         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
78583         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
78584         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
78585         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
78586         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
78587         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
78588         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
78590 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78592         [BZ #13743]
78593         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
78594         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
78595         (sysdep_headers): Include sys/platform/ppc.h.
78596         * sysdeps/powerpc/test-gettimebase.c: Test for
78597         __ppc_get_timebase() to catch future ISA opcode/insn changes.
78598         * manual/Makefile (appendices): Include platform.texi.
78599         * manual/contrib.texi (Contributors): Update @node pointers.
78600         * manual/maint.texi (Maintenance): Likewise.
78601         (Platform): New node.
78602         * manual/platform.texi: New file.  Document the new features.
78604 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
78605             Jakub Jelinek  <jakub@redhat.com>
78607         [BZ #14188]
78608         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
78609         where __builtin_expect is unavailable.
78611 2012-06-03  David S. Miller  <davem@davemloft.net>
78613         * stdlib/longlong.h: Updated from GCC.
78615 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
78617         [BZ #14042]
78618         * sysdeps/powerpc/powerpc32/mcount.c: New file.
78619         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
78620         __mcount_internal.
78621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
78622         (GLIBC_2.16): Likewise.
78624 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78626         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
78628 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
78630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
78631         (default-abi): New variable.
78632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
78633         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
78634         variable.
78635         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
78636         Likewise.
78637         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
78638         Likewise.
78639         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
78640         Likewise.
78642         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
78643         definition.  Document in comment.
78645 2012-06-01  David S. Miller  <davem@davemloft.net>
78647         * stdlib/longlong.h: Updated from GCC.
78649 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78651         [BZ #14117]
78652         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
78653         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
78654         sys/debugreg.h sys/io.h here.
78655         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
78656         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
78657         sys/io.h.
78658         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
78659         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
78660         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
78661         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
78662         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
78663         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
78665         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
78666         Define only if __x86_64__ is defined.
78668 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
78670         [BZ #14048]
78671         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
78672         Use int64_t for variable i.
78673         * math/libm-test.inc (fmod_test): Add more tests.
78675         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
78676         z computation is not scheduled after fetestexcept.
78677         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
78678         Use math_force_eval instead of asm to ensure calculation scheduled
78679         before exception test.
78680         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
78681         Ensure a1 + u.d computation is not scheduled after fetestexcept.
78683 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
78685         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
78686         computation is not scheduled after fetestexcept.
78688 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78690         [BZ #14117]
78691         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
78692         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
78694 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78696         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
78697         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78699 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78701         [BZ #14117]
78702         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
78703         <bits/wordsize.h>.
78704         (__WCHAR_MIN): Support __WORDSIZE == 64.
78705         (__WCHAR_MAX): Likewise.
78707         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
78708         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
78710         [BZ #14183]
78711         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
78712         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
78714         [BZ #14117]
78715         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
78716         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
78718         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
78719         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
78721         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
78722         Defined to 1 if __x86_64__ isn't defined.
78723         (_STAT_VER_LINUX_OLD): New.
78724         (st_atime): Remove duplicate.
78725         (st_mtime): Likewise.
78726         (st_ctime): Likewise.
78728 2012-05-31  David S. Miller  <davem@davemloft.net>
78730         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
78731         entries.
78733 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
78735         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
78736         gen-libm-test.pl.
78738         [BZ #14132]
78739         * elf/dl-reloc.c: Include <_itoa.h>.
78740         (_dl_reloc_bad_type): Remove use of INTUSE.
78741         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
78742         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
78743         * stdio-common/psiginfo.c (psiginfo): Likewise.
78744         * stdio-common/psignal.c (psignal): Likewise.
78745         * string/strsignal.c (strsignal): Likewise.
78746         * include/signal.h (_sys_siglist): Declare hidden proto.
78747         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
78748         INTVARDEF with libc_hidden_data_def.
78749         * stdio-common/itoa-udigits.c: Likewise.
78750         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
78751         (_itoa_lower_digits_internal): Remove declaration.
78752         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
78753         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
78754         (_sys_sigabbrev_internal): Remove aliases.
78755         (_sys_siglist): Define hidden alias.
78757 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
78759         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78760         bits/sysctl.h.
78762 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78764         [BZ #14117]
78765         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
78766         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
78768         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
78769         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
78770         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
78771         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
78772         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
78773         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
78775         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
78776         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
78777         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
78779         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
78780         with __addr.
78781         (insw): Likewise.
78782         (insl): Likewise.
78783         (outsb): Likewise.
78784         (outsw): Likewise.
78785         (outsl): Likewise.
78787         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
78788         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
78789         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
78791         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
78792         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
78793         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
78794         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
78795         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
78796         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
78798         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
78799         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
78801         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
78802         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
78804         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
78805         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
78806         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
78808         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
78809         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
78810         to ...
78811         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
78813         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
78814         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
78815         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
78817         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
78818         for x86-64.
78819         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
78821 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
78823         * math/math.h (M_El): Use two more decimal places.
78824         (M_LOG2El): Likewise.
78825         (M_LOG10El): Likewise.
78826         (M_LN2l): Likewise.
78827         (M_LN10l): Likewise.
78828         (M_PIl): Likewise.
78829         (M_PI_2l): Likewise.
78830         (M_PI_4l): Likewise.
78831         (M_1_PIl): Likewise.
78832         (M_2_PIl): Likewise.
78833         (M_2_SQRTPIl): Likewise.
78834         (M_SQRT2l): Likewise.
78835         (M_SQRT1_2l): Likewise.
78837 2012-05-31  David S. Miller  <davem@davemloft.net>
78839         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
78840         values between float registers.
78841         * sysdeps/sparc/sparc64/memset.S: Likewise.
78842         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78844 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
78846         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
78847         -D_FORTIFY_SOURCE=1.
78848         (CPPFLAGS-tst-longjmp_chk.c): Define.
78849         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
78850         (CPPFLAGS-tst-longjmp_chk2.c): Define.
78851         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
78852         CFLAGS-tst-wchar-h.c.
78854 2012-05-31  Marek Polacek  <polacek@redhat.com>
78856         [BZ #14132]
78857         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
78858         __endmntent_internal): Remove declaration.
78859         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
78860         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
78861         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
78863 2012-05-30  David S. Miller  <davem@davemloft.net>
78865         * sysdeps/sparc/sparc32/soft-fp/q_util.c
78866         (___Q_simulate_exceptions): Use real FP ops rather than writing
78867         into the %fsr.
78868         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
78869         Likewise.
78871 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78873         [BZ #14117]
78874         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
78875         * sysdeps/x86/bits/xtitypes.h: This.
78877         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
78878         * sysdeps/x86/bits/wordsize.h: This.
78880         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
78881         * sysdeps/x86/bits/huge_vall.h: This.
78883         * sysdeps/i386/bits/select.h: Removed.
78884         * sysdeps/x86_64/bits/select.h: Renamed to ...
78885         * sysdeps/x86/bits/select.h: This.
78887         * sysdeps/i386/bits/setjmp.h: Removed.
78888         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
78889         * sysdeps/x86/bits/setjmp.h: This.
78891         * sysdeps/i386/bits/mathdef.h: Removed.
78892         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
78893         * sysdeps/x86/bits/mathdef.h: This.
78895 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
78897         [BZ #14132]
78898         * include/sys/socket.h (__connect_internal)
78899         (__libc_sa_len_internal): Remove declaration.
78900         (__connect, __libc_sa_len): Declare hidden_proto.
78901         (SA_LEN): Remove use of INTUSE.
78902         * socket/connect.c: Add libc_hidden_def.
78903         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
78904         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
78905         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
78906         alias.
78907         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
78908         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
78909         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
78910         of adding _internal alias.
78912 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78914         [BZ #14117]
78915         * sysdeps/i386/bits/link.h: Removed.
78916         * sysdeps/i386/bits/linkmap.h: Likewise.
78917         * sysdeps/x86_64/bits/link.h: Renamed to ...
78918         * sysdeps/x86/bits/link.h: This.
78919         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
78920         * sysdeps/x86/bits/linkmap.h: This.
78922         * sysdeps/i386/bits/endian.h: Removed.
78923         * sysdeps/x86_64/bits/endian.h: Renamed to ...
78924         * sysdeps/x86/bits/endian.h: This.
78926         * sysdeps/i386/bits/byteswap.h: Removed.
78927         * sysdeps/i386/bits/byteswap-16.h: Likewise.
78928         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
78929         * sysdeps/x86/bits/byteswap.h: This.
78930         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
78931         * sysdeps/x86/bits/byteswap-16.h: This.
78932         * sysdeps/i386/Implies: Add x86.
78933         * sysdeps/x86_64/Implies: Likewise.
78935 2012-05-30  David S. Miller  <davem@davemloft.net>
78937         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
78938         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
78939         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
78940         (FP_TRAPPING_EXCEPTIONS): Define.
78941         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
78942         (FP_TRAPPING_EXCEPTIONS): Define.
78943         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
78944         subnormals only when inexact has been signalled or underflow
78945         exceptions are enabled.
78946         (_FP_PACK_CANONICAL): Likewise.
78948 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78950         [BZ #14183]
78951         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
78952         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
78954 2012-05-30  Richard Henderson  <rth@twiddle.net>
78956         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
78957         with #ifndef NOT_IN_libc.
78959         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
78960         marked to avoid plt entry.
78962 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78964         [BZ #14112]
78965         * Makeconfig (default-abi): New macro.
78966         (abi-includes): Likewise.
78967         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
78968         $(abi-$(default-abi)-lib-soname) for soname if defined.
78969         ($(common-objpfx)gnu/lib-names.stmp): Generate from
78970         abi-variants.
78971         * Makefile (installed-stubs): Likewise.
78972         * include/stubs-biarch.h: Removed.
78973         * scripts/lib-names.awk: Only handle one library at a time.
78974         * scripts/soversions.awk: Remove WORDSIZE support.
78975         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
78976         entries.
78977         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
78978         Removed.
78979         (syscall-list-default-condition): Likewise.
78980         (syscall-list-default-condition): Likewise.
78981         (syscall-list-includes): Likewise.
78982         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
78983         syscall-list-* with abi-*.  Handle undefined abi-variants.
78984         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
78985         * sysdeps/unix/sysv/linux/i386/Implies: New file.
78986         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
78987         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
78988         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
78989         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
78990         Removed.
78991         (syscall-list-32-options): Likewise.
78992         (syscall-list-32-condition): Likewise.
78993         (syscall-list-64-options): Likewise.
78994         (syscall-list-64-condition): Likewise.
78995         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
78996         macro.
78997         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
78998         Renamed to ...
78999         (abi-*): This.
79000         (abi-64-ld-soname): New macro.
79001         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
79002         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
79003         Renamed to ...
79004         (abi-*): This.
79005         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
79006         * sysdeps/x86_64/x32/shlib-versions: Likewise.
79008 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
79010         * sysdeps/unix/sysv/linux/kernel-features.h
79011         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
79012         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
79013         include <kernel-features.h>.
79014         [!__NR_ftruncate64]: Remove conditional code.
79015         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79016         [__NR_ftruncate64]: Make code unconditional.
79017         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79018         * sysdeps/unix/sysv/linux/truncate64.c: Do not
79019         include <kernel-features.h>.
79020         [!__NR_ftruncate64]: Remove conditional code.
79021         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79022         [__NR_ftruncate64]: Make code unconditional.
79023         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
79025         include <kernel-features.h>.
79026         [!__NR_ftruncate64]: Remove conditional code.
79027         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79028         [__NR_ftruncate64]: Make code unconditional.
79029         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
79031         include <kernel-features.h>.
79032         [!__NR_ftruncate64]: Remove conditional code.
79033         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79034         [__NR_ftruncate64]: Make code unconditional.
79035         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79037         * configure.in (libc_cv_fpie): Weaken to a compile test using
79038         LIBC_TRY_CC_OPTION.
79039         * configure: Regenerated.
79041 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
79044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
79045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
79046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
79047         Refreshed.
79048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
79049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
79050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
79051         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
79052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
79053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
79054         Refreshed.
79056 2012-05-27  David S. Miller  <davem@davemloft.net>
79058         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
79059         (___Q_zero): New.
79060         (__Q_simulate_exceptions): Return void.  Change to simulate
79061         exceptions by writing into the %fsr.
79062         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
79063         (__Qp_handle_exceptions): Likewise.
79064         (numbers): Delete.
79065         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
79066         __Qp_handle_exceptions.
79067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
79068         __Qp_handle_exceptions.
79069         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
79070         as unused and give dummy FP_RND_NEAREST initializer.
79071         (FP_INHIBIT_RESULTS): Define.
79072         (___Q_simulate_exceptions): Update declaration.
79073         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
79074         formatting.
79075         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
79076         as unused and give dummy FP_RND_NEAREST initializer.
79077         (__Qp_handle_exceptions): Update declaration.
79078         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
79079         formatting.
79081 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
79083         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
79084         the temporary FPU control word.
79085         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
79086         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
79087         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
79088         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79089         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
79090         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
79091         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
79092         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79093         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
79094         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
79095         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79097 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79099         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
79100         fields.
79102 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
79104         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
79105         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
79106         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
79107         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
79108         Likewise.
79109         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
79110         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
79111         Likewise.
79113 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
79115         * po/h.po: Update from translation team.
79117 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
79119         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
79121         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
79122         handling of denormals.
79123         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
79124         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
79125         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
79126         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
79127         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79128         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
79129         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
79130         Likewise.
79132 2012-05-26  Marek Polacek  <polacek@redhat.com>
79134         [BZ #14152]
79135         * math/libm-test.inc (fma_test): Don't always expect underflow
79136         exception.
79138 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
79140         [BZ #12416]
79141         * elf/tst-execstack.c: Include stackinfo.h.
79142         (do_test): Adjust test case to ensure that pthread_getattr_np
79143         behaviour remains the same after marking stack executable.
79145 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
79147         * sysdeps/unix/sysv/linux/kernel-features.h
79148         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
79149         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
79150         kernel-features.h.
79151         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
79152         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
79153         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
79154         kernel-features.h.
79155         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
79156         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
79158 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
79160         * configure.in: Define the default includes to being none.
79161         * configure: Regenerated.
79163 2012-05-25  Roland McGrath  <roland@hack.frob.com>
79165         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
79166         * sysdeps/x86_64/setjmp.S: Likewise.
79167         * sysdeps/i386/bsd-setjmp.S: Likewise.
79168         * sysdeps/i386/bsd-_setjmp.S: Likewise.
79169         * sysdeps/i386/setjmp.S: Likewise.
79170         * sysdeps/i386/__longjmp.S: Likewise.
79171         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
79172         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
79174         * include/stap-probe.h: New file.
79175         * configure.in: Handle --enable-systemtap.
79176         * configure: Regenerated.
79177         * config.h.in (USE_STAP_PROBE): New #undef.
79178         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
79179         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
79180         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
79182 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
79184         [BZ #13717]
79185         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
79186         to 2.4.0 where earlier.
79187         * sysdeps/unix/sysv/linux/configure: Regenerated.
79188         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
79189         <kernel-features.h>.
79190         [__ASSUME_32BITUIDS]: Make code unconditional.
79191         [!__ASSUME_32BITUIDS]: Remove conditional code.
79192         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
79193         <kernel-features.h>.
79194         [__ASSUME_32BITUIDS]: Make code unconditional.
79195         [!__ASSUME_32BITUIDS]: Remove conditional code.
79196         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
79197         [__ASSUME_32BITUIDS]: Make code unconditional.
79198         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
79199         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
79200         <kernel-features.h>.
79201         [__ASSUME_32BITUIDS]: Make code unconditional.
79202         [!__ASSUME_32BITUIDS]: Remove conditional code.
79203         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
79204         <kernel-features.h>.
79205         [__ASSUME_32BITUIDS]: Make code unconditional.
79206         [!__ASSUME_32BITUIDS]: Remove conditional code.
79207         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
79208         <kernel-features.h>.
79209         [__ASSUME_32BITUIDS]: Make code unconditional.
79210         [!__ASSUME_32BITUIDS]: Remove conditional code.
79211         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
79212         <kernel-features.h>.
79213         [__ASSUME_32BITUIDS]: Make code unconditional.
79214         [!__ASSUME_32BITUIDS]: Remove conditional code.
79215         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
79216         <kernel-features.h>.
79217         [__ASSUME_32BITUIDS]: Make code unconditional.
79218         [!__ASSUME_32BITUIDS]: Remove conditional code.
79219         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
79220         <kernel-features.h>.
79221         [__ASSUME_32BITUIDS]: Make code unconditional.
79222         [!__ASSUME_32BITUIDS]: Remove conditional code.
79223         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
79224         <kernel-features.h>.
79225         [__ASSUME_32BITUIDS]: Make code unconditional.
79226         [!__ASSUME_32BITUIDS]: Remove conditional code.
79227         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
79228         <kernel-features.h>.
79229         [__ASSUME_32BITUIDS]: Make code unconditional.
79230         [!__ASSUME_32BITUIDS]: Remove conditional code.
79231         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
79232         <kernel-features.h>.
79233         [__ASSUME_32BITUIDS]: Make code unconditional.
79234         [!__ASSUME_32BITUIDS]: Remove conditional code.
79235         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
79236         <kernel-features.h>.
79237         [__ASSUME_32BITUIDS]: Make code unconditional.
79238         [!__ASSUME_32BITUIDS]: Remove conditional code.
79239         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
79240         <kernel-features.h>.
79241         [__NR_setresgid] (__setresgid): Do not declare.
79242         [__ASSUME_32BITUIDS]: Make code unconditional.
79243         [!__ASSUME_32BITUIDS]: Remove conditional code.
79244         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
79245         <kernel-features.h>.
79246         [__NR_setresuid] (__setresuid): Do not declare.
79247         [__ASSUME_32BITUIDS]: Make code unconditional.
79248         [!__ASSUME_32BITUIDS]: Remove conditional code.
79249         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
79250         <kernel-features.h>.
79251         [__ASSUME_32BITUIDS]: Make code unconditional.
79252         [!__ASSUME_32BITUIDS]: Remove conditional code.
79253         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
79254         <kernel-features.h>.
79255         [__ASSUME_32BITUIDS]: Make code unconditional.
79256         [!__ASSUME_32BITUIDS]: Remove conditional code.
79257         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
79258         <kernel-features.h>.
79259         [__ASSUME_32BITUIDS]: Make code unconditional.
79260         [!__ASSUME_32BITUIDS]: Remove conditional code.
79261         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
79262         <kernel-features.h>.
79263         [__ASSUME_32BITUIDS]: Make code unconditional.
79264         [!__ASSUME_32BITUIDS]: Remove conditional code.
79265         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
79266         <kernel-features.h>.
79267         [__ASSUME_32BITUIDS]: Make code unconditional.
79268         [!__ASSUME_32BITUIDS]: Remove conditional code.
79269         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
79270         <kernel-features.h>.
79271         [__ASSUME_32BITUIDS]: Make code unconditional.
79272         [!__ASSUME_32BITUIDS]: Remove conditional code.
79273         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
79274         <kernel-features.h>.
79275         [__ASSUME_32BITUIDS]: Make code unconditional.
79276         [!__ASSUME_32BITUIDS]: Remove conditional code.
79277         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
79278         <kernel-features.h>.
79279         [__ASSUME_32BITUIDS]: Make code unconditional.
79280         [!__ASSUME_32BITUIDS]: Remove conditional code.
79281         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
79282         <kernel-features.h>.
79283         [__ASSUME_32BITUIDS]: Make code unconditional.
79284         [!__ASSUME_32BITUIDS]: Remove conditional code.
79285         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
79286         <kernel-features.h>.
79287         [__ASSUME_32BITUIDS]: Make code unconditional.
79288         [!__ASSUME_32BITUIDS]: Remove conditional code.
79289         * sysdeps/unix/sysv/linux/kernel-features.h
79290         (__ASSUME_SETRESUID_SYSCALL): Remove.
79291         (__ASSUME_SETRESGID_SYSCALL): Likewise.
79292         (__ASSUME_32BITUIDS): Likewise.
79293         (__ASSUME_LDT_WORKS): Likewise.
79294         (__ASSUME_O_DIRECTORY): Likewise.
79295         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
79296         architecture but not kernel version.
79297         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
79298         (__ASSUME_MMAP2_SYSCALL): Likewise.
79299         (__ASSUME_STAT64_SYSCALL): Likewise.
79300         (__ASSUME_IPC64): Likewise.
79301         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
79302         <kernel-features.h>.
79303         [__ASSUME_32BITUIDS]: Make code unconditional.
79304         [!__ASSUME_32BITUIDS]: Remove conditional code.
79305         * sysdeps/unix/sysv/linux/opendir.c: Do not include
79306         <kernel-features.h>.
79307         [__ASSUME_O_DIRECTORY]: Make code unconditional.
79308         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
79309         132096]: Remove conditional code.
79310         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
79311         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
79312         <kernel-features.h>.
79313         [__ASSUME_32BITUIDS]: Make code unconditional.
79314         [!__ASSUME_32BITUIDS]: Remove conditional code.
79315         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
79316         <kernel-features.h>.
79317         [__ASSUME_32BITUIDS]: Make code unconditional.
79318         [!__ASSUME_32BITUIDS]: Remove conditional code.
79319         * sysdeps/unix/sysv/linux/setegid.c: Do not include
79320         <kernel-features.h>.
79321         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
79322         unconditional.
79323         (__setresgid): Do not declare.
79324         [__ASSUME_32BITUIDS]: Make code unconditional.
79325         [!__ASSUME_32BITUIDS]: Remove conditional code.
79326         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
79327         <kernel-features.h>.
79328         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
79329         unconditional.
79330         (__setresuid): Do not declare.
79331         [__ASSUME_32BITUIDS]: Make code unconditional.
79332         [!__ASSUME_32BITUIDS]: Remove conditional code.
79333         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
79334         <kernel-features.h>.
79335         [__ASSUME_32BITUIDS]: Make code unconditional.
79336         [!__ASSUME_32BITUIDS]: Remove conditional code.
79337         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
79338         <kernel-features.h>.
79339         [__ASSUME_32BITUIDS]: Make code unconditional.
79340         [!__ASSUME_32BITUIDS]: Remove conditional code.
79342 2012-05-25  Richard Henderson  <rth@twiddle.net>
79344         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
79345         dl_hwcap to ifunc resolver.
79346         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
79347         elf_ifunc_invoke.
79348         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
79349         dl_hwcap to ifunc resolver.
79350         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
79352 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79354         [BZ #14153]
79355         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
79356         for |x| <= 2**-26, not 2**-57.
79357         * math/libm-test.inc (acos_test): Do not allow spurious underflow
79358         exception.
79360 2012-05-24  Jeff Law  <law@redhat.com>
79362         * stdio-common/Makefile (tests): Add bug25.
79363         * stdio-common/bug25.c: New test.
79365 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
79367         [BZ #13576]
79368         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
79369         multiple of MALLOC_ALIGNMENT in size.
79370         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
79372 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79374         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
79375         Require >= 256.
79376         (FILENAME_MAX): Use macro-int-constant.
79377         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
79378         (_IOFBF): Use macro-int-constant.
79379         (_IOLBF): Likewise.
79380         (_IONBF): Likewise.
79381         (SEEK_CUR): Likewise.
79382         (SEEK_END): Likewise.
79383         (SEEK_SET): Likewise.
79384         (TMP_MAX): Likewise.
79385         (EOF): Use macro-int-constant.  Require < 0.
79386         (NULL): Use macro-constant.  Require == 0.
79387         (stdin): Require type to be FILE *.
79388         (stdout): Likewise.
79389         (stderr): Likewise.
79390         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
79391         macro-int-constant.
79392         (EXIT_SUCCESS): Likewise.
79393         (NULL): Use macro-constant.  Require == 0.
79394         (RAND_MAX): Use macro-int-constant.
79395         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
79396         [C99-based standards] (strtof): Require function.
79397         [C99-based standards] (strtold): Likewise.
79398         [C99-based standards] (strtoll): Likewise.
79399         [C99-based standards] (strtoull): Likewise.
79400         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79401         [ISO || ISO99 || ISO11] (limits.h): Likewise.
79402         [ISO || ISO99 || ISO11] (math.h): Likewise.
79403         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
79404         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79405         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79407 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
79409         [BZ #14132]
79410         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
79411         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
79412         * intl/dgettext.c (DCGETTEXT): Likewise.
79413         * intl/gettext.c (DCGETTEXT): Likewise.
79414         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
79415         * posix/regex_internal.h (gettext): Likewise.
79416         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
79417         Remove declaration.
79418         * include/argz.h (__argz_count_internal)
79419         (__argz_stringify_internal): Remove declaration.
79420         (__argz_count, __argz_stringify): Declare hidden proto.
79421         * intl/dcgettext.c: Remove use of INTDEF.
79422         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
79423         * string/argz-stringify.c: Likewise.
79424         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
79425         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79426         Declare hidden proto.
79427         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
79428         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79429         Declare hidden proto.
79430         * include/stdio.h (__asprintf_internal): Don't declare.
79431         (__asprintf): Don't define as macro.  Declare hidden proto.
79432         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
79433         (__fsetlocking): Declare hidden proto.
79434         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
79435         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
79436         hidden proto.
79437         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
79438         (_IO_setlinebuf): Remove use of INTUSE.
79439         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
79440         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
79441         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
79442         Remove declaration.
79443         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
79444         (_IO_do_flush): Remove use of INTUSE.
79445         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
79446         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
79447         (_IO_adjust_column, _IO_least_wmarker)
79448         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
79449         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
79450         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
79451         (_IO_default_doallocate, _IO_wdefault_doallocate)
79452         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
79453         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
79454         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
79455         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
79456         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
79457         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
79458         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
79459         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
79460         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
79461         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
79462         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
79463         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
79464         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
79465         proto.
79466         (_IO_flush_all_internal, _IO_adjust_column_internal)
79467         (_IO_default_uflow_internal, _IO_default_finish_internal)
79468         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
79469         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
79470         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
79471         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
79472         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
79473         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
79474         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
79475         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
79476         (_IO_file_close_internal, _IO_file_close_it_internal)
79477         (_IO_file_underflow_internal, _IO_file_overflow_internal)
79478         (_IO_file_init_internal, _IO_file_attach_internal)
79479         (_IO_file_fopen_internal, _IO_file_read_internal)
79480         (_IO_file_sync_internal, _IO_file_seek_internal)
79481         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
79482         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
79483         (_IO_str_underflow_internal, _IO_str_overflow_internal)
79484         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
79485         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
79486         (_IO_list_all_internal, _IO_link_in_internal)
79487         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
79488         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
79489         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
79490         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
79491         (_IO_do_write_internal, _IO_padn_internal)
79492         (_IO_getline_info_internal, _IO_getline_internal)
79493         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
79494         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
79495         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
79496         (_IO_vfscanf_internal, _IO_vfprintf_internal)
79497         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
79498         (_IO_init_internal, _IO_un_link_internal): Don't declare.
79499         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
79500         with libc_hidden_ver, remove use of INTUSE.
79501         * libio/genops.c: Likewise.
79502         * libio/freopen.c: Likewise.
79503         * libio/freopen64.c: Likewise.
79504         * libio/iofclose.c: Likewise.
79505         * libio/iofdopen.c: Likewise.
79506         * libio/iofflush.c: Likewise.
79507         * libio/iofflush_u.c: Likewise.
79508         * libio/iofgets.c: Likewise.
79509         * libio/iofgets_u.c: Likewise.
79510         * libio/iofopen.c: Likewise.
79511         * libio/iofopncook.c: Likewise.
79512         * libio/iofread.c: Likewise.
79513         * libio/iofread_u.c: Likewise.
79514         * libio/ioftell.c: Likewise.
79515         * libio/iofwrite.c: Likewise.
79516         * libio/iogetline.c: Likewise.
79517         * libio/iogets.c: Likewise.
79518         * libio/iogetwline.c: Likewise.
79519         * libio/iopadn.c: Likewise.
79520         * libio/iopopen.c: Likewise.
79521         * libio/ioseekoff.c: Likewise.
79522         * libio/ioseekpos.c: Likewise.
79523         * libio/iosetbuffer.c: Likewise.
79524         * libio/iosetvbuf.c: Likewise.
79525         * libio/ioungetc.c: Likewise.
79526         * libio/ioungetwc.c: Likewise.
79527         * libio/iovdprintf.c: Likewise.
79528         * libio/iovsprintf.c: Likewise.
79529         * libio/iovsscanf.c: Likewise.
79530         * libio/memstream.c: Likewise.
79531         * libio/obprintf.c: Likewise.
79532         * libio/oldfileops.c: Likewise.
79533         * libio/oldiofclose.c: Likewise.
79534         * libio/oldiofdopen.c: Likewise.
79535         * libio/oldiofopen.c: Likewise.
79536         * libio/oldiopopen.c: Likewise.
79537         * libio/oldstdfiles.c: Likewise.
79538         * libio/putc.c: Likewise.
79539         * libio/setbuf.c: Likewise.
79540         * libio/setlinebuf.c: Likewise.
79541         * libio/stdfiles.c: Likewise.
79542         * libio/strops.c: Likewise.
79543         * libio/vasprintf.c: Likewise.
79544         * libio/vscanf.c: Likewise.
79545         * libio/vsnprintf.c: Likewise.
79546         * libio/vswprintf.c: Likewise.
79547         * libio/wfiledoalloc.c: Likewise.
79548         * libio/wfileops.c: Likewise.
79549         * libio/wgenops.c: Likewise.
79550         * libio/wmemstream.c: Likewise.
79551         * libio/wstrops.c: Likewise.
79552         * libio/__fpurge.c: Likewise.
79553         * libio/__fsetlocking.c: Likewise.
79554         * assert/assert.c: Likewise.
79555         * debug/fgets_chk.c: Likewise.
79556         * debug/fgets_u_chk.c: Likewise.
79557         * debug/fread_chk.c: Likewise.
79558         * debug/fread_u_chk.c: Likewise.
79559         * debug/gets_chk.c: Likewise.
79560         * debug/obprintf_chk.c: Likewise.
79561         * debug/vasprintf_chk.c: Likewise.
79562         * debug/vdprintf_chk.c: Likewise.
79563         * debug/vsnprintf_chk.c: Likewise.
79564         * debug/vsprintf_chk.c: Likewise.
79565         * malloc/mtrace.c: Likewise.
79566         * misc/error.c: Likewise.
79567         * misc/syslog.c: Likewise.
79568         * stdio-common/asprintf.c: Likewise.
79569         * stdio-common/fxprintf.c: Likewise.
79570         * stdio-common/getw.c: Likewise.
79571         * stdio-common/isoc99_fscanf.c: Likewise.
79572         * stdio-common/isoc99_scanf.c: Likewise.
79573         * stdio-common/isoc99_vfscanf.c: Likewise.
79574         * stdio-common/isoc99_vscanf.c: Likewise.
79575         * stdio-common/isoc99_vsscanf.c: Likewise.
79576         * stdio-common/printf-prs.c: Likewise.
79577         * stdio-common/printf_fp.c: Likewise.
79578         * stdio-common/printf_fphex.c: Likewise.
79579         * stdio-common/printf_size.c: Likewise.
79580         * stdio-common/putw.c: Likewise.
79581         * stdio-common/scanf.c: Likewise.
79582         * stdio-common/sprintf.c: Likewise.
79583         * stdio-common/tmpfile.c: Likewise.
79584         * stdio-common/vfprintf.c: Likewise.
79585         * stdio-common/vfscanf.c: Likewise.
79586         * stdlib/strfmon_l.c: Likewise.
79587         * sunrpc/openchild.c: Likewise.
79588         * sunrpc/xdr_stdio.c: Likewise.
79589         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
79590         * sysdeps/mach/hurd/tmpfile.c: Likewise.
79592 2012-05-24  Roland McGrath  <roland@hack.frob.com>
79594         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
79596         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
79597         in the third column, to generate for the shared library an IFUNC
79598         that uses _dl_vdso_vsym.
79599         * Makerules (COMPILE.c, compile-stdin.c): New variables.
79600         * Makeconfig (object-suffixes-noshared): New variable.
79602         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
79603         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
79604         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
79605         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
79607         [BZ #14132]
79608         * include/sys/time.h (__gettimeofday): Remove macro.
79609         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
79610         * time/gettimeofday.c (__gettimeofday): Remove #undef.
79611         Remove INTDEF.
79612         (__gettimeofday): Add libc_hidden_def.
79613         (gettimeofday): Add libc_hidden_weak.
79614         * sysdeps/mach/gettimeofday.c: Likewise.
79615         * sysdeps/posix/gettimeofday.c: Likewise.
79616         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
79617         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
79618         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
79619         (__gettimeofday_internal): Remove strong_alias.
79620         (__gettimeofday): Add libc_hidden_def.
79621         (gettimeofday): Add libc_hidden_weak.
79622         * sysdeps/unix/syscalls.list (gettimeofday):
79623         Remove __gettimeofday_internal alias.
79625 2012-05-24  Daniel Jacobowitz  <drow@false.org>
79626             H.J. Lu  <hongjiu.lu@intel.com>
79628         [BZ #12495]
79629         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
79630         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
79631         (largebin_index_32_big): New.
79632         (largebin_index): Use it for 16-byte alignment.
79633         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
79634         correction with front_misalign.
79636 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
79638         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
79639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
79640         Likewise.
79641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
79642         Likewise.
79643         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
79644         Likewise.
79645         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
79646         Likewise.
79647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
79648         Likewise.
79649         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
79650         Likewise.
79651         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
79652         Likewise.
79653         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
79654         Likewise.
79655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
79656         Likewise.
79657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
79658         Likewise.
79659         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
79660         Likewise.
79661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
79662         Likewise.
79664         * scripts/data/c++-types-x32-linux-gnu.data: New file.
79665         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
79667 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79669         [BZ #10846]
79670         [BZ #14036]
79671         * math/libm-test.inc (exp_test): Add test from bug 14036.
79672         (pow_test): Add test from bug 10846.
79674         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
79675         and other flags.
79676         (special_function): Do not include flags in test name.
79677         (parse_args): Likewise.
79678         * sysdeps/i386/fpu/libm-test-ulps: Update.
79679         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79680         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
79681         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
79682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79684         * math/gen-libm-test.pl (%beautify): Add entries for underflow
79685         exceptions.
79686         * math/libm-test.inc ("Philosophy"): Update comment about
79687         exception testing.
79688         (UNDERFLOW_EXCEPTION): New macro.
79689         (UNDERFLOW_EXCEPTION_OK): Likewise.
79690         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
79691         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
79692         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
79693         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
79694         (INVALID_EXCEPTION_OK): Update value.
79695         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79696         (OVERFLOW_EXCEPTION_OK): Likewise.
79697         (IGNORE_ZERO_INF_SIGN): Likewise.
79698         (test_exceptions): Handle underflow exceptions.
79699         (acos_test): Update for underflow exception expectations.
79700         (cexp_test): Likewise.
79701         (clog_test): Likewise.
79702         (clog10_test): Likewise.
79703         (csqrt_test): Likewise.
79704         (ctan_test): Likewise.
79705         (ctanh_test): Likewise.
79706         (exp_test): Likewise.
79707         (exp10_test): Likewise.
79708         (exp2_test): Likewise.
79709         (expm1_test): Likewise.
79710         (fma_test): Likewise.
79711         (j0_test): Likewise.
79712         (jn_test): Likewise.
79713         (nexttoward_test): Likewise.
79714         (pow_test): Likewise.
79715         (scalbn_test): Likewise.
79716         (scalbln_test): Likewise.
79717         (tan_test): Likewise.
79718         (y1_test): Likewise.
79719         * sysdeps/i386/fpu/libm-test-ulps: Update.
79720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79722 2012-05-23  David S. Miller  <davem@davemloft.net>
79724         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79725         (__libc_sigaction): Remove unused local variables.
79727 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79729         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
79731 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
79733         mktime: avoid signed integer overflow
79734         * time/mktime.c (__mktime_internal): Do not mishandle the case
79735         where diff == INT_MIN.
79737         mktime: simplify computation of average
79738         * time/mktime.c (ranged_convert): Use new time_t_avg function
79739         instead of rolling our own (probably-slower) code.
79741         mktime: do not assume signed right shift propagates sign bit
79742         * time/mktime.c (isdst_differ): New static function.
79743         (__mktime_internal): No need to normalize tm_isdst now.
79744         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
79745         tm_isdst values.
79747         mktime: merge another wrapv change from gnulib
79748         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
79749         from some compilers.
79751         mktime: remove incorrect attempt at unusual arithmetics
79752         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
79753         The code didn't really work on such machines anyway.
79754         (TYPE_MINIMUM): Assume two's complement.
79755         (twos_complement_arithmetic): Verify that long_int and time_t
79756         are two's complement (or unsigned, in the latter case).
79758         mktime: check signed shifts on long_int and time_t, too
79759         * time/mktime.c (SHR): Check that shifts work as desired
79760         on the types long_int and time_t too, as SHR is used on
79761         such types.
79763         mktime: do not assume 'long' is wide enough
79764         * time/mktime.c (verify): Move decl up.
79765         (long_int): New type.
79766         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
79767         to remove assumption in the code that 'long' is wide enough to
79768         store year values.  This assumption is not true on x32 and on
79769         some non-glibc platforms.
79771         mktime: merge wrapv change from gnulib
79772         * time/mktime.c (WRAPV): New macro.
79773         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
79774         (guess_time_tm, __mktime_internal): Do not assume that signed
79775         integer overflow wraps around; modern compilers generate code
79776         where this assumption is no longer valid.
79778 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79780         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79781         Replace "jmp L(pseudo_end)" with "ret".
79782         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
79783         Likewise.
79785 2012-05-23  Andreas Jaeger  <aj@suse.de>
79787         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
79788         * sysdeps/unix/sysv/linux/poll.c: Remove file.
79790 2012-05-23  Andreas Jaeger  <aj@suse.de>
79791             Maximilian Attems  <max@stro.at>
79793         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
79794         New macros.
79796 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79798         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
79799         code so that pseudo_end is just ret and the stack pointer is
79800         correct also for static library in error case.
79802 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
79804         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
79805         move to syscalls.list.
79806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
79807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
79808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
79809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
79811         * manual/install.texi (Running make install): Do not mention Linux
79812         kernel version for which pt_chown is not needed.
79813         (Linux): Do not mention problems with nscd with 2.0 kernels.
79814         * INSTALL: Regenerated.
79816 2012-05-23  Andreas Jaeger  <aj@suse.de>
79818         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
79819         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
79820         macro.
79821         * sysdeps/unix/sysv/linux/s390/bits/mman.h
79822         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79823         * sysdeps/unix/sysv/linux/sh/bits/mman.h
79824         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79825         * sysdeps/unix/sysv/linux/i386/bits/mman.h
79826         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79827         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
79828         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79829         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
79830         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79831         * sysdeps/unix/sysv/linux/bits/in.h
79832         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
79834 2012-05-22  Roland McGrath  <roland@hack.frob.com>
79836         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
79837         (PREPARE_VERSION): Just use assert instead, it will be elided
79838         under [NDEBUG] anyway.
79840 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79842         * sysdeps/unix/sysv/linux/Makefile: Include
79843         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
79844         (sysdep_routines): Remove sysctl.
79845         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
79846         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
79847         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
79848         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
79849         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
79851 2012-05-22  Andreas Jaeger  <aj@suse.de>
79853         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
79854         that pseudo_end is just ret and the stack pointer is correct also
79855         for static library in error case.
79857 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
79859         [BZ #14122]
79860         * nss/nsswitch.c (defconfig_entries): New variable.
79861         (__nss_database_lookup): Don't leak defconfig entries.
79862         (nss_parse_service_list): Don't leak on error paths.
79863         (free_database_entries): New function.
79864         (free_defconfig): New function.
79865         (free_mem): Move common code to free_database_entries.
79867 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79869         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
79870         Add arch_prctl.
79871         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
79873         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
79874         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
79875         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
79876         New macro.
79877         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
79878         (INTERNAL_SYSCALL_TYPES): Likewise.
79879         (LOAD_ARGS_TYPES_[1-6]): Likewise.
79880         (LOAD_REGS_TYPES_[1-6]): Likewise.
79881         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
79882         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
79884 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79886         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
79887         copysignl for GLIBC_2_0.
79888         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
79889         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
79890         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
79891         logbl for GLIBC_2_0.
79892         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
79893         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
79895 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79897         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
79898         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79900         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79901         Use "neg %eax".
79903         * time/mktime.c: Update copyright years.
79905 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
79907         mktime: merge comment-quoting-style change from gnulib
79908         * time/mktime.c: Quote 'like this' in comments.
79909         The GNU coding standards suggest that we no longer quote `like this',
79910         as "`" and "'" are typically rendered asymmetrically nowadays.
79911         The typical gnulib style is to quote 'like this' when quoting
79912         code, and "like this" when quoting English.
79914         * time/mktime.c (compile-command): Add "-I.".
79916         mktime: merge mktime-internal.h change from gnulib
79917         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
79919         mktime: merge time_r change from gnulib
79920         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
79922         mktime: merge DEBUG change from gnulib
79923         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
79924         case system <time.h> has a #define.
79926         mktime: merge <sys/types.h> change from gnulib
79927         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
79928         since <time.t> is now guaranteed to define time_t.
79930         mktime: merge HAVE_CONFIG_H change from gnulib
79931         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
79933 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79935         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79936         Use "neg %eax".
79938         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
79939         __rlim_t cast.
79940         (struct rusage): Use anonymous union to pad each field to
79941         __syscall_slong_t.
79943 2012-05-21  David S. Miller  <davem@davemloft.net>
79945         * Makefules (o-iterator): Remove .s cases.
79946         (compile-command.s): Delete.
79947         (COMPILE.s): Delete.
79948         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
79950 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
79952         * configure.in (libc_cv_predef_stack_protector): Only consider
79953         "foobar" and "__stack_chk_fail" lines in libc_undefs.
79954         * configure: Regenerated.
79956 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79958         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79959         New macro.  Use R*LP on int and pointer.
79960         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
79961         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
79962         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
79963         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
79965         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
79966         [__WORDSIZE_TIME64_COMPAT32] instead of
79967         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
79968         (struct utmp): Likewise.
79969         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
79970         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
79971         Renamed to ...
79972         (__WORDSIZE_TIME64_COMPAT32): This.
79973         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
79974         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
79975         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
79976         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
79977         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
79978         (__WORDSIZE_TIME64_COMPAT32): New macro.
79980 2012-05-21  Andreas Jaeger  <aj@suse.de>
79982         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
79983         only if [SHARED]. Add prototype for __wcschr_ia32.
79985 2012-05-21  Roland McGrath  <roland@hack.frob.com>
79987         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
79988         of %rbp unmolested in the jmp_buf while mangling the low bits.
79989         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
79990         unmolested high bits of %rbp while demangling the low bits.
79991         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
79993 2012-05-21  Andreas Jaeger  <aj@suse.de>
79995         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
79996         * sunrpc/svc_simple.c: Use it for registerrpc.
79997         * sunrpc/xcrypt.c: Use it for passwd2des.
79999         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
80001 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80003         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
80004         Don't define if [__SYSCALL_WORDSIZE != 32].
80005         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
80006         New macro.
80008 2012-05-21  Bruno Haible  <bruno@clisp.org>
80009             Andreas Jaeger  <aj@suse.de>
80011         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
80012         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
80013         inptr and inend for must_buffer_ch.
80014         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
80015         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
80016         * stdio-common/Makefile (tests): Remove bug15.
80017         (bug15-ENV): Remove macro.
80018         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
80019         anymore.
80021 2012-05-19  Andreas Jaeger  <aj@suse.de>
80022             Roland McGrath  <roland@hack.frob.com>
80024         * manual/contrib.texi: Completely rewritten. It contains now an
80025         alphabetical list of contributors and their contributions.
80027 2012-05-21  Richard Henderson  <rth@twiddle.net>
80029         * misc/getauxval.c (__getauxval): Use unsigned long int.
80030         * misc/sys/auxv.h: Include <sys/cdefs.h>.
80031         (getauxval): Use unsigned long int.
80033 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80035         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80037 2012-05-21  Roland McGrath  <roland@hack.frob.com>
80039         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
80040         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
80041         __alignof__ (long double).
80043 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80047 2012-05-20  Richard Henderson  <rth@twiddle.net>
80049         * misc/getauxval.c: New file.
80050         * misc/sys/auxv.h: New file.
80051         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
80052         (routines): Add getauxval.
80053         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
80054         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
80055         * elf/dl-sysdep.c (_dl_auxv): Remove.
80056         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
80057         * elf/dl-support.c (_dl_auxv): New variable.
80058         (_dl_aux_init): Initialize it.
80059         * manual/startup.texi (Auxiliary Vector): New node.
80060         * sysdeps/generic/bits/hwcap.h: New file.
80061         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
80062         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
80063         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
80064         * sysdeps/sparc/sysdep.h: ... here.  Include it.
80065         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
80066         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
80067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
80068         Update.
80069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
80070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
80071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
80072         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
80073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
80074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
80075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
80076         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
80078 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80082 2012-05-19  David S. Miller  <davem@davemloft.net>
80084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80086 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
80088         [BZ #14123]
80089         * math/s_ccosh.c: Include <float.h>
80090         (__ccosh): Avoid internal overflow calculating sinh and cosh
80091         values before multiplying by sin and cos values.
80092         * math/s_ccoshf.c: Likewise.
80093         * math/s_ccoshl.c: Likewise.
80094         * math/s_csin.c: Likewise.
80095         * math/s_csinf.c: Likewise.
80096         * math/s_csinl.c: Likewise.
80097         * math/s_csinh.c: Likewise.
80098         * math/s_csinhf.c: Likewise.
80099         * math/s_csinhl.c: Likewise.
80100         * math/libm-test.inc (ccos_test): Add more tests.
80101         (ccosh_test): Likewise.
80102         (csin_test): Likewise.
80103         (csinh_test): Likewise.
80104         * sysdeps/i386/fpu/libm-test-ulps: Update.
80105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80107 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
80109         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
80110         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
80112         * sysdeps/x86_64/x32/_itoa.h: Add comment.
80114 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
80116         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
80117         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
80118         * sysdeps/powerpc/soft-fp/Versions: Likewise.
80119         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
80120         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
80121         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
80122         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
80123         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
80124         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
80125         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
80126         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
80127         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
80128         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
80129         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
80130         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
80131         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
80132         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
80133         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
80134         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
80135         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
80136         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
80137         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
80138         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
80139         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
80140         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
80141         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
80142         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
80143         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
80144         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
80145         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
80146         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
80148 2012-05-18  Andreas Jaeger  <aj@suse.de>
80150         * csu/.gitignore: Delete.
80152 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80154         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
80155         (timex): Use __syscall_slong_t.
80157 2012-05-18  Andreas Jaeger  <aj@suse.de>
80158             Carlos O'Donell  <carlos_odonell@mentor.com>
80160         * manual/install.texi (Configuring and compiling): Update
80161         description about files modified in the source directory.
80162         * INSTALL: Regenerated.
80164 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80166         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
80167         value.  Use "or" to set return value to -1.
80168         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
80169         negate return value.
80171 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
80173         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
80174         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
80175         failure if the compiler has Graphite support disabled.
80176         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
80177         Likewise.
80178         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
80179         (CFLAGS-memmove.c): Likewise.
80180         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
80181         Likewise.
80183 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80185         * sysdeps/x86_64/x32/_itoa.h: New file.
80187         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
80188         getdents system call only if kernel and user dirents have the
80189         same d_ino and d_off.
80191         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
80192         LLONG_MAX != LONG_MAX.
80193         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80194         (_fitoa_word): Likewise.
80196         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
80197         years.
80198         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
80199         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
80200         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
80202         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
80203         include <bits/wordsize.h>.  Check __x86_64__ instead of
80204         __WORDSIZE.
80205         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
80206         if __x86_64__ is defined.  Use anonymous union on fpstate.
80208         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
80209         anonymous union.
80211 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
80213         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
80214         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
80215         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
80216         Refer to _rtld_local_ro instead of _rtld_global_ro.
80217         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
80218         Likewise.
80219         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
80220         Likewise.
80221         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
80222         Likewise.
80223         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
80224         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
80225         of _rtld_global, and rtld_progname instead of _dl_argv[0].
80227         [BZ #10882]
80228         * sysdeps/powerpc/powerpc32/dl-machine.c
80229         (__elf_machine_runtime_setup) [PROF]: Don't reference
80230         _dl_prof_resolve.
80232 2012-05-18  Andreas Jaeger  <aj@suse.de>
80234         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
80235         function only available for GCCs before 3.4 since GCC 3.4
80236         introduced a builtin.
80237         (lrint): Likewise.
80238         (llrintf): Likewise.
80239         (llrint): Likewise.
80240         (fmaxf): Likewise.
80241         (fmax): Likewise.
80242         (fminf): Likewise.
80243         (fmin): Likewise.
80244         (rint): Likewise.
80245         (rintf): Likewise.
80246         (nearbyint): Likewise.
80247         (nearbyintf): Likewise.
80248         (ceil): Likewise.
80249         (ceilf): Likewise.
80250         (floor): Likewise.
80251         (floorf): Likewise.
80253 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80255         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
80256         on both fields and cast pointer to __syscall_ulong_t.
80258         * bits/types.h (__fsword_t): New type.
80259         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
80260         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
80261         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80262         (__FSWORD_T_TYPE): Likewise.
80263         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80264         (__FSWORD_T_TYPE): Likewise.
80265         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80266         (__FSWORD_T_TYPE): Likewise.
80267         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
80268         (__FSWORD_T_TYPE): Likewise.
80269         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
80270         __SWORD_TYPE with __fsword_t.
80271         (statfs64): Likewise.
80273 2012-05-17  David S. Miller  <davem@davemloft.net>
80275         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
80277 2012-05-17  Andreas Jaeger  <aj@suse.de>
80279         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
80280         warning.
80282 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80284         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
80286 2012-05-17  Andreas Jaeger  <aj@suse.de>
80288         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
80289         when it is used.
80291 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
80293         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
80295 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80297         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
80298         * sysdeps/x86_64/tst-mallocalign1.c: New file.
80300 2012-05-17  Andreas Jaeger  <aj@suse.de>
80301             Carlos O'Donell  <carlos_odonell@mentor.com>
80303         [BZ #14059]
80304         * sysdeps/x86_64/multiarch/init-arch.h
80305         (bit_YMM_Usable): Rename to...
80306         (bit_AVX_Usable): ... this.
80307         (bit_FMA4_Usable): New macro.
80308         (bit_XMM_state): New macro.
80309         (bit_YMM_state): New macro.
80310         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
80311         [__ASSEMBLER__] (index_AVX_Usable): ... this.
80312         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
80313         (CPUID_OSXSAVE): New macro.
80314         (CPUID_AVX): New macro.
80315         (CPUID_FMA4): New macro.
80316         (index_YMM_Usable): Rename to...
80317         (index_AVX_Usable): ... this.
80318         (HAS_AVX): Use HAS_ARCH_FEATURE.
80319         (HAS_FMA4): Likewise.
80320         (HAS_YMM_USABLE): Remove.
80321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80322         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
80323         are present.
80324         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
80325         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
80326         * sysdeps/x86_64/multiarch/Makefile: Likewise.
80327         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
80328         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
80330 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
80332         * math/libm-test.c: Support platforms without multiple rounding modes.
80333         * math/bug-nextafter.c: Support platforms without FP exceptions.
80334         * math/bug-nexttoward.c: Likewise.
80335         * math/test-fenv.c: Likewise.
80336         * math/test-misc.c: Likewise.
80337         * stdlib/bug-getcontext.c: Likewise.
80339 2012-05-17  Andreas Jaeger  <aj@suse.de>
80341         * manual/examples/search.c (critter_cmp): Change signature to
80342         avoid warnings.
80343         * manual/string.texi (Collation Functions): Likewise.
80345 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80347         * bits/types.h: Fold copyright years.
80348         * bits/typesizes.h: Likewise.
80349         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
80350         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
80351         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
80352         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
80353         * time/time.h: Likewise.
80355 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
80357         [BZ #208]
80358         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
80359         in instead of returning them.  Return void.
80360         (__libc_mallinfo): Accumulate over all arenas.
80361         (__malloc_stats): Adjust for change in int_mallinfo interface.
80363 2012-05-16  Roland McGrath  <roland@hack.frob.com>
80365         [BZ #10375]
80366         * configure.in (NM): Add AC_CHECK_TOOL for it.
80367         (libc_extra_cflags): New substituted variable.
80368         Check for -fstack-protector being used implicitly.
80369         * configure: Regenerated.
80370         * config.make.in (config-extra-cflags): New variable,
80371         gets @libc_extra_cflags@.
80372         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
80374         [BZ #10375]
80375         * configure.in: Check for _FORTIFY_SOURCE being predefined.
80376         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
80377         * configure: Regenerated.
80378         * config.make.in (CPPUNDEFS): New substituted variable.
80379         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
80380         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
80381         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
80383 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80385         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
80386         (mq_attr): Use __syscall_slong_t.
80388 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80390         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
80391         Check __x86_64__ instead of __WORDSIZE.
80392         (_STAT_VER_LINUX): Likewise.
80393         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
80394         __syscall_ulong_t and __syscall_slong_t.
80395         (stat64): Likewise.
80397 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80399         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
80401 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80403         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
80405 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80407         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
80408         __syscall_ulong_t.
80410         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
80411         include <bits/wordsize.h>.  Check __x86_64__ instead of
80412         __WORDSIZE.
80413         (greg_t): Use "__extension__ long long int" if __x86_64__ is
80414         defined.
80415         (mcontext_t): Replace "unsigned long" with "unsigned long long".
80417         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
80418         include <bits/wordsize.h>.  Check __x86_64__ instead of
80419         __WORDSIZE.
80420         (user_regs_struct): Use "__extension__ unsigned long long"
80421         instead of "unsigned long" if __x86_64__ is defined.
80422         (user): Likewise.  Pad after pointer field if __ILP32__ is
80423         defined.
80425 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
80427         * configure.in (makeinfo): Require version 4.5 or later.  Allow
80428         versions 5 to 9.
80429         * configure: Regenerated.
80430         * manual/install.texi (texinfo): Increase version requirement to
80431         4.5 or later.
80432         * INSTALL: Regenerated.
80434         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
80436 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80438         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
80440         * sysdeps/x86_64/x32/ffs.c: New file.
80442         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
80443         __syscall_ulong_t.
80444         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
80445         defined.  Use __syscall_ulong_t.
80446         (shminfo): Use __syscall_ulong_t.
80447         (shm_info): Likewise.
80449         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
80450         __syscall_ulong_t.
80452         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
80453         <bits/wordsize.h>.
80454         (msgqnum_t): Use __syscall_ulong_t.
80455         (msglen_t): Likewise.
80456         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
80457         __syscall_ulong_t.
80459         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
80460         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80462         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
80464         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
80465         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
80467         * sysvipc/sys/msg.h (msgbuf): Replace long int with
80468         __syscall_slong_t.
80470         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
80471         include <bits/wordsize.h>.  Check __x86_64__ instead of
80472         __WORDSIZE.
80474         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
80475         "unsigned long long int" if __x86_64__ is defined.
80476         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
80478         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
80479         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80480         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
80482         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
80483         <stdint.h>.
80484         (GET_PC): Cast to uintptr_t first.
80485         (GET_FRAME): Likewise.
80486         (GET_STACK): Likewise.
80488         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
80489         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
80490         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
80491         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
80492         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
80493         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
80494         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
80495         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
80496         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
80497         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
80498         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
80499         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
80500         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
80501         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
80502         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
80503         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
80504         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
80505         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
80506         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
80507         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
80508         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
80509         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
80510         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
80511         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
80512         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
80513         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
80514         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
80515         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
80516         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
80518 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
80520         * Makerules (+depfiles): Also collect depfiles from .oS in
80521         $(extra-objs).
80522         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
80523         .oS, $(libnldbl-routines)).
80525         * Makerules (native-compile-mkdep-flags): Define.
80526         * sunrpc/Makefile (extra-objs): Add $(addprefix
80527         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
80528         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
80529         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
80530         calling $(make-target-directory).
80532 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80534         * bits/types.h (__snseconds_t): Removed.
80535         * time/time.h (struct timespec): Replace __snseconds_t with
80536         __syscall_slong_t.
80537         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
80538         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
80539         Likewise.
80540         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80541         (__SNSECONDS_T_TYPE): Likewise.
80542         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80543         (__SNSECONDS_T_TYPE): Likewise.
80544         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80545         (__SNSECONDS_T_TYPE): Likewise.
80547 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80549         * sysdeps/mach/hurd/bits/typesizes.h
80550         (__SYSCALL_SLONG_TYPE): New macro.
80551         (__SYSCALL_ULONG_TYPE): Likewise.
80553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80555         * bits/types.h (__syscall_slong_t): New type.
80556         (__syscall_ulong_t): Likewise.
80558         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
80559         (__SYSCALL_ULONG_TYPE): Likewise.
80560         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80561         (__SYSCALL_SLONG_TYPE): Likewise.
80562         (__SYSCALL_ULONG_TYPE): Likewise.
80563         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80564         (__SYSCALL_SLONG_TYPE): Likewise.
80565         (__SYSCALL_ULONG_TYPE): Likewise.
80566         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80567         (__SYSCALL_SLONG_TYPE): Likewise.
80568         (__SYSCALL_ULONG_TYPE): Likewise.
80570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80572         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
80573         Add sigaltstack-offsets.sym.
80574         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
80575         <sigaltstack-offsets.h>.
80576         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
80577         longjmp_msg pointer.
80578         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
80579         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
80580         signal stack.
80581         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
80583 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
80585         * elf/stackguard-macros.h: Remove file.
80586         * sysdeps/generic/stackguard-macros.h: New file.
80587         * sysdeps/i386/stackguard-macros.h: Likewise.
80588         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
80589         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
80590         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
80591         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
80592         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
80593         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
80594         * sysdeps/x86_64/stackguard-macros.h: Likewise.
80595         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
80596         <elf/stackguard-macros.h>.
80598         [BZ #14109]
80599         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
80600         __aligned__ in attribute.
80601         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
80602         (gregset_t): Likewise.
80604 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80606         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
80607         * sysdeps/x86_64/64/Implies-after: Here.  New file.
80608         * sysdeps/x86_64/x32/Implies-after: New file.
80610 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80612         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
80613         and access return value for _dl_profile_fixup.  Use R10_LP to
80614         load frame size.
80616 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80618         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
80620 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80622         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
80623         * sysdeps/x86_64/x32/sysdep.h: New file.
80625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80627         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
80628         * sysdeps/x86_64/setjmp.S: Likewise.
80630 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80632         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
80633         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
80634         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
80635         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
80636         remove unused global constant.
80638 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
80640         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
80641         include of <not-cancel.h>.
80643 2012-05-15  Roland McGrath  <roland@hack.frob.com>
80645         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
80647 2012-05-15  Jeff Law  <law@redhat.com>
80648             Andreas Jaeger  <aj@suse.de>
80650         [BZ #13594]
80651         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
80652         out from...
80653         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
80654         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
80655         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
80656         code changing __hst_map_handle.map.
80658 2012-05-15  Roland McGrath  <roland@hack.frob.com>
80660         * configure.in (sysnames): Look for Implies-before and Implies-after
80661         files.
80662         * configure: Regenerated.
80664 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80666         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
80667         8-byte data alignment with LP_SIZE alignment.
80669 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80671         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
80672         into R10_LP.
80674 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80676         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
80678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80680         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
80681         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
80682         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
80683         Likewise.
80684         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
80686 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80688         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
80689         (stackinfo_sub_sp): Likewise.
80691 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80693         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
80694         RAX_LP.
80696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80698         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
80699         into R*_LP.
80701 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80703         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
80704         sizes into R*_LP.
80706 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80708         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
80710 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80712         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
80713         into R11_LP and load __x86_64_shared_cache_size_half into
80714         R8_LP.
80716 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80718         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
80719         R8_LP.
80721 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80723         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
80724         logb for POWER7.
80725         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
80726         logbf for POWER7.
80727         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
80728         logbl for POWER7.
80729         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
80730         powerpc32/power7/fpu/s_logb.c via #include.
80731         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
80732         powerpc32/power7/fpu/s_logbf.c via #include.
80733         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
80734         powerpc32/power7/fpu/s_logbl.c via #include.
80736 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
80738         * README.libm: Remove file.
80740 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80742         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
80743         count for x32.  Use R*_LP and omit operand-size suffix.
80745 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80747         * shlib-versions: Move x86_64-.*-linux.* entries to ...
80748         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
80749         * sysdeps/x86_64/x32/shlib-versions: New file.
80751 2012-05-14  Roland McGrath  <roland@hack.frob.com>
80753         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
80754         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
80755         Use _dl_fatal_printf instead.
80757 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80759         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
80760         set if not set by the user.  Do not allow for being unset.
80761         * sysdeps/unix/sysv/linux/configure: Regenerated.
80763 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80765         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
80766         the `q' suffix from lea and replace .quad with ASM_ADDR.
80768 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80770         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
80771         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
80772         instead of $17.
80773         (PTR_DEMANGLE): Likewise.
80775 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80777         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
80778         (LP_OP): Likewise.
80779         (ASM_ADDR): Likewise.
80780         (RAX_LP): Likewise.
80781         (RBP_LP): Likewise.
80782         (RBX_LP): Likewise.
80783         (RCX_LP): Likewise.
80784         (RDI_LP): Likewise.
80785         (RSI_LP): Likewise.
80786         (RSP_LP): Likewise.
80787         (R8_LP): Likewise.
80788         (R9_LP): Likewise.
80789         (R10_LP): Likewise.
80790         (R10_LP): Likewise.
80791         (R11_LP): Likewise.
80792         (R12_LP): Likewise.
80793         (R13_LP): Likewise.
80794         (R14_LP): Likewise.
80795         (R15_LP): Likewise.
80797 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80799         * sysdeps/x86_64/x32/dl-machine.h: New file.
80801 2012-05-14  Andreas Jaeger  <aj@suse.de>
80803         * manual/Makefile (subdir): Remove export of subdir.
80804         (all): Remove target.
80805         (.PHONY): Remove all from list.
80806         (mkinstalldirs): Remove.
80807         (.PHONY): Remove installdirs from list.
80808         ($(inst_infodir)/libc.info): Use make-target-directory.
80809         (installdirs): Remove.
80810         (subdir_%): Remove.
80811         (glibc-targets): Remove.
80812         (lib): Remove.
80813         (stubs): Remove.
80814         ($(objpfx)stubs ../po/manual.pot): Remove.
80815         ($(objpfx)stamp%): Remove.
80816         (make-target-directory): Remove.
80817         (subdir_install): Remove.
80818         (routines): Remove.
80819         (aux): Remove.
80820         (sources): Remove.
80821         (objects): Remove.
80822         (headers): Remove.
80824         [BZ #13750]
80825         * manual/.gitignore: Remove, it's not needed anymore.
80826         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
80827         all files in it.
80828         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
80829         directory.
80830         (texis): Renamed to $(objpfx)texis.
80831         (texis-path): New, contains path to generated files.
80832         (chapters.%): Use texis-path for complete path, add extra argument
80833         libc-texinfo.sh.
80834         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
80835         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
80836         (summary,texi, stamp-summary): Use complete path of
80837         files. Generate files in build dir.
80838         (dir-add.texi): Build in build dir.
80839         (libm-err.texi,stamp-libm-err): Likewise.
80840         (version.texi, stamp-version): Likewise.
80841         (.%c.texi): Likewise.
80842         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
80843         (mostlyclean): Remove target.
80844         (realclean): Remove target.
80845         (generated): Add new variable with contents from mostlyclean and
80846         realclean, remove entries duplicated in common-mostlyclean, add
80847         stamp-libm-err and stamp-version.
80848         (generated-dirs): Add libc directory.
80849         ($(inst_infodir)/libc.info): Install files from build dir.
80851         * manual/install.texi (Configuring and compiling): Adjust since
80852         the info files are not part of the tar ball anymore.
80854 2012-05-14  Andreas Jaeger  <aj@suse.de>
80856         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
80857         variable.
80859 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80861         [BZ #13717]
80862         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80863         to 2.2.0 where earlier.
80864         * sysdeps/unix/sysv/linux/configure: Regenerated.
80865         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
80866         Remove conditional code.
80867         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
80868         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
80869         Remove conditional code.
80870         [!__NR_lchown]: Likewise.
80871         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80872         [__NR_lchown]: Likewise.
80873         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
80874         comment referencing __ASSUME_LCHOWN_SYSCALL.
80875         * sysdeps/unix/sysv/linux/i386/sigaction.c
80876         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80877         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80878         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
80879         Remove conditional code.
80880         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
80881         (__protocol_available): Remove #if 0 code.
80882         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
80883         conditional code.
80884         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
80885         * sysdeps/unix/sysv/linux/kernel-features.h
80886         (__ASSUME_GETCWD_SYSCALL): Don't define.
80887         (__ASSUME_REALTIME_SIGNALS): Likewise.
80888         (__ASSUME_PREAD_SYSCALL): Likewise.
80889         (__ASSUME_PWRITE_SYSCALL): Likewise.
80890         (__ASSUME_POLL_SYSCALL): Likewise.
80891         (__ASSUME_LCHOWN_SYSCALL): Likewise.
80892         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
80893         non-SPARC.
80894         (__ASSUME_SIOCGIFNAME): Don't define.
80895         (__ASSUME_MSG_NOSIGNAL): Likewise.
80896         (__ASSUME_SENDFILE): Define unconditionally.
80897         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
80898         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
80899         conditional code.
80900         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
80901         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
80902         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80903         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80904         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
80905         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80906         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
80908         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80909         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
80911         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80912         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
80914         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80915         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
80917         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80918         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
80920         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80921         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
80923         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80924         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
80926         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80927         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
80929         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80930         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80931         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
80932         Remove conditional code.
80933         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80934         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80935         Remove conditional code.
80936         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80937         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
80938         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
80939         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80940         Remove conditional code.
80941         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80942         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
80943         Remove conditional code.
80944         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80945         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
80946         Remove conditional code.
80947         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80948         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80949         Remove conditional code.
80950         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80951         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80952         Remove conditional code.
80953         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80954         * sysdeps/unix/sysv/linux/sh/pwrite64.c
80955         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80956         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80957         * sysdeps/unix/sysv/linux/sigaction.c
80958         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80959         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80960         * sysdeps/unix/sysv/linux/sigpending.c
80961         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80962         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80963         * sysdeps/unix/sysv/linux/sigprocmask.c
80964         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80965         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80966         * sysdeps/unix/sysv/linux/sigsuspend.c
80967         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80968         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80969         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
80970         (__libc_missing_rt_sigs): Remove.
80971         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
80972         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
80973         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
80974         Remove conditional code.
80975         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
80976         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
80977         return 1.
80978         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
80979         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
80980         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
80981         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
80983 2012-05-14  Andreas Jaeger  <aj@suse.de>
80985         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
80986         it's not used in glibc.
80987         (__coshm1): Likewise.
80988         (__acosh1p): Likewise.
80989         (__sgn): Likewise.
80991         * manual/string.texi (Copying and Concatenation): Add missing
80992         variable in concat example.
80993         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
80995 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80997         [BZ #14103]
80998         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
80999         __builtin_clzl with __builtin_clzll.
81001 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81003         [BZ #14104]
81004         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
81005         libc_freeres_ptr.
81007 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81009         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
81010         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
81011         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
81012         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
81014 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
81016         * NEWS: Update ia64 info.
81018 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
81020         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
81021         used as bcopy.
81023 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
81025         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
81026         * sysdeps/unix/syscalls.list (dup3): Likewise.
81027         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
81028         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
81030 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
81032         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
81033         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
81035 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
81037         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
81038         thread pointer.
81039         (TLS_IE): Use mov/add instead of movq/addq to load thread
81040         pointer.
81041         (TLS_GD_PREFIX): New.
81042         (TLS_GD): Use it.
81044 2012-05-11  David S. Miller  <davem@davemloft.net>
81046         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
81047         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
81048         (_FPU_SETCW): Likewise.
81050 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81052         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
81053         is 32-byte aligned.
81055 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
81057         [BZ #11837]
81058         * iconvdata/gb18030.c: Update tables.
81059         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
81060         characters specially.
81061         (BODY for TO_LOOP): Add encoding of missing ranges.
81063 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
81065         [BZ #13673]
81066         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
81067         * sysdeps/mach/hurd/dup3.c: Likewise.
81068         * sysdeps/mach/hurd/readlinkat.c: Likewise.
81069         * sysdeps/powerpc/memmove.c:: Likewise.
81071 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81073         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
81074         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
81076 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81078         * elf/elf.h (R_X86_64_RELATIVE64): New.
81079         (R_X86_64_NUM): Updated.
81080         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
81081         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
81082         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
81083         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
81084         tst-quad1pie tst-quad2pie
81085         (modules-names): Add tst-quadmod1 tst-quadmod2.
81086         ($(objpfx)tst-quad1): New dependency.
81087         ($(objpfx)tst-quad2): Likewise.
81088         ($(objpfx)tst-quad1pie): Likewise.
81089         ($(objpfx)tst-quad2pie): Likewise.
81090         * sysdeps/x86_64/tst-quad1.c: New file.
81091         * sysdeps/x86_64/tst-quad1pie.c: New file.
81092         * sysdeps/x86_64/tst-quad2.c: Likewise.
81093         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
81094         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
81095         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
81096         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
81097         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
81099 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81101         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
81102         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
81103         * streams/stropts.h (t_scalar_t): Define type.
81105         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
81106         (_PATH_PRESERVE): Set to "/var/lib".
81107         (_PATH_RWHODIR): Set to "/var/spool/rwho".
81109         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
81110         instead of int.
81112         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
81113         if __dir_mkfile succeeded.
81115         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
81116         checking for _hurd_dtablesize.  Unlock it right after having
81117         finished _hurd_dtable allocation.
81119 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81121         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
81122         * sysdeps/mach/hurd/configure: Regenerated.
81123         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
81124         special-casing to...
81125         * sysdeps/gnu/configure.in: ... this new file.
81126         * sysdeps/unix/sysv/linux/configure: Regenerated.
81127         * sysdeps/gnu/configure: New generated file.
81129         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
81130         for Linux: use nsec instead of usec, as well as:
81131         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
81132         members of type struct timespec.
81133         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
81134         New macros.
81135         (struct stat64): Likewise.
81136         (_STATBUF_ST_NSEC): New macro.
81137         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
81139         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
81140         __strtoul_internal rather than strtoul.
81142 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81144         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
81145         and reject them.
81147 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81149         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
81150         which preserves existing values.
81151         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
81153 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81155         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
81156         TIMEOUT values.  Return EINVAL for NFDS values either negative or
81157         greater than FD_SETSIZE.
81159 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81161         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
81162         allocated, call __vm_protect to finish enabling the existing space, and
81163         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
81164         allocate the remainder.
81166 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81168         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
81169         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
81171 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81173         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
81174         sysdeps/mach/hurd/readlink.c.
81176         * posix/tst-sysconf.c (posix_options): Only use
81177         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
81178         _POSIX_SYNCHRONIZED_IO when they are defined
81179         * sysdeps/mach/hurd/bits/posix_opt.h:
81180         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
81181         (_XOPEN_REALTIME): Undefine macro.
81182         (_XOPEN_REALTIME_THREADS): Undefine macro.
81183         (_XOPEN_SHM): Undefine macro.
81184         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
81185         macro to -1.
81186         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
81187         macro to -1.
81188         (_POSIX_ASYNC_IO): Undefine macro.
81189         (_POSIX_PRIORITIZED_IO): Undefine macro.
81190         (_POSIX_SPIN_LOCKS): Define macro to -1.
81192         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
81193         SA_NODEFER, SA_RESETHAND.
81194         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
81195         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
81196         F_DUPFD_CLOEXEC.
81198 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81200         * elf/Makefile (pldd-modules): Define unconditionally.
81202 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81204         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
81206 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81208         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
81209         Return ENOENT when name is empty.
81210         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
81212 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81214         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
81216         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
81218 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81220         Fix mlock in all cases except non-readable pages.
81221         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
81222         instead of VM_PROT_ALL as parameter to __vm_wire function.
81224         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
81225         (__mkdir): When path is `/', just fail with EEXIST.
81226         * sysdeps/mach/hurd/mkdirat.c: Likewise.
81228 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81230         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
81231         <sys/uio.h> (for writev).
81232         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
81233         and <sys/param.h> (for MIN).
81235 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81237         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
81238         REQUESTED_TIME.  Properly set the remaining time and return EINTR
81239         if interrupted.
81241 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81243         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
81244         Depend on against $(link-rpcuserlibs).
81246 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81248         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
81249         (__libc_stack_end): Do not use attribute_relro.
81250         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
81251         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
81252         to libthread-provided value.
81253         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
81254         attribute_relro.
81256 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81258         [BZ #3748]
81259         * bits/libc-lock.h (__libc_once_get): New macro.
81260         * sysdeps/mach/bits/libc-lock.h: Likewise.
81261         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
81262         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
81263         instead of using implementation details.
81265         * libio/fileops.c: Unconditionally include <kernel-features.h>.
81266         * libio/freopen.c: Likewise.
81267         * libio/freopen64.c: Likewise.
81268         * misc/syslog.c: Likewise.
81269         * nscd/connections.c: Likewise.
81270         * nscd/netgroupcache.c: Likewise.
81271         * sysdeps/posix/getcwd.c: Likewise.
81273 2012-05-10  Roland McGrath  <roland@hack.frob.com>
81275         * math/w_ilogbf.c: Add #include <limits.h>.
81277 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81279         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
81280         path instead of returning without unlocking.
81282         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
81283         immediate-write ioctls.
81284         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
81286 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81288         * sysdeps/mach/hurd/i386/init-first.c (init): Use
81289         __builtin_frame_address instead of making assumptions about the
81290         location of the return address relative to DATA.  Force early load of
81291         the return address.
81292         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
81293         __builtin_frame_address.
81295         dup3 for GNU Hurd.
81296         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
81297         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
81298         implement dup3 and do some further code clean-ups.
81299         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
81300         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
81302 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81304         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
81306         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
81307         HURD_CRITICAL_END around holding _hurd_dtable_lock.
81308         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
81309         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
81310         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
81311         d->port.lock.
81313         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
81314         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
81315         when handler == SIG_ERR, not when handler != SIG_ERR.
81317 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81319         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
81320         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
81321         definitions.
81323         accept4 for GNU Hurd.
81324         * include/sys/socket.h (__libc_accept4): New prototype.
81325         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
81326         to implement __libc_accept4.
81327         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
81328         __libc_accept4.
81329         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
81331         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
81332         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
81333         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
81334         signal-defines.sym.
81336 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81338         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
81340 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81342         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
81343         assertion on O_CLOEXEC flag.
81344         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
81345         * hurd/intern-fd.c: Likewise.
81346         * hurd/port2fd.c: Likewise.
81348 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81350         [BZ #3906]
81351         * bits/in.h (IPV6_PKTINFO): Define new macro.
81352         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
81354 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81356         [BZ #13954]
81357         [BZ #13955]
81358         [BZ #13956]
81359         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
81360         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
81361         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
81362         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
81363         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
81364         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
81365         * math/libm-test.inc (logb_test) : Additional logb tests.
81367 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
81368             Andreas Jaeger  <aj@suse.de>
81370         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
81371         * configure: Regenerated.
81372         * config.h.in (LINK_OBSOLETE_RPC): New macro.
81373         * config.make.in (link-obsolete-rpc): New substituted variable.
81374         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
81375         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
81376         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
81377         (shared-only-routines): Don't set it under [link-obsolete-rpc],
81378         so that libc.a contains the symbols.
81379         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
81380         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
81381         * sunrpc/auth_none.c: Likewise.
81382         * sunrpc/auth_unix.c: Likewise.
81383         * sunrpc/authdes_prot.c: Likewise.
81384         * sunrpc/authuxprot.c: Likewise.
81385         * sunrpc/clnt_gen.c: Likewise.
81386         * sunrpc/clnt_perr.c: Likewise.
81387         * sunrpc/clnt_raw.c: Likewise.
81388         * sunrpc/clnt_simp.c: Likewise.
81389         * sunrpc/clnt_tcp.c: Likewise.
81390         * sunrpc/clnt_udp.c: Likewise.
81391         * sunrpc/clnt_unix.c: Likewise.
81392         * sunrpc/des_crypt.c: Likewise.
81393         * sunrpc/des_soft.c: Likewise.
81394         * sunrpc/get_myaddr.c: Likewise.
81395         * sunrpc/key_call.c: Likewise.
81396         * sunrpc/key_prot.c: Likewise.
81397         * sunrpc/netname.c: Likewise.
81398         * sunrpc/pm_getmaps.c: Likewise.
81399         * sunrpc/pm_getport.c: Likewise.
81400         * sunrpc/pmap_clnt.c: Likewise.
81401         * sunrpc/pmap_prot.c: Likewise.
81402         * sunrpc/pmap_prot2.c: Likewise.
81403         * sunrpc/pmap_rmt.c: Likewise.
81404         * sunrpc/publickey.c: Likewise.
81405         * sunrpc/rpc_cmsg.c: Likewise.
81406         * sunrpc/rpc_common.c: Likewise.
81407         * sunrpc/rpc_dtable.c: Likewise.
81408         * sunrpc/rpc_prot.c: Likewise.
81409         * sunrpc/rpc_thread.c: Likewise.
81410         * sunrpc/rtime.c: Likewise.
81411         * sunrpc/svc.c: Likewise.
81412         * sunrpc/svc_auth.c: Likewise.
81413         * sunrpc/svc_raw.c: Likewise.
81414         * sunrpc/svc_run.c: Likewise.
81415         * sunrpc/svc_tcp.c: Likewise.
81416         * sunrpc/svc_udp.c: Likewise.
81417         * sunrpc/svc_unix.c: Likewise.
81418         * sunrpc/svcauth_des.c: Likewise.
81419         * sunrpc/xcrypt.c: Likewise.
81420         * sunrpc/xdr.c: Likewise.
81421         * sunrpc/xdr_array.c: Likewise.
81422         * sunrpc/xdr_float.c: Likewise.
81423         * sunrpc/xdr_intXX_t.c: Likewise.
81424         * sunrpc/xdr_mem.c: Likewise.
81425         * sunrpc/xdr_rec.c: Likewise.
81426         * sunrpc/xdr_ref.c: Likewise.
81427         * sunrpc/xdr_sizeof.c: Likewise.
81428         * sunrpc/xdr_stdio.c: Likewise.
81430 2012-05-10  Roland McGrath  <roland@hack.frob.com>
81432         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
81433         change.  Update copyright years.
81435 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
81437         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
81439 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
81440             Joseph Myers  <joseph@codesourcery.com>
81441             Paul Pluzhnikov  <ppluzhnikov@google.com>
81443         [BZ #14012]
81444         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
81445         requiring rpcgen.
81446         [cross-compiling] (extra-libs): Likewise.
81447         [cross-compiling] (extra-libs-others): Likewise.
81448         [cross-compiling] (librpcsvc-routines): Likewise.
81449         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
81450         [cross-compiling] (omit-deps): Likewise.
81451         (sunrpc-CPPFLAGS): New variable.
81452         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
81453         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
81454         (cross-rpcgen-objs): New variable.
81455         (extra-objs): Append $(cross-rpcgen-objs).
81456         ($(cross-rpcgen-objs)): New rule.
81457         ($(objpfx)cross-rpcgen): Likewise.
81458         (rpcgen-cmd): Define to use $(built-program-file).  Expand
81459         comment.
81460         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
81461         ($(objpfx)x%.stmp): Likewise.
81462         * sunrpc/proto.h [IS_IN_build] (_): Define.
81463         [IS_IN_build] (_libc_intl_domainname): Likewise.
81465 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81467         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
81468         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
81469         and R_X86_64_TPOFF64.
81471 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
81473         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
81474         sysdeps/unix/sysv/syscalls.list.
81475         (stime): Likewise.
81476         (utime): Likewise.
81477         * sysdeps/unix/sysv/syscalls.list: Remove file.
81479 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
81481         [BZ #3440]
81482         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
81483         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
81484         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
81485         (__LC_IDENTIFICATION): Make these macros useful in #if
81486         expressions, as required by C99.
81488 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
81490         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
81491         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
81492         after this.
81494 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
81496         * stdlib/longlong.h: Updated from GCC.
81498 2012-05-09  Andreas Jaeger  <aj@suse.de>
81500         * nscd/nscd.c (run_modes): Make named enum, reorder so that
81501         default is first entry.
81502         (run_mode): Set type.
81503         (main): Remove informal message about syslog.
81504         (options): Fix typo.
81506         [BZ #14053]
81507         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
81508         to asm.
81509         (lrint): Likewise.
81510         (llrintf): Likewise.
81511         (llrint): Likewise.
81512         (rint): Likewise.
81513         (rintf): Likewise.
81514         (nearbyint): Likewise.
81515         (nearbyintf): Likewise.
81517 2012-05-09  Andreas Jaeger  <aj@suse.de>
81518             Pedro Alves  <palves@redhat.com>
81520         * nscd/nscd.c (run_mode): Use enum.
81521         (main): Cleanup coding style issue.
81523 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
81524             Andreas Jaeger  <aj@suse.de>
81526         * nscd/nscd.c (go_background): Replaced with...
81527         (run_mode): ... this.
81528         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
81529         (options): Add -F --foreground.
81530         (main): Implement it.
81531         (parse_opt): Parse it.
81533 2012-05-09  Andreas Jaeger  <aj@suse.de>
81535         [BZ #14083]
81536         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
81537         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
81538         -Wconversion warning.
81539         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
81540         Likewise.
81542 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
81544         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
81545         == 0.
81546         (LC_ALL): Use macro-int-constant.
81547         (LC_COLLATE): Likewise.
81548         (LC_CTYPE): Likewise.
81549         (LC_MESSAGES): Likewise.
81550         (LC_MONETARY): Likewise.
81551         (LC_NUMERIC): Likewise.
81552         (LC_TIME): Likewise.
81553         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
81554         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81555         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81556         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
81557         Specify type.
81558         [C99-based standards] (float_t): Expect type.
81559         [C99-based standards] (double_t): Expect type.
81560         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
81561         type.
81562         [C99-based standards] (HUGE_VALL): Likewise.
81563         [C99-based standards] (INFINITY): Likewise.
81564         [C99-based standards] (NAN): Likewise.
81565         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
81566         [C99-based standards] (FP_NAN): Likewise.
81567         [C99-based standards] (FP_NORMAL): Likewise.
81568         [C99-based standards] (FP_SUBNORMAL): Likewise.
81569         [C99-based standards] (FP_ZERO): Likewise.
81570         [C99-based standards] (FP_FAST_FMA): Use
81571         optional-macro-int-constant.  Specify type.  Require == 1.
81572         [C99-based standards] (FP_FAST_FMAF): Likewise.
81573         [C99-based standards] (FP_FAST_FMAL): Likewise.
81574         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
81575         [C99-based standards] (FP_ILOGBNAN): Likewise.
81576         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
81577         Specify type.
81578         [C99-based standards] (MATH_ERREXCEPT): Likewise.
81579         [C99-based standards] (math_errhandling): Specify type.
81580         [ISO99 || ISO11] (signgam): Do not allow.
81581         [non-C99-based standards] (copysignf): Do not allow.
81582         [non-C99-based standards] (exp2f): Likewise.
81583         [non-C99-based standards] (log2f): Likewise.
81584         [non-C99-based standards] (modff): Allow.
81585         [non-C99-based standards] (erff): Do not allow.
81586         [non-C99-based standards] (erfcf): Likewise.
81587         [non-C99-based standards] (gammaf): Likewise.
81588         [non-C99-based standards] (hypotf): Likewise.
81589         [non-C99-based standards] (j0f): Likewise.
81590         [non-C99-based standards] (j1f): Likewise.
81591         [non-C99-based standards] (jnf): Likewise.
81592         [non-C99-based standards] (lgammaf): Likewise.
81593         [non-C99-based standards] (tgammaf): Likewise.
81594         [non-C99-based standards] (y0f): Likewise.
81595         [non-C99-based standards] (y1f): Likewise.
81596         [non-C99-based standards] (ynf): Likewise.
81597         [non-C99-based standards] (isnanf): Likewise.
81598         [non-C99-based standards] (acoshf): Likewise.
81599         [non-C99-based standards] (asinhf): Likewise.
81600         [non-C99-based standards] (atanhf): Likewise.
81601         [non-C99-based standards] (cbrtf): Likewise.
81602         [non-C99-based standards] (expm1f): Likewise.
81603         [non-C99-based standards] (ilogbf): Likewise.
81604         [non-C99-based standards] (log1pf): Likewise.
81605         [non-C99-based standards] (logbf): Likewise.
81606         [non-C99-based standards] (nextafterf): Likewise.
81607         [non-C99-based standards] (remainderf): Likewise.
81608         [non-C99-based standards] (rintf): Likewise.
81609         [non-C99-based standards] (scalbf): Likewise.
81610         [non-C99-based standards] (copysignl): Likewise.
81611         [non-C99-based standards] (exp2l): Likewise.
81612         [non-C99-based standards] (log2l): Likewise.
81613         [non-C99-based standards] (modfl): Allow.
81614         [non-C99-based standards] (erfl): Do not allow.
81615         [non-C99-based standards] (erfcl): Likewise.
81616         [non-C99-based standards] (gammal): Likewise.
81617         [non-C99-based standards] (hypotl): Likewise.
81618         [non-C99-based standards] (j0l): Likewise.
81619         [non-C99-based standards] (j1l): Likewise.
81620         [non-C99-based standards] (jnl): Likewise.
81621         [non-C99-based standards] (lgammal): Likewise.
81622         [non-C99-based standards] (tgammal): Likewise.
81623         [non-C99-based standards] (y0l): Likewise.
81624         [non-C99-based standards] (y1l): Likewise.
81625         [non-C99-based standards] (ynl): Likewise.
81626         [non-C99-based standards] (isnanl): Likewise.
81627         [non-C99-based standards] (acoshl): Likewise.
81628         [non-C99-based standards] (asinhl): Likewise.
81629         [non-C99-based standards] (atanhl): Likewise.
81630         [non-C99-based standards] (cbrtl): Likewise.
81631         [non-C99-based standards] (expm1l): Likewise.
81632         [non-C99-based standards] (ilogbl): Likewise.
81633         [non-C99-based standards] (log1pl): Likewise.
81634         [non-C99-based standards] (logbl): Likewise.
81635         [non-C99-based standards] (nextafterl): Likewise.
81636         [non-C99-based standards] (remainderl): Likewise.
81637         [non-C99-based standards] (rintl): Likewise.
81638         [non-C99-based standards] (scalbl): Likewise.
81639         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81640         [non-C99-based standards] (FP_*): Do not allow.
81641         [C99-based standards] (FP_*): Change to
81642         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81643         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81644         allow.
81645         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
81646         (SIG_ERR): Likewise.
81647         [X/Open-based standards] (SIG_HOLD): Likewise.
81648         (SIG_IGN): Likewise.
81649         (SIGABRT): Use macro-int-constant.  Specify type.  Require
81650         positive value.
81651         (SIGFPE): Likewise.
81652         (SIGILL): Likewise.
81653         (SIGINT): Likewise.
81654         (SIGSEGV): Likewise.
81655         (SIGTER): Likewise.
81656         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
81657         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
81658         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
81659         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
81660         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
81661         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
81662         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
81663         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
81664         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
81665         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
81666         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
81667         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
81668         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
81669         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
81670         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
81671         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
81672         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
81673         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
81674         [X/Open-based standards] (SIGTRAP): Likewise.
81675         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
81676         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
81677         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
81678         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
81679         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81680         allow.
81682 2012-05-08  Ian Wienand  <ianw@vmware.com>
81684         [BZ #14080]
81685         * time/tzset.c (__tzset_parse_tz): Update default rules for
81686         daylight time changes in the Energy Policy Act of 2005.
81688 2012-05-09  Andreas Jaeger  <aj@suse.de>
81690         [BZ #13983]
81691         * elf/ldconfig.c (parse_conf): Change string to make clear that
81692         ldconfig only issued a warning if ld.so.conf does not exist.
81694 2012-05-08  David S. Miller  <davem@davemloft.net>
81696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
81697         movxtod instead of popping the value on the stack.
81699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81701 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
81703         * config.h.in: Add HAVE_ARM_PCS_VFP.
81705 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
81707         [BZ #13979]
81708         * include/features.h: Warn if user requests __FORTIFY_SOURCE
81709         checking but the checks are disabled for any reason.
81711 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
81713         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
81714         and ELF64_R_TYPE with ELFW(R_TYPE).
81716 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
81718         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
81719         (ulimit): Likewise.
81721         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
81722         (settimeofday): Likewise.
81724 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
81726         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
81727         a struct th_u2 inside the union, and move tu_block/tu_code into
81728         a new th_u3 union of tu_block/tu_code inside of that.  Move
81729         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
81730         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
81731         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
81732         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
81733         (th_stuff): Change to th_u1.tu_stuff.
81734         (th_data): Define.
81735         (th_msg): Change to th_u1.th_u2.tu_data.
81737 2012-05-07  David S. Miller  <davem@davemloft.net>
81739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81741         [BZ #14074]
81742         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
81743         (SETUP_PIC_REG): Use it.
81744         (SETUP_PIC_REG_LEAF): Use it.
81746 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
81748         [BZ #13885]
81749         [BZ #13923]
81750         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81751         USE_AS_EXPM1L.
81752         (EXPL_FINITE): Likewise.
81753         (FLDLOG): Likewise.
81754         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81755         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81756         e_expl.S.
81757         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81758         USE_AS_EXPM1L.
81759         (EXPL_FINITE): Likewise.
81760         (FLDLOG): Likewise.
81761         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81762         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81763         e_expl.S.
81764         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
81765         test of -max_value argument for long double.
81766         * sysdeps/i386/fpu/libm-test-ulps: Update.
81767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81769 2012-05-06  David S. Miller  <davem@davemloft.net>
81771         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
81772         quad soft-float symbols whose references which are compiler
81773         generated.
81774         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81776 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
81778         [BZ #13884]
81779         [BZ #13914]
81780         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81781         USE_AS_EXP10L.
81782         (EXPL_FINITE): Likewise.
81783         (FLDLOG): Likewise.
81784         (c0): Likewise.
81785         (c1): Likewise.
81786         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
81787         Adjust comments for base varying.
81788         (__expl_finite): Change alias to EXPL_FINITE.
81789         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
81790         e_expl.S.
81791         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
81792         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
81793         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
81794         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
81795         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81796         USE_AS_EXP10L.
81797         (EXPL_FINITE): Likewise.
81798         (FLDLOG): Likewise.
81799         (c0): Likewise.
81800         (c1): Likewise.
81801         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
81802         Adjust comments for base varying.
81803         (__expl_finite): Change alias to EXPL_FINITE.
81804         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
81805         tests for bugs.
81806         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81808         [BZ #14064]
81809         * math/libm-test.inc (check_float_internal): Correct ulp
81810         calculation for subnormal expected results.
81812 2012-05-06  Andreas Jaeger  <aj@suse.de>
81814         * Makeconfig (+math-flags): New, set to -frounding-math.
81815         (+cflags): Add +math-flags so that all of glibc gets compiled with
81816         it.
81818         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
81820 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
81822         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
81823         Disable one test.
81825         [BZ #13787]
81826         [BZ #13922]
81827         [BZ #14036]
81828         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
81829         (__ieee754_expl): Allow for and saturate large arguments.
81830         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
81831         (u_threshold): Likewise.
81832         (__exp): Call __ieee754_exp before checking for overflow and
81833         underflow.
81834         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
81835         (u_threshold): Likewise.
81836         (__expf): Call __ieee754_expf before checking for overflow and
81837         underflow.
81838         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
81839         (u_threshold): Likewise.
81840         (__expl): Call __ieee754_expl before checking for overflow and
81841         underflow.
81842         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
81843         (__ieee754_expl): Allow for and saturate large arguments.
81844         * math/libm-test.inc (exp_test): Add another test.  Do not allow
81845         missing overflow exception on overflow.
81846         (expm1_test): Do not allow missing overflow exception on overflow.
81848         * sysdeps/i386/fpu/e_expl.c: Move to ...
81849         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
81850         rather than using inline asm.
81851         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
81852         * sysdeps/x86_64/fpu/e_expl.S: Copy from
81853         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
81855         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
81856         (nice): Likewise.
81857         (poll): Likewise.
81858         (signal): Likewise.
81859         (time): Likewise.
81860         (times): Likewise.
81862 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81864         * sysdeps/unix/syscalls.list (adjtime): Add entry from
81865         sysdeps/unix/common/syscalls.list.
81866         (fchmod): Likewise.
81867         (fchown): Likewise.
81868         (ftruncate): Likewise.
81869         (getrusage): Likewise.
81870         (gettimeofday): Likewise.
81871         (setpgid): Likewise.
81872         (setregid): Likewise.
81873         (setreuid): Likewise.
81874         (sigaction): Likewise.
81875         (truncate): Likewise.
81876         (vhangup): Likewise.
81877         * sysdeps/unix/common/syscalls.list: Remove file.
81878         * sysdeps/unix/bsd/Implies: Don't include unix/common.
81879         * sysdeps/unix/sysv/linux/Implies: Likewise.
81881 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
81883         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
81884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
81885         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
81886         Moved to ...
81887         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
81888         Here.
81889         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
81890         to ...
81891         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
81892         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
81893         to ...
81894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
81895         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
81896         to ...
81897         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
81898         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
81899         to ...
81900         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
81901         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
81902         to ...
81903         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
81904         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
81905         to ...
81906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
81907         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
81908         to ...
81909         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
81910         Here.
81911         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
81912         to ...
81913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
81914         Here.
81915         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
81916         to ...
81917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
81918         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
81919         Moved to ...
81920         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
81921         Here.
81922         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
81923         to ...
81924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
81926 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81928         * sysdeps/unix/common/bits/dirent.h: Remove file.
81929         * sysdeps/unix/common/bits/fcntl.h: Likewise.
81931         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
81932         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
81933         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
81934         * sysdeps/unix/bsd/isatty.c: Likewise.
81935         * sysdeps/unix/bsd/tcdrain.c: Likewise.
81936         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
81937         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
81939 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81941         [BZ #13563]
81942         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
81943         long double comparison inaccuracies.
81944         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
81945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81947 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
81949         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
81950         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
81952 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81954         [BZ #14049]
81955         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
81956         nonzero digits before rounding a hex value.
81957         * stdlib/tst-strtod.c (tests): Add another test.
81959 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81961         * sysdeps/s390/fpu/libm-test-ulps: Update.
81963 2012-05-03  Andreas Jaeger  <aj@suse.de>
81965         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
81966         does not get optimized out.
81967         (malloc_opt_barrier): New.
81969 2012-05-03  Andreas Jaeger  <aj@suse.de>
81970             Roland McGrath  <roland@hack.frob.com>
81972         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
81973         intermediate file deletion.
81974         (generated): Add .symlist files.
81976 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
81978         [BZ #13775]
81979         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
81980         Redirect under this condition.
81981         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81982         [__USE_GNU] (__dprintf_chk): Not under this condition.
81983         [__USE_GNU] (__vdprintf_chk): Likewise.
81984         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
81985         under this condition.
81986         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81987         [__USE_XOPEN2K8] (dprintf): Define under this condition.
81988         [__USE_XOPEN2K8] (vdprintf): Likewise.
81989         [__USE_GNU] (__dprintf_chk): Not under this condition.
81990         [__USE_GNU] (__vdprintf_chk): Likewise.
81991         [__USE_GNU] (dprintf): Likewise.
81992         [__USE_GNU] (vdprintf): Likewise.
81994 2012-05-03  Roland McGrath  <roland@hack.frob.com>
81996         * elf/Makefile (common-generated): Set this instead of generated for
81997         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
81998         $(all-built-dso)-derived lists.
82000 2012-05-03  Andreas Jaeger  <aj@suse.de>
82002         * sysdeps/i386/fpu/libm-test-ulps: Update.
82004         * FAQ: Removed.
82005         * FAQ.in: Likewise.
82006         * scripts/gen-FAQ.pl: Likewise.
82007         * manual/install.texi (Installation): Point to online location of
82008         FAQ.
82009         * Makefile (files-for-dist): Remove FAQ.
82010         (FAQ): Remove.
82012 2012-05-02  Allan McRae  <allan@archlinux.org>
82014         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
82015         (LDFLAGS-reldepmod5.so): Likewise.
82016         (LDFLAGS-reldep6mod1.so): Likewise.
82017         (LDFLAGS-reldep6mod4.so): Likewise.
82018         (LDFLAGS-reldep8mod3.so): Likewise.
82019         (LDFLAGS-unload4mod1.so): Likewise.
82020         (LDFLAGS-unload4mod2.so): Likewise.
82021         (LDFLAGS-tst-initorder): Likewise.
82022         (LDFLAGS-tst-initordera2.so): Likewise.
82023         (LDFLAGS-tst-initordera3.so): Likewise.
82024         (LDFLAGS-tst-initordera4.so): Likewise.
82025         (LDFLAGS-tst-initorderb2.so): Likewise.
82026         (LDFLAGS-noload): Likewise.
82027         (LDFLAGS-next): Likewise.
82028         (LDFLAGS-order2mod1.so): Likewise.
82029         (LDFLAGS-order2mod2.so): Likewise.
82030         (LDFLAGS-tst-initorder2): Likewise.
82031         (LDFLAGS-tst-initorder2a.so): Likewise.
82032         (LDFLAGS-tst-initorder2b.so): Likewise.
82033         (LDFLAGS-tst-initorder2c.so): Likewise.
82034         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
82036 2012-05-02  David S. Miller  <davem@davemloft.net>
82038         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82040 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
82042         [BZ #14055]
82043         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
82045 2012-05-02  Andreas Jaeger  <aj@suse.de>
82047         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
82048         since we manipulate rounding mode.
82049         (CPPFLAGS-test-idouble.c): Likewise.
82050         (CPPFLAGS-test-ifloat.c): Likewise.
82051         (CFLAGS-test-ldouble.c): Likewise.
82052         (CFLAGS-test-double.c): Likewise.
82053         (CFLAGS-test-float.c): Likewise.
82054         (CFLAGS-test-misc.c): Likewise.
82055         (CFLAGS-test-test-fenv.c): Likewise.
82057 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82059         [BZ #2550]
82060         [BZ #2570]
82061         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
82062         comparisons to determine direction to adjust input.
82064 2012-05-01  Roland McGrath  <roland@hack.frob.com>
82066         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
82067         output to the target.
82069         * scripts/localplt.awk: New file.
82070         * elf/Makefile ($(objpfx)check-localplt): Target removed.
82071         (check-localplt-CFLAGS): Variable removed.
82072         ($(all-built-dso:=.jmprel)): New static pattern rule.
82073         (generated): Add those targets.
82074         (localplt-built-dso): New variable.
82075         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
82077         * elf/check-localplt.c: File removed.
82079         * scripts/check-execstack.awk: New file.
82080         * elf/Makefile ($(objpfx)check-execstack): Target removed.
82081         (check-execstack-CFLAGS): Variable removed.
82082         ($(objpfx)check-execstack.h): Target removed.
82083         ($(objpfx)execstack-default): New target.
82084         (generated): Add that instead of check-execstack.h.
82085         ($(all-built-dso:=.phdr)): New static pattern rule.
82086         (generated): Add those targets.
82087         * elf/check-execstack.c: File removed.
82089         * scripts/check-textrel.awk: New file.
82090         * elf/Makefile ($(objpfx)check-textrel): Target removed.
82091         (check-textrel-CFLAGS): Variable removed.
82092         (all-built-dso): Use := to define.o
82093         ($(all-built-dso:=.dyn)): New static pattern rule.
82094         (generated): Add those targets.
82095         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
82096         * config.make.in (READELF): New substituted variable.
82097         * elf/check-textrel.c: File removed.
82099 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
82101         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82102         allow.
82103         * conform/data/ctype.h-data [C99-based standards] (isblank):
82104         Expect function.
82105         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
82106         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
82107         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82108         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
82109         Specify type.  Require positive value.
82110         (EILSEQ): Likewise.
82111         (ERANGE): Likewise.
82112         [ISO || POSIX] (EILSEQ): Do not expect.
82113         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
82114         Specify type.  Require positive value.
82115         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
82116         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
82117         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
82118         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
82119         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
82120         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
82121         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
82122         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
82123         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
82124         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
82125         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
82126         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
82127         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
82128         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
82129         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
82130         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
82131         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
82132         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
82133         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
82134         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
82135         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
82136         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
82137         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
82138         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
82139         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
82140         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
82141         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
82142         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
82143         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
82144         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
82145         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
82146         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
82147         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
82148         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
82149         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
82150         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
82151         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
82152         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
82153         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
82154         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
82155         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
82156         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
82157         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
82158         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
82159         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
82160         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
82161         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
82162         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
82163         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
82164         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
82165         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
82166         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
82167         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
82168         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
82169         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
82170         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
82171         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
82172         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
82173         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
82174         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
82175         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
82176         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
82177         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
82178         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
82179         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
82180         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
82181         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
82182         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
82183         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
82184         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
82185         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
82186         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
82187         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
82188         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
82189         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
82190         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
82191         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
82192         Require >= 2.
82193         (FLT_ROUNDS): Expect as macro, not constant.
82194         (FLT_MANT_DIG): Use macro-int-constant.
82195         (DBL_MANT_DIG): Likewise.
82196         (LDBL_MANT_DIG): Likewise.
82197         (FLT_DIG): Likewise.
82198         (DBL_DIG): Likewise.
82199         (LDBL_DIG): Likewise.
82200         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
82201         (DBL_MIN_EXP): Likewise.
82202         (LDBL_MIN_EXP): Likewise.
82203         (FLT_MAX_EXP): Use macro-int-constant.
82204         (DBL_MAX_EXP): Likewise.
82205         (LDBL_MAX_EXP): Likewise.
82206         (FLT_MAX_10_EXP): Likewise.
82207         (DBL_MAX_10_EXP): Likewise.
82208         (LDBL_MAX_10_EXP): Likewise.
82209         (FLT_MAX): Use macro-constant.
82210         (DBL_MAX): Likewise.
82211         (LDBL_MAX): Likewise.
82212         (FLT_EPSILON): Use macro-constant.  Give upper bound.
82213         (DBL_EPSILON): Likewise.
82214         (LDBL_EPSILON): Likewise.
82215         (FLT_MIN): Likewise.
82216         (DBL_MIN): Likewise.
82217         (LDBL_MIN): Likewise.
82218         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
82219         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
82220         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
82221         [ISO11] (FLT_HAS_SUBNORM): Likewise.
82222         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
82223         [ISO11] (DBL_DECIMAL_DIG): Likewise.
82224         [ISO11] (FLT_DECIMAL_DIG): Likewise.
82225         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
82226         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
82227         [ISO11] (FLT_TRUE_MIN): Likewise.
82228         [ISO11] (LDBL_TRUE_MIN): Likewise.
82229         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82230         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
82231         (SCHAR_MIN): Use macro-int-constant.  Specify type.
82232         (SCHAR_MAX): Likewise.
82233         (UCHAR_MAX): Likewise.
82234         (CHAR_MIN): Likewise.
82235         (CHAR_MAX): Likewise.
82236         (MB_LEN_MAX): Use macro-int-constant.
82237         (SHRT_MIN): Use macro-int-constant.  Specify type.
82238         (SHRT_MAX): Likewise.
82239         (USHRT_MAX): Likewise.
82240         (INT_MAX): Likewise.
82241         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
82242         bound negative.
82243         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82244         bound with "U".
82245         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82246         bound with "L".
82247         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
82248         bound negative.  Suffix upper bound with "L".
82249         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82250         bound with "UL".
82251         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
82252         Specify type.
82253         [C99-based standards] (LLONG_MAX): Likewise.
82254         [C99-based standards] (ULLONG_MAX): Likewise.
82255         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
82256         == 0.
82257         [ISO11] (max_align_t): Require type.
82258         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82260         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
82261         from $CFLAGS, without defining away __attribute__ calls.
82262         (checknamespace): Use $CFLAGS_namespace.
82264         * conform/conformtest.pl (@keywords): Only include C99 keywords
82265         for standards based on C99 or C11.
82267         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
82268         Disable tests.
82269         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
82270         UNIX98]: Likewise.
82272         * conform/conformtest.pl: Handle "macro-int-constant" and test for
82273         usability of symbols in #if.
82275         * conform/conformtest.pl: If macro or constant types start
82276         "promoted:", expect the symbol to be of the following type
82277         promoted by the integer promotions.
82279         * conform/conformtest.pl: Parse all "constant" and "macro" lines
82280         in one place.  Also handle "macro-constant".
82282         * conform/conformtest.pl: Only accept expected macro values with
82283         "==".  Parse all "macro" lines in one place.
82284         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
82286         * conform/conformtest.pl: Handle braced types on "constant" lines
82287         instead of handling "typed-constant".
82288         * conform/data/signal.h-data: Use "constant" instead of
82289         "typed-constant".
82291         * conform/conformtest.pl: Handle "optional-" at start of lines in
82292         one place rather than duplicating several cases.  Handle each
82293         format of "macro" line with initial "optional-".
82295         * conform/conformtest.pl: Only accept expected constant or
82296         optional-constant values with "==".  Parse all "constant" lines in
82297         one place.  Parse all "optional-constant" lines in one place.
82298         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
82299         * conform/data/fmtmsg.h-data: Likewise.
82300         * conform/data/netinet/in.h-data: Likewise.
82301         * conform/data/tar.h-data: Likewise.
82302         * conform/data/limits.h-data: Use "==" form on "constant" and
82303         "optional-constant" lines.
82305         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
82306         Use -std=c99 for XOPEN2K.
82307         (@knownproblems): Remove.
82308         (newtoken): Don't check %isknown.
82310         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
82311         Do not expect macro.
82312         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
82313         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
82314         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
82315         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
82316         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
82317         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
82318         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
82319         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
82320         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
82321         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
82322         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
82323         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
82324         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
82325         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
82326         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
82327         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
82328         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
82329         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
82330         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
82331         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
82332         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
82333         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
82334         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
82335         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
82336         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
82337         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
82338         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
82339         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
82340         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
82341         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
82342         [XPG3] (acosh): Likewise.
82343         [XPG3] (asinh): Likewise.
82344         [XPG3] (atanh): Likewise.
82345         [XPG3] (cbrt): Likewise.
82346         [XPG3] (expm1): Likewise.
82347         [XPG3] (ilogb): Likewise.
82348         [XPG3] (log1p): Likewise.
82349         [XPG3] (logb): Likewise.
82350         [XPG3] (nextafter): Likewise.
82351         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
82352         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
82353         [XPG3] (remainder): Likewise.
82354         [XPG3] (rint): Likewise.
82355         [XPG3 || XPG4 || UNIX98] (round): Likewise.
82356         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
82357         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
82358         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
82359         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
82360         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
82361         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
82362         [UNIX98 || XOPEN2K] (scalb): Expect.
82363         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
82364         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
82365         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
82366         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
82367         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
82368         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
82369         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
82370         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
82371         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
82372         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
82373         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
82374         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
82375         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
82376         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
82377         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
82378         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
82379         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
82380         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
82381         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
82382         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
82383         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
82384         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
82385         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
82386         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
82387         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
82388         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
82389         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
82390         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
82391         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
82392         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
82393         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
82394         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
82395         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
82396         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
82397         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
82398         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
82399         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
82400         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
82401         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
82402         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
82403         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
82404         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
82405         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
82406         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
82407         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
82408         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
82409         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
82410         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
82411         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
82412         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
82413         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
82414         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
82415         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
82416         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
82417         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
82418         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
82419         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
82420         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
82421         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
82422         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
82423         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
82424         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
82425         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
82426         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
82427         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
82428         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
82429         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
82430         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
82431         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
82432         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
82433         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
82434         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
82435         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
82436         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
82437         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
82438         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
82439         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
82440         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
82441         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
82442         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
82443         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
82444         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
82445         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
82446         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
82447         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
82448         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
82449         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
82450         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
82451         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
82452         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
82453         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
82454         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
82455         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
82456         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
82457         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
82458         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
82459         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
82460         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
82461         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
82462         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
82463         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
82464         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
82465         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
82466         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
82467         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
82468         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
82469         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
82470         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
82471         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
82472         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
82473         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
82474         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
82475         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
82476         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
82477         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
82478         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
82479         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
82480         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
82481         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
82482         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
82483         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
82484         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
82485         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
82486         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
82487         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
82488         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
82489         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
82490         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
82491         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
82492         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
82493         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
82494         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
82495         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
82496         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
82497         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
82498         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
82499         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
82501         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
82502         _XOPEN_SOURCE_EXTENDED for XPG4.
82504         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
82506         * Makeconfig (localtime): Remove variable.
82507         (inst_localtime-file): Likewise.
82509 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
82511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
82512         Update.
82513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
82514         Update.
82515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
82516         Update.
82517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
82518         Update.
82519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
82520         Update.
82521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
82522         Update.
82523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
82524         Update.
82525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
82526         Update.
82527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82528         Update.
82530 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
82532         [BZ #2550]
82533         [BZ #2570]
82534         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
82535         comparisons to determine direction to adjust input.
82536         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
82537         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
82538         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
82539         Likewise.
82540         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
82541         Likewise.
82542         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
82543         Likewise.
82544         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
82545         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
82546         Likewise.
82547         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
82548         Likewise.
82549         * math/libm-test.inc (nexttoward_test): Add more tests.
82551 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
82553         [BZ #14040]
82554         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
82555         in version GLIBC_2.1, not GLIBC_2.0.
82556         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
82557         Likewise.
82559 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
82561         [BZ #13942]
82562         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
82563         (1 - x) * (1 + x).
82564         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
82565         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
82566         * math/libm-test.inc (acos_test): Add more tests.
82567         (asin_test): Likewise.
82568         * sysdeps/i386/fpu/libm-test-ulps: Update.
82569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82571         [BZ #14034]
82572         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
82573         of square root.
82574         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
82575         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
82576         * math/libm-test.inc (acos_test_tonearest): New function.
82577         (acos_test_towardzero): Likewise.
82578         (acos_test_downward): Likewise.
82579         (acos_test_upward): Likewise.
82580         (asin_test_tonearest): Likewise.
82581         (asin_test_towardzero): Likewise.
82582         (asin_test_downward): Likewise.
82583         (asin_test_upward): Likewise.
82584         (main): Call the new functions.
82585         * sysdeps/i386/fpu/libm-test-ulps: Update.
82586         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82588         [BZ #13884]
82589         [BZ #13924]
82590         * math/e_exp10.c: Include <float.h>.
82591         (__ieee754_exp10): Handle underflow here rather than multiplying
82592         large negative argument by M_LN10.
82593         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
82594         of __ieee754_expf.
82595         * math/e_exp10l.c: Include <float.h>.
82596         (__ieee754_exp10l): Handle underflow here rather than multiplying
82597         large negative argument by M_LN10l.
82598         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
82599         spurious overflow exception on underflow.
82601 2012-04-29  Marek Polacek  <polacek@redhat.com>
82603         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
82604         (__fortify_function): New macro.
82605         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
82606         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
82607         __extern_always_inline.
82608         * libio/bits/stdio2.h: Likewise.
82609         * libio/bits/stdio.h: Likewise.
82610         * string/string.h: Likewise.
82611         * string/bits/string3.h: Likewise.
82612         * include/stdio.h: Likewise.
82613         * stdlib/bits/stdlib.h: Likewise.
82614         * stdlib/stdlib.h: Likewise.
82615         * rt/bits/mqueue2.h: Likewise.
82616         * rt/mqueue.h: Likewise.
82617         * posix/bits/unistd.h: Likewise.
82618         * posix/unistd.h: Likewise.
82619         * io/bits/poll2.h: Likewise.
82620         * io/bits/fcntl2.h: Likewise.
82621         * io/fcntl.h: Likewise.
82622         * io/sys/poll.h: Likewise.
82623         * misc/bits/syslog.h: Likewise.
82624         * misc/bits/syslog-ldbl.h: Likewise.
82625         * misc/sys/syslog.h: Likewise.
82626         * socket/bits/socket2.h: Likewise.
82627         * socket/sys/socket.h: Likewise.
82628         * debug/tst-chk1.c: Likewise.
82629         * wcsmbs/bits/wchar2.h: Likewise.
82630         * wcsmbs/bits/wchar-ldbl.h: Likewise.
82631         * wcsmbs/wchar.h: Likewise.
82633 2012-04-29  Andreas Jaeger  <aj@suse.de>
82635         * Makerules (tests): Remove enable-check-abi protection.
82636         (check-abi-warn): Remove.
82637         (check-abi-%): Remove check-abi-warn usage.
82639         * configure.in: Remove check-abi configure option.
82640         * configure: Regenerated.
82641         * config.make.in (enable-check-abi): Remove.
82643 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
82645         [BZ #14033]
82646         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
82647         double functions to double *_finite functions.
82649         [BZ #13941]
82650         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
82651         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
82652         LDBL_MIN_EXP.
82653         * stdio-common/Makefile (tests): Add tst-sprintf3.
82654         * stdio-common/tst-sprintf3.c: New file.
82656         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
82657         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
82659 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
82661         * conform/conformtest.pl: Remove duplicate typed-constant
82662         handling.
82664 2012-04-28  David S. Miller  <davem@davemloft.net>
82666         * Makerules (%.abilist): Add vpath on sysdep_dirs.
82667         (check-abi-%): Remove AWK script prerequisite and explicit
82668         abilist directory.
82669         (check-abi): Rewrite to just diff the symlist with the abilist.
82670         (config-tls, config-abi-config): Delete, no longer used.
82671         (update-abi-%): Remove AWK script and explicit abilist directory.
82672         (update-abi): Rewrite to simply compare and conditionally copy the
82673         symlist and the sysdep abilist file.  Remove update-abi-config
82674         checks.
82675         * abilist/ld.abilist: Remove.
82676         * abilist/libBrokenLocale.abilist: Remove.
82677         * abilist/libanl.abilist: Remove.
82678         * abilist/libcrypt.abilist: Remove.
82679         * abilist/libdl.abilist: Remove.
82680         * abilist/librt.abilist: Remove.
82681         * abilist/libthread_db.abilist: Remove.
82682         * abilist/libutil.abilist: Remove.
82683         * scripts/extract-abilist.awk: Remove.
82684         * scripts/merge-abilist.awk: Remove.
82685         * sysdeps/generic/libcidn.abilist: New file.
82686         * sysdeps/generic/libnss_compat.abilist: New file.
82687         * sysdeps/generic/libnss_db.abilist: New file.
82688         * sysdeps/generic/libnss_dns.abilist: New file.
82689         * sysdeps/generic/libnss_files.abilist: New file.
82690         * sysdeps/generic/libnss_hesiod.abilist: New file.
82691         * sysdeps/generic/libnss_nis.abilist: New file.
82692         * sysdeps/generic/libnss_nisplus.abilist: New file.
82693         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
82694         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
82695         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
82696         file.
82697         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
82698         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
82699         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
82700         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
82701         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
82702         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
82703         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
82704         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
82705         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
82706         file.
82707         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
82708         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
82709         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
82710         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
82711         file.
82712         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
82713         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
82714         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
82715         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
82716         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
82717         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
82718         file.
82719         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
82720         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
82721         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
82722         file.
82723         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
82724         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
82725         New file.
82726         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
82727         New file.
82728         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
82729         New file.
82730         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
82731         New file.
82732         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
82733         New file.
82734         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
82735         New file.
82736         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
82737         New file.
82738         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
82739         New file.
82740         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
82741         New file.
82742         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
82743         New file.
82744         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
82745         New file.
82746         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
82747         New file.
82748         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
82749         New file.
82750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
82751         file.
82752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
82753         New file.
82754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
82755         New file.
82756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
82757         file.
82758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
82759         New file.
82760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
82761         New file.
82762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
82763         file.
82764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
82765         New file.
82766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82767         New file.
82768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
82769         New file.
82770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
82771         New file.
82772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
82773         New file.
82774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
82775         New file.
82776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
82777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
82778         file.
82779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
82780         New file.
82781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
82782         file.
82783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
82784         file.
82785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
82786         file.
82787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
82788         file.
82789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
82790         file.
82791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
82792         New file.
82793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
82794         file.
82795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
82796         file.
82797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
82798         New file.
82799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
82800         file.
82801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
82802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
82803         file.
82804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
82805         New file.
82806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
82807         file.
82808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
82809         file.
82810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
82811         file.
82812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
82813         file.
82814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
82815         file.
82816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
82817         New file.
82818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
82819         file.
82820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
82821         file.
82822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
82823         New file.
82824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
82825         file.
82826         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
82827         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
82828         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
82829         file.
82830         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
82831         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
82832         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
82833         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
82834         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
82835         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
82836         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
82837         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
82838         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
82839         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
82840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
82841         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
82842         file.
82843         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
82844         New file.
82845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
82846         file.
82847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
82848         file.
82849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
82850         file.
82851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
82852         file.
82853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
82854         file.
82855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
82856         New file.
82857         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
82858         New file.
82859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
82860         file.
82861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
82862         New file.
82863         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
82864         file.
82865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
82866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
82867         file.
82868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
82869         New file.
82870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
82871         file.
82872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
82873         file.
82874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
82875         file.
82876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
82877         file.
82878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
82879         file.
82880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
82881         New file.
82882         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
82883         New file.
82884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
82885         file.
82886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
82887         New file.
82888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
82889         file.
82891 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
82893         * conform/conformtest.pl: Fix typo in handling typed-constant from
82894         allow-header.
82896 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
82898         * README: Cut down references to pre-2.6 Linux kernels and
82899         Linuxthreads.  Update lists of configurations in libc and ports
82900         and sort alphabetically.  Say "or newer" with Linux kernel version
82901         requirements.
82903         * config.h.in [IS_IN_build]: Allow compiling without optimization.
82905 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
82907         [BZ #887]
82908         * math/libm-test.inc (logb_test_downward): New test to expose
82909         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
82910         rounding mode.
82912 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
82914         [BZ #14027]
82915         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
82916         to be done.
82917         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
82918         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
82920 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
82922         * sysdeps/unix/i386/brk.S: Remove file.
82923         * sysdeps/unix/i386/dl-brk.S: Likewise.
82924         * sysdeps/unix/i386/pipe.S: Likewise.
82925         * sysdeps/unix/i386/sigreturn.S: Likewise.
82926         * sysdeps/unix/i386/syscall.S: Likewise.
82927         * sysdeps/unix/i386/vfork.S: Likewise.
82928         * sysdeps/unix/i386/wait.S: Likewise.
82930         * sysdeps/unix/common/tcsendbrk.c: Move to ...
82931         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
82933         * configure.in (arm*-none*): Do not allow without
82934         --enable-hacker-mode.
82935         (netbsd*): Remove case setting base_os.
82936         (386bsd*): Likewise.
82937         (freebsd*): Likewise.
82938         (bsdi*): Likewise.
82939         (osf*): Likewise.
82940         (sunos*): Likewise.
82941         (ultrix*): Likewise.
82942         (newsos*): Likewise.
82943         (dynix*): Likewise.
82944         (*bsd*): Likewise.
82945         (sysv*): Likewise.
82946         (isc*): Likewise.
82947         (esix*): Likewise.
82948         (sco*): Likewise.
82949         (minix*): Likewise.
82950         (irix4*): Likewise.
82951         (irix6*): Likewise.
82952         (solaris[2-9]*): Likewise.
82953         (none): Likewise.
82954         * configure: Regenerated.
82956 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82958         [BZ #11521]
82959         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
82960         overflow or cancellation in calculating denominator.
82961         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
82962         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
82963         down expression to avoid unexpected rounding in newer GCCs.
82964         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
82966 2012-04-26  David S. Miller  <davem@davemloft.net>
82968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
82969         long-double compat symbols.
82970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
82974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
82976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
82977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
82978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
82979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
82980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
82981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
82982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82984 2012-04-25  David S. Miller  <davem@davemloft.net>
82986         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
82987         HWCAP_* values only after the memory barriers have been defined.
82988         (atomic_full_barrier): Define.
82989         (atomic_read_barrier): Define.
82990         (atomic_write_barrier): Define.
82992 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
82994         * shlib-versions: Add libgcc_s version information.
82995         * sysdeps/generic/libgcc_s.h: Remove.
82996         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
82997         libgcc_s.h.
82998         * sysdeps/gnu/unwind-resume.c: Likewise.
82999         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
83001 2012-04-25  David S. Miller  <davem@davemloft.net>
83003         * sysdeps/unix/sparc/brk.S: Delete.
83004         * sysdeps/unix/sparc/dl-brk.S: Delete.
83005         * sysdeps/unix/sparc/pipe.S: Delete.
83006         * sysdeps/unix/sparc/sysdep.S: Delete.
83007         * sysdeps/unix/sparc/sysdep.h: Delete.
83008         * sysdeps/unix/sparc/vfork.S: Delete.
83009         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
83010         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
83011         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
83012         (ret_ERRVAL, r0, r1, MOVE): Define.
83013         (JUMPTARGET): Remove.
83014         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
83015         sysdeps/unix/sparc/sysdep.h
83016         (ENTRY, END): Remove.
83017         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83019 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
83021         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
83022         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
83023         -DIS_IN_build.
83025         * timezone/README: Update upstream location and email address for
83026         tzcode and tzdata.
83027         * timezone/zdump.c: Update from tzcode 2012b.
83028         * timezone/zic.c: Likewise.
83030         * configure.in (libc_cv_as_needed): Remove test.
83031         * configure: Regenerated.
83032         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
83033         conditional definition.
83034         [$(have-as-needed) != yes] (no-as-needed): Likewise.
83035         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
83036         * config.make.in (have-as-needed): Remove variable.
83038 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
83039             Paul Pluzhnikov  <ppluzhnikov@google.com>
83041         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
83042         strings correctly.
83044 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
83046         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
83047         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
83048         * sysdeps/sh/strlen.S: Likewise.
83050 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83052         * sysdeps/unix/fork.S: Remove file.
83053         * sysdeps/unix/i386/fork.S: Likewise.
83054         * sysdeps/unix/sparc/fork.S: Likewise.
83056         * sysdeps/unix/system.c: Remove file.
83057         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
83059         * sysdeps/unix/getegid.S: Remove file.
83060         * sysdeps/unix/geteuid.S: Likewise.
83062 2012-04-24  Roland McGrath  <roland@hack.frob.com>
83064         * scripts/check-localplt.awk: New file.
83065         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
83066         of diff.
83067         * scripts/data/localplt-generic.data: Add a comment.
83069         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
83070         NODE when __dir_mkfile failed.
83071         * sysdeps/mach/hurd/symlinkat.c: Likewise.
83072         Reported by Ludovic Courtès <ludo@gnu.org>.
83074 2012-04-24  Andreas Jaeger  <aj@suse.de>
83076         * Makerules (common-clean): Also remove gen-as-const-headers
83077         files.
83079 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83081         * Makerules (native-compile): Do not change working directory for
83082         build.  Use $(OUTPUT_OPTION) in command.
83083         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
83085 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83087         [BZ #13886]
83088         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
83089         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
83090         * math/libm-test.inc (floor_test): Add more tests.
83091         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
83093 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83095         * sysdeps/unix/getdents.c: Remove file.
83096         * sysdeps/unix/sysv/getdents.c: Likewise.
83097         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
83099         * sysdeps/unix/syscalls.list (madvise): Add syscall from
83100         sysdeps/unix/mman/syscalls.list.
83101         (mmap): Likewise.
83102         (mprotect): Likewise.
83103         (msync): Likewise.
83104         (munmap): Likewise.
83105         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
83106         * sysdeps/unix/mman/syscalls.list: Remove.
83107         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
83109         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
83110         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
83111         * configure: Regenerated.
83112         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
83113         $(libgcc_s_suffix).
83114         * config.make.in (libgcc_s_suffix): Remove variable.
83116 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
83118         * sysdeps/unix/sysv/gethostname.c: Move to ...
83119         * sysdeps/posix/gethostname.c: ... here.
83121         * sysdeps/unix/execve.S: Remove file.
83123         * sysdeps/unix/_exit.S: Remove file.
83125 2012-04-23  Andreas Jaeger  <aj@suse.de>
83127         [BZ #13739]
83128         * manual/Makefile: Remove make dist support, there's no
83129         need for a stand-alone documentation tar ball.
83130         (TEXI2DVI): Define always, it's not in Makeconfig.
83131         (dist): Removed.
83132         (tar-it): Removed.
83133         (edition): Removed.
83134         (glibc-doc-$(edition).tar): Removed
83135         (%.Z): Removed.
83136         (%.gz): Removed.
83137         (%.uu): Removed.
83138         (ETAGS): Remove, it's in Makeconfig.
83139         (move-if-change): Remove, it's in Makeconfig.
83141 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
83143         [BZ #13970]
83144         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
83145         (strtod, strtof, strtold, strtol, strtoul, strtoq)
83146         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
83147         (strtod_l, strtof_l, strtold_l): Remove __wur.
83148         It is not necessarily an error to ignore strtol's return value.
83149         One can reliably look at the stored endptr to decide whether
83150         the number had valid syntax.
83152 2012-04-21  Andreas Jaeger  <aj@suse.de>
83154         [BZ #13739]
83155         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
83157 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
83159         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
83160         * sysdeps/unix/sysv/Versions: Remove file.
83162 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
83164         [BZ #13927]
83165         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83167 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
83169         [BZ #7064]
83170         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
83171         version from __vm86.
83173 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
83175         * sysdeps/unix/common/lxstat.c: Remove file.
83176         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
83178         * sysdeps/unix/sysv/Makefile: Remove file.
83180         * sysdeps/unix/sysv/direct.h: Remove file.
83182         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
83183         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
83184         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
83185         * sysdeps/unix/sysv/bits/signum.h: Likewise.
83186         * sysdeps/unix/sysv/bits/stat.h: Likewise.
83187         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
83188         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
83190         * sysdeps/unix/sysv/setrlimit.c: Remove file.
83192         * sysdeps/unix/xmknod.c: Remove file.
83193         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
83195         * sysdeps/unix/sysv/settimeofday.c: Remove file.
83197         * sysdeps/unix/sysv/i386/time.S: Remove file.
83199         * sysdeps/unix/fxstat.c: Remove file.
83200         * sysdeps/unix/xstat.c: Likewise.
83201         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
83203         * sysdeps/unix/sysv/sigaction.c: Remove file.
83205         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
83206         (sysdep_headers): Remove variable.
83207         [termio.h not in sysdep_headers] (generated): Likewise.
83208         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
83209         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
83210         * sysdeps/unix/sysv/tcdrain.c: Likewise.
83211         * sysdeps/unix/sysv/tcflow.c: Likewise.
83212         * sysdeps/unix/sysv/tcflush.c: Likewise.
83213         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
83214         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
83215         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
83216         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
83217         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
83219         * sysdeps/unix/siglist.c: Remove file.
83221         * sysdeps/unix/getppid.S: Remove file.
83223         * sysdeps/unix/mkdir.c: Remove file.
83224         * sysdeps/unix/rmdir.c: Likewise.
83226 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
83228         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
83229         ERR_MAX value.
83230         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
83231         errlist-compat value.
83233 2012-04-18  David S. Miller  <davem@davemloft.net>
83235         * sysdeps/generic/memcopy.h (reg_char): Delete.
83236         * debug/strcat_chk.c: Use char, not reg_char.
83237         * debug/strcpy_chk.c: Likewise.
83238         * debug/strncat_chk.c: Likewise.
83239         * debug/strncpy_chk.c: Likewise.
83240         * string/memchr.c: Likewise.
83241         * string/memrchr.c: Likewise.
83242         * string/rawmemchr.c: Likewise.
83243         * string/strcat.c: Likewise.
83244         * string/strchr.c: Likewise.
83245         * string/strchrnul.c: Likewise.
83246         * string/strcmp.c: Likewise.
83247         * string/strcpy.c: Likewise.
83248         * string/strncat.c: Likewise.
83249         * string/strncmp.c: Likewise.
83250         * string/strncpy.c: Likewise.
83252 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83254         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
83255         __builtin_memcopy is called when src and dest ranges are known to not
83256         overlap.
83258 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83260         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
83261         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
83262         fwd_align_merge macro call.
83263         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
83264         bwd_align_merge macro call.
83265         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
83267 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83269         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
83270         bwd_align_merge macros.
83271         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
83272         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
83273         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
83275 2012-04-18  David S. Miller  <davem@davemloft.net>
83277         * sysdeps/sparc/sparc64/memcopy.h: Delete.
83279 2012-04-18  Andreas Jaeger  <aj@suse.de>
83281         [BZ #6794]
83282         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
83283         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
83284         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83286         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
83287         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
83288         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83290         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
83291         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
83292         Adjust for changed ldbl-128 files.
83294         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
83295         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
83296         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83298 2012-04-17  David S. Miller  <davem@davemloft.net>
83300         * sysdeps/sparc/sparc32/memcopy.h: Delete.
83302 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
83304         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
83305         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
83306         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
83307         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
83308         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
83309         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
83311 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83313         [BZ #6794]
83314         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
83315         * math/libm-test.inc: Add ilogb errno and exception tests.
83316         * math/w_ilogb.c: New file: ilogb wrapper.
83317         * math/w_ilogbf.c: New file: ilogbf wrapper.
83318         * math/w_ilogbl.c: New file: ilogbl wrapper.
83319         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
83320         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
83321         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
83322         exception being thrown with 0.0 as argument.
83323         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
83324         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
83325         exception being thrown with 0.0 as argument.
83326         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
83327         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83328         exception being thrown with 0.0 as argument.
83329         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
83330         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83331         exception being thrown with 0.0 as argument.
83332         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
83333         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
83334         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
83335         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
83336         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
83337         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
83338         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
83339         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
83340         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
83342 2012-04-17  Petr Baudis  <pasky@ucw.cz>
83344         * include/sys/uio.h: Change __vector to __iovec to avoid clash
83345         with altivec.
83347 2012-04-16  Marek Polacek  <polacek@redhat.com>
83349         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
83351 2012-04-16  Marek Polacek  <polacek@redhat.com>
83353         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
83354         operands of fdivp instruction.
83356 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
83358         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
83359         * elf/tst-auditmod3b.c: Likewise.
83360         * elf/tst-auditmod4b.c: Likewise.
83361         * elf/tst-auditmod5b.c: Likewise.
83362         * elf/tst-auditmod6b.c: Likewise.
83363         * elf/tst-auditmod6c.c: Likewise.
83364         * elf/tst-auditmod7b.c: Likewise.
83365         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
83366         * sysdeps/x86_64/preconfigure.in: Likewise.
83367         * sysdeps/x86_64/preconfigure: Regenerated.
83369 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
83371         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
83372         __ILP32__.
83374 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
83376         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
83377         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
83379 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
83381         [BZ #13973]
83382         * locale/iso-639.def: Fix gl language name. Spotted by
83383         Yaron Shahrabani.
83385 2012-04-12  Roland McGrath  <roland@hack.frob.com>
83387         [BZ #2074]
83388         * libio/libio.h (__io_write_fn): Update comment.
83390 2012-04-12  Petr Baudis  <pasky@ucw.cz>
83392         [BZ #2074]
83393         * stdio.texi (Hook Functions): The user provided writer function
83394         is not allowed to return -1.
83396 2012-04-11  David S. Miller  <davem@davemloft.net>
83398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83400 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
83402         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
83403         Add a leading slash to rtkaio.
83405 2012-04-11  Jim Meyering  <meyering@redhat.com>
83407         [BZ #11959]
83408         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
83409         It is not necessarily an error to ignore fwrite's return
83410         value.  One can reliably use ferror to test for errors after
83411         the fact.
83413 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
83415         * bits/types.h (__snseconds_t): New type.
83416         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
83418         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
83419         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
83420         (__SNSECONDS_T_TYPE): Likewise.
83421         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
83422         (__SNSECONDS_T_TYPE): Likewise.
83423         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
83424         (__SNSECONDS_T_TYPE): Likewise.
83426 2012-04-10  Andreas Jaeger  <aj@suse.de>
83428         [BZ #2636]
83429         * manual/time.texi (Processor Time): Return type of times is
83430         elapsed real time since an arbitrary point in the past.
83431         (CPU Time): Move CLK_TCK from here...
83432         (Processor Time): ...to here.  Correct description.
83433         * manual/conf.texi (Constants for Sysconf): Correct description of
83434         _SC_CLK_TCK.
83436 2012-04-10  David S. Miller  <davem@davemloft.net>
83438         [BZ #13967]
83439         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
83440         where the is a gap between DT_REL(A) and DT_JMPREL.
83442 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
83444         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
83445         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83446         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83448 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
83450         * elf/dl-support.c (_dl_inhibit_cache): New variable.
83451         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
83452         (dl_main): Handle --inhibit-cache.
83453         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
83454         _dl_inhibit_cache.
83455         * elf/dl-load.c (_dl_map_object): Use it.
83456         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
83458 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
83460         [BZ #13872]
83461         * sysdeps/i386/fpu/e_powl.S (p78): New object.
83462         (__ieee754_powl): Saturate large exponents rather than testing for
83463         overflow of y*log2(x).
83464         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83465         * math/libm-test.inc (pow_test): Do not permit spurious overflow
83466         exceptions.
83468         [BZ #11521]
83469         * math/s_ctan.c: Include <float.h>.
83470         (__ctan): Avoid internal overflow or cancellation in calculating
83471         denominator.
83472         * math/s_ctanf.c: Likewise.
83473         * math/s_ctanl.c: Likewise.
83474         * math/s_ctanh.c: Likewise.
83475         * math/s_ctanhf.c: Likewise.
83476         * math/s_ctanhl.c: Likewise.
83477         * math/libm-test.inc (ctan_test): Add more tests.
83478         (ctanh_test): Likewise.
83479         * sysdeps/i386/fpu/libm-test-ulps: Update.
83480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83482 2012-04-09  Andreas Jaeger  <aj@suse.de>
83484         [BZ #6894]
83485         * manual/filesys.texi (Directory Entries): Mention that d_namlen
83486         is an optional BSD extension.
83488         [BZ #10254]
83489         * manual/stdio.texi (Opening Streams): Document additional fopen
83490         parameters.
83492 2012-04-09  Roland McGrath  <roland@hack.frob.com>
83494         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
83495         %eax without telling the compiler.
83497 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
83499         [BZ # 13963]
83500         * manual/install.texi: Use sourceware.org.
83502 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
83504         [BZ #13873]
83505         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
83506         (__ieee754_pow): Generate overflow and underflow using huge*huge
83507         and tiny*tiny rather than just returning constant infinity or zero
83508         for large exponents.
83509         * math/libm-test.inc (pow_test): Require overflow exceptions for
83510         applicable cases of large exponents.
83512         [BZ #706]
83513         * sysdeps/i386/fpu/e_pow.S (p10): New object.
83514         (__ieee754_pow): Use iterative multiplication algorithm only for
83515         integer exponents with absolute value below 1024.  Check for odd
83516         integer exponents when using algorithm for real exponents.
83517         * math/libm-test.inc (pow_test): Add more tests.
83518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83520 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
83522         [BZ #13705]
83523         * math/libm-test.inc (exp_test): Do not allow overflow exception
83524         on underflow test.
83526 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
83528         [BZ #13705]
83529         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
83530         instead of __kernel_standard_f.
83532 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
83534         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
83535         * sysdeps/x86_64/memset_chk.S: Likewise.
83537 2012-04-08  Andreas Jaeger  <aj@suse.de>
83539         [BZ #10153]
83540         * manual/startup.texi (Environment Access): Describe return value
83541         for putenv and setenv.
83543         [BZ #6895]
83544         * manual/filesys.texi (Directory Entries): Add description for
83545         DT_LNK.
83547         [BZ #6890]
83548         * manual/filesys.texi (Directory Entries): Clarify that it's file
83549         system not operating system in the description of DT_UNKNOWN.
83551         [BZ #6578]
83552         * manual/syslog.texi (closelog): Fix reference, it's openlog.
83554 2012-04-08  Stephen Compall  <s11@member.fsf.org>
83556         [BZ #6649]
83557         * manual/llio.texi (Opening and Closing Files): Add cross
83558         reference to explain mode argument.
83560 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
83562         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
83563         * sysdeps/x86_64/memset_chk.S: Likewise.
83565 2012-04-07  David S. Miller  <davem@davemloft.net>
83567         * elf/elf.h (R_SPARC_WDISP10): Define.
83568         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
83569         R_SPARC_SIZE32.
83570         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
83571         R_SPARC_SIZE64 and R_SPARC_H34.
83573 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
83575         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
83576         conditions and remove no longer applicable assertion.
83578 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
83580         * bits/byteswap.h: Include <features.h>.
83581         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83582         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83584 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
83586         * bits/byteswap.h (__bswap_16): Removed.
83587         Include <bits/byteswap-16.h> to get __bswap_16.
83588         * sysdeps/i386/bits/byteswap.h: Likewise.
83589         * sysdeps/s390/bits/byteswap.h: Likewise.
83590         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83591         * bits/byteswap-16.h: New file.
83592         * sysdeps/i386/bits/byteswap-16.h: Likewise.
83593         * sysdeps/s390/bits/byteswap-16.h: Likewise.
83594         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
83595         * string/Makefile (headers): Add bits/byteswap-16.h.
83597 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
83599         [BZ #13895]
83600         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
83601         extra indirection.
83602         * nss/Makefile (tests-static, tests): Add tst-nss-static.
83603         * nss/tst-nss-static.c: New.
83605 2012-04-06  Robert Millan  <rmh@gnu.org>
83607         [BZ #6486]
83608         * manual/llio.texi (File Position Primitive): lseek
83609         refers to WHENCE when it really means OFFSET.
83611 2012-04-06  Andreas Jaeger  <aj@suse.de>
83613         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
83614         strncmp declarations.
83616         * abilist/libc.abilist: Add __poll and __ppoll.
83618 2012-04-05  David S. Miller  <davem@davemloft.net>
83620         * scripts/check-local-headers.sh: Accept a host triplet in the
83621         path matched by the exclude regexp.
83623         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
83624         definition.
83625         * sysdeps/powerpc/powerpc32/dl-machine.h
83626         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
83627         * sysdeps/s390/s390-32/dl-machine.h
83628         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83629         * sysdeps/sparc/sparc32/dl-machine.h
83630         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83631         * sysdeps/sparc/sparc64/dl-machine.h
83632         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83634         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
83635         lazy binding.
83636         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
83637         undefined symbol errors.
83639         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
83640         DT_NEEDED entries.
83642 2012-04-05  Michael Matz  <matz@suse.de>
83644         [BZ #13592]
83645         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
83647 2012-04-05  Andreas Jaeger  <aj@suse.de>
83649         [BZ #13908]
83650         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
83651         comment.
83653 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83655         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
83656         which ROUND is no valid rounding mode.
83658 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83660         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
83661         read again.
83662         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
83664 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83666         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
83667         an exception using FPU order intentionally.
83669 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83671         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
83672         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
83673         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
83674         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
83676 2012-04-05  Simon Josefsson  <simon@josefsson.org>
83678         [BZ #12340]
83679         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
83680         EINVAL when BUFLEN is too smal.
83682 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
83684         [BZ #13553]
83685         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
83686         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
83688 2012-04-03  Andreas Jaeger  <aj@suse.de>
83690         [BZ #13938]
83691         * manual/setjmp.texi (System V contexts): Fix sentence.
83693         [BZ #13926]
83694         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
83695         New macro for this case.
83696         [!__GNUC__] (__bswap_64): New inline function for this case.
83697         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83698         * bits/byteswap.h: Likewise.
83699         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
83700         ull, guard with __GLIBC_HAVE_LONG_LONG.
83702         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
83703         __GLIBC_HAVE_LONG_LONG.
83705         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
83706         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
83708 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
83710         [BZ #13691]
83711         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
83712         inptr and inend, rather than using last_ch.
83714 2012-04-02  David S. Miller  <davem@davemloft.net>
83716         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
83717         * stdio-common/printf-parse.h (read_int): Change return type to
83718         'int', return -1 on INT_MAX overflow.
83719         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
83720         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
83721         overflows INT_MAX.  Check for overflow of in-format-string precision
83722         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
83723         SIZE_MAX not INT_MAX for integer overflow test.
83724         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
83725         skip the construct in the format string but do not record anything.
83726         * stdio-common/bug22.c: Adjust to test both width/prevision
83727         INT_MAX overflow as well as total length INT_MAX overflow.  Check
83728         explicitly for proper errno values.
83730 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
83732         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
83733         CHAR_MAX.
83734         * string/test-strcmp.c [! WIDE]: Likewise.
83735         * time/tst-mktime2.c: Likewise for INT_MAX.
83736         * string/test-string.h: #include <sys/param.h> for MIN.
83738         * csu/init-first.c (__libc_init_first): Call __ctype_init.
83739         * sysdeps/i386/init-first.c (init): Likewise.
83740         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
83741         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
83742         * sysdeps/sh/init-first.c (init): Likewise.
83744 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
83746         * po/ru.po: Update from translation team.
83747         * po/vi.po: Likewise.
83749 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
83751         * resolv/nss_dns/dns-host.c: Merge copyright years.
83753 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83755         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83756         Optimize memcpy with prefetch if
83757         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
83758         src, dst pointers have unequal 16 byte alignments.
83760 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
83762         [BZ #13928]
83763         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
83764         from a CNAME entry and return the minimum ttl for the query.
83765         (gaih_getanswer_slice): Likewise.
83767 2012-03-30  Jeff Law  <law@redhat.com>
83769         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
83770         due to long keys.
83771         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
83772         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
83774         * resolv/nss_dns/dns-host.c: Update copyright year.
83776 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
83778         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
83779         requests to save a system call.  Fix check that all bytes are sent.
83781         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
83782         comments for sendmmsg.
83784 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
83786         [BZ #13691]
83787         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
83788         with only 1 character between 0x0041 and 0x01b0.
83789         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
83790         * wcsmbs/tst-mbsnrtowcs.c: New file.
83792 2012-03-29  David S. Miller  <davem@davemloft.net>
83794         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
83795         small copies by hand.
83797 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
83799         [BZ #13761]
83800         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
83801         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
83802         group memberships.
83804 2012-03-28  David S. Miller  <davem@davemloft.net>
83806         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
83807         that branches into memcpy.
83808         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
83809         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
83810         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
83811         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
83812         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
83813         bits.
83814         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
83815         implementation too.
83816         * sysdeps/sparc/mempcpy.S: New file.
83818         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
83819         the IFUNC routine in the libc case.
83820         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
83822         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
83823         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
83824         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
83825         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
83826         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
83827         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
83828         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
83829         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
83831         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
83832         loop to 256 bytes instead of 64 bytes and fix test signedness.
83834         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
83835         * sysdeps/sparc/sparc32/Makefile: rather than here...
83836         * sysdeps/sparc/sparc64/Makefile: and here.
83838 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
83840         * malloc/mallocbug.c: Avoid warnings about unused variables.
83842 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
83844         [BZ #13760]
83845         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
83846         in the right place. Discard and retry query if response is
83847         larger than input buffer size.
83849 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
83851         [BZ #369]
83852         [BZ #2678]
83853         [BZ #3866]
83854         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
83855         x for large integer exponent.
83856         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
83857         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
83858         sign of result as needed afterwards.
83859         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
83860         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
83861         result for underflowing pow the same as for overflow.
83862         (__kernel_standard_l): Handle powl overflow and underflow here
83863         rather than calling __kernel_standard.
83864         * math/libm-test.inc (pow_test): Add more tests.
83866         [BZ #3868]
83867         [BZ #13879]
83868         [BZ #13910]
83869         [BZ #13911]
83870         [BZ #13912]
83871         [BZ #13913]
83872         [BZ #13915]
83873         [BZ #13916]
83874         [BZ #13917]
83875         [BZ #13918]
83876         [BZ #13919]
83877         [BZ #13920]
83878         [BZ #13921]
83879         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
83880         * sysdeps/ieee754/k_standard.c: Include <float.h>.
83881         (__kernel_standard_l): New function.
83882         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
83883         __kernel_standard.
83884         * math/w_acosl.c (__acosl): Likewise.
83885         * math/w_asinl.c (__asinl): Likewise.
83886         * math/w_atan2l.c (__atan2l): Likewise.
83887         * math/w_atanhl.c (__atanhl): Likewise.
83888         * math/w_coshl.c (__coshl): Likewise.
83889         * math/w_exp10l.c (__exp10l): Likewise.
83890         * math/w_exp2l.c (__exp2l): Likewise.
83891         * math/w_fmodl.c (__fmodl): Likewise.
83892         * math/w_hypotl.c (__hypotl): Likewise.
83893         * math/w_j0l.c (__j0l, __y0l): Likewise.
83894         * math/w_j1l.c (__j1l, __y1l): Likewise.
83895         * math/w_jnl.c (__jnl, __ynl): Likewise.
83896         * math/w_lgammal.c (__lgammal): Likewise.
83897         * math/w_log10l.c (__log10l): Likewise.
83898         * math/w_log2l.c (__log2l): Likewise.
83899         * math/w_logl.c (__logl): Likewise.
83900         * math/w_powl.c (__powl): Likewise.
83901         * math/w_remainderl.c (__remainderl): Likewise.
83902         * math/w_scalbl.c (sysv_scalbl): Likewise.
83903         * math/w_sinhl.c (__sinhl): Likewise.
83904         * math/w_sqrtl.c (__sqrtl): Likewise.
83905         * math/w_tgammal.c (__tgammal): Likewise.
83906         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
83907         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
83908         * math/libm-test.inc (acos_test): Add more tests.
83909         (acosh_test): Likewise.
83910         (asin_test): Likewise.
83911         (atanh_test): Likewise.
83912         (exp_test): Likewise.
83913         (exp10_test): Likewise.
83914         (exp2_test): Likewise.
83915         (expm1_test): Likewise.
83916         (lgamma_test): Likewise.
83917         (log_test): Likewise.
83918         (log10_test): Likewise.
83919         (log1p_test): Likewise.
83920         (log2_test): Likewise.
83921         (pow_test): Do not allow some spurious overflow exceptions.
83922         (sqrt_test): Add more tests.
83923         (tgamma_test): Likewise.
83924         (y0_test): Likewise.
83925         (y1_test): Likewise.
83926         (yn_test): Likewise.
83928 2012-03-27  Anton Blanchard  <anton@samba.org>
83930         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
83931         MAP_HUGETLB.
83932         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83933         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83934         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83936 2012-03-27  David S. Miller  <davem@davemloft.net>
83938         * conform/Makefile: Run run-conformtest.sh using $(BASH).
83940         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
83941         have-as-vis3 check.
83943 2012-03-27  Andreas Jaeger  <aj@suse.de>
83945         * sysdeps/x86_64/elf/configure.in: Moved to ...
83946         * sysdeps/x86_64/configure.in: ... here.
83947         * sysdeps/x86_64/elf/start.S: Moved to ...
83948         * sysdeps/x86_64/start.S: ... here.
83949         * sysdeps/x86_64/elf/configure: Delete.
83951         * sysdeps/x86_64/configure.in: Merge contents from
83952         sysdeps/i386/configure.in (without i686 check).
83954         * sysdeps/i386/elf/Versions: Merge into ...
83955         * sysdeps/i386/Versions: ... this.
83956         * sysdeps/i386/elf/Versions: Delete file.
83957         * sysdeps/i386/elf/start.S: Moved to ...
83958         * sysdeps/i386/start.S: ...here.
83959         * sysdeps/i386/elf/configure.in: Merge into...
83960         * sysdeps/i386/configure.in: ...here.
83961         * sysdeps/i386/elf/configure.in: Delete file.
83962         * sysdeps/i386/elf/configure: Delete file.
83964         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
83965         * debug/backtracesyms.c: ... here.
83966         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
83967         * debug/backtracesymsfd.c: ... here.
83968         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
83969         * sysdeps/generic/ifunc-sel.h: ... here.
83971         * sysdeps/unix/i386/start.c: Delete file.
83972         * sysdeps/unix/sparc/start.c: Delete file.
83973         * sysdeps/unix/start.c: Delete file.
83975         * sysdeps/sh/elf/configure.in: Moved to ...
83976         * sysdeps/sh/configure.in: ... here.
83977         * sysdeps/sh/elf/start.S: Moved to ...
83978         * sysdeps/sh/start.S: ... here.
83979         * sysdeps/sh/elf/configure: Delete file.
83981         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
83982         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
83983         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
83984         * sysdeps/powerpc/powerpc64/entry.h: ... here.
83985         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
83986         * sysdeps/powerpc/powerpc64/start.S: here.
83987         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
83988         * sysdeps/powerpc/powerpc64/Makefile: ... this.
83989         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
83990         * sysdeps/powerpc/powerpc64/configure.in: ... this.
83991         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
83993         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
83994         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
83995         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
83996         * sysdeps/powerpc/powerpc32/start.S: ... here.
83997         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
83998         * sysdeps/powerpc/powerpc32/configure.in: ... this.
83999         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
84001         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
84002         * sysdeps/powerpc/ifunc-sel.h: ... here.
84003         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
84004         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
84006         * sysdeps/sparc/elf/configure.in: Moved to ...
84007         * sysdeps/sparc/configure.in: ... here.
84008         * sysdeps/sparc/elf/configure: Delete file.
84009         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
84010         * sysdeps/sparc/sparc32/start.S: ... here.
84011         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
84012         * sysdeps/sparc/sparc64/start.S: ... here.
84013         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
84014         * sysdeps/sparc/sparc32/Makefile: ... this.
84015         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
84016         * sysdeps/sparc/sparc64/Makefile: ... this.
84018         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
84019         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
84020         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
84021         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
84022         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
84023         * sysdeps/s390/s390-32/setjmp.S: ... here.
84024         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
84025         * sysdeps/s390/s390-32/configure.in: ... here.
84026         * sysdeps/s390/s390-32/elf/configure: Delete file.
84027         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
84028         * sysdeps/s390/s390-32/start.S: ... here.
84030         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
84031         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
84032         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
84033         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
84034         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
84035         * sysdeps/s390/s390-64/setjmp.S: ... here.
84036         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
84037         * sysdeps/s390/s390-64/configure.in: ... here
84038         * sysdeps/s390/s390-64/elf/configure: Delete file.
84039         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
84040         * sysdeps/s390/s390-64/start.S: ... here.
84041         * sysdeps/s390/s390-64/elf/configure: Delete.
84043         * configure.in: Remove support for elf directories in sysdeps.
84045         * configure: Regenerated.
84046         * sysdeps/i386/configure: Regenerated.
84047         * sysdeps/powerpc/powerpc32/configure: Regenerated.
84048         * sysdeps/powerpc/powerpc64/configure: Regenerated.
84049         * sysdeps/s390/s390-32/configure: Regenerated.
84050         * sysdeps/s390/s390-64/configure: Regenerated.
84051         * sysdeps/sh/configure: Regenerated.
84052         * sysdeps/sparc/configure: Regenerated.
84053         * sysdeps/x86_64/configure: Regenerated.
84055 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
84057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84059         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
84060         denormal result into account.
84062 2012-03-25  Roland McGrath  <roland@hack.frob.com>
84064         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
84065         Reported by Allan McRae <allan@archlinux.org>.
84067 2012-03-23  Jeff Law  <law@redhat.com>
84069         * nss/getnssent.c (__nss_getent): Fix typo.
84071 2012-03-23  David S. Miller  <davem@davemloft.net>
84073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84075 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
84077         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
84078         to pad to uint64_t for each field.
84079         (dl_tls_index): Replace unsigned long with uint64_t.
84081 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
84082         Paul Pluzhnikov  <ppluzhnikov@google.com>
84084         [BZ #6528]
84085         * grp/Makefile (otherlibs): Don't set it.
84086         * inet/Makefile (otherlibs): Likewise.
84087         * login/Makefile (otherlibs): Likewise.
84088         * nscd/Makefile (otherlibs): Likewise.
84089         * posix/Makefile (otherlibs): Likewise.
84090         * pwd/Makefile (otherlibs): Likewise.
84091         * rt/Makefile (otherlibs): Likewise.
84092         * sunrpc/Makefile (otherlibs): Likewise.
84093         * nss/Makefile (otherlibs): Likewise.
84094         Add libnss_files to routines and static-only-routines.
84095         ($(objpfx)getent): Remove rule.
84096         * resolv/Makefile: Add libnss_dns and libresolv to routines and
84097         static-only-routines.
84099 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
84101         [BZ #13892]
84102         * math/s_cexp.c: Include <float.h>.
84103         (__cexp): Handle exp result overflowing not necessarily
84104         overflowing both real and imaginary parts of result.
84105         * math/s_cexpf.c: Likewise.
84106         * math/s_cexpl.c: Likewise.
84107         * math/libm-test.inc (cexp_test): Add more tests.
84108         * sysdeps/i386/fpu/libm-test-ulps: Update.
84109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84111 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84113         * include/link.h (ELFW): New macro.
84114         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
84115         Replace ELF64_R_TYPE with ELFW(R_TYPE).
84117 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84119         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
84120         with uint64_t.
84122 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84124         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
84125         declaration.
84126         (struct La_x32_retval): Likewise.
84128 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84130         * sysdeps/x86_64/preconfigure.in: New file.
84131         * sysdeps/x86_64/preconfigure: New generated file.
84133 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
84135         [BZ #13824]
84136         * math/e_exp2l.c: Include <float.h>.
84137         (__ieee754_exp2l): Handle overflow and underflow cases
84138         separately.  Only pass fractional part of argument to
84139         __ieee754_expl.
84140         * math/libm-test.inc (exp2_test): Add more tests.
84142         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
84143         negating x to take absolute value.
84144         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
84145         Likewise.
84146         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
84147         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
84148         Likewise.
84149         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
84150         computing low part if x was negated.
84151         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
84153 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84155         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
84156         la_x32_gnu_pltexit.
84157         (pltexit): Cast int_retval to ptrdiff_t.
84158         * elf/tst-auditmod3b.c: Likewise.
84159         * elf/tst-auditmod4b.c: Likewise.
84160         * elf/tst-auditmod5b.c: Likewise.
84161         * elf/tst-auditmod6b.c: Likewise.
84162         * elf/tst-auditmod6c.c: Likewise.
84163         * elf/tst-auditmod7b.c: Likewise.
84165         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
84166         and x32_gnu_pltexit.
84168         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
84169         __ELF_NATIVE_CLASS.
84170         (La_x32_regs): New macro.
84171         (La_x32_retval): Likewise.
84172         (la_x32_gnu_pltenter): New function prototype.
84173         (la_x32_gnu_pltexit): Likewise.
84175 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
84177         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
84178         exponent.
84180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84182         * configure.in (libc_cv_cc_nofma): Check for option to disable
84183         generation of FMA instructions.
84184         * configure: Regenerate.
84185         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
84186         * sysdeps/ieee754/dbl-64/Makefile: New file.
84187         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
84188         Remove brandred-fma4.
84189         (CFLAGS-brandred-fma4.c): Remove.
84190         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
84191         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
84192         define.
84193         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
84194         define.
84196 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84198         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
84199         LLONG_MAX != LONG_MAX.
84200         (_itoa_word): Use _ITOA_WORD_TYPE on value.
84201         (_fitoa_word): Likewise.
84202         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
84203         LLONG_MAX != LONG_MAX.
84204         * stdio-common/_itowa.h: Include <_itoa.h>.
84205         (_itowa_word): Use _ITOA_WORD_TYPE on value.
84206         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
84207         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
84208         only if not defined.
84209         (_ITOA_WORD_TYPE): Likewise.
84210         (_itoa_word): Use _ITOA_WORD_TYPE on value.
84211         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
84213 2012-03-21  David S. Miller  <davem@davemloft.net>
84215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84217 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84219         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
84220         of x86_64 when setting libc_cv_slibdir, libdir and
84221         libc_cv_localedir.
84222         * sysdeps/unix/sysv/linux/configure: Regenerated.
84224 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84226         * manual/lang.texi (Old Varargs): Remove section.
84227         (How Variadic): Update menu.
84228         (va_start): Do not mention varargs.h.
84230 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
84231             Joseph Myers  <joseph@codesourcery.com>
84233         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
84234         link test.
84235         * configure: Regenerated.
84237 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
84239         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
84240         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
84241         conformtest.pl
84243 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84245         * NOTES: Remove.
84246         * Makefile (files-for-dist): Remove NOTES.
84247         (NOTES): Remove rule.
84248         * README: Don't refer to NOTES.
84249         * manual/creature.texi: Don't include macros.texi.
84250         * manual/intro.texi (creature.texi): Remove comment referring to
84251         NOTES.
84253         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
84254         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
84255         * configure: Regenerated.
84256         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
84257         LIBC_TRY_CC_OPTION.
84258         (libc_cv_as_i686): Likewise.
84259         (libc_cv_cc_avx): Likewise.
84260         (libc_cv_cc_sse2avx): Likewise.
84261         (libc_cv_cc_fma4): Likewise.
84262         (libc_cv_cc_novzeroupper): Likewise.
84263         * sysdeps/i386/configure: Regenerated.
84265         [BZ #13883]
84266         * sysdeps/i386/fpu/s_cexp.S: Remove.
84267         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
84268         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
84269         * math/libm-test.inc (cexp_test): Add more tests.
84270         * sysdeps/i386/fpu/libm-test-ulps: Update.
84271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84273 2012-03-21  Allan McRae  <allan@archlinux.org>
84275         * timezone/Makefile: Do not install iso3166.tab and zone.tab
84277 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84279         [BZ #13871]
84280         * math/w_exp2.c: Do not include <float.h>.
84281         (o_threshold, u_threshold): Remove.
84282         (__exp2): Calculate result before checking finiteness and calling
84283         __kernel_standard.
84284         * math/w_exp2f.c: Likewise.
84285         * math/w_exp2l.c: Likewise.
84286         * math/libm-test.inc (exp2_test): Require overflow exception for
84287         1e6 input.
84289         [BZ #3866]
84290         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
84291         range of signed 64-bit integers before using fistpll.  Remove
84292         checks for whether integers fit in mantissa bits.
84293         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
84294         the range of signed 32-bit integers before using fistpl.  Remove
84295         checks for whether integers fit in mantissa bits.
84296         * sysdeps/i386/fpu/e_powl.S (p64): New object.
84297         (__ieee754_powl): Test for y outside the range of signed 64-bit
84298         integers before using fistpll.  Reduce 64-bit values to 63-bit
84299         ones as needed.
84300         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
84301         divide-by-zero is raised for zero to large negative powers.
84302         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
84303         (__ieee754_powl): Test for y outside the range of signed 64-bit
84304         integers before using fistpll.  Reduce 64-bit values to 63-bit
84305         ones as needed.
84306         * math/libm-test.inc (pow_test): Add more tests.
84308 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84310         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
84311         <stdio-common/_itoa.h>.
84312         * debug/segfault.c: Likewise.
84313         * elf/dl-cache.c: Likewise.
84314         * elf/dl-minimal.c: Likewise.
84315         * elf/dl-misc.c: Likewise.
84316         * elf/dl-sysdep.c: Likewise.
84317         * elf/dl-version.c: Likewise.
84318         * elf/rtld.c: Likewise.
84319         * hurd/hurdsock.c: Likewise.
84320         * hurd/lookup-retry.c: Likewise.
84321         * malloc/malloc.c: Likewise.
84322         * malloc/mtrace.c: Likewise.
84323         * nscd/nscd_getgr_r.c: Likewise.
84324         * nscd/nscd_getpw_r.c: Likewise.
84325         * nscd/nscd_getserv_r.c: Likewise.
84326         * posix/getopt_init.c: Likewise.
84327         * posix/wordexp.c: Likewise.
84328         * stdio-common/_itoa.c: Likewise.
84329         * stdio-common/printf_fphex.c: Likewise.
84330         * stdio-common/vfprintf.c: Likewise.
84331         * string/_strerror.c: Likewise.
84332         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
84333         * sysdeps/i386/i686/hp-timing.h: Likewise.
84334         * sysdeps/mach/_strerror.c: Likewise.
84335         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
84336         * sysdeps/mach/hurd/sethostid.c: Likewise.
84337         * sysdeps/mach/hurd/xmknodat.c: Likewise.
84338         * sysdeps/mach/xpg-strerror.c: Likewise.
84339         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
84340         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
84341         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
84342         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
84343         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
84344         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
84345         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
84346         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
84347         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
84348         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
84349         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
84350         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
84351         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
84352         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
84353         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
84354         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
84355         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
84356         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
84357         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
84358         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
84359         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
84361         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
84363         * stdio-common/_itoa.h: Moved to ...
84364         * sysdeps/generic/_itoa.h: Here.
84366         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
84368         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
84369         instead of "_itoa.h" and "_itowa.h".
84370         * stdio-common/vfprintf.: Likewise.
84372 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84374         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
84375         <bits/wordsize.h>.
84376         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
84377         (__signbit): Likewise.
84378         (llrintf): Likewise.
84379         (llrint): Likewise.
84381 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84383         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
84384         __WORDSIZE != 64.
84386 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
84388         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
84389         OVERFLOW_EXCEPTION_OK.
84390         * math/libm-test.inc ("Philosophy"): Update comment about
84391         exception testing.
84392         (OVERFLOW_EXCEPTION): Define.
84393         (OVERFLOW_EXCEPTION_OK): Likewise.
84394         (INVALID_EXCEPTION_OK): Renumber.
84395         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
84396         (IGNORE_ZERO_INF_SIGN): Likewise.
84397         (test_exceptions): Handle FE_OVERFLOW.
84398         (exp10_test): Expect overflow exceptions.
84399         (exp2_test): Likewise.
84400         (expm1_test): Likewise.
84401         (nextafter_test): Likewise.
84402         (pow_test): Likewise.
84403         (scalbn_test): Likewise.
84404         (scalbln_test): Likewise.
84406 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84408         * sysdeps/x86_64/bits/atomic.h
84409         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
84410         64bit integer.
84411         (atomic_exchange_acq): Likewise.
84412         (__arch_exchange_and_add_body): Likewise.
84413         (__arch_add_body): Likewise.
84414         (atomic_add_negative): Likewise.
84415         (atomic_add_zero): Likewise.
84417 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84419         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
84420         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
84422 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84424         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
84425         Check __x86_64__ instead of __WORDSIZE.
84427 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84429         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
84431 2012-03-19  David S. Miller  <davem@davemloft.net>
84433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84435         * sysdeps/sparc/fpu/fenv_private.h: New file.
84436         * sysdeps/sparc/fpu/math_private.h: Use it.
84437         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
84438         Remove.
84439         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
84440         (libc_feholdexcept_setroundl): Remove.
84441         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
84442         Remove.
84443         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
84444         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
84446 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84448         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
84449         int64_t instead of long int.
84450         (INSERT_WORDS64): Likewise.
84452 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84454         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
84455         _Unwind_GetCFA return to _Unwind_Ptr first.
84457 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
84459         [BZ #13629]
84460         * math/s_clog.c: Include <float.h>.
84461         (__clog): Scale large or subnormal inputs.
84462         * math/s_clogf.c: Likewise.
84463         * math/s_clogl.c: Likewise.
84464         * math/s_clog10.c: Include <float.h>.
84465         (M_LOG10_2): Define.
84466         (__clog10): Scale large or subnormal inputs.
84467         * math/s_clog10f.c: Likewise.
84468         * math/s_clog10l.c: Likewise.
84469         * math/libm-test.inc (clog_test): Add more tests.
84470         (clog10_test): Likewise.
84471         * sysdeps/i386/fpu/libm-test-ulps: Update.
84472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84474         [BZ #11451]
84475         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
84476         x and y.
84477         * math/libm-test.inc (atan2_test): Add another test.
84479         * Makerules (common-objdir-compile): Remove.
84480         * sysdeps/unix/Makefile (config-generated): Do not add
84481         $(unix-generated) to variable.
84482         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
84483         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
84484         Remove rule.
84485         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
84486         Likewise.
84487         [generic bits/local_lim.h] (before-compile): Do not append to
84488         variable.
84489         [generic bits/local_lim.h] (common-generated): Likewise.
84490         [generic sys/param.h] (before-compile): Do not append to variable.
84491         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
84492         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
84493         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
84494         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
84495         include.
84496         [generic sys/param.h] (sys/param.h-includes): Remove variable.
84497         [generic sys/param.h] (sys/param.h-includes): Remove rule.
84498         [generic sys/param.h] ($(addprefix
84499         $(common-objpfx),$(sys/param.h-includes))): Likewise.
84500         [generic sys/param.h] (common-generated): Do not append to
84501         variable.
84502         [generic sys/param.h] (sysdep_headers): Likewise.
84503         [generic bits/errno.h] (before-compile): Do not append to
84504         variable.
84505         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
84506         rule.
84507         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
84508         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
84509         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
84510         [generic bits/errno.h] (common-generated): Do not append to
84511         variable.
84512         [generic bits/ioctls.h] (before-compile): Do not append to
84513         variable.
84514         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
84515         rule.
84516         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
84517         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
84518         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
84519         rule.
84520         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
84521         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
84522         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
84523         [generic bits/ioctls.h] (common-generated): Do not append to
84524         variable.
84525         [generic sys/syscall.h] (syscall.h): Remove variable.
84526         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
84527         rule.
84528         [generic sys/syscall.h] (before-compile): Do not append to
84529         variable.
84530         [generic sys/syscall.h] (common-generated): Likewise.
84531         * sysdeps/unix/errnos-tmpl.c: Remove file.
84532         * sysdeps/unix/errnos.awk: Likewise.
84533         * sysdeps/unix/ioctls-tmpl.c: Likewise.
84534         * sysdeps/unix/ioctls.awk: Likewise.
84535         * sysdeps/unix/mk-local_lim.c: Likewise.
84536         * sysdeps/unix/snarf-ioctls: Likewise.
84538 2012-03-19  Richard Henderson  <rth@twiddle.net>
84540         * sysdeps/i386/fpu/fenv_private.h: New file.
84541         * sysdeps/i386/fpu/math_private.h: Use it.
84542         (math_opt_barrier, math_force_eval): Remove.
84543         (libc_feholdexcept_setround_53bit): Remove.
84544         (libc_feupdateenv_53bit): Remove.
84545         * sysdeps/x86_64/fpu/math_private.h: Likewise.
84546         (math_opt_barrier, math_force_eval): Remove.
84547         (libc_feholdexcept): Remove.
84548         (libc_feholdexcept_setround): Remove.
84549         (libc_fetestexcept, libc_fesetenv): Remove.
84550         (libc_feupdateenv_test): Remove.
84551         (libc_feupdateenv, libc_feholdsetround): Remove.
84552         (libc_feresetround): Remove.
84554         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
84555         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
84557         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
84558         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
84559         (libc_feupdateenv_testl): New.
84560         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
84561         (libc_feupdateenv_testf): New.
84562         (libc_feupdateenv): Use libc_feupdateenv_test.
84563         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
84564         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
84566         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
84567         (libc_feholdsetroundf, libc_feholdsetroundl): New.
84568         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
84569         (libc_feresetround_noex): New.
84570         (libc_feresetround_noexf): New.
84571         (libc_feresetround_noexl): New.
84572         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
84573         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
84574         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
84575         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
84576         SET_RESTORE_ROUND.
84577         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
84578         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
84579         (__cos): Likewise.
84580         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
84581         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
84582         SET_RESTORE_ROUND_NOEX.
84583         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
84584         SET_RESTORE_ROUND_NOEXF.
84585         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
84586         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
84587         (libc_feholdsetroundf): New.
84588         (libc_feresetround, libc_feresetroundf): New.
84590         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
84591         (libc_feholdexcept_setround_53bit): Convert from macro to function.
84592         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
84594         * sysdeps/generic/math_private.h: Include <fenv.h>.
84595         (default_libc_feholdexcept): New.
84596         (default_libc_feholdexcept_setround): New.
84597         (default_libc_fesetenv, default_libc_feupdateenv): New.
84598         (libc_feholdexcept): Only define if undefined.
84599         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
84600         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
84601         (libc_feholdexcept_setroundl): Likewise.
84602         (libc_feholdexcept_setround_53bit): Likewise.
84603         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
84604         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
84605         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
84606         (libc_feupdateenv_53bit): Likewise.
84607         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
84608         (libc_feholdexcept): Convert from macro to inline function.
84609         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
84610         (libc_fesetenv, libc_feupdateenv): Likewise.
84612         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
84613         not previously defined.
84614         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
84615         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
84616         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
84617         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
84618         * sysdeps/ieee754/flt-32/math_private.h: New file.
84619         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
84620         math_private.h below SET_FLOAT_WORD.
84621         (__isnan, __isinf_ns, __finite): Remove.
84622         (__isnanf, __isinf_nsf, __finitef): Remove.
84624 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
84626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84628 2012-03-17  David S. Miller  <davem@davemloft.net>
84630         [BZ #6471]
84631         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
84632         for 2.16.
84634 2012-03-16  David S. Miller  <davem@davemloft.net>
84636         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
84637         warnings.
84639         [BZ #6471]
84640         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
84641         properly.
84642         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
84643         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
84644         sysdep_routines when subdir is sysvipc.
84645         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
84646         __getshmlba helper.
84648         * sysdeps/sparc/fpu/libm-test/ulps: Update.
84650 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84652         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
84653         [__LP64__].
84655 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84657         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
84658         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
84659         (__lround): Renamed to ...
84660         (__llround): This.  Replace long int with long long int.
84661         Define lround functions as aliases of llround functions.
84662         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
84664 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84666         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
84667         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
84668         adresses to uintptr_t.  Replace "long int" and "unsigned long
84669         int" with "greg_t" on va_arg.
84671 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84673         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
84674         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
84676         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
84677         Move e_machine check before EI_CLASS check.  Handle x32
84678         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
84679         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
84680         SKIP_EM_IA_64 and include
84681         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
84683         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
84684         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
84685         (add_system_dir): New macro.
84687         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
84688         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
84690 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84692         [BZ #2551]
84693         [BZ #2552]
84694         [BZ #2553]
84695         [BZ #2554]
84696         [BZ #2562]
84697         [BZ #2563]
84698         [BZ #2565]
84699         [BZ #2566]
84700         [BZ #2576]
84701         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
84702         (y0): Likewise.
84703         * math/w_j0f.c (j0f): Likewise.
84704         (y0f): Likewise.
84705         * math/w_j0l.c (__j0l): Likewise.
84706         (__y0l): Likewise.
84707         * math/w_j1.c (j1): Likewise.
84708         (y1): Likewise.
84709         * math/w_j1f.c (j1f): Likewise.
84710         (y1f): Likewise.
84711         * math/w_j1l.c (__j1l): Likewise.
84712         (__y1l): Likewise.
84713         * math/w_jn.c (jn): Likewise.
84714         (yn): Likewise.
84715         * math/w_jnf.c (jnf): Likewise.
84716         (ynf): Likewise.
84717         * math/w_jnl.c (__jnl): Likewise.
84718         (__ynl): Likewise.
84719         * math/libm-test.inc (j0_test): Add more tests.
84720         (j1_test): Likewise.
84721         (jn_test): Likewise.  Add trailing semicolon to existing test.
84722         (y0_test): Likewise.
84723         (y1_test): Likewise.
84724         * sysdeps/i386/fpu/libm-test-ulps: Update.
84725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84727         [BZ #13851]
84728         [BZ #13854]
84729         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
84730         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
84731         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
84732         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
84733         (__tanl): Set errno for infinite argument.
84734         * sysdeps/i386/fpu/mptan.c: Remove.
84735         * sysdeps/i386/fpu/s_tan.S: Likewise.
84736         * sysdeps/i386/fpu/s_tanl.S: Likewise.
84737         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
84738         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
84739         * math/libm-test.inc (tan_test): Add more tests and enable more
84740         tests for double and long double.
84741         * sysdeps/i386/fpu/libm-test-ulps: Update.
84742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84744 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
84746         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
84747         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
84749 2012-03-16  Roland McGrath  <roland@hack.frob.com>
84751         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
84752         * configure.in: Use it for both main tree and add-ons.
84753         * configure: Regenerated.
84755 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84757         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
84759 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84761         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
84762         in comment.
84764         [BZ #13851]
84765         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
84766         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
84767         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
84768         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
84769         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
84770         infinite argument.
84771         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
84772         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
84773         != 0 for prec == 2.
84774         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
84775         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
84776         * sysdeps/i386/fpu/s_cosl.S: Likewise.
84777         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
84778         * sysdeps/i386/fpu/s_sinl.S: Likewise.
84779         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
84780         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
84781         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
84782         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
84783         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
84784         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
84785         * math/libm-test.inc (cos_test): Add more tests and enable more
84786         tests for long double.
84787         (sin_test): Likewise.
84788         (sincos_test): Likewise.
84789         * sysdeps/i386/fpu/libm-test-ulps: Update.
84790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84792 2012-03-16  David S. Miller  <davem@davemloft.net>
84794         * sysdeps/sparc/fpu/math_private.h: New file.
84796 2012-03-15  David S. Miller  <davem@davemloft.net>
84798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
84799         file.
84800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
84801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
84802         file.
84803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
84804         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
84805         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
84806         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
84807         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
84808         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
84809         sysdep routines.
84810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84812         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
84813         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
84815         * sysdeps/sparc/sparc-ifunc.h: New file.
84816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
84817         sparc-ifunc.h
84818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
84819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
84820         Likewise.
84821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
84822         Likewise.
84823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
84824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
84825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
84827         Likewise.
84828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
84830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
84832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
84833         Likewise.
84834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
84835         Likewise.
84836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
84838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
84839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
84840         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
84841         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
84842         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
84843         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
84844         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
84845         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
84846         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
84847         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
84848         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
84849         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
84850         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
84851         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
84852         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
84853         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
84854         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
84855         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
84856         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
84857         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
84858         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
84859         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
84861 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
84863         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
84864         scaling.
84865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84867 2012-03-15  Andreas Jaeger  <aj@suse.de>
84869         [BZ #13852]
84870         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
84871         ieee754/flt-32 implementation for sin, cos and sincos.
84872         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
84873         * sysdeps/i386/fpu/s_cosf.S: Likewise.
84874         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
84875         * sysdeps/i386/fpu/s_sinf.S: Likewise.
84876         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
84877         ieee754/flt-32 implementation for tan.
84879         * math/libm-test.inc (cos_test): Enable some large input tests for
84880         float as well
84881         (sin_test): Likewise.
84882         (sincos_test): Likewise.
84883         (tan_test): Add tests for large input.
84885         * sysdeps/i386/fpu/libm-test-ulps: Update.
84887 2012-03-15  Andreas Jaeger  <aj@suse.de>
84889         [BZ #13658]
84890         * math/libm-test.inc (cos_test): Add more test cases.
84891         (sin_test): Likewise.
84892         (sincos_test): Likewise.
84894 2012-03-15  Andreas Jaeger  <aj@suse.de>
84896         [BZ #13837]
84897         * math/libm-test.inc (cos_test): Add a test case for large input
84898         value.
84899         (sin_test): Likewise.
84900         (sincos_test): Likewise.
84902 2012-03-15  Andreas Jaeger  <aj@suse.de>
84903             Joseph Myers  <joseph@codesourcery.com>
84905         [BZ #13658]
84906         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
84907         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
84908         * sysdeps/i386/fpu/branred.c: Likewise.
84909         * sysdeps/i386/fpu/dosincos.c: Likewise.
84910         * sysdeps/i386/fpu/mpa.c: Likewise.
84911         * sysdeps/i386/fpu/s_cos.S: Likewise.
84912         * sysdeps/i386/fpu/s_sin.S: Likewise.
84913         * sysdeps/i386/fpu/s_sincos.S: Likewise.
84914         * sysdeps/i386/fpu/sincos32.c: Likewise.
84916         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
84917         Define.
84918         (libc_feupdateenv_53bit): Define.
84919         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
84920         Define.
84921         (libc_feupdateenv_53bit): Define.
84923         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
84924         53 bit (without extend i386 double precision).
84926         * math/libm-test.inc (sincos_test): Add tests for large input.
84927         (sin): Likewise.
84928         (cos): Likewise.
84930         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
84932 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
84934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84936 2012-03-15  David S. Miller  <davem@davemloft.net>
84938         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
84939         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
84940         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
84941         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
84942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
84943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
84944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
84945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
84946         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
84947         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
84948         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
84949         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
84950         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
84951         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
84952         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
84953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
84954         file.
84955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
84956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
84957         file.
84958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
84959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
84960         file.
84961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
84962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
84963         file.
84964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
84965         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
84966         fmin/fmax sysdep routines.
84967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84969 2012-03-14  David S. Miller  <davem@davemloft.net>
84971         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
84972         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
84973         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
84974         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
84975         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
84976         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
84977         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
84978         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
84979         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
84980         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
84981         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
84982         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
84983         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
84984         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
84985         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
84986         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
84987         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
84988         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
84989         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
84990         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
84991         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
84992         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
84993         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
84994         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
84995         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
84996         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
84997         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
84998         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
84999         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
85000         routines.
85001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
85002         file.
85003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
85004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
85005         file.
85006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
85007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
85008         file.
85009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
85010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
85011         file.
85012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
85013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
85014         file.
85015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
85016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
85017         file.
85018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
85019         file.
85020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
85021         file.
85022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
85023         file.
85024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
85025         New file.
85026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
85027         file.
85028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
85029         file.
85030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
85031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
85032         file.
85033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
85034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
85035         file.
85036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
85037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
85038         file.
85039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
85040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
85041         VIS3 routines.
85043         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
85044         New file.
85046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85048         * sysdeps/sparc/configure.in: New file.
85049         * sysdeps/sparc/configure: Generate.
85050         * configure.in (libc_cv_sparc_as_vis3): Substitute.
85051         * configure: Regenerate.
85052         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
85053         * config.make.in (have-as-vis3): New.
85054         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
85055         available use -Av9d instead of -Av9a.
85056         * sysdeps/sparc/sparc64/Makefile: Likewise.
85057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
85058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
85059         New file.
85060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
85061         file.
85062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
85063         New file.
85064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
85065         file.
85066         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
85067         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
85068         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
85069         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
85070         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
85072         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
85073         fzeros/fnegs to load 0x80000000 into a float register instead of
85074         using the stack.
85075         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
85077 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
85079         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85080         bits/syscall.h.
85081         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
85082         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
85083         ($(inst_includedir)/bits/syscall.h): Remove rule.
85084         ($(objpfx)bits/syscall.d): Include instead of
85085         $(objpfx)syscall-list.d.
85086         (generated): Change syscall-list.h and syscall-list.d to
85087         bits/syscall.h and bits/syscall.d.
85089 2012-03-14  Roland McGrath  <roland@hack.frob.com>
85091         [BZ #13846]
85092         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
85094 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
85096         [BZ #13841]
85097         * math/s_csqrt.c: Include <float.h>.
85098         (__csqrt): Scale large or subnormal inputs.
85099         * math/s_csqrtf.c: Likewise.
85100         * math/s_csqrtl.c: Likewise.
85101         * math/libm-test.inc (csqrt_test): Add more tests.
85102         * sysdeps/i386/fpu/libm-test-ulps: Update.
85103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85105         [BZ #13840]
85106         * math/libm-test.inc (hypot_test): Add more tests.
85108 2012-03-13  David S. Miller  <davem@davemloft.net>
85110         [BZ #13840]
85111         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
85112         double-precision for the calculation instead of scaling.
85114 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
85116         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
85117         manipulate bits before adding and subtracting TWO52[sx].
85118         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
85119         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
85120         Likewise.
85121         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
85123 2012-03-13  David S. Miller  <davem@davemloft.net>
85125         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
85126         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
85127         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
85128         rtld-global-offsets.h
85129         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85131         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
85132         large parameters.
85134         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
85136         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
85137         'err' in the ifdef scope in which it is actually used.
85139         * nss/nss_db/db-init.c: Include string.h
85141 2012-03-12  David S. Miller  <davem@davemloft.net>
85143         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
85144         masking out of the most significant byte of random value used.
85145         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85146         Fix coding style in previous change.
85148         * sysdeps/unix/sysv/linux/kernel-features.h
85149         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
85150         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
85151         expression.
85152         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
85153         later.
85155 2012-03-11  David S. Miller  <davem@davemloft.net>
85157         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
85158         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
85159         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
85160         for 'resultvar' otherwise things get truncated on 64-bit.
85162         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85163         Fix masking out of the most significant byte of random value used.
85165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85167 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
85169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85171 2012-03-09  David S. Miller  <davem@davemloft.net>
85173         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
85174         variables with appropriate CPP guards.
85175         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
85176         from the frame pointer, not the stack pointer.  Correct layout
85177         comments.  Fix test on resulting framesize and the management of
85178         the outregs buffer for pltexit.  Preserve floating point return
85179         values across _dl_call_pltexit call.
85180         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
85181         framesize and the management of the outregs buffer for pltexit.
85182         Preserve floating point return values across _dl_call_pltexit
85183         call.
85184         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
85185         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
85186         (la_sparc64_gnu_pltexit): New functions.
85187         (print_exit): Fix format string for return register value.
85189 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
85191         * sunrpc/Makefile (others): Add rpcgen.
85192         ($(objpfx)rpcgen): Remove special build rule and dependency on
85193         libc.
85194         * sunrpc/rpcgen.c: New file.
85196 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
85198         [BZ #13673]
85199         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
85200         * stdio-common/bug-vfprintf-nargs.c: Likewise.
85201         * sysdeps/i386/crti.S: Likewise.
85202         * sysdeps/i386/crtn.S: Likewise.
85203         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
85204         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
85205         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
85206         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
85207         * sysdeps/sh/crti.S: Likewise.
85208         * sysdeps/sh/crtn.S: Likewise.
85209         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
85211         [BZ #13673]
85212         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
85213         with URL.
85214         * locale/programs/locfile-kw.gperf: Likewise.
85215         * locale/programs/charmap-kw.h: Regenerated.
85216         * locale/programs/locfile-kw.h: Likewise.
85218         [BZ #13673]
85219         * intl/plural.y: Replace FSF snail mail address with URL.
85220         * intl/plural.c: Regenerated.
85222 2012-03-09  Richard Henderson  <rth@twiddle.net>
85224         * include/math_private.h: Remove file.
85225         * math/math_private.h: Move file ...
85226         * sysdeps/generic/math_private.h: ... here.
85228         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
85229         * sysdeps/powerpc/fpu/math_private.h: Likewise.
85230         * sysdeps/x86_64/fpu/math_private.h: Likewise.
85232         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
85233         and <math_private.h>.
85234         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
85235         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
85236         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
85237         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
85238         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
85239         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
85240         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
85241         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85242         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85243         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85244         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85245         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85246         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85247         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85248         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85249         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85250         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85251         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85252         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85253         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85254         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85255         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85256         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85257         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85258         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
85259         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85260         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85261         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85262         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85263         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
85264         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85265         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85266         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
85267         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
85268         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
85269         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
85270         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
85271         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
85272         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85273         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85274         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
85275         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
85276         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
85277         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
85278         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
85279         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85280         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
85281         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
85282         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
85283         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
85284         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
85285         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
85286         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
85287         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85288         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
85289         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
85290         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85291         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
85292         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
85293         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
85294         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
85295         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
85296         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85297         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85298         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
85299         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
85300         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
85301         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
85302         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
85303         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
85304         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
85305         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85306         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
85307         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85308         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
85309         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
85310         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
85311         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85312         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
85313         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
85314         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
85315         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
85316         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
85317         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
85318         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
85319         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
85320         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
85321         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
85322         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85323         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85324         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85325         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85326         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85327         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85328         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85329         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85330         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85331         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85332         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85333         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85334         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85335         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85336         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85337         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85338         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85339         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85340         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85341         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85342         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85343         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85344         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85345         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85346         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85347         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85348         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
85349         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85350         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85351         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85352         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85353         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
85354         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85355         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85356         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85357         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
85358         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85359         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
85360         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85361         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
85362         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
85363         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
85364         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
85365         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
85366         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
85367         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
85368         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
85369         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
85370         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
85371         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
85372         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
85373         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
85374         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85375         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
85376         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
85377         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
85378         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
85379         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
85380         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
85381         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
85382         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
85383         * sysdeps/ieee754/k_standard.c: Likewise.
85384         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85385         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85386         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85387         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85388         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85389         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85390         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85391         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85392         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85393         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85394         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85395         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85396         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85397         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85398         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85399         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85400         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
85401         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85402         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85403         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
85404         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
85405         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
85406         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
85407         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
85408         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
85409         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
85410         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
85411         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
85412         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85413         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
85414         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
85415         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
85416         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
85417         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
85418         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
85419         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
85420         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
85421         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
85422         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
85423         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
85424         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
85425         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
85426         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
85427         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
85428         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
85429         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
85430         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
85431         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
85432         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
85433         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
85434         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
85435         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
85436         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
85437         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
85438         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
85439         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
85440         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
85441         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
85442         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
85443         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
85444         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
85445         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
85446         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
85447         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85448         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85449         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85450         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85451         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85452         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85453         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85454         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85455         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85456         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85457         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85458         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85459         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85460         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
85461         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85462         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85463         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
85464         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
85465         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
85466         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
85467         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
85468         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
85469         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
85470         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
85471         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
85472         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
85473         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
85474         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
85475         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
85476         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
85477         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
85478         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
85479         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
85480         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
85481         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
85482         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
85483         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
85484         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
85485         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
85486         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
85487         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
85488         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
85489         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
85490         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
85491         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
85492         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
85493         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
85494         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
85495         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
85496         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85497         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85498         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85499         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85500         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85501         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85502         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85503         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85504         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85505         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85506         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85507         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85508         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85509         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
85510         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
85511         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
85512         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
85513         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
85514         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
85515         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
85516         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
85517         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
85518         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
85519         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
85520         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
85521         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
85522         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
85523         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
85524         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
85525         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
85526         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
85527         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
85528         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
85529         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
85530         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
85531         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
85532         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
85533         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
85534         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
85535         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
85536         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
85537         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
85538         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
85539         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
85540         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
85541         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
85542         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
85543         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
85544         * sysdeps/ieee754/s_lib_version.c: Likewise.
85545         * sysdeps/ieee754/s_matherr.c: Likewise.
85546         * sysdeps/ieee754/s_signgam.c: Likewise.
85547         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85548         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85549         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
85550         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
85551         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
85552         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
85553         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
85554         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
85555         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
85556         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
85557         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
85558         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
85559         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
85560         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
85561         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
85562         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
85563         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
85564         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
85565         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
85566         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
85567         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
85569 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
85571         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
85572         * sunrpc/rpc_main.c: Likewise.
85573         * sunrpc/rpc_svcout.c: Likewise.
85575 2012-03-09  David S. Miller  <davem@davemloft.net>
85577         * include/math_private.h: New file.
85579 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
85581         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
85582         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
85583         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
85584         from <bits/socket_type.h>.
85585         (enum __socket_type): Don't define here.
85586         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
85587         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85588         bits/socket_type.h.
85590         [BZ #13566]
85591         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
85592         checking __USE_GNU.
85594         * Makerules ($(inst_includedir)/%.h): New rule.
85595         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
85596         (install-others): Remove variable setting.
85597         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
85599 2012-03-08  Richard Henderson  <rth@twiddle.net>
85601         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
85602         from macro to inline function; merge with the
85603         !__LIBC_INTERNAL_MATH_INLINES version.
85604         (__ieee754_sqrtf): Likewise.
85606         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
85607         to inline function.
85608         (__rintf, __floor, __floorf): Likewise.
85610         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
85611         macro to inline function.
85612         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
85614         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
85615         not <math/math_private.h>.
85617 2012-03-08  David S. Miller  <davem@davemloft.net>
85619         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
85620         copyright year.
85621         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
85623 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
85625         * resolv/gai_misc.c (handle_requests): Fix struct timespec
85626         normalization.
85627         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
85628         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
85630 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
85632         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
85633         be defined individually, they must be defined as a block.  Define
85634         S for printing a string instead of hidint the different by using a
85635         macro for adding the 'l'.
85636         * stdio-common/tst-fphex-wide.c: Adjust.
85638 2012-03-07  Marek Polacek  <polacek@redhat.com>
85640         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
85642 2012-03-08  Marek Polacek  <polacek@redhat.com>
85644         [BZ #13806]
85645         * stdio-common/Makefile (tests): Add tst-fphex-wide.
85646         * stdio-common/tst-fphex.c: Define a few macros to make the
85647         test reusable.  Use them.
85648         * stdio-common/tst-fphex-wide.c: New file.
85650 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
85652         [BZ #6911]
85653         * manual/macros.texi (gnusystems): New macro.
85654         (nongnusystems): Likewise.
85655         (gnulinuxhurdsystems): Likewise.
85656         (gnuhurdsystems): Likewise..
85657         (gnulinuxsystems): Likewise.
85658         * manual/charset.texi: Use new macros or @theglibc{} to refer to
85659         variants of the GNU system, not "GNU system".
85660         * manual/conf.texi: Likewise.
85661         * manual/errno.texi: Likewise.  Update example of errno macro
85662         expansion.
85663         * manual/filesys.texi: Likewise.
85664         (getumask): Document as specific to GNU/Hurd.
85665         * manual/install.texi: Likewise.  Reword some references to
85666         GNU/Linux.
85667         * manual/intro.texi: Likewise.
85668         * manual/io.texi: Likewise.
85669         (File Name Portability): Detail which constraints are inapplicable
85670         to all GNU systems and which are only inapplicable to GNU/Hurd.
85671         * manual/job.texi: Likewise.
85672         * manual/llio.texi: Likewise.
85673         (O_NOCTTY): Document as present on GNU/Linux.
85674         * manual/maint.texi: Likewise.
85675         * manual/memory.texi: Likewise.
85676         * manual/pattern.texi: Likewise.
85677         * manual/pipe.texi: Likewise.
85678         * manual/process.texi: Likewise.
85679         * manual/resource.texi: Likewise.
85680         (RUSAGE_CHILDREN): Remove statement about specifying a particular
85681         child on GNU/Hurd.
85682         * manual/setjmp.texi: Likewise.
85683         * manual/signal.texi: Likewise.
85684         * manual/startup.texi: Likewise.
85685         * manual/stdio.texi: Likewise.
85686         * manual/terminal.texi: Likewise.
85687         (ONLCR): Document as POSIX.
85688         (OXTABS): Document availability on GNU/Linux as XTABS.
85689         (ONOEOT): Document availability separately from other bits.
85690         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
85691         * manual/time.texi: Likewise.
85692         * manual/users.texi: Likewise.
85693         * INSTALL: Regenerated.
85694         * sysdeps/gnu/errlist.c: Regenerated.
85696         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
85697         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
85698         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
85699         puts.
85700         * configure: Regenerated.
85702 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
85704         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
85705         default includes instead of AC_HEADER_CHECK.
85706         * sysdeps/i386/configure: Regenerated.
85708         [BZ #10716]
85709         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
85710         * math/s_cacoshf.c (__cacoshf): Likewise.
85711         * math/s_cacoshl.c (__cacoshl): Likewise.
85712         * math/s_casinh.c (__casinh): Set signs of result from argument.
85713         * math/s_casinhf.c (__casinhf): Likewise.
85714         * math/s_casinhl.c (__casinhl): Likewise.
85715         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
85716         (casinh_test): Add more tests.
85717         * sysdeps/i386/fpu/libm-test-ulps: Update.
85718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85720 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
85722         * po/zh_TW.po: Update from translation team.
85724         * login/Makefile (distribute): Remove variable.
85725         * catgets/Makefile: Likewise.
85726         * mach/Makefile: Likewise.
85727         * malloc/Makefile: Likewise.
85728         * misc/Makefile: Likewise.
85729         * iconv/Makefile: Likewise.
85730         * nscd/Makefile: Likewise.
85731         * hurd/Makefile: Likewise.
85732         * manual/Makefile: Likewise.
85733         * locale/Makefile: Likewise.
85734         * intl/Makefile: Likewise.
85735         * conform/Makefile: Likewise.
85736         * nss/Makefile: Likewise.
85737         * time/Makefile: Likewise.
85738         * soft-fp/Makefile: Likewise.
85739         * dirent/Makefile: Likewise.
85740         * gmon/Makefile: Likewise.
85741         * po/Makefile: Likewise.
85742         * rt/Makefile: Likewise.
85743         * socket/Makefile: Likewise.
85744         * math/Makefile: Likewise.
85745         * signal/Makefile: Likewise.
85746         * debug/Makefile: Likewise.
85747         * elf/Makefile: Likewise.
85748         * timezone/Makefile: Likewise.
85749         * stdlib/Makefile: Likewise.
85750         * iconvdata/Makefile: Likewise.
85751         * sunrpc/Makefile: Likewise.
85752         * io/Makefile: Likewise.
85753         * argp/Makefile: Likewise.
85754         * inet/Makefile: Likewise.
85755         * hesiod/Makefile: Likewise.
85756         * grp/Makefile: Likewise.
85757         * csu/Makefile: Likewise.
85758         * wctype/Makefile: Likewise.
85759         * crypt/Makefile: Likewise.
85760         * libio/Makefile: Likewise.
85761         * string/Makefile: Likewise.
85762         * nis/Makefile: Likewise.
85763         * resolv/Makefile: Likewise.
85764         * stdio-common/Makefile: Likewise.
85765         * wcsmbs/Makefile: Likewise.
85766         * dlfcn/Makefile: Likewise.
85767         * posix/Makefile: Likewise.
85769         [BZ #6959]
85770         * timezone/Makefile: Don't install timezone files, just the programs
85771         and scripts.
85773 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
85775         * nss/databases.def: Add missing gshadow entry.
85777         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
85779 2012-03-06  Marek Polacek  <polacek@redhat.com>
85781         [BZ #13726]
85782         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
85783         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
85784         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
85785         * stdio-common/tst-long-dbl-fphex.c: New file.
85787 2012-03-06  David S. Miller  <davem@davemloft.net>
85789         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85790         (set_obp_int): New function.
85791         (get_obp_int): New function.
85792         (__get_clockfreq_via_dev_openprom): Likewise.
85793         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
85794         Avoid unused variable warnings on 'val' and use builtin_expect.
85795         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
85796         __builtin_expect.
85797         (INLINE_CLONE_SYSCALL): Likewise.
85799 2012-03-05  David S. Miller  <davem@davemloft.net>
85801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85803 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
85805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85807         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
85808         only for |x| >= 40.
85809         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85811 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
85813         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
85814         Replace gettimeofday with __vdso_gettimeofday.
85816         * sysdeps/unix/sysv/linux/x86_64/init-first.c
85817         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
85818         __vdso_clock_gettime and __vdso_getcpu.
85820         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
85821         time with __vdso_time.
85823 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
85825         * manual/lang.texi (size_t): Note types to which size_t may be
85826         equivalent with the GNU C Library, but do not describe when
85827         differences between them are significant.
85829 2012-03-05  Andreas Jaeger  <aj@suse.de>
85831         * sysdeps/i386/fpu/libm-test-ulps: Update.
85833 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
85835         [BZ #3976]
85836         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
85837         (__ieee754_pow): Save and restore rounding mode and use
85838         round-to-nearest for main computations.
85839         * math/libm-test.inc (pow_test_tonearest): New function.
85840         (pow_test_towardzero): Likewise.
85841         (pow_test_downward): Likewise.
85842         (pow_test_upward): Likewise.
85843         (main): Call the new functions.
85844         * sysdeps/i386/fpu/libm-test-ulps: Update.
85845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85847         [BZ #3976]
85848         * math/libm-test.inc (cosh_test_tonearest): New function.
85849         (cosh_test_towardzero): Likewise.
85850         (cosh_test_downward): Likewise.
85851         (cosh_test_upward): Likewise.
85852         (sinh_test_tonearest): Likewise.
85853         (sinh_test_towardzero): Likewise.
85854         (sinh_test_downward): Likewise.
85855         (sinh_test_upward): Likewise.
85856         (main): Call the new functions.
85857         * sysdeps/i386/fpu/libm-test-ulps: Update.
85858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85860 2012-03-05  Tom de Vries  <tom@codesourcery.com>
85862         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
85863         default stack guard is set in last bytes.
85864         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
85866 2012-03-05  Kees Cook  <keescook@chromium.org>
85868         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
85870         [BZ #13656]
85871         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
85872         possibly allocate from heap instead of stack.
85873         * stdio-common/bug-vfprintf-nargs.c: New file.
85874         * stdio-common/Makefile (tests): Add nargs overflow test.
85876 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
85878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85880 2012-03-03  Marek Polacek  <polacek@redhat.com>
85882         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
85883         * math/math_private.h: Likewise.
85884         * stdlib/tst-strtod.c: Likewise.
85885         * sysdeps/i386/i486/bits/atomic.h: Likewise.
85886         * sysdeps/x86_64/bits/atomic.h: Likewise.
85888 2012-03-02  David S. Miller  <davem@davemloft.net>
85890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
85891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
85892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
85893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
85894         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
85895         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
85896         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
85897         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
85899 2012-03-02  Roland McGrath  <roland@hack.frob.com>
85901         [BZ #13792]
85902         * manual/examples/README: New file, says the example source files
85903         can be used under GPL>=2.
85904         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
85905         line containing just "*/".
85906         * manual/examples/add.c: Add copyright header (GPL>=2).
85907         * manual/examples/argp-ex1.c: Likewise.
85908         * manual/examples/argp-ex2.c: Likewise.
85909         * manual/examples/argp-ex3.c: Likewise.
85910         * manual/examples/argp-ex4.c: Likewise.
85911         * manual/examples/atexit.c: Likewise.
85912         * manual/examples/db.c: Likewise.
85913         * manual/examples/dir.c: Likewise.
85914         * manual/examples/dir2.c: Likewise.
85915         * manual/examples/execinfo.c: Likewise.
85916         * manual/examples/filecli.c: Likewise.
85917         * manual/examples/filesrv.c: Likewise.
85918         * manual/examples/fmtmsgexpl.c: Likewise.
85919         * manual/examples/genpass.c: Likewise.
85920         * manual/examples/inetcli.c: Likewise.
85921         * manual/examples/inetsrv.c: Likewise.
85922         * manual/examples/isockad.c: Likewise.
85923         * manual/examples/longopt.c: Likewise.
85924         * manual/examples/memopen.c: Likewise.
85925         * manual/examples/memstrm.c: Likewise.
85926         * manual/examples/mkfsock.c: Likewise.
85927         * manual/examples/mkisock.c: Likewise.
85928         * manual/examples/mygetpass.c: Likewise.
85929         * manual/examples/pipe.c: Likewise.
85930         * manual/examples/popen.c: Likewise.
85931         * manual/examples/rprintf.c: Likewise.
85932         * manual/examples/search.c: Likewise.
85933         * manual/examples/select.c: Likewise.
85934         * manual/examples/setjmp.c: Likewise.
85935         * manual/examples/sigh1.c: Likewise.
85936         * manual/examples/sigusr.c: Likewise.
85937         * manual/examples/stpcpy.c: Likewise.
85938         * manual/examples/strdupa.c: Likewise.
85939         * manual/examples/strftim.c: Likewise.
85940         * manual/examples/strncat.c: Likewise.
85941         * manual/examples/subopt.c: Likewise.
85942         * manual/examples/swapcontext.c: Likewise.
85943         * manual/examples/termios.c: Likewise.
85944         * manual/examples/testopt.c: Likewise.
85945         * manual/examples/testpass.c: Likewise.
85946         * manual/examples/timeval_subtract.c: Likewise.
85948         [BZ #13792]
85949         * manual/time.texi (Elapsed Time): Move timeval_subtract example
85950         function to ...
85951         * manual/timeval_subtract.c.texi: ... here, new file.
85953 2012-03-02  David S. Miller  <davem@davemloft.net>
85955         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
85957 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
85959         [BZ #3976]
85960         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
85961         (__sin): Save and restore rounding mode and use round-to-nearest
85962         for all computations.
85963         (__cos): Save and restore rounding mode and use round-to-nearest
85964         for all computations.
85965         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
85966         <fenv.h>.
85967         (tan): Save and restore rounding mode and use round-to-nearest for
85968         all computations.
85969         * math/libm-test.inc (cos_test_tonearest): New function.
85970         (cos_test_towardzero): Likewise.
85971         (cos_test_downward): Likewise.
85972         (cos_test_upward): Likewise.
85973         (sin_test_tonearest): Likewise.
85974         (sin_test_towardzero): Likewise.
85975         (sin_test_downward): Likewise.
85976         (sin_test_upward): Likewise.
85977         (tan_test_tonearest): Likewise.
85978         (tan_test_towardzero): Likewise.
85979         (tan_test_downward): Likewise.
85980         (tan_test_upward): Likewise.
85981         (main): Call the new functions.
85982         * sysdeps/i386/fpu/libm-test-ulps: Update.
85983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85985         [BZ #10135]
85986         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
85987         small n, then large n, before computing and testing k+n.
85988         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
85989         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
85990         Likewise.
85991         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
85992         Likewise.
85993         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
85994         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
85995         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
85996         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
85997         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
85998         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
85999         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
86000         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
86001         * math/libm-test.inc (scalbn_test): Add more tests.
86002         (scalbln_test): Likewise.
86004         * manual/filesys.texi (mode_t): Describe constraints on size and
86005         signedness, not exact equivalence to a particular type.
86006         (ino_t): Likewise.
86007         (ino64_t): Likewise.
86008         (dev_t): Likewise.
86009         (nlink_t): Likewise.
86010         (blkcnt_t): Likewise.
86011         (blkcnt64_t): Likewise.
86012         * manual/llio.texi (off_t): Likewise.
86014         [BZ #3976]
86015         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
86016         (__ieee754_exp): Save and restore rounding mode and use
86017         round-to-nearest for all computations.
86018         * math/libm-test.inc (exp_test_tonearest): New function.
86019         (exp_test_towardzero): Likewise.
86020         (exp_test_downward): Likewise.
86021         (exp_test_upward): Likewise.
86022         (main): Call the new functions.
86023         * sysdeps/i386/fpu/libm-test-ulps: Update.
86024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86026 2012-03-01  Chris Demetriou  <cgd@google.com>
86028         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
86029         have predictable order.
86031 2012-03-01  David S. Miller  <davem@davemloft.net>
86033         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
86035         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
86036         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
86037         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
86038         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
86040         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
86041         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
86042         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
86043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
86044         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
86045         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
86046         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
86047         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
86048         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
86050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86052         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
86053         * sysdeps/sparc/fpu/libm-test-ulps: to here.
86054         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
86056         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
86057         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86058         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86059         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
86060         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
86061         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
86062         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
86063         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86064         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86065         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
86066         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
86067         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86068         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
86069         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86070         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86071         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86072         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
86073         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
86074         * sysdeps/sparc/elf/configure: Regenerated.
86076 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
86078         * configure.in (AS, LD): Require binutils 2.20 or later.
86079         * configure: Regenerated.
86080         * manual/install.texi (Tools for Compilation): Give binutils 2.20
86081         as required minimum version.
86082         * INSTALL: Regenerated.
86084         [BZ #2541]
86085         [BZ #4108]
86086         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
86087         before squaring exponent.
86088         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
86089         bottom long double and 27 bits of top long double before squaring
86090         exponent.
86091         * math/libm-test.inc (erfc_test): Add more tests.
86092         * sysdeps/i386/fpu/libm-test-ulps: Update.
86093         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86096 2012-03-01  Kai Tietz  <ktietz@redhat.com>
86098         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
86099         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
86100         containing bit-fields.
86101         * soft-fp/extended.h (_FP_UNION_E): Likewise.
86102         * soft-fp/single.h (_FP_UNION_S): Likewise.
86103         * soft-fp/double.h (_FP_UNION_D): Likewise.
86105 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
86107         [BZ #13786]
86108         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
86109         not include ../strcmp.S.
86110         [USE_AS_STRNCASECMP_L]: Likewise.
86111         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
86112         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
86113         * sysdeps/i386/i686/multiarch/strncase_l-c.c
86114         (__strncasecmp_l_ia32): Define as alias to
86115         __strncasecmp_l_nonascii.
86117         [BZ #5794]
86118         * math/libm-test.inc (expm1_test): Add test for bug 5794.
86119         * sysdeps/i386/fpu/libm-test-ulps: Update.
86120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86122         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
86123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86125 2012-02-29  Jeff Law  <law@redhat.com>
86127         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
86128         out of bounds read.
86130 2012-02-29  Marek Polacek  <polacek@redhat.com>
86132         [BZ #13706]
86133         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
86134         * elf/Makefile: Add rules to run tst-unused-dep.out.
86136 2012-02-28  David S. Miller  <davem@davemloft.net>
86138         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
86139         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
86140         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
86141         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
86142         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
86143         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
86145 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
86147         * math/libm-test.inc (llround_test): Move one test from
86148         lround_test.  Use TEST_f_L in moved test.
86149         (lround_test): Move misplaced test to llround_test.  Add testcase
86150         from bug 2561.
86152 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
86154         * sysdeps/x86_64/fpu/e_expf.S: New file.
86155         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
86157 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
86159         [BZ #13637]
86160         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
86161         of remain_len that may cause incomplete multi-byte character and
86162         false match.
86163         * posix/bug-regex33.c: New file.
86164         * posix/Makefile (tests): Add bug-regex33.
86166 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
86168         * manual/macros.texi: New file.
86169         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
86170         * manual/libc.texinfo: Include macros.texi.
86171         * manual/creatute.texi: Likewise.
86172         * manual/install.texi: Likewise.
86173         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
86174         @glibcadj{} in references to the GNU C Library.
86175         * manual/charset.texi: Likewise.
86176         * manual/conf.texi: Likewise.
86177         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
86178         when not using those macros.
86179         * manual/creature.texi: Likewise.
86180         * manual/crypt.texi: Likewise.
86181         * manual/errno.texi: Likewise.
86182         * manual/filesys.texi: Likewise.
86183         * manual/header.texi: Likewise.
86184         * manual/install.texi: Likewise.
86185         * manual/intro.texi: Likewise.
86186         * manual/io.texi: Likewise.
86187         * manual/job.texi: Likewise.
86188         * manual/lang.texi: Likewise.
86189         * manual/libc.texiinfo: Likewise.
86190         * manual/llio.texi: Likewise.
86191         * manual/locale.texi: Likewise.
86192         * manual/maint.texi: Likewise.
86193         * manual/math.texi: Likewise.
86194         * manual/memory.texi: Likewise.
86195         * manual/message.texi: Likewise.
86196         * manual/nss.texi: Likewise.
86197         * manual/pattern.texi: Likewise.
86198         * manual/process.texi: Likewise.
86199         * manual/resource.texi: Likewise.
86200         * manual/search.texi: Likewise.
86201         * manual/setjmp.texi: Likewise.
86202         * manual/signal.texi: Likewise.
86203         * manual/socket.texi: Likewise.
86204         * manual/startup.texi: Likewise.
86205         * manual/stdio.texi: Likewise.
86206         * manual/string.texi: Likewise.
86207         * manual/sysinfo.texi: Likewise.
86208         * manual/syslog.texi: Likewise.
86209         * manual/terminal.texi: Likewise.
86210         * manual/time.texi: Likewise.
86211         * manual/users.texi: Likewise.
86212         * INSTALL: Regenerated.
86213         * NOTES: Regenerated.
86214         * sysdeps/gnu/errlist.c: Regenerated.
86216 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
86218         * include/dirent.h: Include <dirstream.h> before
86219         <dirent/dirent.h>.
86221 2012-02-28  David S. Miller  <davem@davemloft.net>
86223         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
86224         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
86225         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
86226         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
86228 2012-02-27  David S. Miller  <davem@davemloft.net>
86230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
86231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
86232         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
86233         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
86235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
86236         frame pointer instead of stack pointer relative arg slot.
86237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
86238         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
86239         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
86241 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
86243         [BZ #3992]
86244         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
86246 2012-02-27  David S. Miller  <davem@davemloft.net>
86248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
86249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
86250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
86251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
86252         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
86253         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
86254         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
86255         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
86257 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
86259         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
86260         later.  Allow versions 5-9.
86261         * configure: Regenerated.
86262         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
86263         required minimum version and 4.6 as recommended version.  Do not
86264         mention bugs in GCC 2.7 and 2.8.
86265         * INSTALL: Regenerated.
86267 2012-02-27  David S. Miller  <davem@davemloft.net>
86269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
86270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
86271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
86272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
86273         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
86274         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
86275         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
86276         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
86278         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
86279         manipulate bits before adding and subtracting TWO112[sx].
86280         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
86282 2012-02-27  Roland McGrath  <roland@hack.frob.com>
86284         [BZ #13775]
86285         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
86286         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
86287         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
86288         being in POSIX, because they are in 1003.1-2008.
86290         * rt/tst-aio.c: Include <fcntl.h>.
86291         * rt/tst-aio7.c: Likewise.
86292         * rt/tst-aio64.c: Likewise.
86294         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
86296 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
86298         * manual/install.texi (--with-headers): Describe headers as
86299         interface headers, not private headers.
86300         (Specific advice for GNU/Linux systems): Describe use of headers
86301         from "make headers_install", not private headers from older
86302         kernels.
86303         * INSTALL: Regenerated.
86304         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
86305         Change to 2.6.19.
86306         * sysdeps/unix/sysv/linux/configure: Regenerated.
86308         * manual/llio.texi (fclean): Remove documentation.
86310         * manual/Makefile (libc-texi-generated): New variable.  Include
86311         version.texi.
86312         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
86313         $(libc-texi-generated), not duplicated list of files.
86314         (version.texi, stamp-version): New rules.
86315         (realclean): Remove $(libc-texi-generated), not individual files
86316         from that list.  Do not remove dir-add.texinfo.
86317         * manual/libc.texinfo: Comment out uses of edition numbers and
86318         references to printed manual.  Remove last-updated dates.
86319         (EDITION): Comment out.
86320         (ISBN): Likewise.
86321         (VERSION, UPDATED): Remove.
86322         (version.texi): Include.
86324 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
86326         * sysdeps/posix/spawni.c: Include <signal.h>.
86327         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
86328         * sysdeps/pthread/aio_fsync.c: Likewise.
86330 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
86332         * conform/Makefile (tests): Run only when not cross-compiling and
86333         when fast-check is not defined.
86335         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
86336         * conform/data/limits.h-data: Fixes for POSIX2008.
86337         * conform/run-conformtest.sh: Run all tests.
86338         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
86339         headers.
86340         * include/bits/dlfcn.h: Likewise.
86341         * include/langinfo.h: Likewise.
86342         * include/monetary.h: Likewise.
86343         * include/sys/poll.h: Likewise.
86345         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
86346         for __USE_GNU.
86347         * posix/spawn.h: Define __need_sigset_t.
86348         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
86349         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
86350         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
86351         to get sigevent_t only.
86352         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
86353         only for __USE_GNU.
86354         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86355         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86356         process_vm_writev only for __USE_GNU.
86357         * termios/termios.h: Declare tcgetsid also for POSIX2008.
86359         * conform/Makefile: For now ignore errors from run-conformtest.
86360         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
86361         POSIX to avoid namespace pollution.  Don't prepend headers.
86362         * conform/data/aio.h-data: Fixes for POSIX testing.
86363         * conform/data/fcntl.h-data: Likewise.
86364         * conform/data/glob.h-data: Likewise.
86365         * conform/data/grp.h-data: Likewise.
86366         * conform/data/pthread.h-data: Likewise.
86367         * conform/data/pwd.h-data: Likewise.
86368         * conform/data/signal.h-data: Likewise.
86369         * conform/data/spawn.h-data: Likewise.
86370         * conform/data/stdio.h-data: Likewise.
86371         * conform/data/stdlib.h-data: Likewise.
86372         * conform/data/stropts.h-data: Likewise.
86373         * conform/data/sys/mman.h-data: Likewise.
86374         * conform/data/sys/stat.h-data: Likewise.
86375         * conform/data/sys/types.h-data: Likewise.
86376         * conform/data/sys/wait.h-data: Likewise.
86377         * conform/data/time.h-data: Likewise.
86378         * conform/data/unistd.h-data: Likewise.
86379         * conform/data/utime.h-data: Likewise.
86381         * io/sys/stat.h: fchmod was always in POSIX.
86382         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
86383         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
86384         * rt/aio.h: Define __need_timespec before including <time.h>.
86385         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
86386         struct.  Add forward declaration of pthread_attr_t and use it in
86387         sigevent.
86388         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86389         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86390         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
86391         always remove CLK_TCK definition.
86393 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
86395         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
86397 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
86399         * conform/run-conformtest.sh: New file.
86400         * conform/Makefile: Run run-conformtest for tests.
86401         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
86402         support.
86404         * conform/data/uchar.h-data: New file.
86405         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
86406         * conform/data/arpa/inet.h-data: Likewise.
86407         * conform/data/assert.h-data: Likewise.
86408         * conform/data/complex.h-data: Likewise.
86409         * conform/data/cpio.h-data: Likewise.
86410         * conform/data/ctype.h-data: Likewise.
86411         * conform/data/dirent.h-data: Likewise.
86412         * conform/data/dlfcn.h-data: Likewise.
86413         * conform/data/errno.h-data: Likewise.
86414         * conform/data/fcntl.h-data: Likewise.
86415         * conform/data/float.h-data: Likewise.
86416         * conform/data/fmtmsg.h-data: Likewise.
86417         * conform/data/fnmatch.h-data: Likewise.
86418         * conform/data/ftw.h-data: Likewise.
86419         * conform/data/glob.h-data: Likewise.
86420         * conform/data/grp.h-data: Likewise.
86421         * conform/data/iconv.h-data: Likewise.
86422         * conform/data/inttypes.h-data: Likewise.
86423         * conform/data/langinfo.h-data: Likewise.
86424         * conform/data/libgen.h-data: Likewise.
86425         * conform/data/limits.h-data: Likewise.
86426         * conform/data/locale.h-data: Likewise.
86427         * conform/data/math.h-data: Likewise.
86428         * conform/data/monetary.h-data: Likewise.
86429         * conform/data/mqueue.h-data: Likewise.
86430         * conform/data/ndbm.h-data: Likewise.
86431         * conform/data/net/if.h-data: Likewise.
86432         * conform/data/netdb.h-data: Likewise.
86433         * conform/data/netinet/in.h-data: Likewise.
86434         * conform/data/nl_types.h-data: Likewise.
86435         * conform/data/poll.h-data: Likewise.
86436         * conform/data/pthread.h-data: Likewise.
86437         * conform/data/pwd.h-data: Likewise.
86438         * conform/data/regex.h-data: Likewise.
86439         * conform/data/sched.h-data: Likewise.
86440         * conform/data/search.h-data: Likewise.
86441         * conform/data/semaphore.h-data: Likewise.
86442         * conform/data/setjmp.h-data: Likewise.
86443         * conform/data/signal.h-data: Likewise.
86444         * conform/data/spawn.h-data: Likewise.
86445         * conform/data/stdarg.h-data: Likewise.
86446         * conform/data/stdio.h-data: Likewise.
86447         * conform/data/stdlib.h-data: Likewise.
86448         * conform/data/string.h-data: Likewise.
86449         * conform/data/strings.h-data: Likewise.
86450         * conform/data/stropts.h-data: Likewise.
86451         * conform/data/sys/ipc.h-data: Likewise.
86452         * conform/data/sys/mman.h-data: Likewise.
86453         * conform/data/sys/msg.h-data: Likewise.
86454         * conform/data/sys/resource.h-data: Likewise.
86455         * conform/data/sys/select.h-data: Likewise.
86456         * conform/data/sys/sem.h-data: Likewise.
86457         * conform/data/sys/shm.h-data: Likewise.
86458         * conform/data/sys/socket.h-data: Likewise.
86459         * conform/data/sys/stat.h-data: Likewise.
86460         * conform/data/sys/statvfs.h-data: Likewise.
86461         * conform/data/sys/time.h-data: Likewise.
86462         * conform/data/sys/timeb.h-data: Likewise.
86463         * conform/data/sys/times.h-data: Likewise.
86464         * conform/data/sys/types.h-data: Likewise.
86465         * conform/data/sys/uio.h-data: Likewise.
86466         * conform/data/sys/un.h-data: Likewise.
86467         * conform/data/sys/utsname.h-data: Likewise.
86468         * conform/data/sys/wait.h-data: Likewise.
86469         * conform/data/syslog.h-data: Likewise.
86470         * conform/data/tar.h-data: Likewise.
86471         * conform/data/termios.h-data: Likewise.
86472         * conform/data/utime.h-data: Likewise.
86473         * conform/data/utmpx.h-data: Likewise.
86474         * conform/data/varargs.h-data: Likewise.
86475         * conform/data/wchar.h-data: Likewise.
86476         * conform/data/wctype.h-data: Likewise.
86477         * conform/data/wordexp.h-data: Likewise.
86479         * include/stropts.h: New file.
86480         * include/uchar.h: New file.
86481         * include/aio.h: Changes to allow conformtest.pl to use the headers.
86482         * include/assert.h: Likewise.
86483         * include/ctype.h: Likewise.
86484         * include/dirent.h: Likewise.
86485         * include/dlfcn.h: Likewise.
86486         * include/fcntl.h: Likewise.
86487         * include/fnmatch.h: Likewise.
86488         * include/glob.h: Likewise.
86489         * include/grp.h: Likewise.
86490         * include/libio.h: Likewise.
86491         * include/locale.h: Likewise.
86492         * include/math.h: Likewise.
86493         * include/net/if.h: Likewise.
86494         * include/netdb.h: Likewise.
86495         * include/netinet/in.h: Likewise.
86496         * include/pthread.h: Likewise.
86497         * include/pwd.h: Likewise.
86498         * include/regex.h: Likewise.
86499         * include/sched.h: Likewise.
86500         * include/search.h: Likewise.
86501         * include/setjmp.h: Likewise.
86502         * include/signal.h: Likewise.
86503         * include/stdio.h: Likewise.
86504         * include/stdlib.h: Likewise.
86505         * include/string.h: Likewise.
86506         * include/sys/cdefs.h: Likewise.
86507         * include/sys/mman.h: Likewise.
86508         * include/sys/msg.h: Likewise.
86509         * include/sys/resource.h: Likewise.
86510         * include/sys/select.h: Likewise.
86511         * include/sys/socket.h: Likewise.
86512         * include/sys/stat.h: Likewise.
86513         * include/sys/statvfs.h: Likewise.
86514         * include/sys/time.h: Likewise.
86515         * include/sys/times.h: Likewise.
86516         * include/sys/uio.h: Likewise.
86517         * include/sys/utsname.h: Likewise.
86518         * include/sys/wait.h: Likewise.
86519         * include/termios.h: Likewise.
86520         * include/time.h: Likewise.
86521         * include/ulimit.h: Likewise.
86522         * include/unistd.h: Likewise.
86523         * include/utime.h: Likewise.
86524         * include/wchar.h: Likewise.
86525         * include/wctype.h: Likewise.
86526         * include/wordexp.h: Likewise.
86528         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
86530         * time/time.h: TIME_UTC must be a macro.
86531         Make timespec_get available for ISO C11 only as well.
86533 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
86535         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
86536         Reported by Peng Haitao <penght@cn.fujitsu.com>.
86538 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86540         * configure.in: Use -o not -a in test for unsupported multi-arch.
86542 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86544         * manual/texinfo.tex: Update to version 2012-01-19.16.
86546 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86548         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
86550 2012-02-24  Roland McGrath  <roland@hack.frob.com>
86552         [BZ #13738]
86553         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
86554         * manual/fdl-1.3.texi: New file.
86555         * manual/fdl-1.1.texi: File removed.
86557         [BZ #13738]
86558         * manual/libc.texinfo (FDL_VERSION): New @set.
86559         Use it for mention of FDL in cover text.
86560         (Documentation License): Use it in @include file name.
86562 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86563             Roland McGrath  <roland@hack.frob.com>
86565         [BZ #5461]
86566         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
86567         (not LONG_LONG_MAX and LONG_LONG_MIN.
86568         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
86569         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
86570         name.
86571         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
86573 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86575         [BZ #2547]
86576         [BZ #11365]
86577         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
86578         manipulate bits before adding and subtracting TWO23[sx].
86579         * math/libm-test.inc (nearbyint_test): Add more tests.
86581 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86583         [BZ #2548]
86584         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
86585         bits before adding and subtracting TWO23[sx].
86586         * math/libm-test.inc (rint_test): Add more tests.
86587         (rint_test_tonearest): Likewise.
86588         (rint_test_towardzero): Likewise.
86589         (rint_test_downward): Likewise.
86590         (rint_test_upward: Likewise.
86592 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86594         [BZ #10110]
86595         * include/stdc-predef.h: New file.  Extracted from features.h.
86596         * include/features.h: Include stdc-predef.h.
86597         * Makefile (headers): Add stdc-predef.h.
86598         * CONFORMANCE (Compiler limitations): Update.
86600 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86602         * manual/libc.texinfo (VERSION, UPDATED): Revert.
86604 2012-02-21  David S. Miller  <davem@davemloft.net>
86606         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
86607         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86609 2012-02-20  David S. Miller  <davem@davemloft.net>
86611         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
86612         using a normal save/restore sequence, rather than allocating a
86613         dummy stack frame just to store a frame pointer and restore.
86614         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86616 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86618         * manual/install.texi: Fix stray word in line-wrapped comment.
86620 2012-02-20  David S. Miller  <davem@davemloft.net>
86622         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
86623         both binutils and gcc support GOTDATA.
86625         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
86626         "rd %pc" in the PIC register setup sequences.
86628         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
86629         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
86630         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86631         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
86632         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86633         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
86634         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86635         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86636         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
86637         (SYSCALL_ERROR_HANDLER): Likewise.
86638         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86639         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86640         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
86641         (SYSCALL_ERROR_HANDLER): Likewise.
86643         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
86644         (HAVE_GCC_GOTDATA): New.
86645         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
86646         relocation support in both binutils and gcc.
86647         * sysdeps/sparc/elf/configure: Regenerate.
86649         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
86650         * sysdeps/sparc/sparc32/elf/configure: Delete.
86651         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
86652         * sysdeps/sparc/sparc64/elf/configure: Delete.
86653         * sysdeps/sparc/elf/configure.in: New file.
86654         * sysdeps/sparc/elf/configure: Generate.
86656         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
86657         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
86658         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
86659         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
86660         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
86662 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86664         * manual/install.texi: Do not mention specific glibc version
86665         numbers.
86666         * manual/libc.texinfo (VERSION, UPDATED): Update.
86667         (@copying): Use @copyright{} and range of years.
86669 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86671         [BZ #13695]
86672         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
86673         [crti.S not in sysdirs] (generated): Do not append.
86674         [crti.S not in sysdirs] (omit-deps): Likewise.
86675         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
86676         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
86677         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
86678         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
86679         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
86680         Likewise.
86681         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
86682         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
86683         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
86684         * csu/defs.awk: Remove file.
86685         * sysdeps/generic/initfini.c: Likewise.
86686         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
86687         variable.
86688         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
86689         Likewise.
86691 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86693         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
86694         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
86695         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
86696         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
86697         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86698         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
86699         <bits/epoll.h>.
86700         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
86701         (__EPOLL_PACKED): Define to empty if not defined by
86702         <bits/epoll.h>.
86703         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
86704         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86705         bits/epoll.h.
86707 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86709         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
86710         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
86711         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
86712         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
86713         <bits/timerfd.h>.
86714         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
86715         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86716         bits/timerfd.h.
86718 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86720         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
86721         in C locale.
86722         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86723         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
86724         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
86725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86727 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
86729         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86730         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86732 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
86734         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
86735         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
86736         defined.
86737         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
86738         Likewise.
86739         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
86740         entry for 2.16.
86742 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
86744         * math/w_acos.c: Use non-signaling floating-point comparisons.
86745         * math/w_acosf.c: Likewise.
86746         * math/w_acosh.c: Likewise.
86747         * math/w_acoshf.c: Likewise.
86748         * math/w_acoshl.c: Likewise.
86749         * math/w_acosl.c: Likewise.
86750         * math/w_asin.c: Likewise.
86751         * math/w_asinf.c: Likewise.
86752         * math/w_asinl.c: Likewise.
86753         * math/w_atanh.c: Likewise.
86754         * math/w_atanhf.c: Likewise.
86755         * math/w_atanhl.c: Likewise.
86756         * math/w_exp2.c: Likewise.
86757         * math/w_exp2f.c: Likewise.
86758         * math/w_exp2l.c: Likewise.
86759         * math/w_j0.c: Likewise.
86760         * math/w_j0f.c: Likewise.
86761         * math/w_j0l.c: Likewise.
86762         * math/w_j1.c: Likewise.
86763         * math/w_j1f.c: Likewise.
86764         * math/w_j1l.c: Likewise.
86765         * math/w_jn.c: Likewise.
86766         * math/w_jnf.c: Likewise.
86767         * math/w_log.c: Likewise.
86768         * math/w_log10.c: Likewise.
86769         * math/w_log10f.c: Likewise.
86770         * math/w_log10l.c: Likewise.
86771         * math/w_log2.c: Likewise.
86772         * math/w_log2f.c: Likewise.
86773         * math/w_log2l.c: Likewise.
86774         * math/w_logf.c: Likewise.
86775         * math/w_logl.c: Likewise.
86776         * math/w_sqrt.c: Likewise.
86777         * math/w_sqrtf.c: Likewise.
86778         * math/w_sqrtl.c: Likewise.
86779         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86780         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
86781         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86782         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
86783         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86785 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86787         [BZ #9739]
86788         * manual/string.texi (strnlen): Use correct parameter name in
86789         equivalent expression.
86791 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86793         [BZ #11174]
86794         * manual/users.texi (seteuid): Consistently use neweuid for
86795         argument name.
86797 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86799         [BZ #13704]
86800         * manual/nss.texi (Services in the NSS configuration): Correct
86801         list of services in example configuration file.
86803 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
86805         [BZ #11322]
86806         * manual/arith.texi: Remove statements about negative zero
86807         behaving identically to zero.
86809 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
86811         [BZ #5993]
86812         * manual/install.texi: Do not document upgrading from libc5.
86814 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
86816         [BZ #4596]
86817         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
86819 2012-02-18  David S. Miller  <davem@davemloft.net>
86821         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
86822         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
86823         %o7 across the call.
86824         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
86825         instead.
86826         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
86827         SETUP_PIC_REG_LEAF.
86828         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86829         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
86830         * sysdeps/sparc/crtn.S: Likewise.
86832 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
86834         * aout/Makefile: Remove.
86836 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
86838         [BZ #13058]
86839         * manual/examples/argp-ex1.c (main): Format definition in GNU
86840         style.
86841         * manual/examples/argp-ex2.c (main): Likewise.
86842         * manual/examples/argp-ex3.c (main): Likewise.
86843         * manual/examples/argp-ex4.c (main): Likewise.
86844         * manual/examples/longopt.c (main): Use new-style prototype
86845         definition.
86846         * manual/examples/strncat.c (main): Specify return type and use
86847         (void) for arguments.
86848         * manual/examples/subopt.c (main): Use char **argv argument.
86850 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86852         [BZ #5077]
86853         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
86854         rounding modes.
86856 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
86858         [BZ #6907]
86859         * manual/string.texi (strchr): Change when strchrnul is
86860         recommended.
86862 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
86864         [BZ #174]
86865         * manual/locale.texi (setlocale): Document LOCPATH.
86867 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86869         [BZ #10210]
86870         * manual/process.texi (execle): Move @dots{} before last argument.
86872 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
86874         [BZ #12047]
86875         * manual/charset.texi (Generic Charset Conversion): Fix typo
86876         (LC_TYPE -> LC_CTYPE).
86878 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
86880         [BZ #5805]
86881         * manual/arith.texi (scalbn): Use @var{} on parameter names.
86882         (scalbnf): Likewise.
86883         (scalbnl): Likewise.
86884         (scalbln): Likewise.
86885         (scalblnf): Likewise.
86886         (scalblnl): Likewise.
86887         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
86888         (vwarnx): Likewise.
86889         (verr): Likewise.
86890         (verrx): Likewise.
86891         * manual/filesys.texi (telldir): Use braces around return type.
86892         * manual/llio.texi (mmap): Add space after comma.
86893         (mmap64): Likewise.
86894         * manual/math.texi (jn): Use @var{} on parameter names.
86895         (jnf): Likewise.
86896         (jnl): Likewise.
86897         (yn): Likewise.
86898         (ynf): Likewise.
86899         (ynl): Likewise.
86900         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
86901         line.
86902         * manual/resource.texi (ulimit): Use @dots{} instead of literal
86903         "...".
86904         (sched_get_priority_min): Remove semicolon on @deftypefun line.
86905         (sched_get_priority_max): Likewise.
86906         * manual/signal.texi (sigvec): Add space after comma.
86907         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
86908         names.
86909         (if_indextoname): Likewise.
86910         (if_freenameindex): Likewise.
86911         (sendto): Use ',' instead of '.' in prototype.
86912         * manual/startup.texi (syscall): Use @dots{} instead of literal
86913         "...".
86914         * manual/stdio.texi (__fpending): Separate initial words of
86915         paragraph from @deftypefun line.
86916         * manual/syslog.texi (syslog): Use @dots{} instead of literal
86917         "...".
86918         (vsyslog): Use @var{} on parameter names.
86919         * manual/terminal.texi (stty): Use @var{} on parameter names.
86920         * manual/users.texi (getutmp): Use @var{} on parameter names.
86921         (getutmpx): Likewise.
86923 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86925         [BZ #6884]
86926         * manual/stdio.texi (fopen): Fix typos in description of
86927         ",ccs=STRING".
86929 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
86931         [BZ #4026]
86932         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
86933         get clock_id definition.
86935 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
86937         [BZ #4822]
86938         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
86939         (madvise): Cast every argument to void on its own.
86941 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86943         [BZ #9902]
86944         * manual/startup.texi (Exit Status): Fix typo.
86946 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86948         [BZ #10140]
86949         * manual/examples/argp-ex1.c: Include <stdlib.h>.
86950         * manual/examples/argp-ex2.c: Likewise.
86951         * manual/examples/argp-ex3.c: Likewise.
86953 2012-02-16  Richard Henderson  <rth@redhat.com>
86955         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
86956         * sysdeps/s390/s390-32/initfini.c: Remove.
86957         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
86958         * sysdeps/s390/s390-64/initfini.c: Remove.
86960 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
86962         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
86963         compiler output for sysdeps/generic/initfini.c.
86964         * sysdeps/sh/elf/initfini.c: Remove file.
86966 2012-02-16  David S. Miller  <davem@davemloft.net>
86968         [BZ #11494]
86969         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
86971         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
86972         * sysdeps/sparc/crti.S: New file.
86973         * sysdeps/sparc/crtn.S: New file.
86974         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
86975         * sysdeps/sparc/sparc64/Makefile: Likewise.
86977 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
86979         [BZ #3335]
86980         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
86982 2012-02-15  Roland McGrath  <roland@hack.frob.com>
86984         [BZ #4822]
86985         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
86987         * mach/devstream.c (cookie_io_functions_t): Macro removed.
86988         (write, read, close): Likewise.
86989         Patch by Aurelien Jarno <aurelien@aurel32.net>.
86991 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
86993         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
86994         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
86995         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
86996         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
86997         <bits/signalfd.h>.
86998         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
86999         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87000         bits/signalfd.h.
87002 2012-02-14  Marek Polacek  <polacek@redhat.com>
87004         * sysdeps/x86_64/crti.S: New file.
87005         * sysdeps/x86_64/crtn.S: New file.
87006         * sysdeps/x86_64/elf/initfini.c: Remove file.
87008 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
87010         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
87011         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
87012         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
87013         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
87014         <bits/inotify.h>.
87015         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
87016         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87017         bits/inotify.h.
87019 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
87021         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
87022         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
87023         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
87024         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
87025         <bits/eventfd.h>.
87026         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
87027         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87028         bits/eventfd.h.
87030 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
87032         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
87033         __feraiseexcept instead of feraiseexcept.
87035         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
87036         nanosleep invocations.
87037         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
87038         strings, and add error checking for a nanosleep invocations.
87040 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
87042         Replace FSF snail mail address with URLs, as per GNU coding standards.
87043         Most of the snail mail addresses were wrong anyway, and omitting
87044         them makes the source code easier to maintain.  Almost all of the
87045         changes are to license notices and to locale LC_IDENTIFICATION
87046         addresses, except for this one:
87047         * manual/libc.texinfo: In "Published by", give the FSF's URL,
87048         not its snail mail address.
87050 2012-02-09  Richard Henderson  <rth@twiddle.net>
87052         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
87053         of kernel-features.h.
87055         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
87057 2012-02-08  Marek Polacek  <polacek@redhat.com>
87059         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
87060         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
87061         * sysdeps/gnu/_G_config.h: Likewise.
87062         * sysdeps/generic/_G_config.h: Likewise.
87064 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
87066         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
87067         tests.
87068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87070         * sysdeps/powerpc/powerpc32/crti.S: New file.
87071         * sysdeps/powerpc/powerpc32/crtn.S: New file.
87072         * sysdeps/powerpc/powerpc64/crti.S: New file.
87073         * sysdeps/powerpc/powerpc64/crtn.S: New file.
87075         * Makeconfig (have-initfini): Don't set.
87076         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
87077         * configure.in (nopic_initfini): Don't substitute.
87078         * config.h.in (HAVE_INITFINI): Don't #undef.
87079         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
87080         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
87082 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
87084         Support crti.S and crtn.S provided directly by architectures.
87085         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
87086         [crti.S in sysdirs] (omit-deps): Likewise.
87087         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
87088         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
87089         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
87090         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
87091         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
87092         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
87093         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
87094         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
87095         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
87096         compiler output for sysdeps/generic/initfini.c.
87097         * sysdeps/i386/elf/Makefile: Remove file.
87098         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
87100 2012-02-07  Marek Polacek  <polacek@redhat.com>
87102         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
87103         * sysdeps/gnu/_G_config.h: Likewise.
87104         * sysdeps/mach/hurd/_G_config.h: Likewise.
87106 2012-02-07  Marek Polacek  <polacek@redhat.com>
87108         * math/Makefile (tests): Add tst-CMPLX2.
87109         * math/tst-CMPLX2.c: New file.
87111 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
87113         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87115         * math/libm-test.inc (jn_test): Add missing L suffix.
87117 2012-02-06  Marek Polacek  <polacek@redhat.com>
87119         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
87120         * sysdeps/i386/fpu/e_powf.S: Likewise.
87121         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
87122         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
87123         * sysdeps/i386/fpu/e_acosh.S: Likewise.
87124         * sysdeps/i386/fpu/e_pow.S: Likewise.
87125         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
87126         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
87127         * sysdeps/i386/fpu/s_expm1.S: Likewise.
87128         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
87129         * sysdeps/i386/fpu/e_log2.S: Likewise.
87130         * sysdeps/i386/fpu/e_log2l.S: Likewise.
87131         * sysdeps/i386/fpu/e_scalb.S: Likewise.
87132         * sysdeps/i386/fpu/e_powl.S: Likewise.
87133         * sysdeps/i386/fpu/s_log1p.S: Likewise.
87134         * sysdeps/i386/fpu/e_log10f.S: Likewise.
87135         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
87136         * sysdeps/i386/fpu/e_logl.S: Likewise.
87137         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
87138         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
87139         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
87140         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
87141         * sysdeps/i386/fpu/e_log2f.S: Likewise.
87142         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
87143         * sysdeps/i386/fpu/e_log.S: Likewise.
87144         * sysdeps/i386/fpu/s_cexp.S: Likewise.
87145         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
87146         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
87147         * sysdeps/i386/fpu/e_logf.S: Likewise.
87148         * sysdeps/i386/fpu/e_log10l.S: Likewise.
87149         * sysdeps/i386/fpu/e_atanh.S: Likewise.
87150         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
87151         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
87152         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
87153         * sysdeps/i386/fpu/e_log10.S: Likewise.
87154         * sysdeps/i386/fpu/s_frexp.S: Likewise.
87155         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
87156         * sysdeps/i386/fpu/s_asinh.S: Likewise.
87157         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
87158         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
87159         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
87160         * sysdeps/i386/asm-syntax.h: Likewise.
87161         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
87162         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
87163         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
87164         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
87165         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
87166         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
87167         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
87168         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
87169         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
87170         * sysdeps/powerpc/sysdep.h: Likewise.
87171         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
87172         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
87174 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
87176         [BZ #411]
87177         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
87179 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
87181         * sysdeps/i386/sysdep.h: Include <features.h>.
87182         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
87183         version.
87185 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
87187         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
87188         Define.
87189         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
87190         LOAD_PIC_REG_STR.
87192 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87194         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
87195         (SETUP_PIC_REG): Use GET_PC_THUNK.
87196         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
87197         macro.
87199 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87201         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
87202         for non-PIC compilation.
87203         (SETUP_PIC_REG): Add .p2align directive.
87204         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
87205         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
87206         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
87207         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
87208         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
87209         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
87210         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
87211         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
87212         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
87213         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
87214         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
87215         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
87216         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
87217         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
87218         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
87219         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
87220         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
87221         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
87222         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
87223         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
87224         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
87225         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
87226         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
87227         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
87228         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
87229         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
87230         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
87231         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
87232         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
87233         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
87234         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
87235         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
87236         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
87237         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
87238         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
87239         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
87240         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
87241         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
87242         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
87243         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
87244         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
87246 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87248         * math/tst-CMPLX.c: Include <stdio.h>.
87250 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
87252         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
87253         float.
87254         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
87255         * sysdeps/sparc/bits/mathdef.h: Likewise.
87257 2012-01-31  Marek Polacek  <polacek@redhat.com>
87259         * libio/libio.h: Don't define _PARAMS.
87260         * locale/programs/config.h: Don't define PARAMS.
87261         * stdlib/strtol_l.c: Likewise.
87262         (__strtol_l): Remove PARAMS from the prototype.
87264 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
87266         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
87267         names.  Just use the correct names.  Remove unnecessary wrapper
87268         functions.
87269         * malloc/arena.c: Likewise.
87270         * malloc/hooks.c: Likewise.
87272         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
87273         ARENA_TEST says not to.  Simplify test for creation of a new arena.
87274         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
87276 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
87278         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
87279         into tail calls.
87280         (update_get_addr): New function.
87281         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
87282         GET_ADDR_MODULE parameter.
87284 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
87286         * crypt/cert.c: Remove __STDC__ conditionals.
87287         * crypt/crypt-entry.c: Likewise.
87288         * crypt/crypt_util.c: Likewise.
87289         * libio/filedoalloc.c: Likewise.
87290         * libio/fileops.c: Likewise.
87291         * libio/genops.c: Likewise.
87292         * libio/iofclose.c: Likewise.
87293         * libio/iofdopen.c: Likewise.
87294         * libio/iofopen.c: Likewise.
87295         * libio/iofopen64.c: Likewise.
87296         * libio/iogetdelim.c: Likewise.
87297         * libio/iopopen.c: Likewise.
87298         * libio/obprintf.c: Likewise.
87299         * libio/oldfileops.c: Likewise.
87300         * libio/oldiofclose.c: Likewise.
87301         * libio/oldiofdopen.c: Likewise.
87302         * libio/oldiofopen.c: Likewise.
87303         * libio/oldiopopen.c: Likewise.
87304         * libio/wfiledoalloc.c: Likewise.
87305         * libio/wgenops.c: Likewise.
87306         * locale/programs/xmalloc.c: Likewise.
87307         * misc/syslog.c: Likewise.
87308         * stdio-common/xbug.c: Likewise.
87309         * string/memchr.c: Likewise.
87310         * string/memcmp.c: Likewise.
87311         * string/memrchr.c: Likewise.
87312         * string/rawmemchr.c: Likewise.
87313         * sysdeps/posix/getcwd.c: Likewise.
87314         * time/strftime_l.c: Likewise.
87316 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
87318         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
87319         * config.make.in (config-cflags-sse2avx): Define.
87320         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
87321         Fix typo.
87323 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
87325         * scripts/config.guess: Update from upstream config git repository.
87326         * scripts/config.sub: Likewise.
87328 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
87330         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
87331         (EM_NUM): Update.
87332         (R_TILEPRO_*, R_TILEGX_*): New macros.
87334         * scripts/firstversions.awk: Fix bug in version range handling.
87336         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
87338         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
87340         * include/sys/epoll.h: New file.
87341         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
87342         libc_hidden_def.
87344 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
87346         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
87347         Avoid unnecessary __WORDSIZE == 64 test.
87348         (fmaxf): Use VEX format if possible.
87349         (fmax): Likewise.
87350         (fminf): Likewise.
87351         (fmin): Likewise.
87353         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
87354         * math/math_private.h: Remove libc_fegetround* and
87355         libc_fesetround*.
87356         * sysdeps/i386/configure.in: Check for -msse2avx.
87357         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
87358         also if SSE2AVX is defined.
87359         Remove libc_fegetround* and libc_fesetround*.
87360         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
87361         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
87362         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
87363         of HAS_YMM_USABLE.
87364         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87365         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87366         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87367         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87368         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87370         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
87372 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87374         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
87375         size is not set.
87376         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87378 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
87380         [BZ #13618]
87381         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
87382         relocation.
87383         * Makeconfig (libm): Define.
87384         * elf/Makefile: Add rules to build and run tst-relsort1.
87385         * elf/tst-relsort1.c: New file.
87386         * elf/tst-relsort1mod1.c: New file.
87387         * elf/tst-relsort1mod2.c: New file.
87389 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
87391         * math/s_ldexp.c: Remove __STDC__ conditionals.
87392         * math/s_ldexpf.c: Likewise.
87393         * math/s_ldexpl.c: Likewise.
87394         * math/s_nextafter.c: Likewise.
87395         * math/s_nexttowardf.c: Likewise.
87396         * math/s_significand.c: Likewise.
87397         * math/s_significandf.c: Likewise.
87398         * math/s_significandl.c: Likewise.
87399         * math/w_jnl.c: Likewise.
87400         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
87401         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
87402         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
87403         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
87404         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
87405         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
87406         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
87407         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
87408         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
87409         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
87410         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
87411         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87412         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
87413         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
87414         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
87415         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
87416         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
87417         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
87418         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
87419         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87420         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87421         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
87422         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
87423         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
87424         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
87425         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
87426         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
87427         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
87428         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
87429         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
87430         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
87431         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
87432         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
87433         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
87434         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
87435         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
87436         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
87437         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
87438         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
87439         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
87440         * sysdeps/ieee754/k_standard.c: Likewise.
87441         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87442         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87443         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87444         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87445         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87446         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87447         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87448         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87449         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87450         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87451         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87452         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87453         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87454         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87455         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87456         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87457         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87458         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87459         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87460         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87461         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87462         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87463         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87464         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87465         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87466         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87467         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87468         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87469         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87470         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87471         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87472         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
87473         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87474         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87475         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87476         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87477         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
87478         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87479         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87480         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
87481         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
87482         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87483         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
87484         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
87485         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87486         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
87487         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
87488         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87489         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87490         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
87491         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
87492         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87493         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87494         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87495         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87496         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87497         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
87498         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87499         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87500         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87501         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87502         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87503         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87504         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87505         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87506         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87507         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87508         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87509         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87510         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87511         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87512         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87513         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87514         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87515         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87516         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87517         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87518         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87519         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87520         * sysdeps/ieee754/s_matherr.c: Likewise.
87521         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87522         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87523         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87524         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87526 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
87528         * crypt/md5.h: Remove __STDC__ conditionals.
87529         * libio/libioP.h: Likewise.
87530         * locale/programs/config.h: Likewise.
87531         * sysdeps/generic/sysdep.h: Likewise.
87532         * sysdeps/i386/asm-syntax.h: Likewise.
87533         * sysdeps/s390/asm-syntax.h: Likewise.
87534         * sysdeps/unix/sysdep.h: Likewise.
87535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
87536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
87538 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
87540         * libio/libio.h: Remove __STDC__ conditionals.
87541         * malloc/obstack.h: Likewise.
87542         * math/complex.h: Likewise.
87543         * math/math.h: Likewise.
87544         * sysdeps/generic/_G_config.h: Likewise.
87545         * sysdeps/gnu/_G_config.h: Likewise.
87546         * sysdeps/mach/hurd/_G_config.h: Likewise.
87547         * sysdeps/powerpc/bits/mathdef.h: Likewise.
87548         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
87549         * sysdeps/sparc/bits/mathdef.h: Likewise.
87551 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
87553         [BZ #13583]
87554         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
87555         Clean up HAS_* macros.
87556         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
87557         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
87558         possible.
87559         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
87560         HAS_AVX.
87561         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87562         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87563         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87564         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87565         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87567 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
87569         * elf/tst-unique3.cc (gets): Remove declaration.
87570         * elf/tst-unique3lib.cc (gets): Likewise.
87571         * elf/tst-unique3lib2.cc (gets): Likewise.
87572         * elf/tst-unique4.cc (gets): Likewise.
87574 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
87576         * include/stdio.h: Add C++ protection.  Add gets declarations and
87577         definitions.
87578         * debug/tst-chk1.c: Don't declare gets here.
87579         * stdio-common/tst-gets.c: Likewise.
87581 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
87583         * posix/glob: Remove directory.
87585 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
87587         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
87589 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
87591         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
87592         of the non-standard EPFNOSUPPORT.
87594 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87596         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
87597         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
87598         ANYWHERE set to 1 only on KERN_NO_SPACE error.
87600 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
87602         * wcsmbs/uchar.h: Test __STDC_VERSION__.
87604 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
87606         * nscd/aicache.c (addhstaiX): Do not cache negative results of
87607         transient errors.
87608         * nscd/grpcache.c (cache_addgr): Likewise.
87609         * nscd/hstcache.c (cache_addhst): Likewise.
87610         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87611         * nscd/pwdcache.c (cache_addpw): Likewise.
87612         * nscd/servicescache.c (cache_addserv): Likewise.
87614 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
87616         * malloc/malloc.c: Various cleanups.
87617         * malloc/hooks.c: Likewise.
87619         * stdlib/Makefile (tests): Add bug-fmtmsg1.
87620         * stdlib/bug-fmtmsg1.c: New file.
87622         * stdlib/fmtmsg.c (init): Add missing unlock.
87623         Patch by Peng Haitao <penght@cn.fujitsu.com>.
87625 2012-01-12  Marek Polacek  <polacek@redhat.com>
87627         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
87628         and _GNU_SOURCE.
87630 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
87632         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
87633         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
87634         macro to ensure uniqueness of label name.
87635         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
87636         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
87638 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
87640         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
87642         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
87643         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87644         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87645         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
87647 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
87649         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
87651         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
87652         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
87653         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87655         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
87657         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
87658         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87659         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87660         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
87662         * math/bits/math-finite.h: Add ldexp support.
87664 2012-01-10  Marek Polacek  <polacek@redhat.com>
87666         * locale/programs/localedef.h (show_archive_content): Add noreturn
87667         attribute.
87669 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
87671         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
87673 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87675         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
87677         * io/Makefile (headers): Add bits/poll2.h.
87679 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
87681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
87682         typo #include statement.
87684 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87686         * include/sys/cdefs.h: Define __attribute_alloc_size.
87687         * catgets/gencat.c: Add alloc_size attribute and apply consistently
87688         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
87689         * elf/pldd.c: Likewise.
87690         * iconv/iconv_charmap.c: Likewise.
87691         * iconv/iconvconfig.c: Likewise.
87692         * iconv/strtab.c: Likewise.
87693         * locale/programs/locale.c: Likewise.
87694         * locale/programs/localedef.h: Likewise.
87695         * locale/programs/simple-hash.c: Likewise.
87696         * nscd/nscd.h: Likewise.
87697         * nss/makedb.c: Likewise.
87698         * sysdeps/generic/ldconfig.h: Likewise.
87699         * locale/programs/localedef.c: Remove xmalloc prototype.
87700         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
87702 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
87704         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
87705         appropriate.
87707 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87709         * math/Makefile (tests): Add tst-CMPLX.
87710         * math/tst-CMPLX.c: New file.
87712         * math/complex.h (CMPLXL): Fix typo.
87714         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
87715         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
87716         GLIBC_2.16.
87717         * debug/tst-chk1.c: Add poll and ppoll tests.
87718         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
87719         * include/sys/poll.h: Add hidden proto for ppoll.
87720         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
87721         * sysdeps/mach/hurd/ppoll.c: Likewise.
87722         * io/ppoll.c: Likewise.
87723         * debug/poll_chk.c: New file.
87724         * debug/ppoll_chk.c: New file.
87725         * include/bits/poll2.h: New file.
87726         * io/bits/poll2.h: New file.
87728         [BZ #1350]
87729         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
87731         * configure.in: static is always set to yes.  Remove.
87732         * config.make.in: Don't set build-static.
87733         * Makeconfig: Remove use of build-static.
87734         * dlfcn/Makefile: Likewise.
87735         * elf/Makefile: Likewise.
87736         * math/Makefile: Likewise.
87737         * misc/Makefile: Likewise.
87738         * nptl/Makefile: Likewise.
87739         * sysdeps/mach/hurd/Makefile: Likewise.
87741         * configure.in: PWD_P is not used anymore.
87742         * config.make.in: Remove PWD_P entry.
87744         * configure.in: Remove last remnants of RANLIB.
87745         No need to check for signed size_t anymore.
87746         Don't set libc_commonpagesize and libc_relro_required here for Alpha
87747         and IA-64.
87748         Remove __builtin_expect test because we require at least gcc 3.4.
87749         * aclocal.m4: Likewise.
87751         * wcsmbs/mbrtoc16.c: Implement using towc function.
87752         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
87753         * wcsmbs/wcsmbsload.c: Likewise.
87754         * iconv/gconv_simple.c: Likewise.
87755         * iconv/gconv_int.h: Likewise.
87756         * iconv/gconv_builtin.h: Likewise.
87757         * iconv/iconv_prog.c: Remove CHAR16 handling.
87759         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
87761         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
87763         * configure.in: Remove --with-elf and --enable-bounded options.
87764         Dont set base_machine for ia64.  More non-ELF conditions removed.
87765         Remove testing and setting of leading underscore information.
87766         * config.make.in (build-bounded): Set to no.
87767         * config.h.in: Remove NO_UNDERSCORES entry.
87768         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
87769         them.
87770         * csu/start.c: Remove !NO_UNDERSCORE code.
87771         * locale/localeinfo.h: Likewise.
87772         * sysdeps/generic/machine-gmon.h: Likewise.
87773         * sysdeps/generic/sysdep.h: Likewise.
87774         * sysdeps/i386/sysdep.h: Likewise.
87775         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87776         * sysdeps/mach/sysdep.h: Likewise.
87777         * sysdeps/s390/s390-32/sysdep.h: Likewise.
87778         * sysdeps/s390/s390-64/sysdep.h: Likewise.
87779         * sysdeps/sh/sysdep.h: Likewise.
87780         * sysdeps/sparc/sparc32/alloca.S: Likewise.
87781         * sysdeps/unix/i386/sysdep.S: Likewise.
87782         * sysdeps/unix/sparc/start.c: Likewise.
87783         * sysdeps/unix/sparc/sysdep.S: Likewise.
87784         * sysdeps/unix/sparc/sysdep.h: Likewise.
87785         * sysdeps/unix/start.c: Likewise.
87786         * sysdeps/unix/x86_64/sysdep.S: Likewise.
87787         * sysdeps/x86_64/sysdep.h: Likewise.
87789 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
87791         [BZ #13553]
87792         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
87793         for non-gcc.
87794         * argp/argp-fmtstream.h: Use const instead __const.
87795         * argp/argp.h: Likewise.
87796         * assert/assert.h: Likewise.
87797         * bits/fenv.h: Likewise.
87798         * bits/sched.h: Likewise.
87799         * bits/sigset.h: Likewise.
87800         * bits/sigthread.h: Likewise.
87801         * catgets/nl_types.h: Likewise.
87802         * conform/data/pthread.h-data: Likewise.
87803         * crypt/crypt-private.h: Likewise.
87804         * crypt/crypt.h: Likewise.
87805         * crypt/crypt_util.c: Likewise.
87806         * ctype/ctype.h: Likewise.
87807         * debug/execinfo.h: Likewise.
87808         * debug/mbsnrtowcs_chk.c: Likewise.
87809         * debug/mbsrtowcs_chk.c: Likewise.
87810         * debug/wcsnrtombs_chk.c: Likewise.
87811         * debug/wcsrtombs_chk.c: Likewise.
87812         * debug/wcstombs_chk.c: Likewise.
87813         * dirent/dirent.h: Likewise.
87814         * dlfcn/dlfcn.h: Likewise.
87815         * elf/neededtest4.c: Likewise.
87816         * grp/grp.h: Likewise.
87817         * gshadow/gshadow.h: Likewise.
87818         * iconv/gconv.h: Likewise.
87819         * iconv/gconv_int.h: Likewise.
87820         * iconv/gconv_simple.c: Likewise.
87821         * iconv/iconv.h: Likewise.
87822         * iconv/loop.c: Likewise.
87823         * iconv/skeleton.c: Likewise.
87824         * include/aio.h: Likewise.
87825         * include/aliases.h: Likewise.
87826         * include/argz.h: Likewise.
87827         * include/arpa/inet.h: Likewise.
87828         * include/assert.h: Likewise.
87829         * include/dirent.h: Likewise.
87830         * include/dlfcn.h: Likewise.
87831         * include/execinfo.h: Likewise.
87832         * include/fcntl.h: Likewise.
87833         * include/fenv.h: Likewise.
87834         * include/glob.h: Likewise.
87835         * include/grp.h: Likewise.
87836         * include/libintl.h: Likewise.
87837         * include/mntent.h: Likewise.
87838         * include/netdb.h: Likewise.
87839         * include/pwd.h: Likewise.
87840         * include/rpc/netdb.h: Likewise.
87841         * include/sched.h: Likewise.
87842         * include/search.h: Likewise.
87843         * include/shadow.h: Likewise.
87844         * include/signal.h: Likewise.
87845         * include/stdio.h: Likewise.
87846         * include/stdlib.h: Likewise.
87847         * include/string.h: Likewise.
87848         * include/sys/socket.h: Likewise.
87849         * include/sys/stat.h: Likewise.
87850         * include/sys/statfs.h: Likewise.
87851         * include/sys/statvfs.h: Likewise.
87852         * include/sys/syslog.h: Likewise.
87853         * include/sys/time.h: Likewise.
87854         * include/sys/uio.h: Likewise.
87855         * include/time.h: Likewise.
87856         * include/unistd.h: Likewise.
87857         * include/utmp.h: Likewise.
87858         * include/wchar.h: Likewise.
87859         * include/wctype.h: Likewise.
87860         * inet/aliases.h: Likewise.
87861         * inet/arpa/inet.h: Likewise.
87862         * inet/netinet/ether.h: Likewise.
87863         * inet/netinet/in.h: Likewise.
87864         * intl/libintl.h: Likewise.
87865         * io/bits/fcntl2.h: Likewise.
87866         * io/fcntl.h: Likewise.
87867         * io/ftw.h: Likewise.
87868         * io/sys/poll.h: Likewise.
87869         * io/sys/stat.h: Likewise.
87870         * io/sys/statfs.h: Likewise.
87871         * io/sys/statvfs.h: Likewise.
87872         * io/utime.h: Likewise.
87873         * libio/bits/stdio.h: Likewise.
87874         * libio/bits/stdio2.h: Likewise.
87875         * libio/libio.h: Likewise.
87876         * libio/libioP.h: Likewise.
87877         * libio/stdio.h: Likewise.
87878         * locale/lc-ctype.c: Likewise.
87879         * locale/locale.h: Likewise.
87880         * login/utmp.h: Likewise.
87881         * malloc/arena.c: Likewise.
87882         * malloc/malloc.c: Likewise.
87883         * malloc/malloc.h: Likewise.
87884         * malloc/mcheck.c: Likewise.
87885         * malloc/mtrace.c: Likewise.
87886         * math/bits/mathcalls.h: Likewise.
87887         * math/fenv.h: Likewise.
87888         * math/math_private.h: Likewise.
87889         * misc/bits/error.h: Likewise.
87890         * misc/bits/syslog.h: Likewise.
87891         * misc/err.h: Likewise.
87892         * misc/error.h: Likewise.
87893         * misc/fstab.h: Likewise.
87894         * misc/mntent.h: Likewise.
87895         * misc/regexp.h: Likewise.
87896         * misc/search.h: Likewise.
87897         * misc/sgtty.h: Likewise.
87898         * misc/sys/mman.h: Likewise.
87899         * misc/sys/syslog.h: Likewise.
87900         * misc/sys/uio.h: Likewise.
87901         * misc/sys/xattr.h: Likewise.
87902         * misc/ttyent.h: Likewise.
87903         * nis/rpcsvc/ypclnt.h: Likewise.
87904         * nss/nss.h: Likewise.
87905         * posix/bits/unistd.h: Likewise.
87906         * posix/fnmatch.h: Likewise.
87907         * posix/glob.h: Likewise.
87908         * posix/sched.h: Likewise.
87909         * posix/spawn.h: Likewise.
87910         * posix/sys/wait.h: Likewise.
87911         * posix/unistd.h: Likewise.
87912         * posix/wordexp.h: Likewise.
87913         * pwd/pwd.h: Likewise.
87914         * resolv/netdb.h: Likewise.
87915         * resource/sys/resource.h: Likewise.
87916         * rt/aio.h: Likewise.
87917         * rt/bits/mqueue2.h: Likewise.
87918         * rt/mqueue.h: Likewise.
87919         * shadow/shadow.h: Likewise.
87920         * signal/signal.h: Likewise.
87921         * socket/send.c: Likewise.
87922         * socket/sendto.c: Likewise.
87923         * socket/sys/socket.h: Likewise.
87924         * stdio-common/printf.h: Likewise.
87925         * stdlib/bits/stdlib.h: Likewise.
87926         * stdlib/fmtmsg.h: Likewise.
87927         * stdlib/monetary.h: Likewise.
87928         * stdlib/stdlib.h: Likewise.
87929         * stdlib/ucontext.h: Likewise.
87930         * streams/stropts.h: Likewise.
87931         * string/argz.h: Likewise.
87932         * string/bits/string2.h: Likewise.
87933         * string/string.h: Likewise.
87934         * string/strings.h: Likewise.
87935         * sunrpc/rpc/auth.h: Likewise.
87936         * sunrpc/rpc/auth_des.h: Likewise.
87937         * sunrpc/rpc/clnt.h: Likewise.
87938         * sunrpc/rpc/netdb.h: Likewise.
87939         * sunrpc/rpc/pmap_clnt.h: Likewise.
87940         * sunrpc/rpc/xdr.h: Likewise.
87941         * sysdeps/generic/inttypes.h: Likewise.
87942         * sysdeps/generic/net/if.h: Likewise.
87943         * sysdeps/generic/sys/swap.h: Likewise.
87944         * sysdeps/gnu/net/if.h: Likewise.
87945         * sysdeps/gnu/utmpx.h: Likewise.
87946         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
87947         * sysdeps/i386/i486/bits/string.h: Likewise.
87948         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
87949         * sysdeps/s390/bits/string.h: Likewise.
87950         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
87951         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
87952         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
87953         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
87954         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
87955         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
87956         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
87957         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
87958         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
87959         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
87960         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
87961         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
87962         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
87963         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
87964         * sysdeps/unix/sysv/linux/readv.c: Likewise.
87965         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
87966         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
87967         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87968         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
87969         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
87970         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
87971         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
87972         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
87973         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
87974         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
87975         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
87976         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
87977         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87978         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
87979         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
87980         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
87981         * sysvipc/sys/ipc.h: Likewise.
87982         * sysvipc/sys/msg.h: Likewise.
87983         * sysvipc/sys/sem.h: Likewise.
87984         * sysvipc/sys/shm.h: Likewise.
87985         * termios/termios.h: Likewise.
87986         * time/sys/time.h: Likewise.
87987         * time/time.h: Likewise.
87988         * wcsmbs/bits/wchar2.h: Likewise.
87989         * wcsmbs/uchar.h: Likewise.
87990         * wcsmbs/wchar.h: Likewise.
87991         * wctype/wctype.h: Likewise.
87993         [BZ #13551]
87994         * Makeconfig: Remove all but ELF support including AIX support.
87995         * Makerules: Likewise.
87996         * config.h.in: Likewise.
87997         * config.make.in: Likewise.
87998         * configure: Likewise.
87999         * configure.in: Likewise.
88000         * csu/Makefile: Likewise.
88001         * csu/version.c: Likewise.
88002         * debug/Makefile: Likewise.
88003         * dlfcn/Makefile: Likewise.
88004         * elf/Makefile: Likewise.
88005         * extra-lib.mk: Likewise.
88006         * iconv/Makefile: Likewise.
88007         * include/libc-symbols.h: Likewise.
88008         * include/shlib-compat.h: Likewise.
88009         * resolv/Makefile: Likewise.
88010         * resolv/res_libc.c: Likewise.
88011         * rt/Makefile: Likewise.
88012         * sysdeps/i386/asm-syntax.h: Likewise.
88013         * sysdeps/i386/sysdep.h: Likewise.
88014         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
88015         * sysdeps/mach/sysdep.h: Likewise.
88016         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
88017         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
88018         * sysdeps/s390/asm-syntax.h: Likewise.
88019         * sysdeps/s390/s390-32/sysdep.h: Likewise.
88020         * sysdeps/s390/s390-64/sysdep.h: Likewise.
88021         * sysdeps/sh/sysdep.h: Likewise.
88022         * sysdeps/unix/sparc/sysdep.h: Likewise.
88023         * sysdeps/wordsize-32/divdi3.c: Likewise.
88024         * sysdeps/x86_64/sysdep.h: Likewise.
88026         * argp/Versions: Remove _argp_unlock_xxx.
88028         [BZ #13559]
88029         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
88030         * abilist/libBrokenLocale.abilist: Likewise.
88031         * abilist/libanl.abilist: Likewise.
88032         * abilist/libc.abilist: Likewise.
88033         * abilist/libcrypt.abilist: Likewise.
88034         * abilist/libdl.abilist: Likewise.
88035         * abilist/libm.abilist: Likewise.
88036         * abilist/libnsl.abilist: Likewise.
88037         * abilist/libpthread.abilist: Likewise.
88038         * abilist/libresolv.abilist: Likewise.
88039         * abilist/librt.abilist: Likewise.
88040         * abilist/libthread_db.abilist: Likewise.
88041         * abilist/libutil.abilist: Likewise.
88042         * abilist/libnss_db.abilist: New file.
88044         * scripts/abilist.awk: Add support for indirect functions.
88046         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
88048         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
88050         * shlib-versions: Remove entries for ports architectures.
88052         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
88053         files in ports.
88054         * elf/stackguard-macros.h: Remove support for IA-64.
88055         * elf/tst-auditmod1.c: Likewise.
88056         * sysdeps/generic/ldsodefs.h: Likewise.
88058         * sysdeps/unix/sysv/linux/configure.in: Ports should define
88059         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
88060         configure files.
88062         [BZ #13552]
88063         * configure.in: Remove --enable-omitfp support.
88064         * FAQ.in: Adjust.
88065         * config.make.in: Likewise.
88066         * Makeconfig: Likewise.
88067         * manual/install.texi: Likewise.
88069         In case anyone cares, the IA-64 architecture could move to ports.
88070         * sysdeps/ia64/*: Removed.
88071         * sysdeps/unix/sysv/linux/ia64/*: Removed.
88072         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
88074         [BZ #13555]
88075         * configure.in: Remove entries for unsupported architectures.
88077         [BZ #13533]
88078         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
88079         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
88080         routines.
88081         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
88082         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
88083         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
88084         fall back to using wcrtomb.
88085         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
88086         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
88087         renaming.
88088         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
88089         * wcsmbs/tst-c16c32-1.c: New file.
88091         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
88092         local variable.
88094         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
88096         * elf/tst-unique3.cc: Add explicit declaration of gets.
88097         * elf/tst-unique3lib.cc: Likewise.
88098         * elf/tst-unique3lib2.cc: Likewise.
88099         * elf/tst-unique4.cc: Likewise.
88101         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
88103 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
88105         [BZ #13566]
88106         * assert/assert.h (static_assert): Don't define for C++.
88107         * libio/stdio.h (gets): Do declare for C++ <= C++11.
88108         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
88110 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
88112         * iconv/loop.c (single loop): Fix assertion in storing of
88113         remaining bytes.
88115         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
88117 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
88119         * posix/getconf.c: Update copyright year.
88120         * nss/getent.c: Likewise.
88121         * nss/makedb.c: Likewise.
88122         * iconv/iconvconfig.c: Likewise.
88123         * iconv/iconv_prog.c: Likewise.
88124         * elf/ldconfig.c: Likewise.
88125         * elf/pldd.c: Likewise.
88126         * elf/sotruss.ksh: Likewise.
88127         * catgets/gencat.c: Likewise.
88128         * csu/version.c: Likewise.
88129         * elf/ldd.bash.in: Likewise.
88130         * elf/sprof.c (print_version): Likewise.
88131         * locale/programs/locale.c: Likewise.
88132         * locale/programs/localedef.c: Likewise.
88133         * login/programs/pt_chown.c: Likewise.
88134         * nscd/nscd.c (print_version): Likewise.
88135         * debug/xtrace.sh: Likewise.
88136         * malloc/memusage.sh: Likewise.
88137         * malloc/mtrace.pl: Likewise.
88138         * debug/catchsegv.sh: Likewise.
88140 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
88142         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
88143         pure attribute.
88145 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
88147         [BZ #13533]
88148         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
88149         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
88150         transformations.
88151         * iconv/gconv_int.h: Likewise.
88152         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
88153         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
88154         from libc for GLIBC_2.16.
88155         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
88156         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
88157         * wcsmbs/uchar.h: Really define mbstate_t.
88158         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
88159         * wcsmbs/c16rtomb.c: New file.
88160         * wcsmbs/mbrtoc16.c: New file.
88161         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
88162         for C/POSIX locale.
88163         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
88164         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
88166         * wcsmbs/wchar.h: Add missing __restrict.
88168 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
88170         [BZ #13532]
88171         * time/Makefile (routines): Add timespec_get.
88172         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
88173         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
88174         timespec for ISO C11.
88175         * time/timespec_get.c: New file.
88176         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
88177         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
88179         [BZ #13531]
88180         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
88181         * stdlib/stdlib.h: Declare aligned_alloc.
88182         * Versions.def: Add GLIBC_2.16 for libc.
88183         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
88185         [BZ 13527]
88186         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
88187         ISO C11.
88189         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
88190         code.
88192         [BZ #13528]
88193         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
88195         [BZ #13529]
88196         * assert/assert.h (static_assert): Define.
88198         * version.h: Update for 2.16 development version.
88200         [BZ #13526]
88201         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
88202         _ISOC11_SOURCE.
88204         * version.h (RELEASE): Bump for 2.15 release.
88205         * include/features.h (__GLIBC_MINOR__): Bump to 15.
88207         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
88208         Patch by Marek Polacek <mpolacek@redhat.com>.
88210         * bits/byteswap.h: Protect long long constants with __extension__.
88211         * sysdeps/i386/bits/byteswap.h: Likewise.
88212         * sysdeps/ia64/bits/byteswap.h: Likewise.
88213         * sysdeps/s390/bits/byteswap.h: Likewise.
88214         * sysdeps/x86_64/bits/byteswap.h: Likewise.
88216 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88218         [BZ #13540]
88219         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
88220         destination buffer.
88221         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
88223 2011-12-23  Marek Polacek  <polacek@redhat.com>
88225         * elf/dl-addr.c (determine_info): Add inline keyword.
88226         * elf/tst-auditmod4b.c (check_avx): Likewise.
88227         * elf/tst-auditmod6b.c (check_avx): Likewise.
88228         * elf/tst-auditmod6c.c (check_avx): Likewise.
88229         * elf/tst-auditmod7b.c (check_avx): Likewise.
88231 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
88233         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
88234         !__SSE_MATH__.
88236 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88238         [BZ #13540]
88239         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
88240         processing for last bytes.
88242 2011-08-06  Bruno Haible  <bruno@clisp.org>
88244         [BZ #13061]
88245         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
88246         U+0385, not to U+1FEE.
88248         [BZ #13062]
88249         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
88250         entry for U+00A5 U+0301.
88252 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
88254         [BZ #13166]
88255         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
88256         buffer for the output is too small.
88258         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
88259         optimization.
88261         [BZ #13185]
88262         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
88263         SSE flags if possible.
88265 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88267         [BZ #13540]
88268         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
88269         processing for last bytes.
88271 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
88273         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
88274         (syscall-list-default-options, syscall-list-default-condition)
88275         (syscall-list-includes): Define.
88276         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
88277         list of ABIs and options and #if conditions for each ABI.  Do not
88278         handle common syscalls between ABIs specially.
88279         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
88280         Remove.
88281         (syscall-list-variants, syscall-list-32bit-options)
88282         (syscall-list-32bit-condition, syscall-list-64bit-options)
88283         (syscall-list-64bit-condition): Define.
88284         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
88285         (syscall-list-variants, syscall-list-32bit-options)
88286         (syscall-list-32bit-condition, syscall-list-64bit-options)
88287         (syscall-list-64bit-condition): Define.
88288         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
88289         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/x86_64/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.
88299 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
88301         * locale/iso-639.def: Add brx entry.
88303         [BZ #13328]
88304         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
88305         Proposed by Mariusz_Cukr <marcukr@op.pl>.
88307         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
88308         __feraiseexcept_renamed.
88310 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
88312         [BZ #13538]
88313         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
88314         EPOLLET with unsigned values.
88315         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88316         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
88318         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
88319         to large cancellation.
88320         * math/s_cacoshf.c: Likewise.
88321         * math/s_cacoshl.c: Likewise.
88323 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
88325         [BZ #13305]
88326         [BZ #12786]
88327         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
88328         * math/s_cacoshf.c: Likewise.
88329         * math/s_cacoshl.c: Likewise.
88331 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
88333         [BZ #13439]
88334         * iconv/gconv.h: Define __GCONV_SWAP.
88335         * iconvdata/unicode.c: The swap bit must be stored in __flags.
88336         * iconvdata/utf-16.c: Likewise.
88337         * iconvdata/utf-32.c: Likewise.
88339 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
88341         [BZ #13524]
88342         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
88343         numerator after shifting it by one limb.
88345 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
88347         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
88348         under [__USE_EXTERN_INLINES].
88350 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
88352         [BZ #13446]
88353         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
88355 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88357         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
88358         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
88359         optimized code.
88360         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
88361         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
88362         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
88363         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
88364         for strncasecmp/strncasecmp_l compilation.
88365         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
88366         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
88368 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
88370         [BZ #13484]
88371         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
88372         of __asm__.
88374 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
88376         [BZ #13506]
88377         * time/tzfile.c (__tzfile_read): Check values from file header.
88379 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
88381         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
88382         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
88383         * powerpc/powerpc32/dl-start.S: Likewise.
88384         * powerpc/powerpc32/elf/start.S: Likewise.
88385         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
88386         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
88387         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
88388         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
88389         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
88390         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
88391         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
88392         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
88393         * powerpc/powerpc32/fpu/s_round.S: Likewise.
88394         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
88395         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
88396         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
88397         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
88398         * powerpc/powerpc32/memset.S: Likewise.
88399         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
88400         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
88401         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
88402         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
88403         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
88404         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
88405         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
88406         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
88407         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
88408         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
88409         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
88410         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
88411         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
88413 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88415         * math/libm-test.inc: Added more nearbyint tests.
88416         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
88417         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
88418         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
88419         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
88421 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
88423         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
88424         FD_CLOEXEC.
88426 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88428         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
88429         Add wcscpy-ssse3 wcscpy-c.
88430         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
88431         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
88432         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
88433         * sysdeps/x86_64/wcschr.S: New file.
88434         * sysdeps/x86_64/wcsrchr.S: New file.
88435         * string/test-strcmp.c: Remove checking of wcscmp function for
88436         wrong alignments.
88437         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
88438         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
88439         wcsrchr-sse2 wcsrchr-c.
88440         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
88441         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
88442         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
88443         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
88444         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
88445         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
88446         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
88447         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
88448         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
88449         * wcsmbc/wcschr.c (WCSCHR): New macro.
88451 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88453         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
88454         * wcsmbs/test-wcsrchr.c: New file.
88455         * string/test-strrchr.c: Add wcsrchr support.
88456         (WIDE): New macro.
88457         * wcsmbs/test-wcscpy.c: New file.
88458         * string/test-strcpy.c: Add wcscpy support.
88459         (WIDE): New macro.
88461 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
88463         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
88464         the inner loop.
88466 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
88468         [BZ #13472]
88469         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
88471 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
88473         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
88474         Minor optimizations.
88476         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
88477         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
88478         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
88480 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
88482         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
88483         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
88484         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
88485         for gcc to avoid warnings.
88486         * inet/Makefile (tests): Add tst-checks.
88487         * inet/tst-checks.c: New file.
88489         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
88490         warning.
88492         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
88493         __wmemcmp_sse2.
88495         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
88496         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
88498         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
88500 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
88502         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
88503         problem.
88505         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
88507 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
88509         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
88510         conditional on GCC version.
88511         (__arch_compare_and_exchange_val_8_acq)
88512         (__arch_compare_and_exchange_val_16_acq)
88513         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
88514         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
88515         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
88517 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
88519         * sysdeps/sh/backtrace.c: New file.
88521 2011-12-02  Andreas Schwab  <schwab@redhat.com>
88523         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
88524         parenthesis.
88526 2011-12-01  Andreas Schwab  <schwab@redhat.com>
88528         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
88529         falling back to utime.
88531 2011-11-30  Andreas Schwab  <schwab@redhat.com>
88533         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
88534         expectations for float.
88536 2011-11-29  Andreas Schwab  <schwab@redhat.com>
88538         * locale/weight.h (findidx): Add parameter len.
88539         * locale/weightwc.h (findidx): Likewise.
88540         * posix/fnmatch_loop.c (FCT): Adjust caller.
88541         * posix/regcomp.c (build_equiv_class): Likewise.
88542         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
88543         * posix/regexec.c (check_node_accept_bytes): Likewise.
88544         * string/strcoll_l.c (STRCOLL): Likewise.
88545         * string/strxfrm_l.c (STRXFRM): Likewise.
88547 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
88549         * Makefile.in: Remove CVSOPT handling.
88550         * configure.in: Remove use of AC_REVISION.
88551         * iconvdata/Makefile (distribute): No need to filter out CVS.
88552         * scripts/list-sources.sh: Remove CVS, subversion and monotone
88553         handling.
88555 2011-11-16  Andreas Schwab  <schwab@redhat.com>
88557         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
88558         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
88559         [USE_AS_STRNCASECMP_L]: Likewise.
88560         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
88561         NO_TLS_DIRECT_SEG_REFS.
88562         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
88563         Fix argument offsets for non-PIC.
88564         [USE_AS_STRNCASECMP_L]: Likewise.
88565         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
88566         NO_TLS_DIRECT_SEG_REFS.
88568 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
88570         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
88571         O_CLOEXEC.
88572         * locale/loadlocale.c (_nl_load_locale): Likewise.
88574 2011-11-15  Andreas Schwab  <schwab@redhat.com>
88576         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
88577         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
88578         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
88579         (SYSCALL_GETTIME): Set errno on error.
88581         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
88582         count references to noai6ai_cached.
88584 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
88586         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
88588         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
88589         FD_CLOEXEC for /proc/self/maps.
88591         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
88592         FD_CLOEXEC for /proc/meminfo.
88594         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
88595         gai.conf.
88597         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
88598         FD_CLOEXEC for given file.
88600         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
88602         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
88603         FD_CLOEXEC for /etc/hosts.
88604         (_gethtent): Likewise.
88606         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
88608         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
88609         cancellation and set FD_CLOEXEC for /etc/netgroup.
88611         * nss/nss_files/files-key.c (search): Don't allow cancellation when
88612         reading /etc/publickey.
88614         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
88615         allow cancellation when reading /etc/group.
88617         * nss/nss_files/files-alias.c (internal_setent): Don't allow
88618         cancellation.
88619         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
88621         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
88622         when using data file.
88624         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
88626         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
88627         (write_nis_obj): Use "c" and "e" in fopen.
88629         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
88631         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
88633         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
88635         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
88637         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
88638         locale.alias.
88640         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
88642         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
88644         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
88646         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
88647         file parsing and set FD_CLOEXEC.
88649 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
88651         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
88653 2011-11-14  Andreas Schwab  <schwab@redhat.com>
88655         * malloc/arena.c (arena_get2): Don't call reused_arena when
88656         _int_new_arena failed.
88658 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
88660         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
88661         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
88662         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
88663         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88664         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88665         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
88666         to compile strcasecmp and strncasecmp.
88667         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
88668         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
88670         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
88672 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
88674         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
88675         locale-defines.sym to gen-as-const-headers.
88676         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
88677         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
88678         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
88679         to compile strcasecmp and strncasecmp.
88680         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
88681         strcasecmp_l and strncasecmp_l.
88682         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
88683         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
88684         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
88685         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
88686         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
88687         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
88688         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
88689         * sysdeps/i386/i686/multiarch/strncase.S: New file.
88690         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
88691         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
88692         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
88694 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
88696         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
88697         result of SYSDEP_GETTIME_CPU to retval.
88698         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
88699         parameter list to macro.  Remove trailing semicolon.  Adjust users.
88701         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
88702         variable.
88704         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
88705         mantissa words.
88706         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
88708         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
88709         from unused variable.
88711         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
88712         DWARF definitions.
88713         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
88714         for assembling.
88716         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
88717         over namespaces.
88719         * sunrpc/rpc_prot.c (rejected): Fix case value.
88721         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
88722         unsigned long long int to avoid warnings in shift.
88724         * posix/regex_internal.c (re_string_reconstruct): Actually use result
88725         of use of trans.
88726         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
88727         variable tmp.
88729         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
88730         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
88731         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
88733         * nis/nis_table.c (nis_list): Use variable of correct type for
88734         result of __follow_path call.
88736 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88738         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
88739         of math functions ceil, trunc, floor, round, and sqrt, when
88740         avaliable on the platform.
88741         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
88742         name clash.
88743         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88744         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88745         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88747 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
88749         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
88750         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
88752 2011-11-11  Roland McGrath  <roland@hack.frob.com>
88754         * include/unistd.h: Fix __readlink return type.
88755         Reported by Chris Metcalf <cmetcalf@tilera.com>.
88757 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
88759         * stdlib/ucontext.h: Undo last change for makecontext.
88761 2011-11-11  Andreas Schwab  <schwab@redhat.com>
88763         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
88765         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
88766         * setjmp/setjmp.h: Mark functions as non-leaf.
88767         * setjmp/bits/setjmp2.h: Likewise.
88768         * stdlib/ucontext.h: Likewise.
88770 2011-11-10  Andreas Schwab  <schwab@redhat.com>
88772         * malloc/arena.c (_int_new_arena): Don't increment narenas.
88773         (reused_arena): Don't check arena limit.
88774         (arena_get2): Atomically check arena limit.
88776 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
88778         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
88779         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
88781         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
88782         instructions.
88784 2011-11-07  Andreas Schwab  <schwab@redhat.com>
88786         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
88787         handler when locking.
88789         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88790         Fix size of allocated buffer.
88792 2011-11-04  Andreas Schwab  <schwab@redhat.com>
88794         [BZ #10103]
88795         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
88796         declarations for long double functions.
88797         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
88799         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
88801 2011-11-03  Andreas Schwab  <schwab@redhat.com>
88803         * nscd/nscd.c (main): Don't start AVC thread until credentials are
88804         installed.
88806         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
88807         is disabled.
88809 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88811         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
88813 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
88815         * include/alloca.h (stackinfo_alloca_round): Define.
88816         (extend_alloca): Use it.
88817         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
88818         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
88819         here.
88821         * scripts/check-local-headers.sh: Ignore libaudit.h.
88823         * nscd/Makefile (extra-objs): Make recursively expanded.
88825 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
88827         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
88828         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
88830         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
88831         * posix/tst-rfc3484-2.c: Likewise.
88832         * posix/tst-rfc3484-3.c: Likewise.
88834         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
88835         process_vm_writev.
88836         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
88837         process_vm_writev.
88838         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
88839         process_vm_writev from libc using GLIBC_2.15 version.
88841         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
88843 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
88845         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
88846         stack usage.
88848 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
88850         [BZ #13367]
88851         * nss/getent.c (initgroups_keys): Show error message in case no group
88852         names are given.
88854         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
88855         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
88856         __bump_nl_timestamp.
88857         * nscd/connections (nscd_init): When host database is served open
88858         netlink socket and request notification about configuration changes.
88859         (main_loop_poll): Track netlink file descriptor and bump timestamp
88860         in case data becomes available.
88861         (main_loop_epoll): Likewise.
88862         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
88863         (database_pers_head): Add extra_data fileds.
88864         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
88865         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
88866         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
88867         Adjust caller.
88868         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
88869         in6ai data, call __free_in6ai.
88870         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
88871         Add -DHAVE_NETLINK.
88872         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
88873         interface information.  Reuse previous data if netlink timestamp
88874         is not changed.
88875         (__bump_nl_timestamp): New function.
88876         (__free_in6ai): New function.
88878 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
88880         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
88881         close_not_cancel_no_status here.
88882         (__check_pf): Reorganize code a bit to not call close twice if OOM.
88884 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
88886         [BZ #13276]
88887         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
88888         return value.
88890         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
88891         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
88892         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
88894 2011-07-03  Andreas Jaeger  <aj@suse.de>
88896         [BZ #10709]
88897         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
88898         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
88899         * math/libm-test.inc (sin_test): Add test case.
88901 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
88903         [BZ #13337]
88904         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
88905         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88907         * elf/chroot_canon.c (chroot_canon): Cleanups.
88909         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
88911         [BZ #13335]
88912         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
88913         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88915         * string/test-strchr.c: Make usable for strchrnul testing.
88916         * string/test-strchrnul.c: New file.
88917         * string/Makefile (strop-tests): Add strchrnul.
88919         * po/it.po: Update from translation team.
88920         * po/es.po: Likewise.
88922 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
88924         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
88925         the three constants needed as parameters.  Drop the others.
88926         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
88927         __m128i_strloadu_tolower.
88928         Create and initialize variable zero and use it in all the places
88929         where _mm_setzero_si128 was used.
88931         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
88932         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
88933         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
88934         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
88935         anymore.
88936         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
88937         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
88938         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
88939         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
88940         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
88941         __mpranred, __mptan.
88942         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
88943         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
88944         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
88945         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
88946         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
88947         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
88948         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
88949         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
88950         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
88952 2011-10-28  Andreas Schwab  <schwab@redhat.com>
88954         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
88955         redefine if SHARED.
88956         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
88958         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
88959         wide char related routines to wcsmbs subdir.
88961 2011-10-27  Andreas Schwab  <schwab@redhat.com>
88963         [BZ #13344]
88964         * misc/sys/cdefs.h (__THROWNL): Define.
88965         * posix/unistd.h: Use __THREADNL instead of __THREAD
88966         for memory synchronization functions.
88968 2011-10-26  Roland McGrath  <roland@hack.frob.com>
88970         [BZ #13349]
88971         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
88972         doesn't exist.
88973         * manual/stdio.texi (Obstack Streams): Node removed.
88975 2011-10-26  Andreas Schwab  <schwab@redhat.com>
88977         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
88978         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
88979         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
88981         * math/math_private.h (math_force_eval): Allow non-addressable
88982         arguments.
88983         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
88985 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88987         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
88988         file is not needed.
88990         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
88991         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
88992         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88993         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88994         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88995         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88996         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88997         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
88998         Add AVX variants.
88999         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
89000         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
89001         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
89002         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
89003         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
89004         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
89005         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
89006         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
89007         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
89008         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
89009         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
89010         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
89011         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
89012         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
89013         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
89014         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
89015         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
89016         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
89017         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
89019         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
89020         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
89022         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
89023         place.  Use VEX encoding when compiling for AVX.
89025 2011-10-25  Andreas Schwab  <schwab@redhat.com>
89027         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
89028         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
89030         * string/test-strchr.c (do_test): Don't generate NUL bytes.
89032 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89034         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
89035         useless if() expression.
89036         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89037         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
89038         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
89039         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89040         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
89041         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
89042         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89043         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89044         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
89045         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89046         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89047         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89048         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
89049         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89050         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
89051         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
89052         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89053         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89054         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
89056         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
89058 2011-10-25  Andreas Schwab  <schwab@redhat.com>
89060         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
89061         condition.
89062         * elf/dl-fini.c (_dl_sort_fini): Likewise.
89064 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89066         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
89067         .text section.  Avoid duplicate constants.
89068         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
89069         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89070         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89071         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89072         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89073         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89074         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89075         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89076         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
89077         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
89078         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
89079         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
89080         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
89081         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
89082         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
89083         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
89084         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
89085         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
89086         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
89087         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89088         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
89089         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
89090         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
89091         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
89092         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
89093         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
89094         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
89095         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
89096         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
89097         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
89098         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
89099         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
89100         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
89101         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
89102         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
89103         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
89104         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
89105         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
89106         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
89107         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
89108         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
89109         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
89110         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
89111         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
89112         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
89114 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
89116         * sysdeps/x86_64/dla.h: Move to ...
89117         * sysdeps/x86_64/fpu/dla.h: ...here.
89118         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
89119         situations.  Use __builtin_fma only for gcc 4.6 and up.
89121         * config.make.in: Add have-mfma4 entry.
89122         * configure.in: Substitute libc_cv_cc_fma4.
89123         * math/Makefile (dbl-only-routines): Add sincostab.
89124         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
89125         Use __sincostab not sincos.
89126         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
89127         name is a macro.
89128         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89129         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89130         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89131         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
89132         using __copysign.
89133         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
89134         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
89135         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
89136         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
89137         and __inv.
89138         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
89139         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
89140         __copysign.
89141         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
89142         define aliases when function name is a macro.
89143         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
89144         sysdeps/ieee754/dbl-64/sincos.tbl.
89145         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
89146         fma4-enabled routines.
89147         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
89148         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
89149         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
89150         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
89151         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
89152         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
89153         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
89154         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
89155         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
89156         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
89157         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
89158         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
89159         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
89160         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
89161         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
89162         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
89163         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
89164         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
89165         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
89166         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
89167         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
89168         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
89169         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
89170         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
89171         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
89172         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
89173         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
89174         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
89175         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
89176         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
89178         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
89179         rename.
89180         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89181         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89182         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89183         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89184         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89185         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89186         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89187         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89189 2011-10-24  Andreas Schwab  <schwab@redhat.com>
89191         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
89193 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89195         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
89197         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
89198         prediction.
89199         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
89201         * string/strnlen.c: Don't define STRNLEN, reverse logic.
89202         Remove unused variable magic_bits.
89203         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
89205         * string/strnlen.c: Define and use STRNLEN macro.
89206         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
89207         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
89208         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
89209         * wcsmbs/wcslen.c: Define and use WCSLEN.
89210         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
89211         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
89212         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
89213         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
89214         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
89215         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
89216         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
89218 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89220         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89221         strnlen-sse2-no-bsf.
89222         Rename strlen-no-bsf to strlen-sse2-no-bsf.
89223         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
89224         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
89225         Add strnlen support.
89226         (USE_AS_STRNLEN): New macro.
89227         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
89228         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
89229         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
89230         * sysdeps/x86_64/wcslen.S: New file.
89232 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
89234         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
89235         XMM-moves are used for copying on small sizes.
89237 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89239         * wcsmbs/Makefile (strop-tests): Add wcschr.
89240         * wcsmbs/test-wcschr.c: New file.
89241         * string/test-strchr.c: Update.
89242         Add wcschr support.
89243         (WIDE): New macro.
89245 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89247         * wcsmbs/Makefile (strop-tests): Add wcslen.
89248         * wcsmbs/test-wcslen.c: New file.
89249         * string/test-strlen.c: Update.
89250         Add wcslen support.
89251         (WIDE): New macro.
89253 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89255         * po/it.po: Update from translation team.
89257 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89259         * sysdeps/x86_64/wcscmp.S: Update.
89260         Fix wrong comparison semantics.
89261         wcscmp shall use signed comparison not unsigned.
89262         Don't use substraction to avoid overflow bug.
89263         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
89264         * wcsmbc/wcscmp.c: Likewise.
89265         * string/test-strcmp.c: Likewise.
89266         Add new tests to check cases with negative values.
89268 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89270         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
89271         * sysdeps/x86_64/dla.h: ...here.  New file.
89272         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
89273         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89274         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89275         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89276         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89277         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89278         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89279         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89280         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89282 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
89284         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
89285         __ynl_finite aliases.
89287 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
89289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
89291         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
89292         define DLA_FMA.
89293         [DLA_FMA] (EMULV): Use DLA_FMA.
89294         [DLA_FMA] (MUL12): Use EMULV.
89295         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
89296         that are not needed.
89297         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89298         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89299         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89300         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89301         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89302         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89303         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89305 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
89307         * math/s_nan.c: Undef __nan.
89308         * math/s_nanf.c: Undef __nanf.
89309         * math/s_nanl.c: Undef __nanl.
89310         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
89311         "math_private.h".
89313 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
89315         * math/s_catan.c: Add branch predictions.
89316         * math/s_catanf.c: Likewise.
89317         * math/s_catanh.c: Likewise.
89318         * math/s_catanhf.c: Likewise.
89319         * math/s_catanhl.c: Likewise.
89320         * math/s_catanl.c: Likewise.
89321         * math/s_cexp.c: Likewise.
89322         * math/s_cexpf.c: Likewise.
89323         * math/s_cexpl.c: Likewise.
89324         * math/s_clog.c: Likewise.
89325         * math/s_clog10.c: Likewise.
89326         * math/s_clog10f.c: Likewise.
89327         * math/s_clog10l.c: Likewise.
89328         * math/s_clogf.c: Likewise.
89329         * math/s_clogl.c: Likewise.
89330         * math/s_csqrt.c: Likewise.
89331         * math/s_csqrtf.c: Likewise.
89332         * math/s_csqrtl.c: Likewise.
89333         * math/s_ctanf.c: Likewise.
89334         * math/s_ctanh.c: Likewise.
89335         * math/s_ctanhf.c: Likewise.
89336         * math/s_ctanhl.c: Likewise.
89337         * math/s_ctanl.c: Likewise.
89339         * math/math_private.h: Define __nan, __nanf, __nanl.
89340         * math/s_cacosh.c: Include <math_private.h>.
89341         * math/s_cacoshl.c: Likewise.
89342         * math/s_casinh.c: Likewise.
89343         * math/s_casinhf.c: Likewise.
89344         * math/s_casinhl.c: Likewise.
89345         * math/s_ccos.c: Rely entire on ccosh.
89346         * math/s_ccosf.c: Rely entire on ccoshf.
89347         * math/s_ccosl.c: Rely entirely on ccoshl.
89348         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
89349         Remove tests for FE_INVALID.
89350         * math/s_ccoshf.c: Likewise.
89351         * math/s_ccoshl.c: Likewise.
89352         * math/s_csin.c: Likewise.
89353         * math/s_csinf.c: Likewise.
89354         * math/s_csinh.c Likewise.
89355         * math/s_csinhf.c: Likewise.
89356         * math/s_csinhl.c: Likewise.
89357         * math/s_csinl.c: Likewise.
89358         * math/s_ctan.c: Likewise.
89359         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
89360         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
89361         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
89363 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
89365         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
89366         compilation problems.
89368         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
89369         __builtin_expect.
89371 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
89373         * sysdeps/i386/configure.in: Test for -mfma4 option.
89374         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
89375         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
89376         COMMON_CPUID_INDEX_80000001.
89377         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
89378         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
89379         use it if FMA3 is not supported.
89380         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
89382         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
89383         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89385 2011-10-20  Andreas Schwab  <schwab@redhat.com>
89387         [BZ #12892]
89388         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
89389         it would create a cycle with a link time dependency.
89391 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
89393         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
89394         instruction.
89395         * string/Makefile (strop-tests): Add rawmemchr.
89396         * string/test-rawmemchr.c: New file.
89398         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
89399         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
89400         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
89401         when compiling str{,n}casecmp and when AVX is available.  Hook up
89402         new optimized code in initializers.
89404 2011-10-19  Andreas Schwab  <schwab@redhat.com>
89406         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
89407         __feraiseexcept instead of feraiseexcept.
89409 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
89411         * math/math_private.h: Define defaults for libc_fetestexcept and
89412         libc_feupdateenv.
89413         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
89414         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
89415         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89416         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
89417         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
89418         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
89419         libc_fetestexcept and libc_feupdateenv.
89421         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
89422         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
89423         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
89424         * sysdeps/x86_64/fpu/math_private.h: Define special version of
89425         libc_feholdexcept_setround.
89427         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
89428         Add s_nearbyint-c and s_nearbyintf-c.
89429         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
89430         nearbyintf inlines.
89431         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
89432         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
89433         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
89434         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
89436         * math/math_private.h: Define defaults for libc_fegetround,
89437         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
89438         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
89439         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
89440         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
89441         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
89442         standard functions.
89443         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89444         Remove comments and hacks for old compiler versions.
89445         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
89446         libc_fegetround, libc_fesetround, libc_feholdexcept, and
89447         libc_feholdexceptl.
89449 2011-10-18  Andreas Schwab  <schwab@redhat.com>
89451         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
89452         (__feraiseexcept_renamed): Add __NTH.
89453         (feraiseexcept): Add __NTH.  Rename local variables to fix
89454         namespace violations.
89456 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
89458         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
89460         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
89462         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
89463         recently added interfaces.
89464         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
89466         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
89467         about macro parameter expansion.
89469         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
89470         __NO_MATH_INLINES is defined.  Cleanups.
89472         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
89473         and __floorf is target has SSE4.1.
89474         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
89475         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
89476         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
89477         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
89479         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
89480         name.
89481         (floorf): Likewise.
89483         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
89485 2011-10-17  Andreas Schwab  <schwab@redhat.com>
89487         * misc/sys/cdefs.h: Fix last change.
89489         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
89490         database lookup.
89492 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
89494         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
89496         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
89497         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89498         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
89499         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89500         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89501         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
89502         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89503         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89504         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
89505         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
89506         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
89507         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
89508         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
89509         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
89510         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
89511         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
89512         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
89513         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
89514         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
89515         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
89516         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
89517         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
89519         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
89520         ceil, ceilf, floor, floorf.
89522         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
89523         Perform IRELATIVE relocations last.
89525         * elf/do-rel.h: Add another parameter nrelative, replacing the
89526         local variable with the same name.  Change name of the function
89527         to end in Rel or Rela (uppercase).
89528         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
89529         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
89530         elf_dynamic_do_##reloc function.
89532 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
89534         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
89535         is sufficient, at least on modern CPUs.
89537         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
89539         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
89540         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
89542         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
89543         __expl_finite.
89544         * math/bits/math-finite.h: Add entries for exp.
89545         * math/e_expl.c: Add __*_finite alias.
89546         * sysdeps/i386/fpu/e_exp.S: Likewise.
89547         * sysdeps/i386/fpu/e_expf.S: Likewise.
89548         * sysdeps/i386/fpu/e_expl.c: Likewise.
89549         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89550         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
89551         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
89552         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
89553         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
89554         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
89555         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
89557         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
89558         is sufficient, at least on modern CPUs.
89560         * ctype/ctype-info.c (__ctype_init): Define.
89561         * include/ctype.h (__ctype_init): Declare.
89562         (__ctype_b_loc): The variable is always initialized.
89563         (__ctype_toupper_loc): Likewise.
89564         (__ctype_tolower_loc): Likewise.
89565         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
89566         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
89568 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
89570         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
89572         * configure.in: Also look in $cxxmachine/include for C++ system
89573         headers.
89575 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89577         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
89578         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
89579         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
89580         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
89581         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
89582         (USE_AS_WMEMCMP): New macro.
89583         Fixing indents.
89584         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
89585         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
89586         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
89587         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
89588         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89589         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
89590         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
89591         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
89592         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
89593         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
89594         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
89595         (USE_AS_WMEMCMP): New macro.
89596         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
89597         * sysdeps/string/test-memcmp.c: Update.
89598         Fix simple_wmemcmp.
89599         Add new tests.
89600         * wcsmbs/wmemcmp.c: Update.
89601         (WMEMCMP): New macro.
89602         Fix overflow bug.
89604 2011-10-12  Andreas Jaeger  <aj@suse.de>
89606         [BZ #13268]
89607         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
89609 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
89611         * libio/iofwide.c (do_length): Avoid warning.
89613         * ctype/ctype.h (__isctype_f): Add missing __THROW.
89615 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
89617         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
89619         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
89620         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
89621         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
89622         * sysdeps/i386/i686/fpu/e_log.S: New file.
89623         * sysdeps/i386/i686/fpu/e_logf.S: New file.
89624         * sysdeps/i386/i686/fpu/e_logl.S: New file.
89626         * ctype/ctype.h: Add support for inlined isXXX functions when
89627         compiling C++ code.
89629 2011-10-14  Andreas Schwab  <schwab@redhat.com>
89631         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89633         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
89635 2011-10-13  Roland McGrath  <roland@hack.frob.com>
89637         [BZ #13291]
89638         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
89640 2011-10-13  Andreas Schwab  <schwab@redhat.com>
89642         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
89643         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
89644         feraiseexcept.
89646         * sysdeps/x86_64/memrchr.S: Check for zero size.
89648         * string/stratcliff.c: Add memrchr tests.
89650 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89652         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89653         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
89654         rawmemchr-sse2 rawmemchr-sse2-bsf.
89655         * sysdeps/i386/i686/multiarch/memchr.S: New file.
89656         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
89657         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
89658         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
89659         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
89660         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
89661         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
89662         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
89663         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
89664         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
89665         * string/memrchr.c (MEMRCHR): New macro.
89667 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
89669         Add integration with gcc's -ffinite-math-only and optimize wrapper
89670         functions in libm.
89671         * Versions.def: Define GLIBC_2.15 version for libm.
89672         * math/Makefile (headers): Add bits/math-finite.h.
89673         * math/bits/math-finite.h: New file.
89674         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
89675         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
89676         * math/e_acoshl.c: Add __*_finite alias.
89677         * math/e_acosl.c: Likewise.
89678         * math/e_asinl.c: Likewise.
89679         * math/e_atan2l.c: Likewise.
89680         * math/e_atanhl.c: Likewise.
89681         * math/e_coshl.c: Likewise.
89682         * math/e_exp10.c: Likewise.
89683         * math/e_exp10f.c: Likewise.
89684         * math/e_exp10l.c: Likewise.
89685         * math/e_exp2l.c: Likewise.
89686         * math/e_fmodl.c: Likewise.
89687         * math/e_gammal_r.c: Likewise.
89688         * math/e_hypotl.c: Likewise.
89689         * math/e_j0l.c: Likewise.
89690         * math/e_j1l.c: Likewise.
89691         * math/e_jnl.c: Likewise.
89692         * math/e_lgammal_r.c: Likewise.
89693         * math/e_log10l.c: Likewise.
89694         * math/e_log2l.c: Likewise.
89695         * math/e_logl.c: Likewise.
89696         * math/e_powl.c: Likewise.
89697         * math/e_sinhl.c: Likewise.
89698         * math/e_sqrtl.c: Likewise.
89699         * math/e_scalb.c: Completely rewritten and optimized.
89700         * math/e_scalbf.c: Likewise.
89701         * math/e_scalbl.c: Likewise.
89702         * math/w_acos.c: Likewise.
89703         * math/w_acosf.c: Likewise.
89704         * math/w_acosl.c: Likewise.
89705         * math/w_acosh.c: Likewise.
89706         * math/w_acoshf.c: Likewise.
89707         * math/w_acoshl.c: Likewise.
89708         * math/w_asin.c: Likewise.
89709         * math/w_asinf.c: Likewise.
89710         * math/w_asinl.c: Likewise.
89711         * math/w_atan2.c: Likewise.
89712         * math/w_atan2f.c: Likewise.
89713         * math/w_atan2l.c: Likewise.
89714         * math/w_atanh.c: Likewise.
89715         * math/w_atanhf.c: Likewise.
89716         * math/w_atanhl.c: Likewise.
89717         * math/w_exp10.c: Likewise.
89718         * math/w_exp10f.c: Likewise.
89719         * math/w_exp10l.c: Likewise.
89720         * math/w_fmod.c: Likewise.
89721         * math/w_fmodf.c: Likewise.
89722         * math/w_fmodl.c: Likewise.
89723         * math/w_j0.c: Likewise.
89724         * math/w_j0f.c: Likewise.
89725         * math/w_j0l.c: Likewise.
89726         * math/w_j1.c: Likewise.
89727         * math/w_j1f.c: Likewise.
89728         * math/w_j1l.c: Likewise.
89729         * math/w_jn.c: Likewise.
89730         * math/w_jnf.c: Likewise.
89731         * math/w_log.c: Likewise.
89732         * math/w_logf.c: Likewise.
89733         * math/w_logl.c: Likewise.
89734         * math/w_log10.c: Likewise.
89735         * math/w_log10f.c: Likewise.
89736         * math/w_log10l.c: Likewise.
89737         * math/w_log2.c: Likewise.
89738         * math/w_log2f.c: Likewise.
89739         * math/w_log2l.c: Likewise.
89740         * math/w_pow.c: Likewise.
89741         * math/w_powf.c: Likewise.
89742         * math/w_powl.c: Likewise.
89743         * math/w_remainder.c: Likewise.
89744         * math/w_remainderf.c: Likewise.
89745         * math/w_remainderl.c: Likewise.
89746         * math/w_scalb.c: Likewise.
89747         * math/w_scalbf.c: Likewise.
89748         * math/w_scalbl.c: Likewise.
89749         * math/w_sqrt.c: Likewise.
89750         * math/w_sqrtf.c: Likewise.
89751         * math/w_sqrtl.c: Likewise.
89752         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
89753         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
89754         used.
89755         * math/math_private.h: Declare __kernel_standard_f.
89756         * math/w_cosh.c: Remove cruft and optimize a bit.
89757         * math/w_coshf.c: Likewise.
89758         * math/w_coshl.c: Likewise.
89759         * math/w_exp2.c: Likewise.
89760         * math/w_exp2f.c: Likewise.
89761         * math/w_exp2l.c: Likewise.
89762         * math/w_hypot.c: Likewise.
89763         * math/w_hypotf.c: Likewise.
89764         * math/w_hypotl.c: Likewise.
89765         * math/w_lgamma.c: Likewise.
89766         * math/w_lgamma_r.c: Likewise.
89767         * math/w_lgammaf.c: Likewise.
89768         * math/w_lgammaf_r.c: Likewise.
89769         * math/w_lgammal.c: Likewise.
89770         * math/w_lgammal_r.c: Likewise.
89771         * math/w_sinh.c: Likewise.
89772         * math/w_sinhf.c: Likewise.
89773         * math/w_sinhl.c: Likewise.
89774         * math/w_tgamma.c: Likewise.
89775         * math/w_tgammaf.c: Likewise.
89776         * math/w_tgammal.c: Likewise.
89777         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
89778         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89779         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
89780         Minor optimizations.  Pretty printing.  Remove cruft.
89781         * sysdeps/i386/fpu/e_acosf.S: Likewise.
89782         * sysdeps/i386/fpu/e_acosh.S: Likewise.
89783         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
89784         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
89785         * sysdeps/i386/fpu/e_acosl.c: Likewise.
89786         * sysdeps/i386/fpu/e_asin.S: Likewise.
89787         * sysdeps/i386/fpu/e_asinf.S: Likewise.
89788         * sysdeps/i386/fpu/e_atan2.S: Likewise.
89789         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
89790         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
89791         * sysdeps/i386/fpu/e_atanh.S: Likewise.
89792         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
89793         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
89794         * sysdeps/i386/fpu/e_exp10.S: Likewise.
89795         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
89796         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
89797         * sysdeps/i386/fpu/e_exp2.S: Likewise.
89798         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
89799         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
89800         * sysdeps/i386/fpu/e_fmod.S: Likewise.
89801         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
89802         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
89803         * sysdeps/i386/fpu/e_hypot.S: Likewise.
89804         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
89805         * sysdeps/i386/fpu/e_log.S: Likewise.
89806         * sysdeps/i386/fpu/e_log10.S: Likewise.
89807         * sysdeps/i386/fpu/e_log10f.S: Likewise.
89808         * sysdeps/i386/fpu/e_log10l.S: Likewise.
89809         * sysdeps/i386/fpu/e_log2.S: Likewise.
89810         * sysdeps/i386/fpu/e_log2f.S: Likewise.
89811         * sysdeps/i386/fpu/e_log2l.S: Likewise.
89812         * sysdeps/i386/fpu/e_logf.S: Likewise.
89813         * sysdeps/i386/fpu/e_logl.S: Likewise.
89814         * sysdeps/i386/fpu/e_pow.S: Likewise.
89815         * sysdeps/i386/fpu/e_powf.S: Likewise.
89816         * sysdeps/i386/fpu/e_powl.S: Likewise.
89817         * sysdeps/i386/fpu/e_remainder.S: Likewise.
89818         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
89819         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
89820         * sysdeps/i386/fpu/e_scalb.S: Likewise.
89821         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
89822         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
89823         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
89824         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
89825         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
89826         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
89827         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89828         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89829         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
89830         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89831         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
89832         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
89833         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
89834         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89835         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
89836         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
89837         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
89838         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89839         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
89840         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
89841         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89842         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
89843         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
89844         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89845         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89846         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
89847         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
89848         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89849         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89850         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
89851         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
89852         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89853         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
89854         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
89855         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
89856         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89857         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
89858         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89859         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
89860         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
89861         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
89862         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
89863         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
89864         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
89865         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
89866         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
89867         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
89868         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
89869         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
89870         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89871         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
89872         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
89873         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
89874         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
89875         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
89876         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
89877         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
89878         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
89879         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
89880         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
89881         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
89882         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
89883         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
89884         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
89885         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
89886         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
89887         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
89888         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89889         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89890         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
89891         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
89892         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
89893         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
89894         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
89895         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
89896         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
89897         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
89898         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
89899         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
89900         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
89901         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
89902         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
89903         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
89904         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89905         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
89906         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89907         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
89908         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
89909         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89910         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89911         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
89912         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
89913         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
89914         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
89915         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
89916         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89917         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
89918         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
89919         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
89920         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
89921         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
89922         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
89923         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
89924         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
89925         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
89926         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
89927         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
89928         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
89929         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
89930         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
89931         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
89932         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
89933         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
89934         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
89935         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
89936         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
89937         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
89938         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
89939         (__isnanf): Likewise.
89940         (__isinf_ns): Likewise.
89941         (__isinf_nsf): Likewise.
89942         (__finite): Likewise.
89943         (__finitef): Likewise.
89944         (__ieee754_sqrt): Define as macro.
89945         (__ieee754_sqrtf): Define as macro.
89946         (__ieee754_sqrtl): Define as macro.
89947         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
89948         inlined copy.
89949         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
89950         __FINITE_MATH_ONLY__ consistent.
89951         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
89953 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
89955         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
89956         of rawmemchr.
89958         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
89960 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
89962         * po/ja.po: Update from translation team.
89964 2011-10-08  Roland McGrath  <roland@hack.frob.com>
89966         * locale/programs/locarchive.c (prepare_address_space): New function.
89967         (create_archive, enlarge_archive, open_archive): Use it.
89969         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
89970         inside [SHARED], where it is used.
89972         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
89974         * nss/getent.c (netgroup_keys): Remove unused variable.
89975         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
89977 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
89979         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
89980         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
89981         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
89982         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
89983         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
89984         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
89985         * math/Makefile (libm-calls): Add s_isinf_ns.
89986         * math/divtc3.c: Use __isinf_nsl instead of isinf.
89987         * math/multc3.c: Likewise.
89988         * math/s_casin.c: Likewise.
89989         * math/s_casinf.c: Likewise.
89990         * math/s_casinl.c: Likewise.
89991         * math/s_ccos.c: Likewise.
89992         * math/s_ccosf.c: Likewise.
89993         * math/s_ccosl.c: Likewise.
89994         * math/s_ctan.c: Likewise.
89995         * math/s_ctanf.c: Likewise.
89996         * math/s_ctanh.c: Likewise.
89997         * math/s_ctanhf.c: Likewise.
89998         * math/s_ctanhl.c: Likewise.
89999         * math/s_ctanl.c: Likewise.
90000         * math/w_fmod.c: Likewise.
90001         * math/w_fmodf.c: Likewise.
90002         * math/w_fmodl.c: Likewise.
90003         * math/w_remainder.c: Likewise.
90004         * math/w_remainderf.c: Likewise.
90005         * math/w_remainderl.c: Likewise.
90006         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
90007         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
90008         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
90009         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
90010         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
90011         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
90012         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
90013         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
90015         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
90016         of the number.
90017         * stdio-common/printf_fphex.c: Likewise.
90018         * stdio-common/printf_size.c: Likewise.
90020         * math/e_exp10.c: Include math_private.h using <...> not "...".
90021         * math/e_exp10f.c: Likewise.
90022         * math/e_exp10l.c: Likewise.
90023         * math/e_exp2l.c: Likewise.
90024         * math/e_j0l.c: Likewise.
90025         * math/e_j1l.c: Likewise.
90026         * math/e_jnl.c: Likewise.
90027         * math/e_lgammal_r.c: Likewise.
90028         * math/e_rem_pio2l.c: Likewise.
90029         * math/e_scalb.c: Likewise.
90030         * math/e_scalbf.c: Likewise.
90031         * math/e_scalbl.c: Likewise.
90032         * math/k_cosl.c: Likewise.
90033         * math/k_sinl.c: Likewise.
90034         * math/k_tanl.c: Likewise.
90035         * math/s_cacoshf.c: Likewise.
90036         * math/s_catan.c: Likewise.
90037         * math/s_catanf.c: Likewise.
90038         * math/s_catanh.c: Likewise.
90039         * math/s_catanhf.c: Likewise.
90040         * math/s_catanhl.c: Likewise.
90041         * math/s_catanl.c: Likewise.
90042         * math/s_ccosh.c: Likewise.
90043         * math/s_ccoshf.c: Likewise.
90044         * math/s_ccoshl.c: Likewise.
90045         * math/s_cexp.c: Likewise.
90046         * math/s_cexpf.c: Likewise.
90047         * math/s_cexpl.c: Likewise.
90048         * math/s_clog.c: Likewise.
90049         * math/s_clog10.c: Likewise.
90050         * math/s_clog10f.c: Likewise.
90051         * math/s_clog10l.c: Likewise.
90052         * math/s_clogf.c: Likewise.
90053         * math/s_clogl.c: Likewise.
90054         * math/s_csin.c: Likewise.
90055         * math/s_csinf.c: Likewise.
90056         * math/s_csinh.c: Likewise.
90057         * math/s_csinhf.c: Likewise.
90058         * math/s_csinhl.c: Likewise.
90059         * math/s_csinl.c: Likewise.
90060         * math/s_csqrt.c: Likewise.
90061         * math/s_csqrtf.c: Likewise.
90062         * math/s_csqrtl.c: Likewise.
90063         * math/s_ctan.c: Likewise.
90064         * math/s_ctanf.c: Likewise.
90065         * math/s_ctanh.c: Likewise.
90066         * math/s_ctanhf.c: Likewise.
90067         * math/s_ctanhl.c: Likewise.
90068         * math/s_ctanl.c: Likewise.
90069         * math/s_ldexp.c: Likewise.
90070         * math/s_ldexpf.c: Likewise.
90071         * math/s_ldexpl.c: Likewise.
90072         * math/s_significand.c: Likewise.
90073         * math/s_significandf.c: Likewise.
90074         * math/s_significandl.c: Likewise.
90075         * math/w_acos.c: Likewise.
90076         * math/w_acosf.c: Likewise.
90077         * math/w_acosh.c: Likewise.
90078         * math/w_acoshf.c: Likewise.
90079         * math/w_acoshl.c: Likewise.
90080         * math/w_acosl.c: Likewise.
90081         * math/w_asin.c: Likewise.
90082         * math/w_asinf.c: Likewise.
90083         * math/w_asinl.c: Likewise.
90084         * math/w_atan2.c: Likewise.
90085         * math/w_atan2f.c: Likewise.
90086         * math/w_atan2l.c: Likewise.
90087         * math/w_atanh.c: Likewise.
90088         * math/w_atanhf.c: Likewise.
90089         * math/w_atanhl.c: Likewise.
90090         * math/w_cosh.c: Likewise.
90091         * math/w_coshf.c: Likewise.
90092         * math/w_coshl.c: Likewise.
90093         * math/w_dremf.c: Likewise.
90094         * math/w_exp10.c: Likewise.
90095         * math/w_exp10f.c: Likewise.
90096         * math/w_exp10l.c: Likewise.
90097         * math/w_exp2.c: Likewise.
90098         * math/w_exp2f.c: Likewise.
90099         * math/w_fmod.c: Likewise.
90100         * math/w_fmodf.c: Likewise.
90101         * math/w_fmodl.c: Likewise.
90102         * math/w_hypot.c: Likewise.
90103         * math/w_hypotf.c: Likewise.
90104         * math/w_hypotl.c: Likewise.
90105         * math/w_j0.c: Likewise.
90106         * math/w_j0f.c: Likewise.
90107         * math/w_j0l.c: Likewise.
90108         * math/w_j1.c: Likewise.
90109         * math/w_j1f.c: Likewise.
90110         * math/w_j1l.c: Likewise.
90111         * math/w_jn.c: Likewise.
90112         * math/w_jnf.c: Likewise.
90113         * math/w_jnl.c: Likewise.
90114         * math/w_lgamma.c: Likewise.
90115         * math/w_lgamma_r.c: Likewise.
90116         * math/w_lgammaf.c: Likewise.
90117         * math/w_lgammaf_r.c: Likewise.
90118         * math/w_lgammal.c: Likewise.
90119         * math/w_lgammal_r.c: Likewise.
90120         * math/w_log.c: Likewise.
90121         * math/w_log10.c: Likewise.
90122         * math/w_log10f.c: Likewise.
90123         * math/w_log10l.c: Likewise.
90124         * math/w_log2.c: Likewise.
90125         * math/w_log2f.c: Likewise.
90126         * math/w_log2l.c: Likewise.
90127         * math/w_logf.c: Likewise.
90128         * math/w_logl.c: Likewise.
90129         * math/w_pow.c: Likewise.
90130         * math/w_powf.c: Likewise.
90131         * math/w_powl.c: Likewise.
90132         * math/w_remainder.c: Likewise.
90133         * math/w_remainderf.c: Likewise.
90134         * math/w_remainderl.c: Likewise.
90135         * math/w_scalb.c: Likewise.
90136         * math/w_scalbf.c: Likewise.
90137         * math/w_scalbl.c: Likewise.
90138         * math/w_sinh.c: Likewise.
90139         * math/w_sinhf.c: Likewise.
90140         * math/w_sinhl.c: Likewise.
90141         * math/w_sqrt.c: Likewise.
90142         * math/w_sqrtf.c: Likewise.
90143         * math/w_sqrtl.c: Likewise.
90144         * math/w_tgamma.c: Likewise.
90145         * math/w_tgammaf.c: Likewise.
90146         * math/w_tgammal.c: Likewise.
90148         * po/ja.po: Update from translation team.
90150 2011-09-29  Andreas Jaeger  <aj@suse.de>
90152         [BZ #13179]
90153         * sunrpc/netname.c (netname2host): Fix logic.
90155         [BZ #6779]
90156         [BZ #6783]
90157         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
90158         correctly.
90159         * math/w_remainder.c (__remainder): Likewise.
90160         * math/w_remainderf.c (__remainderf): Likewise.
90161         * math/libm-test.inc (remainder_test): Add test cases.
90163 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90165         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
90166         sdiv_qrnnd.
90168 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
90170         * string/test-memcmp.c: Avoid unncessary #defines.
90171         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90173 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90175         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
90176         Use new sse2 version for core i3 - i7 as it's faster
90177         than sse42 version.
90178         (bit_Prefer_PMINUB_for_stringop): New.
90179         * sysdeps/x86_64/rawmemchr.S: Update.
90180         Replace with faster SSE2 version.
90181         * sysdeps/x86_64/memrchr.S: New file.
90182         * sysdeps/x86_64/memchr.S: Update.
90183         Replace with faster SSE2 version.
90185 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
90187         * elf/dl-load.c (lose): Add cast to avoid warning.
90189 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
90191         * po/ca.po: Update from translation team.
90193         * inet/getnetgrent_r.c: Hook up nscd.
90194         * nscd/Makefile (routines): Add nscd_netgroup.
90195         (nscd-modules): Add netgroupcache.
90196         (CFLAGS-netgroupcache.c): Define.
90197         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
90198         (cache_search): Add const to second parameter.
90199         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
90200         INNETGR.
90201         (dbs): Add netgrdb entry.
90202         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
90203         (verify_persistent_db): Handle netgrdb.
90204         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
90205         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
90206         GETFDNETGR.
90207         (netgroup_response_header): Define.
90208         (innetgroup_response_header): Define.
90209         (datahead): Add netgroup_response_header and innetgroup_response_header
90210         elements.
90211         * nscd/nscd.conf: Add entries for netgroup cache.
90212         * nscd/nscd.h (dbtype): Add netgrdb.
90213         (_PATH_NSCD_NETGROUP_DB): Define.
90214         (netgroup_iov_disabled): Declare.
90215         (xmalloc, xcalloc, xrealloc): Move declarations here.
90216         (cache_search): Adjust prototype.
90217         Add netgroup-related prototypes.
90218         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
90219         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
90220         (__nscd_innetgr): Declare.
90221         * nscd/selinux.c (perms): Use access_vector_t as element type and
90222         add netgroup-related initializers.
90223         * nscd/netgroupcache.c: New file.
90224         * nscd/nscd_netgroup.c: New file.
90225         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
90226         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
90227         For four parameters use innetgr.
90228         * nss/nss_files/files-init.c: Add definition and callback for netgr.
90229         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
90230         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
90231         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
90233         * nscd/connections.c (register_traced_file): Don't register file
90234         for disabled databases.
90236 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
90238         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
90240         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
90241         from tree and freeing node.
90243 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
90245         * nss/nsswitch.c (__nss_database_lookup): Handle
90246         nss_parse_service_list out of memory case.
90248 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
90250         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
90251         out of memory case.
90253 2011-10-04  Andreas Schwab  <schwab@redhat.com>
90255         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
90256         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
90257         pass it down.
90258         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
90259         elf_machine_rela, elf_machine_lazy_rel.
90260         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
90261         (ELF_DYNAMIC_DO_REL): Likewise.
90262         (ELF_DYNAMIC_DO_RELA): Likewise.
90263         (ELF_DYNAMIC_RELOCATE): Likewise.
90264         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
90265         to ELF_DYNAMIC_DO_REL.
90266         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
90267         (dl_main): In trace mode always set __RTLD_NOIFUNC.
90268         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
90269         elf_machine_rela.
90270         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
90271         skip_ifunc, don't call ifunc function if non-zero.
90272         (elf_machine_rela): Likewise.
90273         (elf_machine_lazy_rel): Likewise.
90274         (elf_machine_lazy_rela): Likewise.
90275         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
90276         (elf_machine_lazy_rel): Likewise.
90277         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
90278         Likewise.
90279         (elf_machine_lazy_rel): Likewise.
90280         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90281         Likewise.
90282         (elf_machine_lazy_rel): Likewise.
90283         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
90284         (elf_machine_lazy_rel): Likewise.
90285         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
90286         (elf_machine_lazy_rel): Likewise.
90287         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
90288         (elf_machine_lazy_rel): Likewise.
90289         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
90290         (elf_machine_lazy_rel): Likewise.
90291         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
90292         (elf_machine_lazy_rel): Likewise.
90293         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
90294         (elf_machine_lazy_rel): Likewise.
90296 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
90298         * nss/nss_files/files-init.c (_nss_files_init): Use static
90299         initialization for all the *_traced_file variables.
90301 2011-09-28  Andreas Schwab  <schwab@redhat.com>
90303         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90305 2011-09-27  Roland McGrath  <roland@hack.frob.com>
90307         [BZ #13226]
90308         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
90310 2011-09-27  Andreas Schwab  <schwab@redhat.com>
90312         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90313         Reread the line before reparsing it.
90315 2011-09-26  Andreas Schwab  <schwab@redhat.com>
90317         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
90319 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
90320             Maxim Kuvyrkov  <maxim@codesourcery.com>
90321             Joseph Myers  <joseph@codesourcery.com>
90323         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
90324         if needed for __stack_chk_guard.
90326 2011-09-19  Roland McGrath  <roland@hack.frob.com>
90328         * sysdeps/posix/spawni.c (script_execute): Always define it.
90329         It will be optimized away if unused.
90330         (maybe_script_execute): New function.
90331         (__spawni): Call it.
90333         * Makerules: Don't include tls.make.
90334         (config-tls): Always set to thread.
90335         * tls.make.c: File removed.
90337 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
90339         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
90340         * config.make.in (CPPFLAGS-config): New substituted variable.
90342 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
90344         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
90346         [BZ #13192]
90347         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
90348         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
90350 2011-09-15  Roland McGrath  <roland@hack.frob.com>
90352         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
90353         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
90354         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
90355         (CALL_FAIL): Likewise.
90356         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
90357         (CALL_FAIL): Macro removed.
90358         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
90360 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
90362         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
90363         for __FINITE_MATH_ONLY__ == 1.
90365 2011-09-15  Andreas Schwab  <schwab@redhat.com>
90367         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
90368         __ieee754_sqrt instead of sqrt.
90369         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
90370         __ieee754_sqrtf instead of sqrtf.
90371         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
90372         __floorf instead of floorf.
90373         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
90374         __floorf, __truncf instead of floorf, truncf.
90376 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
90378         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
90380         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
90381         __extern_always_inline.
90382         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
90383         32-bit.
90385 2011-09-14  Andreas Schwab  <schwab@redhat.com>
90387         * elf/rtld.c (dl_main): Also relocate in dependency order when
90388         doing symbol dependency testing.
90390 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
90392         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90393         Always define `refsym'.
90395 2011-09-13  Andreas Schwab  <schwab@redhat.com>
90397         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
90398         (__FD_ELT): Renamed from __FDELT.
90399         * misc/bits/select2.h (__FD_ELT): Likewise.
90400         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
90401         __FD_MASK instead of __FDELT, __FDMASK.
90402         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
90403         Likewise.
90404         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
90405         Likewise.
90407         * elf/Makefile (gen-ldd): Fix pattern.
90409         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
90410         (init_tls): Likewise.
90412 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
90414         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
90416 2011-09-12  Andreas Schwab  <schwab@redhat.com>
90418         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
90419         `struct cmsghdr *' instead of `void *'.
90420         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
90421         Likewise.
90423 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
90425         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
90426         if non-absolute.
90427         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
90428         ldd_rewrite_script.
90430 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
90432         * configure.in: Remove --with-tls option.
90433         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
90434         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
90435         out in case it is missing.
90436         * sysdeps/ia64/elf/configure.in: Likewise.
90437         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
90438         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
90439         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
90440         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
90441         * sysdeps/sh/elf/configure.in: Likewise.
90442         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
90443         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
90444         * sysdeps/x86_64/elf/configure.in: Likewise.
90445         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
90446         * sysdeps/mach/hurd/tls.h: Likewise.
90448         [BZ #13067]
90449         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
90451         [BZ #13090]
90452         * configure.in: Fix use of AC_INIT.
90454         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
90456 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
90458         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
90459         __set_errno.
90460         * malloc/hooks.c: Likewise.
90462         [BZ #11929]
90463         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
90464         variables statically.
90465         (narenas): Initialize.
90466         (list_lock): Initialize.
90467         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
90468         initializtion of main_arena and list_lock.  Small cleanups.
90469         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
90470         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
90471         Add initializers to main_arena and mp_.
90472         (malloc_state): Remove pagesize member.  Change all users to use
90473         GLRO(dl_pagesize).
90475         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
90476         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
90477         is always initialized.
90479         * malloc/malloc.c: Removed unused configurations and dead code.
90480         * malloc/arena.c: Likewise.
90481         * malloc/hooks.c: Likewise.
90482         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
90484         * include/tls.h: Removed.  USE___THREAD must always be defined.
90485         * bits/libc-tsd.h: Don't handle !USE___THREAD.
90486         * elf/dl-libc.c: Likewise.
90487         * elf/dl-tsd.c: Likewise.
90488         * include/errno.h: Likewise.
90489         * include/netdb.h: Likewise.
90490         * include/resolv.h: Likewise.
90491         * inet/herrno-loc.c: Likewise.
90492         * inet/herrno.c: Likewise.
90493         * malloc/arena.c: Likewise.
90494         * malloc/hooks.c: Likewise.
90495         * malloc/malloc.c: Likewise.
90496         * resolv/res-state.c: Likewise.
90497         * resolv/res_libc.c: Likewise.
90498         * sysdeps/i386/dl-machine.h: Likewise.
90499         * sysdeps/ia64/dl-machine.h: Likewise.
90500         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
90501         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
90502         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
90503         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
90504         * sysdeps/sh/dl-machine.h: Likewise.
90505         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
90506         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
90507         * sysdeps/unix/i386/sysdep.S: Likewise.
90508         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
90509         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
90510         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
90511         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
90512         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
90513         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
90514         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
90515         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
90516         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
90517         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
90518         * sysdeps/unix/x86_64/sysdep.S: Likewise.
90519         * sysdeps/x86_64/dl-machine.h: Likewise.
90520         * tls.make.c: Likewise.
90522         * configure.in: Remove --with-__thread option.  Make tests for
90523         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
90524         tls_model attribute fail if no support is available.  Remove
90525         USE_IN_LIBIO.
90526         * Makeconfig: Adjust for dropped configure option.  All features are
90527         now mandatory.
90528         * Makerules: Likewise.
90529         * Versions.def: Likewise.
90530         * argp/argp-fmtstream.c: Likewise.
90531         * argp/argp-fmtstream.h: Likewise.
90532         * argp/argp-help.c: Likewise.
90533         * assert/assert.c: Likewise.
90534         * config.h.in: Likewise.
90535         * config.make.in: Likewise.
90536         * configure: Likewise.
90537         * configure.in: Likewise.
90538         * csu/Versions: Likewise.
90539         * csu/init.c: Likewise.
90540         * elf/tst-audit2.c: Likewise.
90541         * elf/tst-tls10.c: Likewise.
90542         * elf/tst-tls10.h: Likewise.
90543         * elf/tst-tls11.c: Likewise.
90544         * elf/tst-tls12.c: Likewise.
90545         * elf/tst-tls14.c: Likewise.
90546         * elf/tst-tlsmod11.c: Likewise.
90547         * elf/tst-tlsmod12.c: Likewise.
90548         * elf/tst-tlsmod13.c: Likewise.
90549         * elf/tst-tlsmod13a.c: Likewise.
90550         * elf/tst-tlsmod14a.c: Likewise.
90551         * elf/tst-tlsmod15b.c: Likewise.
90552         * elf/tst-tlsmod16a.c: Likewise.
90553         * elf/tst-tlsmod16b.c: Likewise.
90554         * elf/tst-tlsmod7.c: Likewise.
90555         * elf/tst-tlsmod8.c: Likewise.
90556         * elf/tst-tlsmod9.c: Likewise.
90557         * gmon/gmon.c: Likewise.
90558         * grp/fgetgrent_r.c: Likewise.
90559         * grp/putgrent.c: Likewise.
90560         * hurd/fopenport.c: Likewise.
90561         * include/libc-symbols.h: Likewise.
90562         * include/tls.h: Likewise.
90563         * intl/gettextP.h: Likewise.
90564         * intl/loadinfo.h: Likewise.
90565         * locale/global-locale.c: Likewise.
90566         * locale/localeinfo.h: Likewise.
90567         * mach/devstream.c: Likewise.
90568         * malloc/arena.c: Likewise.
90569         * malloc/set-freeres.c: Likewise.
90570         * misc/err.c: Likewise.
90571         * misc/getttyent.c: Likewise.
90572         * misc/mntent_r.c: Likewise.
90573         * posix/getopt.c: Likewise.
90574         * posix/wordexp.c: Likewise.
90575         * pwd/fgetpwent_r.c: Likewise.
90576         * resolv/Versions: Likewise.
90577         * resolv/res_hconf.c: Likewise.
90578         * shadow/fgetspent_r.c: Likewise.
90579         * shadow/putspent.c: Likewise.
90580         * stdio-common/printf_fphex.c: Likewise.
90581         * stdio-common/tmpfile.c: Likewise.
90582         * stdlib/abort.c: Likewise.
90583         * stdlib/fmtmsg.c: Likewise.
90584         * sunrpc/auth_unix.c: Likewise.
90585         * sunrpc/clnt_perr.c: Likewise.
90586         * sunrpc/clnt_tcp.c: Likewise.
90587         * sunrpc/clnt_udp.c: Likewise.
90588         * sunrpc/clnt_unix.c: Likewise.
90589         * sunrpc/openchild.c: Likewise.
90590         * sunrpc/svc_simple.c: Likewise.
90591         * sunrpc/svc_tcp.c: Likewise.
90592         * sunrpc/svc_udp.c: Likewise.
90593         * sunrpc/svc_unix.c: Likewise.
90594         * sunrpc/xdr.c: Likewise.
90595         * sunrpc/xdr_array.c: Likewise.
90596         * sunrpc/xdr_rec.c: Likewise.
90597         * sunrpc/xdr_ref.c: Likewise.
90598         * sunrpc/xdr_stdio.c: Likewise.
90600 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90602         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90604 2011-07-03  Andreas Jaeger  <aj@suse.de>
90606         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
90607         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
90608         regenerate with gen-libm-tests.pl.
90610 2010-05-12  Petr Baudis  <pasky@suse.cz>
90612         [BZ #11589]
90613         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
90614         around j0() zero points by switching to j1().
90615         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
90616         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
90617         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
90618         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
90620 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90622         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
90623         instead of 0.
90624         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
90625         instead of 0.
90626         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
90627         Patch in part by Pavel Roskin <proski@gnu.org>.
90629         [BZ #13138]
90630         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
90631         realloc.
90632         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
90633         Free memory block if necessary.
90635         [BZ #12847]
90636         * libio/genops.c (INTDEF): For string streams the _lock pointer can
90637         be NULL.  Don't lock in this case.
90639 2011-09-09  Roland McGrath  <roland@hack.frob.com>
90641         * elf/elf.h (ELFOSABI_GNU): New macro.
90642         (ELFOSABI_LINUX): Define to that.
90644 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
90646         * string/strncat.c (strncat): Undef the symbol in case it has been
90647         defined in bits/string.h.
90649 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90651         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
90653         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
90654         link map.
90656 2011-08-17  Andreas Jaeger  <aj@suse.de>
90658         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
90660 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
90661             Ian Lance Taylor  <iant@google.com>
90663         * math/libm-test.inc (lround_test): New testcase.
90664         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
90666 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
90668         * Makefile: Remove support for automatic cvs check-ins.
90669         * Makerules: Likewise.
90670         * config.make.in: Likewise.
90671         * configure.in: Likewise.
90672         * intl/Makefile: Likewise.
90673         * locale/Makefile: Likewise.
90674         * po/Makefile: Likewise.
90675         * posix/Makefile: Likewise.
90676         * sysdeps/gnu/Makefile: Likewise.
90677         * sysdeps/mach/hurd/Makefile: Likewise.
90678         * sysdeps/sparc/sparc32/Makefile: Likewise.
90680         [BZ #13118]
90681         * posix/Makefile (bug-regex32-ENV): Define.
90682         Patch by John Stanley <jpsinthemix@verizon.net>.
90684         * misc/Makefile (headers): Add bits/select2.h.
90685         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
90686         * misc/bits/select2.h: New file.
90687         * include/bits/select2.h: New file.
90688         * debug/Makefile (routines): Add fdelt_chk.
90689         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
90690         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
90691         FD_ISSET.
90692         * debug/fdelt_chk.c: New file.
90694         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
90695         * wcsmbs/test-wmemcmp.c: Likewise.
90696         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
90697         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
90699 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90701         * string/Makefile (strop-tests): Add memcmp.
90702         * string/test-wmemcmp.c: New file.
90703         * string/test-memcmp.c: Add wmemcmp support.
90705 2011-09-08  Roland McGrath  <roland@hack.frob.com>
90707         [BZ #13153]
90708         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
90709         2011-07-19 change.
90711         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
90712         garbage value in a __mach_port_mod_refs call in the cases of the
90713         task-self and thread-self ports.
90715 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90717         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
90719 2011-09-08  Andreas Schwab  <schwab@redhat.com>
90721         * elf/dl-load.c (lose): Check for non-null L.
90723 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90725         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
90727         * elf/dl-libc.c (dlerror_run): Pass back error code from
90728         dl_catch_error.
90730         [BZ #13123]
90731         * elf/dl-load.c (lose): Free l_origin if it is valid.
90733         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
90734         names.
90735         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
90736         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90737         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
90738         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90739         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
90740         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
90742 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90744         * sysdeps/powerpc/fpu/e_hypot.c: New file.
90745         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
90746         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
90747         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
90748         * sysdeps/powerpc/fpu/k_cosf.c: New file.
90749         * sysdeps/powerpc/fpu/k_sinf.c: New file.
90750         * sysdeps/powerpc/fpu/s_cosf.c: New file.
90751         * sysdeps/powerpc/fpu/s_sinf.c: New file.
90752         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
90753         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
90755 2011-08-15  Alan Modra  <amodra@gmail.com>
90757         [BZ #13092]
90758         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
90759         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
90760         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
90761         ppc_mcount to static-only-routines.
90762         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
90763         __mcount_internal.
90764         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
90765         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
90767 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
90769         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
90770         for finite and infinity parameters.
90772 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
90774         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
90775         and add nop instructions for throughput optimization.
90776         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90778 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
90780         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
90781         aligned copy for power7 with vector-scalar instructions.
90782         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
90784 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
90786         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
90787         AVX check.
90789 2011-09-07  Andreas Schwab  <schwab@redhat.com>
90791         [BZ #13144]
90792         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
90793         last change.
90795 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90797         * sysdeps/unix/sysv/linux/x86_64/init-first.c
90798         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
90799         syscall wrapper around clock_gettime in __vdso_clock_gettime.
90800         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
90801         clock_gettime.
90803 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
90805         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
90806         Forgot to demangle the pointer.
90808         * sysdeps/i386/sysdep.h: Define atom_text_section.
90809         * sysdeps/x86_64/sysdep.h: Likewise.
90810         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
90811         section with atom_text_section.
90812         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90813         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90814         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
90815         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
90816         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
90818         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
90819         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
90820         already be defined.  Change to take two parameters and don't assign
90821         result to variable.  Adjust all users.
90822         Define INTERNAL_GETTIME if not already defined.
90823         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
90824         call.
90825         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
90826         HAVE_CLOCK_GETTIME_VSYSCALL.
90827         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
90829         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
90830         gettimeofday vsyscall, just use time.
90832 2011-09-06  Andreas Schwab  <schwab@redhat.com>
90834         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
90835         <errno.h>.
90837 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
90839         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
90840         syscall on x86-64.
90841         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
90842         syscall.
90843         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
90844         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
90845         syscall if possible.
90847 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90849         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
90850         e_ident.  Don't pass to find_mapsXX.
90851         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
90853 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90855         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90856         strchr-sse2-no-bsf strrchr-sse2-no-bsf
90857         * sysdeps/x86_64/multiarch/strchr.S: Update.
90858         Check bit_slow_BSF bit.
90859         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
90860         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
90861         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
90863 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90865         [BZ #13134]
90866         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
90867         before glibc 2.15.
90868         (tryshell): Define.
90869         (__spawni): Change last parameter to be flag.  Test
90870         SPAWN_XFLAGS_USE_PATH flag to use path or not.
90871         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
90872         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
90873         * posix/spawni.c: Likewise.
90874         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
90875         * posix/spawnp.c: Likewise.  Change normal version to use
90876         SPAWN_XFLAGS_USE_PATH.
90877         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
90878         SPAWN_XFLAGS_TRY_SHELL.
90880         [BZ #13150]
90881         * posix/glob.h: Remove gcc 1.x support.
90883         [BZ #13068]
90884         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
90886 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90888         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90889         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
90890         strrchr-sse2-bsf
90891         * sysdeps/i386/i686/multiarch/strchr.S: New file.
90892         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
90893         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
90894         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
90895         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
90896         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
90898 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90900         * sysdeps/x86_64/wcscmp.S: New file.
90902         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
90903         wcscmp-c wcscmp-sse2
90904         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
90905         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
90906         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
90907         * wcsmbs/wcscmp.c: Allow renaming.
90909 2011-09-05  David S. Miller  <davem@davemloft.net>
90911         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
90912         stack slot, rather than the struct return pointer slot.
90913         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
90914         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
90915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
90916         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
90918 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90920         * po/ja.po: Update from translation team.
90922         [BZ #13144]
90923         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
90924         kernel in 64-bit binaries.
90926 2011-09-01  David S. Miller  <davem@davemloft.net>
90928         * elf/elf.h (HWCAP_SPARC_*): Move to..
90929         * sysdeps/sparc/sysdep.h: this new file and add new values.
90930         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
90931         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
90932         _DL_HWCAP_COUNT to 24.
90933         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
90934         entries.
90935         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
90936         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
90937         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
90938         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
90939         instead of magic constants.
90940         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
90942 2011-08-31  David S. Miller  <davem@davemloft.net>
90944         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
90945         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
90946         Reimplement to do errno handling inline.
90947         (SYSCALL_ERROR_HANDLER): New macro.
90948         (__SYSCALL_STRING): Do not do errno handling in asm.
90949         (__CLONE_SYSCALL_STRING): Delete.
90950         (__INTERNAL_SYSCALL_STRING): Delete.
90951         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
90952         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
90953         (PSEUDO): Reimplement to do errno handling inline.
90954         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
90955         (SYSCALL_ERROR_HANDLER): New macro.
90956         (__SYSCALL_STRING): Do not do errno handling in asm.
90957         (__CLONE_SYSCALL_STRING): Delete.
90958         (__INTERNAL_SYSCALL_STRING): Delete.
90959         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
90960         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
90961         i386.
90962         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
90963         (inline_syscall*): Add 'err' argument.
90964         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
90965         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
90966         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
90967         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
90969         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
90970         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
90972 2011-08-30  Andreas Schwab  <schwab@redhat.com>
90974         * elf/rtld.c (dl_main): Relocate objects in dependency order.
90976 2011-08-29  Jiri Olsa <jolsa@redhat.com>
90978         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
90979         directive.
90981 2011-08-24  David S. Miller  <davem@davemloft.net>
90983         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
90985 2011-08-24  Andreas Schwab  <schwab@redhat.com>
90987         * elf/Makefile: Add rules to build and run unload8 test.
90988         * elf/unload8.c: New file.
90989         * elf/unload8mod1.c: New file.
90990         * elf/unload8mod1x.c: New file.
90991         * elf/unload8mod2.c: New file.
90992         * elf/unload8mod3.c: New file.
90994         * elf/dl-close.c (_dl_close_worker): Reset private search list if
90995         it wasn't used.
90997 2011-08-23  David S. Miller  <davem@davemloft.net>
90999         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
91000         subtract stack bias.
91001         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
91002         %sp not %fp in calculations.
91003         (_JMPBUF_UNWINDS_ADJ): Likewise.
91005         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
91006         (aio_suspend): Call it to force an exception region around the
91007         AIO_MISC_WAIT() invocation.
91009 2011-08-23  Andreas Schwab  <schwab@redhat.com>
91011         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
91012         backslash.
91014 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
91016         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
91017         protection macro.
91018         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
91019         and <dl-machine.h>.
91020         (Elf64_FuncDesc): Remove.
91022 2011-08-22  David S. Miller  <davem@davemloft.net>
91024         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
91025         sigaltstack check, add missing cfi directives.
91026         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
91027         missing cfi directives, and sigaltstack handling.
91029 2011-08-16  Andreas Schwab  <schwab@redhat.com>
91031         [BZ #11724]
91032         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
91033         object is seen twice.
91034         * elf/dl-fini.c (_dl_sort_fini): Likewise.
91036         * elf/Makefile (distribute): Add tst-initorder2.c.
91037         (tests): Add tst-initorder2.
91038         (modules-names): Add tst-initorder2a tst-initorder2b
91039         tst-initorder2c tst-initorder2d.  Add rules to build them.
91040         ($(objpfx)tst-initorder2.out): New rule.
91041         * elf/tst-initorder2.c: New file.
91042         * elf/tst-initorder2.exp: New file.
91044 2011-08-22  Andreas Schwab  <schwab@redhat.com>
91046         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
91048         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
91049         dependencies back to end of function.
91051         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
91052         $(elfobjdir)/ld.so.
91054 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
91056         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
91057         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
91058         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
91059         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
91060         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
91061         of __vdso_gettimeofday.
91062         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
91063         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
91064         attribute_hidden.
91065         (_libc_vdso_platform_setup): Remove initialization of
91066         __vdso_gettimeofday and __vdso_time.
91068 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
91070         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
91071         and fgetc_unlocked.
91072         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
91073         getc_unlocked.
91075         * elf/dl-open.c (add_to_global): Report additions to the global scope
91076         for LD_DEBUG=scopes.
91077         (dl_open_worker): Also print scope of newly loaded dependencies.
91078         (_dl_show_scope): Indicate if there is no scope.
91080         [BZ #13114]
91081         * stdio-common/Makefile (tests): Add bug24.
91082         * stdio-common/bug24.c: New file.
91084 2011-08-19  Andreas Jaeger  <aj@suse.de>
91086         [BZ #13114]
91087         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
91088         non-existant file when using close-on-exec mode.
91090 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
91092         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
91093         the very first instruction.
91095         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
91096         the CFI state in the end.
91097         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
91098         inclusion of dl-trampoline.h.
91099         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
91101 2011-08-19  Andreas Schwab  <schwab@redhat.com>
91103         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
91104         expectations for long double.
91106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
91107         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
91109 2011-08-14  David S. Miller  <davem@davemloft.net>
91111         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
91112         artificual limit depends upon the system page size.
91114 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
91116         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
91117         * resolv/Makefile: Define CFLAGS-libresolv.
91119 2011-08-17  Andreas Schwab  <schwab@redhat.com>
91121         * nss/makedb.c (compute_tables): Make variables used in nested
91122         function static.
91124 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
91126         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
91127         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
91128         if buffer was too small.
91130         * elf/pldd.c (main): Attach to all threads in the process.
91131         Rewrite /proc handling to use *at functions.
91133 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
91135         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
91136         specifies first scope to show.
91137         (dl_open_worker): Update callers.  Move printing scope of new
91138         object to before the relocation.
91139         * elf/rtld.c (dl_main): Update _dl_show_scope call.
91140         * sysdeps/generic/ldsodefs.h: Update declaration.
91142         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
91143         string for the scope number.
91145 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
91147         * nscd/servicescache.c (cache_addserv): Make sure written is always
91148         initialized.
91150 2011-08-14  Roland McGrath  <roland@hack.frob.com>
91152         * sysdeps/i386/i486/bits/atomic.h
91153         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
91154         statement expression, so as to suppress "set but not used" warning.
91155         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
91157         * string/strncat.c (STRNCAT): Use prototype definition.
91159         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
91160         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
91161         -Iprograms here.
91162         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
91163         (localedef-modules): Add localedef.
91164         (locale-modules): Add locale.
91166         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
91167         * elf/rtld.c (dl_main): Invert order of assignment in last change,
91168         to avoid a warning.
91170 2011-08-14  David S. Miller  <davem@davemloft.net>
91172         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
91173         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
91175 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
91177         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
91178         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
91179         * elf/rtld.c (dl_main): Set l_name of vDSO.
91180         Call _dl_show_scope when DL_DEBUG_SCOPES.
91181         (process_dl_debug): Recognize scopes flag and also set it for all.
91182         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
91183         Declare _dl_show_scope.
91185         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
91186         (do_dlopen): Pass caller_dlopen to dl_open.
91187         (__libc_dlopen_mode): Initialize caller_dlopen.
91189         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
91190         of libc.  Make tolower call locale-independent.  Optimize a bit by
91191         using isdigit instead of isalnum.
91192         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
91194 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
91196         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
91197         was a dependency or dynamically loaded.
91199 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
91201         * intl/l10nflist.c: Allow architecture-specific pop function.
91202         * sysdeps/x86_64/l10nflist.c: New file.
91204         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
91205         classification.
91207 2011-08-10  Andreas Schwab  <schwab@redhat.com>
91209         * include/dirent.h: Add libc_hidden_proto for scandirat and
91210         scandirat64.  Don't declare __scandirat64.
91211         * dirent/scandirat.c: Add libc_hidden_def.
91212         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
91213         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
91215 2011-08-10  David S. Miller  <davem@davemloft.net>
91217         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
91218         enum.
91219         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
91220         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
91221         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
91223 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
91225         * Versions.def [libc]: Add GLIBC_2.15.
91226         * dirent/Makefile (routines): Add scandirat and scandirat64.
91227         * dirent/Versions [libc]: Export scandirat and scandirat64 for
91228         GLIBC_2.15.
91229         * dirent/dirent.h: Declare scandirat and scandirat64.
91230         * dirent/scandirat.c: New file.
91231         * dirent/scandirat64.c: New file.
91232         * sysdeps/wordsize-64/scandirat.c: New file.
91233         * sysdeps/wordsize-64/scandirat64.c: New file.
91234         * dirent/opendir.c: Define opendirat.
91235         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
91236         using scandirat.
91237         * dirent/scandir64.c: Adjust for scandir.c change.
91238         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
91239         __scandirat64, and __scandir_cancel_handler.
91240         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
91241         additional parameter and use openat instead of open (outside of ld.so).
91242         Add new __opendir as wrapper around __opendirat.
91243         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
91244         here without requiring old scandirat implementation.
91246 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
91248         * dirent/scandir.c (cancel_handler): Renamed to
91249         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
91250         defined.  Adjust users.
91251         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
91252         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
91254 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
91256         * string/test-string.h (IMPL): Use __STRING to expand name and then
91257         stringify it.
91259         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
91260         of cleanups.
91262 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91264         * string/Makefile: Update.
91265         (strop-tests): Append strncat.
91266         * string/test-wcscmp.c: New file.
91267         New comprehensive test for wcscmp.
91268         * string/test-strcmp.c: Update.
91269         (WIDE): New define.
91271 2011-07-22  Andreas Schwab  <schwab@redhat.com>
91273         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
91274         line.
91276 2011-07-26  Andreas Schwab  <schwab@redhat.com>
91278         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91279         encoding to ACE if AI_IDN.
91281 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
91283         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
91284         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
91286 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91288         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
91289         Fix overflow bug in strncat.
91290         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
91292         * string/test-strncat.c: Update.
91293         Add new tests for checking overflow bugs.
91295 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91297         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91298         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
91299         * sysdeps/i386/i686/multiarch/strcat.S: New file.
91300         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
91301         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
91302         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
91303         * sysdeps/i386/i686/multiarch/strncat.S: New file.
91304         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
91305         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
91307         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
91308         (USE_AS_STRCAT): Define.
91309         Add strcat and strncat support.
91310         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
91312 2011-07-25  Andreas Schwab  <schwab@redhat.com>
91314         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
91315         __n bigger than INT_MAX+1.
91316         (__strncmp_g): Likewise.
91318 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
91320         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
91321         * libio/stido.h: Likewise.
91323         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
91324         (AF_NFC): Define.
91325         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
91326         (AF_NFC): Define.
91328         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
91329         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
91330         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
91331         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
91332         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
91334         [BZ #13021]
91335         * scripts/test-installation.pl: Don't expect libnss_test1 to be
91336         installed.
91338         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
91339         typo.
91340         (_dl_x86_64_save_sse): Likewise.
91342 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
91344         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
91345         OSXSAVE.
91346         (_dl_x86_64_save_sse): Likewise.
91348         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
91350         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
91352 2011-07-21  Andreas Schwab  <schwab@redhat.com>
91354         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
91355         change.
91356         (_dl_x86_64_save_sse): Use correct AVX check.
91358 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91360         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
91361         bug in strncpy/strncat.
91362         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
91364 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
91366         * string/tester.c (test_strcat): Add tests for different alignments
91367         of source and destination.
91368         (test_strncat): Likewise.
91370 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
91372         [BZ #12852]
91373         * posix/glob.c (glob): Check passed in values before using them in
91374         expressions to avoid some overflows.
91375         (glob_in_dir): Likewise.
91377         [BZ #13007]
91378         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
91379         check for AVX enablement so that we don't crash with old kernels and
91380         new hardware.
91381         * elf/tst-audit4.c: Add same checks here.
91382         * elf/tst-audit6.c: Likewise.
91384         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
91386 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
91388         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
91390 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
91392         * po/cs.po: Update from translation team.
91393         * po/bg.po: Likewise.
91395 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
91397         * misc/sys/cdefs.h: Add support for const attribute.
91398         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
91399         to gnu_dev_{major,minor,makedev} functions.
91401 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
91403         * intl/dcigettext.c (get_output_charset): Add missing bracket.
91405 2011-07-20  Andreas Schwab  <schwab@redhat.com>
91407         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
91408         strlen results.
91410 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91412         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
91413         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
91414         register in order to avoid conflicts with the soft frame pointer
91415         being held in r11 when necessary.
91416         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
91417         (INTERNAL_VSYSCALL_NCS): Likewise.
91419 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
91421         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
91422         * elf/dl-fini.c (_dl_fini): Adjust caller.
91423         * elf/dl-close.c (_dl_close_worker): Likewise.
91424         * sysdeps/generic/ldsodefs.h: Adjust declaration.
91426 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
91428         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
91429         "aux_cache->nlibs < 0".
91431         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
91432         in the reload-count case.
91434 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91436         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91437         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
91438         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
91439         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
91440         * sysdeps/x86_64/multiarch/strcat.S: New file.
91441         * sysdeps/x86_64/multiarch/strncat.S: New file.
91442         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
91443         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
91444         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
91445         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
91446         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
91447         (USE_AS_STRCAT): Define.
91448         Add strcat and strncat support.
91449         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
91450         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
91451         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
91452         * string/strncat.c: Update.
91453         (USE_AS_STRNCAT): Define.
91454         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91455         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
91456         and i7.
91457         * sysdeps/x86_64/multiarch/init-arch.h
91458         (bit_Prefer_PMINUB_for_stringop): New.
91459         (index_Prefer_PMINUB_for_stringop): Likewise.
91460         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
91461         bit_Prefer_PMINUB_for_stringop.
91463 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
91465         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
91466         buffer64.
91467         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
91468         of casting of buffer.
91469         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
91470         buffer32 and buffer64.
91471         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
91472         writes instead of casting of buffer.
91473         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
91474         buffer32.
91475         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
91476         casting of buffer.
91478 2011-07-19  Andreas Schwab  <schwab@redhat.com>
91480         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
91482 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
91484         * nscd/nscd.c (termination_handler): Don't do anything for a database
91485         if it has not yet been initialized.
91487 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
91489         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
91491 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
91493         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
91495 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
91497         * po/nl.po: Update from translation team.
91498         * po/sv.po: Likewise.
91500 2011-07-16  Roland McGrath  <roland@hack.frob.com>
91502         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
91503         now disallowed by GCC.
91505         * configure.in (use-default-link): Default to yes if a test -shared
91506         link meets our qualifications.
91507         * configure: Regenerated.
91509         * config.make.in (output-format): New variable.
91510         * configure.in: Check for ld --print-output-format support.
91511         * configure: Regenerated.
91512         * Makerules ($(common-objpfx)format.lds)
91513         [$(output-format) != unknown]: Just use $(output-format),
91514         instead of the linker-script munging.
91516 2011-07-14  Roland McGrath  <roland@hack.frob.com>
91518         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
91519         of $(common-objpfx)shlib.lds.
91520         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
91522         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
91523         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
91525         * configure.in (-z relro check): Adjust test code to add a large
91526         writable data section after it.
91527         * configure: Regenerated.
91529 2011-07-11  Roland McGrath  <roland@hack.frob.com>
91531         * configure.in (-z relro check): Fix test code to make the variable
91532         truly const.
91533         * configure: Regenerated.
91535 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
91537         * nscd/nscd.h (struct traced_file): Define.
91538         (struct database_dyn): Remove inotify_descr, reset_res, and filename
91539         elements.  Add traced_files.
91540         (inotify_fd): Declare.
91541         (register_traced_file): Declare.
91542         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
91543         (inotify_fd): Export.
91544         (resolv_conf_descr): Remove.
91545         (nscd_init): Move inotify descriptor creation to main.
91546         Don't register files for notification here.
91547         (register_traced_file): New function.
91548         (invalidate_cache): Don't use reset_res to determine whether to call
91549         res_init, go through the list of registered files.
91550         (main_loop_poll): The inotify descriptors are now stored in the
91551         structures for the traced files.
91552         (main_loop_epoll): Likewise.
91553         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
91554         to __nss_disable_nscd.
91555         * nscd/cache.c (prune_cache): There is no single inotify descriptor
91556         for a database anymore.  Check the records for all the registered
91557         files instead.
91558         * nss/Makefile (libnss_files-routines): Add files-init.
91559         (libnss_db-routines): Add db-init.
91560         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
91561         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
91562         * nss/nss_db/db-init.c: New file.
91563         * nss/nss_files/files-init.c: New file.
91564         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
91565         __nss_lookup_function.
91566         (__nss_lookup_function): Call nss_load_library.
91567         (nss_load_all_libraries): New function.
91568         (__nss_disable_nscd): Take parameter with callback function for files
91569         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
91570         used for the cached services.
91571         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
91572         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
91573         options for features to all the files in nscd.
91575         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
91577 2011-07-10  Roland McGrath  <roland@hack.frob.com>
91579         * csu/elf-init.c (__libc_csu_init): Comment typo.
91581 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
91583         * po/pl.po: Update from translation team.
91584         * po/ja.po: Likewise.
91585         * po/ru.po: Likewise.
91586         * po/ko.po: Likewise.
91587         * po/fr.po: Likewise.
91589 2011-07-09  Roland McGrath  <roland@hack.frob.com>
91591         * configure.in (.ctors/.dtors header and trailer check):
91592         Use an empirical test on a built program.
91593         * configure: Regenerated.
91595         * configure.in (-z relro check): Use an empirical test on a built DSO.
91596         Detect, but do not require, on ia64.
91597         * configure: Regenerated.
91599         * configure.in (READELF): Find it with AC_CHECK_TOOL.
91600         Update tests that use readelf to use $READELF instead.
91601         * configure: Regenerated.
91603 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
91605         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
91606         if the result is not used.
91608 2011-07-05  Andreas Jaeger  <aj@suse.de>
91610         [BZ #9696]
91611         * stdlib/tst-strtod.c: Add testcase.
91613 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
91615         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
91616         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
91617         The latter has a higher limit.  Take additional parameter to pass to
91618         the new function.
91619         (__pathconf): Pass file to __statfs_link_max.
91620         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
91621         __statfs_link_max.
91622         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
91623         __statfs_link_max.
91625         [BZ #12868]
91626         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
91627         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91628         Handle Lustre.
91629         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
91630         (__statfs_filesize_max): Likewise.
91631         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
91633 2011-07-05  Andreas Jaeger  <aj@suse.de>
91635         * resolv/res_comp.c (dn_skipname): Remove unused variable.
91637 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
91639         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
91640         `status' variable.
91641         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
91642         Likewise.
91644 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
91646         * Makefile (strop-tests): Add strncat.
91647         * string/test-strncat.c: New file.
91649 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
91651         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
91653 2011-06-21  Andreas Jaeger  <aj@suse.de>
91655         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
91656         Copy rule from iconvdata/Makefile.
91658 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91660         [BZ #12922]
91661         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
91662         but no long options are defined, just return 'W'.
91664 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
91666         [BZ #9696]
91667         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
91669 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91671         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
91672         netgroups to read.
91673         (innetgr): Likewise.
91675 2011-07-05  Roland McGrath  <roland@hack.frob.com>
91677         * config.make.in (install_root): Default to $(DESTDIR).
91679 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
91681         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
91683 2011-07-02  Roland McGrath  <roland@hack.frob.com>
91685         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
91687         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
91688         containing directory rather than embedding absolute directory names.
91690         * scripts/check-local-headers.sh: Rewritten using awk.
91691         Match by word, not by line.  Print error messages for matches.
91692         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
91694         * Makerules [shlib-lds-flags empty]:
91695         ($(common-objpfx)libc_pic.opts): New target.
91696         ($(common-objpfx)libc_pic.os.clean): New target.
91697         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
91699         * config.make.in (OBJCOPY): New variable.
91700         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
91701         * configure: Regenerated.
91703         * config.make.in (use-default-link): New variable.
91704         * configure.in (use_default_link): Grok --with-default-link to set it.
91705         * configure: Regenerated.
91706         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
91707         (shlib-lds, shlib-lds-flags): Define to empty.
91709         * Makerules (shlib-lds): New variable.
91710         (shlib-lds-flags): New variable.
91711         (build-shlib, build-moduile, build-module-asneeded): Use it.
91712         ($(common-objpfx)libc.so): Use $(shlib-lds).
91713         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
91714         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
91716         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
91717         DT_FLAGS/DT_FLAGS_1 with zero flags.
91719         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
91720         linker script munging.
91722 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
91724         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
91725         as 128-bit value.
91726         * crypt/sha512.c (sha512_process_block): Perform total addition using
91727         128-bit if possible.
91728         (__sha512_finish_ctx): Likewise.
91729         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
91730         as 64-bit value.
91731         * crypt/sha256.c (SWAP64): Define.
91732         (sha256_process_block): Perform total addition using 64-bit if
91733         possible.
91734         (__sha256_finish_ctx): Likewise.
91736 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
91738         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
91739         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91740         * nscd/hstcache.c (cache_addhst): Likewise.
91741         * nscd/grpcache.c (cache_addgr): Likewise.
91742         * nscd/aicache.c (addhstaiX): Likewise.
91743         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
91745 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
91747         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
91748         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91749         * nscd/hstcache.c (cache_addhst): Likewise.
91750         * nscd/grpcache.c (cache_addgr): Likewise.
91751         * nscd/aicache.c (addhstaiX): Likewise.
91753 2011-07-01  Andreas Schwab  <schwab@redhat.com>
91755         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
91756         domain only when needed.
91758 2011-06-30  Andreas Schwab  <schwab@redhat.com>
91760         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
91761         is always restored.
91763 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
91765         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
91766         are re-adding the entry.
91767         * nscd/servicescache.c (cache_addserv): Likewise.
91769 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
91771         * sysdeps/generic/dl-irel.h: fix protection against multiple
91772         inclusions.
91773         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
91775 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
91777         [BZ #12935]
91778         * malloc/memusage.sh: Fix quoting in message.
91779         * debug/xtrace.sh: Likewise.
91781         * configure.in: Remove support for --experimental-malloc option, make
91782         it the default.
91783         * config.make.in: Likewise.
91784         * malloc/Makefile: Likewise.
91786 2011-06-27  Andreas Schwab  <schwab@redhat.com>
91788         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
91789         two-byte characters.
91791 2011-06-27  Roland McGrath  <roland@hack.frob.com>
91793         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
91794         AC_CACHE_CHECK invocation.
91795         * configure: Regenerated.
91797         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
91799 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
91801         [BZ #12350]
91802         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
91803         bit from old_res_options.
91805         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
91807         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
91808         value type for setfct.
91810 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
91812         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91813         __gettimeofday instead of gettimeofday.
91815 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
91817         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
91819 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
91821         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
91823         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
91824         info.
91826 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
91828         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91829         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91830         strcpy-sse2-unaligned strncpy-sse2-unaligned
91831         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
91832         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
91833         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
91834         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
91835         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
91836         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
91837         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
91838         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
91839         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
91840         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
91841         (STRCPY): Support SSE2 and SSSE3 versions.
91843 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
91845         [BZ #12874]
91846         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
91847         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
91848         kernels which artificially limit size of requests.
91850 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
91852         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91853         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91854         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
91855         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
91856         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
91857         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
91858         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
91859         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
91860         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
91861         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
91862         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
91863         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
91864         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
91865         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
91866         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
91867         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91868         Enable unaligned load optimization for Intel Core i3, i5 and i7
91869         processors.
91870         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
91871         Define.
91872         (index_Fast_Unaligned_Load): Define.
91873         (HAS_FAST_UNALIGNED_LOAD): Define.
91875 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
91877         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
91879 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
91881         [BZ #12907]
91882         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
91883         until it is clear that the information is realy needed.
91884         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
91886 2011-06-22  Andreas Schwab  <schwab@redhat.com>
91888         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
91890 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
91892         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91893         /sys/devices/system/cpu/online if it is usable.
91895         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
91896         reading the information from the /proc filesystem to once a second.
91898 2011-06-21  Andreas Jaeger  <aj@suse.de>
91900         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
91901         NULL after inclusion of kernel headers.
91903 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
91905         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
91906         calls to internal_setent.
91908         [BZ #12885]
91909         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
91910         addresses using gethostbyname4_r ignore IPv4 addresses.
91912         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
91913         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
91915         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
91917 2011-06-20  David S. Miller  <davem@davemloft.net>
91919         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
91920         inclusions.
91921         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
91923         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
91924         (elf_irel): Use it.
91925         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
91926         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
91927         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
91928         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
91929         * sysdeps/x86_64/dl-irel.h: Likewise.
91931         * elf/dl-runtime.c: Use elf_ifunc_invoke.
91932         * elf/dl-sym.c: Likewise.
91934 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
91936         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
91937         need to dereference resplen2.
91939 2011-06-14  Andreas Schwab  <schwab@redhat.com>
91941         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
91943 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
91945         * Makeconfig: Define vardbdir and inst_vardbdir.
91946         * nss/Makefile: Add rules to install db-Makefile.
91948         * nss/nss_db/db-XXX.c: Cleanup.
91950         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
91951         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
91952         GLIBC_PRIVATE.
91953         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
91954         * nss/makedb.c: Implement -g option to specify that value strings
91955         are generated and should not be added to table iterated over for
91956         get*ent calls.
91957         * nss/nss_db/db-initgroups.c: New file.
91959         * nss/getent.c: Add support for initgroups lookups through getgrouplist
91960         interface.
91962         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
91963         (internal_getgrouplist): Adjust to name change.
91964         Update use_initgroups_entry if this is not the first call.
91965         * nss/databases.def: Add initgroups entry.
91967         * nss/makedb.c (compute_tables): Check result of multiple hash table
91968         sizes to minimize maximum chain length.
91970 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
91972         * Versions.def: Add entry for libnss_db.
91973         * shlib-versions: Likewise.
91974         * nss/Makefile: Add rules to build libnss_db.
91975         * nss/Versions: Add libnss_db information.  Organize libnss_files
91976         entries better.
91977         * nss/db-Makefile: Add gshadow support.  Change rules for the new
91978         makedb progra.  Some minor improvements to generate smaller files.
91979         * nss/nss_db/nss_db.h: Move NSS database header data structures to
91980         here from...
91981         * nss/makedb.c: ...here.
91982         Improve database format to be smaller and require less memory at
91983         runtime.
91984         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
91985         db anymore.
91986         * nss/nss_db/db-netgrp.c: Likewise.
91987         * nss/nss_db/db-open.c: Likewise.
91988         * nss/nss_files/flies-XXX.x: Adjust comments.
91989         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
91990         * nss/nss_files/files-grp.c: Likewise.
91991         * nss/nss_files/files-hosts.c: Likewise.
91992         * nss/nss_files/files-network.c: Likewise.
91993         * nss/nss_files/files-proto.c: Likewise.
91994         * nss/nss_files/files-pwd.c: Likewise.
91995         * nss/nss_files/files-rpc.c: Likewise.
91996         * nss/nss_files/files-service.c: Likewise.
91997         * nss/nss_files/files-sgrp.c: Likewise.
91998         * nss/nss_files/files-spwd.c: Likewise.
91999         * nss/nss_db/db-alias.c: Removed.
92000         * nss/nss_db/dummy-db.h: Removed.
92002 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
92004         * nss/makedb.c: Rewritten to not use database library.
92005         * nss/Makefile: Update to build new makedb program.
92007 2011-06-14  Andreas Jaeger  <aj@suse.de>
92009         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
92010         memset declaration.
92012 2011-06-10  Andreas Schwab  <schwab@redhat.com>
92014         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
92015         tmpbuf.
92017 2011-06-10  Roland McGrath  <roland@hack.frob.com>
92019         * Makerules (shlib.lds): Fail if the linker script comes out empty.
92020         * elf/Makefile ($(objpfx)ld.so): Likewise.
92022         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
92023         Don't list ld.so twice in dependencies.
92025         * posix/bug-regex31.c: Include <stdlib.h>.
92027         * nscd/hstcache.c (cache_addhst): Remove unused variable.
92029         * nis/nss_compat/compat-spwd.c
92030         (getspent_next_nss_netgr): Remove unused variable.
92031         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
92033         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
92034         nonmembers" output to use the right array.
92036         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
92038         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
92040         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
92041         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
92042         * catgets/gencat.c (read_input_file): Likewise.
92043         * locale/programs/locarchive.c (enlarge_archive): Likewise.
92045         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
92046         variable definition inside #if's controlling its use.
92048         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
92050         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
92052         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
92054         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
92055         unreachable code.
92057         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
92059         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
92060         * configure: Regenerated.
92062         * Makerules: Revert last change.
92063         * elf/Makefile: Likewise.
92065 2011-06-09  Roland McGrath  <roland@hack.frob.com>
92067         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
92068         * elf/Makefile ($(objpfx)librtld.os): Likewise.
92069         (reloc-link): Likewise.
92071 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
92073         * elf/Makefile: Add rules to build pldd.
92074         * elf/pldd.c: New file.
92075         * elf/pldd-xx.c: New file.
92077 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
92079         * version.h: Update for 2.15 development version.
92081 2011-06-07  David S. Miller  <davem@davemloft.net>
92083         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
92084         ifuncs.
92085         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
92086         elf_machine_lazy_rel): Likewise.
92087         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
92088         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
92089         elf_machine_lazy_rel): Likewise.
92090         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
92091         dl_hwcap via passed in argument.
92092         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
92093         Likewise.
92095 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92097         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
92099 2011-06-06  Roland McGrath  <roland@hack.frob.com>
92101         [BZ #12849]
92102         * manual/fdl-1.1.texi: New file, verbatim from:
92103         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
92104         * manual/lgpl-2.1.texi: New file, verbatim from:
92105         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
92106         * manual/Makefile (licenses): New variable, list those new file names.
92107         (texis): Use it.
92108         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
92110         * manual/fdl.texi: File removed.
92111         * manual/lesser.texi: File removed.
92112         * manual/libc.texinfo (Copying, Documentation License):
92113         Use new @include file names, put @appendix directive before @include.
92115 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
92117         [BZ #12841]
92118         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
92119         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
92120         (mq_open): Add __NTH.
92122 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
92124         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92125         Assume Intel Core i3/i5/i7 processor if AVX is available.
92127 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
92129         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
92130         typo.
92132 2011-05-31  Andreas Schwab  <schwab@redhat.com>
92134         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
92135         memory.  Use alloca_account.  Fix memory leak when retrying.
92137 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
92139         * version.h (RELEASE): Bump for 2.14 release.
92140         * include/features.h (__GLIBC_MINOR__): Bump to 14.
92142         * config.make.in (RANLIB): Remove entry.
92144 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
92146         * po/Makefile (po-sed-cmd): Add ksh to extensions.
92147         (libc.pot): Work around missing support for .ksh extension in xgettext.
92149         [BZ #12684]
92150         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
92151         if both request failed.
92152         (send_dg): In case of server errors clear resplen or *resplen2.
92154         [BZ #12454]
92155         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
92156         when there are multiple maps.
92157         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
92158         (_dl_fini): Remove test here.
92160         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
92162 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
92164         [BZ #12350]
92165         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
92166         bit from old_res_options.
92167         (gaih_inet): Likewise.
92169         [BZ #11099]
92170         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
92171         as signed.
92173         * resolv/res_init.c (res_setoptions): Make the code more compact.
92175         [BZ #11558]
92176         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
92177         set RES_USEVC.
92179         [BZ #11634]
92180         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
92182         * malloc/malloc.h: Mark malloc hook variables as deprecated.
92184         [BZ #11781]
92185         * malloc/malloc.h: Declare malloc hook variables as volatile.
92187         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
92188         in last patch.
92190         [BZ #11799]
92191         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
92192         raise in the comment.
92193         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
92194         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
92195         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
92197 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
92199         [BZ #12811]
92200         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
92201         grow the buffers more if it already has to be sufficient.
92202         (build_wcs_upper_buffer): Likewise.
92203         * posix/regexec.c (check_matching): Likewise.
92204         (clean_state_log_if_needed): Likewise.
92205         (extend_buffers): Don't enlarge buffers beyond size of the input
92206         buffer.
92207         Patches mostly by Emil Wojak <emil@wojak.eu>.
92208         * posix/bug-regex32.c: New file.
92209         * posix/Makefile (tests): Add bug-regex32.
92211         * locale/findlocale.c (_nl_find_locale): Return right away if
92212         _nl_explode_name failed.
92213         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
92215         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
92217         * debug/xtrace.sh: Unify messages.
92218         * malloc/memusage.sh: Likewise.
92220         [BZ #12813]
92221         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
92222         time symbol from vDSO.  Substitute with vsyscall if not available.
92223         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
92224         __vdso_time.
92226         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
92227         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
92228         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
92229         Add sendmmsg and internal_sendmmsg.
92230         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
92231         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
92232         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
92234         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
92235         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
92236         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
92238 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
92240         [BZ #12813]
92241         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
92242         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
92243         available.
92244         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
92245         __vdso_getcpu.
92247         [BZ #12814]
92248         * iconvdata/Makefile (tests): Add bug-iconv9.
92249         * iconvdata/bug-iconv9.c: New file.
92251 2011-05-27  Andreas Schwab  <schwab@redhat.com>
92253         [BZ #12814]
92254         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
92256 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
92258         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
92259         (struct user_regs_struct): Change intcs field back to cs.
92261 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
92263         * po/ja.po: Update from translation team.
92265 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
92267         [BZ #12795]
92268         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
92269         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
92271 2011-05-20  Andreas Schwab  <schwab@redhat.com>
92273         * stdlib/longlong.h: Update from GCC.
92275 2011-05-23  Andreas Schwab  <schwab@redhat.com>
92277         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
92278         parameter name.
92279         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
92280         Add parameter name.
92281         (__sysconf): Pass it down.
92283 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
92285         [BZ #12671]
92286         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
92287         some situations.
92288         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
92289         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
92290         add in in __libc_use_alloca calls.  Adjust callers.
92291         (glob): Use malloc in some situations.
92293         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
92294         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
92295         pltexit.
92297 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
92299         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
92300         and CLOCK_BOOTTIME_ALARM.
92302         [BZ #12782]
92303         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
92304         is returned.
92306         * string/_strerror.c (__strerror_r): Print negative errors as signed
92307         numbers.
92309         [BZ #12777]
92310         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
92311         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
92312         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
92314         * configure.in: Fix typo in redirection and correct removal of test
92315         files in two cases.
92317         [BZ #12788]
92318         * locale/setlocale.c (new_composite_name): Fix test to check for
92319         identical name of all categories.
92321         [BZ #12792]
92322         * libio/filedoalloc.c (local_isatty): New function.
92323         (_IO_file_doallocate): Use local_isatty.
92324         * stdio-common/perror.c (perror): In case a new stream is used
92325         forward the stream error.
92326         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
92327         error flag.
92329 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
92331         [BZ #11884]
92332         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
92333         alloca.
92334         * include/alloca.h (extend_alloca_account): Define.
92336         [BZ #11857]
92337         * posix/regex.h: Fix comments with documentation of user-accessible
92338         fields after compilation and describe correct free'ing of pattern
92339         after re_compile_pattern.
92340         Patch by Reuben Thomas <rrt@sc3d.org>.
92342 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
92344         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
92345         and -mno-altivec to prevent the compiler from using Altivec and/or
92346         VSX instructions when the corresponding registers are not available.
92348 2011-05-19  Andreas Schwab  <schwab@redhat.com>
92350         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
92352 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
92354         * libio/freopen.c (freopen): Use __dup2, not dup2.
92355         * libio/freopen64.c (freopen64): Likewise.
92357 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
92359         [BZ #12775]
92360         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
92361         * math/Makefile (tests): Add test-powl.
92362         (CFLAGS-test-powl.c): Define.
92363         * math/test-powl.c: New file.
92365 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
92367         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
92369 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
92371         [BZ #11837]
92372         * iconvdata/gb18030.c: Update to GB18020-2005.
92374 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
92376         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
92377         RE_SYNTAX_POSIX_AWK): Update to match recent development.
92378         Patch by Aharon Robbins <arnold@skeeve.com>.
92380         [BZ #11892]
92381         * stdlib/putenv.c (putenv): Don't always create copy of the variable
92382         on the stack.
92384         [BZ #11895]
92385         * misc/pselect.c (__pselect): Handle timeout value errors hidden
92386         through underflows.
92388         [BZ #12766]
92389         * misc/error.c (error_at_line): Ensure file_name and old_file_name
92390         point to strings before performing equality test for error_one_per_line
92391         mode.
92393         [BZ #11697]
92394         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
92396         [BZ #11820]
92397         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
92398         (struct user_fpregs_struct): Avoid __uint*_t types.
92400         [BZ #6420]
92401         * malloc/mtrace.c (tr_where): Add additional parameter to point to
92402         symbol info.  Use it instead of calling _dl_addr locally.
92403         (lock_and_info): New function.
92404         (tr_freehook): Call lock_and_info and pass symbol info as additional
92405         parameter to tr_where.
92406         (tr_mallochook): Likewise.
92407         (tr_reallochook): Likewise.
92408         (tr_memalignhook): Likewise.
92410         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
92411         used and couldn't be at all thread-safe.
92413 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
92415         * libio/freopen.c (freopen): Don't close old file descriptor
92416         before the new one is opened.  Instead dup the new file descriptor
92417         to the old one after the new stream is created.
92418         * libio/freopen64.c (freopen64): Likewise.
92419         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
92420         * libio/fileops.c (_IO_new_file_close_it): Handle new
92421         _IO_FLAGS2_NOCLOSE flag.
92422         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
92423         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
92424         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
92425         _IO_FLAGS2_NOCLOSE flag.
92426         * include/unistd.h: Add hidden_proto for dup3.
92427         Define __have_dup3.
92428         * io/dup3.c: Define hidden symbol.
92429         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
92431         [BZ #7101]
92432         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
92433         when an incomplete long option is used.
92434         * posix/tst-getopt_long1.c: New file.
92435         * posix/Makefile (tests): Add tst-getopt_long1.
92437         [BZ #10138]
92438         * scripts/config.guess: Update from autoconf-2.68.
92439         * scripts/config.sub: Likewise.
92441         [BZ #10157]
92442         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
92443         tests into ...
92444         (has_cpuclock): ...this.  New function.
92445         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
92446         macro here based on has_cpuclock code.
92448         [BZ #10149]
92449         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
92450         First byte (not low byte) is now always NUL.
92451         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
92453         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
92454         Use non-cancelable interfaces.
92456         [BZ #9809]
92457         * locale/iso-639.def: Add entry for Sorani.
92459         [BZ #11901]
92460         * include/stdlib.h: Move include protection to the right place.
92461         Define abort_msg_s.  Declare __abort_msg with it.
92462         * stdlib/abort.c (__abort_msg): Adjust type.
92463         * assert/assert.c (__assert_fail_base): New function.  Majority
92464         of code from __assert_fail.  Allocate memory for __abort_msg with
92465         mmap.
92466         (__assert_fail): Now call __assert_fail_base.
92467         * assert/assert-perr.c: Remove bulk of implementation.  Use
92468         __assert_fail_base.
92469         * include/assert.hL Declare __assert_fail_base.
92470         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
92471         mmap.
92472         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
92474 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
92476         [BZ #11952]
92477         [BZ #12453]
92478         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
92479         until all modules are registered in the DTV.
92480         * elf/Makefile: Add rules to build and run tst-tls19.
92481         * elf/tst-tls19.c: New file.
92482         * elf/tst-tls19mod1.c: New file.
92483         * elf/tst-tls19mod2.c: New file.
92484         * elf/tst-tls19mod3.c: New file.
92485         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
92487         [BZ #12083]
92488         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
92489         correctly.
92491         [BZ #12601]
92492         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
92493         two-byte sequence errors.
92494         * iconvdata/Makefile (tests): Add bug-iconv8.
92495         * iconvdata/bug-iconv8.c: New file.
92497         [BZ #12626]
92498         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
92499         buf2 definition.
92501         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
92503         [BZ #12432]
92504         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
92505         (dummy_getcfa): New function.
92506         (init): Get _Unwind_GetCFA address, use dummy if not found.
92507         (backtrace_helper): In recursion check, also check whether CFA changes.
92508         (__backtrace): Completely initialize arg.
92510         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
92511         storing incomplete byte sequence in state object.  Avoid testing for
92512         guaranteed too small input if we know there is enough data available.
92514 2011-05-11  Andreas Schwab  <schwab@redhat.com>
92516         * Makeconfig (+link-pie): Indent.
92517         * Rules (binaries-pie): Define if $(have-fpie) and
92518         $(build-shared).
92519         (binaries-shared): Also filter out $(binaries-pie).
92520         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
92521         * nscd/Makefile (others-pie): Add nscd.
92522         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
92523         ($(objpfx)nscd): Remove command override.
92524         * login/Makefile (others-pie): Add pt_chown.
92525         ($(objpfx)pt_chown): Remove command override.
92526         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
92527         remove command overrides.
92529 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
92531         * libio/tst_putwc.c: Fix error messages.
92533         [BZ #12724]
92534         * libio/fileops.c (_IO_new_file_close_it): Always flush when
92535         currently writing and seek to current position when not.
92536         * libio/Makefile (tests): Add bug-fclose1.
92537         * libio/bug-fclose1.c: New file.
92539 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
92541         [BZ #12511]
92542         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
92543         don't set DF_1_NODELETE here.
92544         (do_lookup_x): When entering new entry test for copy relocation
92545         and if necessary set DF_1_NODELETE flag.
92546         * elf/tst-unique4.cc: New file.
92547         * elf/tst-unique4.h: New file.
92548         * elf/tst-unique4lib.cc: New file.
92549         * elf/Makefile: Add rules to build and run tst-unique4.
92550         Patch by Piotr Bury <pbury@goahead.com>.
92552 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
92554         [BZ #12052]
92555         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
92557         [BZ #12625]
92558         * misc/mntent_r.c (addmntent): Flush the stream after the output
92560         [BZ #12393]
92561         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
92562         (is_trusted_path_normalize): Skip initial colon.  Append slash
92563         to empty buffer.  Duplicate is_trusted_path code but allow
92564         constructed patch to be prefix.
92565         (is_dst): Allow $ORIGIN followed by /.
92566         (_dl_dst_substitute): Correct clearing of check_for_trusted.
92567         Correct testing of result of is_trusted_path_normalize
92568         (decompose_rpath): Fix warning.
92570 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
92572         [BZ #11257]
92573         * grp/initgroups.c (internal_getgrouplist): When we found the service
92574         list through the initgroups entry in nsswitch.conf do not always
92575         continue on a successful lookup.  Don't always use the
92576         __nss_group_database value if it is set.
92577         * nss/nsswitch.conf (initgroups): Change action for successful db
92578         lookup to continue for compatibility.
92580 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
92582         [BZ #11532]
92583         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
92584         and CP774 modules.
92585         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
92586         and CP774 modules.
92587         * iconvdata/tst-tables.sh: Likewise.
92588         * iconvdata/cp770.c: New file.
92589         * iconvdata/cp771.c: New file.
92590         * iconvdata/cp772.c: New file.
92591         * iconvdata/cp773.c: New file.
92592         * iconvdata/cp774.c: New file.
92593         * iconvdata/testdata/CP770: New file.
92594         * iconvdata/testdata/CP770..UTF8: New file.
92595         * iconvdata/testdata/CP771: New file.
92596         * iconvdata/testdata/CP771..UTF8: New file.
92597         * iconvdata/testdata/CP772: New file.
92598         * iconvdata/testdata/CP772..UTF8: New file.
92599         * iconvdata/testdata/CP773: New file.
92600         * iconvdata/testdata/CP773..UTF8: New file.
92601         * iconvdata/testdata/CP774: New file.
92602         * iconvdata/testdata/CP774..UTF8: New file.
92604         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
92605         END CHARMAP line.
92606         * iconvdata/gen-8bit-gap.sh: Likewise.
92607         * iconvdata/gen-8bit.sh: Likewise.
92609         * locale/iso-639.def: Add ary entry.
92611         [BZ #11258]
92612         * locale/C-translit.h.in: Add U20A1 transliteration.
92614         [BZ #12178]
92615         * locale/iso-639.def: Add wae entry.
92616         Patch by Kevin Bortis <bortis@translate-wae.ch>.
92618         [BZ #12545]
92619         * locale/programs/localedef.c (construct_output_path): Use ssize_t
92620         for n.
92622         [BZ #12711]
92623         * locale/C-translit.h.in: Add entry for U20B9.
92624         Patch by pravin.d.s@gmail.com.
92626 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
92628         [BZ #12713]
92629         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
92630         ENAMETOOLONG use generic getcwd.
92631         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
92632         in rtld.  Use *stat64.
92633         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
92634         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
92635         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
92636         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
92637         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
92638         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
92639         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
92640         __fstatat64 macros.
92641         * include/dirent.h: Add libc_hidden_proto for rewinddir.
92642         * dirent/rewinddir.c: Add libc_hidden_def.
92643         * sysdeps/mach/hurd/rewinddir.c: Likewise.
92644         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
92646         * include/dirent.h (__alloc_dir): Add flags parameter.
92647         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
92648         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
92649         __alloc_dir.
92650         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
92651         from fdopendir if O_CLOEXEC is already set.
92653 2011-03-15  Alan Modra  <amodra@gmail.com>
92655         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
92656         l_tls_firstbyte_offset non-zero.  Save padding offset in
92657         l_tls_firstbyte_offset for later use.
92658         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
92659         freeing static tls block.
92661 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
92663         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
92664         where #ifdef was intended.  The intent is to prevent ARG_MAX from
92665         being defined by the kernel headers.
92667 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
92669         [BZ #12734]
92670         * resolv/resolv.h: Define RES_NOTLDQUERY.
92671         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
92672         no-tld-query and set RES_NOTLDQUERY.
92673         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
92674         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
92675         modern BIND to search name as TLD unless forbidden.
92677 2011-05-07  Petr Baudis  <pasky@suse.cz>
92678             Ulrich Drepper  <drepper@gmail.com>
92680         [BZ #12393]
92681         * elf/dl-load.c (fillin_rpath): Move trusted path check...
92682         (is_trusted_path): ...to here.
92683         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
92684         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
92685         using is_trusted_path_normalize() in setuid scripts.
92687 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
92689         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
92690         __BEGIN/__END_DECLS.
92692 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
92694         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
92695         NSS_STATUS_NOTFOUND if no record was found.
92697 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92699         * sunrpc/Makefile (headers): Add rpc/netdb.h.
92700         (headers-not-in-tirpc): Remove rpc/netdb.h
92701         * resolv/netdb.h: Revert last change.
92703 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
92705         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
92706         circular dependency between libgcc.a and libc.a.
92708 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92710         * resolv/netdb.h: Don't include <rpc/netdb.h>.
92711         * nis/Makefile: Don't install rpcsvc/*.
92712         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
92713         instead of <rpc/types.h>.
92714         (MAXHOSTNAMELEN): Define.
92716 2011-05-03  Andreas Schwab  <schwab@redhat.com>
92718         * elf/ldconfig.c (add_dir): Don't crash on empty path.
92720 2011-04-28  Maciej Babinski  <mbabinski@google.com>
92722         [BZ #12714]
92723         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
92724         gethostbyname4_r when IPv6 results are possible.
92726 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
92728         [BZ #12723]
92729         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
92730         _PC_PIPE_BUF handling.
92732 2011-04-30  Bruno Haible  <bruno@clisp.org>
92734         [BZ #12717]
92735         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
92736         * resolv/netdb.h (getnameinfo): Change type of flags parameter
92737         to 'int'.
92738         * inet/getnameinfo.c (getnameinfo): Likewise.
92740 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
92742         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
92743         to groups setting in database lookup.
92744         * nss/nsswitch.conf: Add initgroups entry.
92746 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
92748         [BZ #12685]
92749         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
92750         mode string.
92751         Patch by Eric Blake <eblake@redhat.com>.
92753 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
92755         * sunrpc/Makefile (need-export-routines): Add svc_run.
92756         (routines): Remove svc_run.
92757         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
92758         * sunrpc/clnt_perr.c (clnt_perrno): Export.
92759         * sunrpc/svc_run.c (svc_run): Likewise.
92760         * sunrpc/svc_udp.c (svcudp_create): Likewise.
92762 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
92764         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
92765         problem in reallocation in last patch.
92767 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
92769         * sunrpc/Makefile: Move inclusion of Rules.
92771 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
92773         * nss/nss_files/files-initgroups.c: New file.
92774         * nss/Makefile (libnss_files-routines): Add files-initgroups.
92775         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
92776         _nss_files_initgroups_dyn.
92778 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
92780         * elf/elf.h (R_ARM_IRELATIVE): Define.
92782 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
92784         * po/ru.po: Update from translation team.
92786 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
92788         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
92789         dependencies.
92791 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
92793         [BZ #12653]
92794         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
92795         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
92796         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
92797         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
92798         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
92800 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
92802         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
92803         differing bytes.
92804         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
92805         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
92806         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92808 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
92810         [BZ #12420]
92811         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
92812         storing it.
92813         * stdlib/bug-getcontext.c: New file.
92814         * stdlib/Makefile: Add rules to build and run bug-getcontext.
92816 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92818         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
92819         instructions into .machine "z9-109".
92820         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
92821         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
92823 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92825         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
92826         between environment variables and auxiliary vector.
92828 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
92830         * Makefile: Add rules to build linkobj/libc.so.
92831         * include/libc-symbols.h: Define libc_hidden_nolink.
92832         * include/rpc/auth.h: Mark functions which are to be hidden.
92833         * include/rpc/auth_des.h: Likewise.
92834         * include/rpc/auth_unix.h: Likewise.
92835         * include/rpc/clnt.h: Likewise.
92836         * include/rpc/des_crypt.h: Likewise.
92837         * include/rpc/key_prot.h: Likewise.
92838         * include/rpc/pmap_clnt.h: Likewise.
92839         * include/rpc/pmap_prot.h: Likewise.
92840         * include/rpc/pmap_rmt.h: Likewise.
92841         * include/rpc/rpc_msg.h: Likewise.
92842         * include/rpc/svc.h: Likewise.
92843         * include/rpc/svc_auth.h: Likewise.
92844         * include/rpc/xdr.h: Likewise.
92845         * nis/Makefile: Link all DSOs against linkobj/libc.so.
92846         * nss/Makefile: Likewise.
92847         * sunrpc/Makefile: Don't install headers.  Build library with normal
92848         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
92849         * sunrpc/auth_des.c: Hide exported symbols by default, export some
92850         for the compat linking library.  Remove use of INTDEF/INTUSE.
92851         * sunrpc/auth_none.c: Likewise.
92852         * sunrpc/auth_unix.c: Likewise.
92853         * sunrpc/authdes_prot.c: Likewise.
92854         * sunrpc/authuxprot.c: Likewise.
92855         * sunrpc/clnt_gen.c: Likewise.
92856         * sunrpc/clnt_perr.c: Likewise.
92857         * sunrpc/clnt_raw.c: Likewise.
92858         * sunrpc/clnt_simp.c: Likewise.
92859         * sunrpc/clnt_tcp.c: Likewise.
92860         * sunrpc/clnt_udp.c: Likewise.
92861         * sunrpc/clnt_unix.c: Likewise.
92862         * sunrpc/des_crypt.c: Likewise.
92863         * sunrpc/des_soft.c: Likewise.
92864         * sunrpc/get_myaddr.c: Likewise.
92865         * sunrpc/key_call.c: Likewise.
92866         * sunrpc/key_prot.c: Likewise.
92867         * sunrpc/netname.c: Likewise.
92868         * sunrpc/pm_getmaps.c: Likewise.
92869         * sunrpc/pm_getport.c: Likewise.
92870         * sunrpc/pmap_clnt.c: Likewise.
92871         * sunrpc/pmap_prot.c: Likewise.
92872         * sunrpc/pmap_prot2.c: Likewise.
92873         * sunrpc/pmap_rmt.c: Likewise.
92874         * sunrpc/publickey.c: Likewise.
92875         * sunrpc/rpc_cmsg.c: Likewise.
92876         * sunrpc/rpc_common.c: Likewise.
92877         * sunrpc/rpc_dtable.c: Likewise.
92878         * sunrpc/rpc_prot.c: Likewise.
92879         * sunrpc/rpc_thread.c: Likewise.
92880         * sunrpc/rtime.c: Likewise.
92881         * sunrpc/svc.c: Likewise.
92882         * sunrpc/svc_auth.c: Likewise.
92883         * sunrpc/svc_authux.c: Likewise.
92884         * sunrpc/svc_raw.c: Likewise.
92885         * sunrpc/svc_run.c: Likewise.
92886         * sunrpc/svc_simple.c: Likewise.
92887         * sunrpc/svc_tcp.c: Likewise.
92888         * sunrpc/svc_udp.c: Likewise.
92889         * sunrpc/svc_unix.c: Likewise.
92890         * sunrpc/svcauth_des.c: Likewise.
92891         * sunrpc/xcrypt.c: Likewise.
92892         * sunrpc/xdr.c: Likewise.
92893         * sunrpc/xdr_array.c: Likewise.
92894         * sunrpc/xdr_float.c: Likewise.
92895         * sunrpc/xdr_intXX_t.c: Likewise.
92896         * sunrpc/xdr_mem.c: Likewise.
92897         * sunrpc/xdr_rec.c: Likewise.
92898         * sunrpc/xdr_ref.c: Likewise.
92899         * sunrpc/xdr_sizeof.c: Likewise.
92900         * sunrpc/xdr_stdio.c: Likewise.
92902 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
92904         [BZ #12650]
92905         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
92906         * sysdeps/ia64/dl-tls.h: Likewise.
92907         * sysdeps/powerpc/dl-tls.h: Likewise.
92908         * sysdeps/s390/dl-tls.h: Likewise.
92909         * sysdeps/sh/dl-tls.h: Likewise.
92910         * sysdeps/sparc/dl-tls.h: Likewise.
92911         * sysdeps/x86_64/dl-tls.h: Likewise.
92912         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
92914 2011-03-14  Andreas Schwab  <schwab@redhat.com>
92916         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
92917         rpath element also skip the following colon.
92918         (expand_dynamic_string_token): Add is_path parameter and pass
92919         down to DL_DST_REQUIRED and _dl_dst_substitute.
92920         (decompose_rpath): Call expand_dynamic_string_token with
92921         non-zero is_path.  Ignore empty rpaths.
92922         (_dl_map_object_from_fd): Call expand_dynamic_string_token
92923         with zero is_path.
92925 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
92927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
92928         Make cancelable.
92930 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
92932         [BZ #12655]
92933         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
92934         Patch by Filipe David Manana <fdmanana@apache.org>.
92936 2011-04-07  Andreas Schwab  <schwab@redhat.com>
92938         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
92939         Maintain aligned stack.
92940         (CHECK_RSP): Remove unused macro.
92942 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
92944         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
92945         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
92947 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
92949         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
92951         * include/features.h: Mention __USE_XOPEN2K8 in comment.
92953 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
92955         [BZ #12518]
92956         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
92957         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
92958         * sysdeps/x86_64/memmove.c: New file.
92959         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
92960         (memcpy): Renamed to ...
92961         (__new_memcpy): This.
92962         (memcpy): Provide GLIBC_2_14 memcpy.
92963         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
92964         (memcpy): Provide GLIBC_2_2_5 memcpy.
92966 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92968         [BZ #12631]
92969         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
92971 2011-03-30  Andreas Schwab  <schwab@redhat.com>
92973         * misc/syncfs.c: New file.
92974         * misc/Makefile (routines): Add syncfs.
92975         * posix/unistd.h: Declare syncfs.
92976         * sysdeps/unix/syscalls.list: Add syncfs.
92978 2011-04-01  Andreas Schwab  <schwab@redhat.com>
92980         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
92981         open_by_handle_at.
92982         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92983         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92984         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92985         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92986         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92987         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
92988         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92990 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92992         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
92993         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92994         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
92995         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92996         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92997         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92998         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93000         * io/Makefile: Compile fallocate.c, fallocate64.c, and
93001         sync_file_range.c with -fexceptions.
93002         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
93003         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
93004         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
93005         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
93006         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
93007         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
93008         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
93009         sync_file_range as cancellation point
93010         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
93011         now a wrapper around __call_sync_file_range with cancellation handling.
93012         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
93013         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
93014         function name to __call_sync_file_range.
93015         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
93016         Add call_sync_file_range.
93018 2011-04-01  Andreas Schwab  <schwab@redhat.com>
93020         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
93021         bits/timex.h.
93023 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
93025         * iconv/iconv.h: Fix typo in comment.
93026         * io/fcntl.h: Likewise.
93027         * libio/stdio.h: Likewise.
93028         * posix/spawn.h: Likewise.
93029         * posix/unistd.h: Likewise.
93030         * stdlib/stdlib.h: Likewise.
93031         * time/time.h: Likewise.
93032         * wcsmbs/wchar.h: Likewise.
93034         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
93035         open_by_handle): Add.
93036         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
93037         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
93038         Augment a few comments.
93039         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93040         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93041         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93042         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93043         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93044         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
93045         open_by_handle.
93047         * io/fcntl.h (AT_EMPTY_PATH): Define.
93049 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
93051         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
93052         * sysdeps/unix/sysv/linux/bits/time.h: New file.
93053         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
93054         to...
93055         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
93056         * Versions.def: Add GLIBC_2.14.
93057         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
93058         Export.
93060 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
93062         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
93063         round counter.
93064         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93066 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
93068         [BZ #12597]
93069         * string/test-strncmp.c (do_page_test): New function.
93070         (check2): Likewise.
93071         (test_main): Call check2.
93072         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
93074 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
93076         [BZ #12587]
93077         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
93078         Handle cache information in CPU leaf 4.
93079         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93081 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
93083         [BZ #12583]
93084         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
93085         character representation.
93086         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
93088 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
93090         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
93091         END(__isnan) to END(__isnanf) to match function entry point/label
93092         EALIGN(__isnanf,...).
93094 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
93096         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
93098 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
93100         [BZ #12510]
93101         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
93102         copy from the symbol referenced in the relocation to initialize the
93103         used variable.
93104         Patch by Piotr Bury <pbury@goahead.com>.
93105         * elf/Makefile: Add rules to build and tst-unique3.
93106         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
93107         * elf/tst-unique3.cc: New file.
93108         * elf/tst-unique3.h: New file.
93109         * elf/tst-unique3lib.cc: New file.
93110         * elf/tst-unique3lib2.cc: New file.
93112         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
93114 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
93116         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
93117         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
93118         to _start.
93120 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
93122         * elf/dl-load.c (_dl_map_object): If we are looking for the first
93123         to-be-loaded object along a path to loader is ld.so.
93125 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
93126             Ulrich Drepper  <drepper@gmail.com>
93128         * sysdeps/x86_64/memset.S: After aligning destination, code
93129         branches to different locations depending on the value of
93130         misalignment, when multiarch is enabled. Fix this.
93132 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
93134         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
93135         Set _x86_64_preferred_memory_instruction for AMD processsors.
93136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93137         Set bit_Prefer_SSE_for_memop for AMD processors.
93139 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
93141         * libio/fmemopen.c (fmemopen): Optimize a bit.
93143 2011-03-03  Andreas Schwab  <schwab@redhat.com>
93145         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
93147 2011-03-03  Roland McGrath  <roland@redhat.com>
93149         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
93151 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
93153         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
93154         __bzero_ultra1 instead of __memset_ultra1.
93156 2011-02-23  Andreas Schwab  <schwab@redhat.com>
93157             Ulrich Drepper  <drepper@gmail.com>
93159         [BZ #12509]
93160         * include/link.h (struct link_map): Add l_orig_initfini.
93161         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
93162         returning unsuccessfully.
93163         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
93164         close of a file loaded at startup, restore the original l_initfini
93165         list.
93166         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
93167         list, store the pointer.
93168         * elf/Makefile ($(objpfx)noload-mem): New rule.
93169         (noload-ENV): Define.
93170         (tests): Add $(objpfx)noload-mem.
93171         * elf/noload.c: Include <memcheck.h>.
93172         (main): Call mtrace.  Close all opened handles.
93174 2011-02-17  Andreas Schwab  <schwab@redhat.com>
93176         [BZ #12454]
93177         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
93178         dependencies are missing.
93180 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93182         Fix __if_freereq crash: Unlike the generic version which uses free,
93183         Hurd needs munmap.
93184         * sysdeps/mach/hurd/ifreq.h: New file.
93186 2011-01-27  Petr Baudis  <pasky@suse.cz>
93187             Ulrich Drepper  <drepper@gmail.com>
93189         [BZ 12445]#
93190         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
93191         to extend_alloca().
93192         * stdio-common/bug23.c: New file.
93193         * stdio-common/Makefile (tests): Add bug23.
93195 2010-09-28  Andreas Schwab  <schwab@redhat.com>
93196             Ulrich Drepper  <drepper@gmail.com>
93198         [BZ #12489]
93199         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
93200         before performing relro protection.  At old place add assertion
93201         to make sure nothing changed.
93203 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
93204             Glauber de Oliveira Costa  <glommer@gmail.com>
93206         * elf/elf.h: Add new ARM TLS relocs.
93208 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
93210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
93211         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
93212         cast from r3.
93213         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
93214         'tests' variable.
93215         * sysdeps/wordsize-64/tst-writev.c: New file.
93217 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
93219         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
93220         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
93221         insns in _dl_start to prevent a TOC reference before relocs are
93222         resolved.
93224 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
93226         [BZ #12469]
93227         * Makeconfig: Remove RANLIB definition.
93228         * Makerules: Don't use RANLIB.
93229         * aclocal.m4: Remove ranlib test.
93230         * configure.in: No need to check for ranlib.
93231         * elf/rtld-Rules: Don't use RANLIB.
93233 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93235         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
93236         protection macro.
93237         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
93238         inclusion protection macro.
93240         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
93241         SIGRTMIN and SIGRTMAX and print information in that case only when
93242         SIGRTMIN is defined.
93244 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
93246         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
93247         arginfo fn returning -1.
93249         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
93250         and thousands string is zero terminated.
93252 2011-02-03  Andreas Schwab  <schwab@redhat.com>
93254         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
93255         sysdeps/unix/sysv/linux/bits/socket.h.
93257 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93259         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
93260         (__CPU_COUNT): Remove old macros.
93261         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
93262         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
93263         (__CPU_ALLOC, __CPU_FREE): Add macros.
93264         (__sched_cpualloc, __sched_cpufree): Add declarations.
93266 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
93268         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
93269         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
93270         * nscd/aicache.c (addhstaiX): Return timeout of added value.
93271         (readdhstai): Return value of addhstaiX call.
93272         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
93273         (addgrbyX): Return value returned by cache_addgr.
93274         (readdgrbyname): Return value returned by addgrbyX.
93275         (readdgrbygid): Likewise.
93276         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
93277         (addpwbyX): Return value returned by cache_addpw.
93278         (readdpwbyname): Return value returned by addhstbyX.
93279         (readdpwbyuid): Likewise.
93280         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
93281         (addservbyX): Return value returned by cache_addserv.
93282         (readdservbyname): Return value returned by addservbyX:
93283         (readdservbyport): Likewise.
93284         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
93285         (addhstbyX): Return value returned by cache_addhst.
93286         (readdhstbyname): Return value returned by addhstbyX.
93287         (readdhstbyaddr): Likewise.
93288         (readdhstbynamev6): Likewise.
93289         (readdhstbyaddrv6): Likewise.
93290         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
93291         (readdinitgroups): Return value returned by addinitgroupsX.
93292         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
93293         (prune_cache): Keep track of timeout value of re-added entries.
93294         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
93295         * nscd/nscd.h: Adjust prototypes of readd* functions.
93297 2011-02-04  Roland McGrath  <roland@redhat.com>
93299         * nis/nis_server.c (nis_servstate): Use the right name for 0.
93300         (nis_stats): Likewise.
93301         * nis/nis_modify.c (nis_modify): Likewise.
93302         * nis/nis_remove.c (nis_remove): Likewise.
93303         * nis/nis_add.c (nis_add): Likewise.
93305         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
93307         * posix/fnmatch_loop.c: Add some consts.
93309         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
93311 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
93313         [BZ #12460]
93314         * config.make.in (config-cflags-novzeroupper): Define.
93315         * configure.in: Substitute libc_cv_cc_novzeroupper.
93316         * elf/Makefile (AVX-CFLAGS): Define.
93317         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
93318         (CFLAGS-tst-auditmod4a.c): Likewise.
93319         (CFLAGS-tst-auditmod4b.c): Likewise.
93320         (CFLAGS-tst-auditmod6b.c): Likewise.
93321         (CFLAGS-tst-auditmod6c.c): Likewise.
93322         (CFLAGS-tst-auditmod7b.c): Likewise.
93323         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
93325 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
93327         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
93328         function to the callback.
93329         Patch partly by Jiri Olsa <jolsa@redhat.com>.
93331 2011-02-02  Andreas Schwab  <schwab@redhat.com>
93333         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
93334         of errno.
93336 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
93338         [BZ #11724]
93339         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
93340         of constructors.
93341         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
93342         of destructors.
93343         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
93345         [BZ #11724]
93346         * elf/Makefile: Add rules to build and run new test.
93347         * elf/tst-initorder.c: New file.
93348         * elf/tst-initorder.exp: New file.
93349         * elf/tst-initordera1.c: New file.
93350         * elf/tst-initordera2.c: New file.
93351         * elf/tst-initordera3.c: New file.
93352         * elf/tst-initordera4.c: New file.
93353         * elf/tst-initorderb1.c: New file.
93354         * elf/tst-initorderb2.c: New file.
93355         * elf/tst-order-a1.c: New file.
93356         * elf/tst-order-a2.c: New file.
93357         * elf/tst-order-a3.c: New file.
93358         * elf/tst-order-a4.c: New file.
93359         * elf/tst-order-b1.c: New file.
93360         * elf/tst-order-b2.c: New file.
93361         * elf/tst-order-main.c: New file.
93362         New test case by George Gensure <werkt0@gmail.com>.
93364 2010-10-01  Andreas Schwab  <schwab@redhat.com>
93366         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
93367         decoding ACE if AI_CANONIDN.
93369 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
93371         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
93373 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
93375         * version.h (RELEASE): Bump for 2.13 release.
93376         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
93378         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
93380         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
93381         MADV_NOHUGEPAGE.
93382         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
93383         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
93384         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
93385         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
93386         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
93387         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93389         * posix/getconf.c: Update copyright year.
93390         * catgets/gencat.c: Likewise.
93391         * csu/version.c: Likewise.
93392         * debug/catchsegv.sh: Likewise.
93393         * debug/xtrace.sh: Likewise.
93394         * elf/ldconfig.c: Likewise.
93395         * elf/ldd.bash.in: Likewise.
93396         * elf/sprof.c (print_version): Likewise.
93397         * iconv/iconv_prog.c: Likewise.
93398         * iconv/iconvconfig.c: Likewise.
93399         * locale/programs/locale.c: Likewise.
93400         * locale/programs/localedef.c: Likewise.
93401         * malloc/memusage.sh: Likewise.
93402         * malloc/mtrace.pl: Likewise.
93403         * nscd/nscd.c (print_version): Likewise.
93404         * nss/getent.c: Likewise.
93406         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
93407         PF_CAIF, and PF_ALG.
93408         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
93410 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
93412         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
93413         (modules-names): Use them.
93414         (ifunc-test-modules, ifunc-pie-tests): Define.
93415         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
93416         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
93417         (test-extras): Likewise.
93418         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
93419         $(compile-command.c).
93420         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
93421         (all-built-dso): Define.
93422         (check-textrel.out, check-execstack.out): Depend on it.
93424         * configure.in: Don't override --enable-multi-arch.
93426 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
93428         [BZ #6812]
93429         * nscd/hstcache.c (tryagain): Define.
93430         (cache_addhst): Return tryagain not notfound for temporary errors.
93431         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
93432         failed.
93434 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
93436         [BZ #10563]
93437         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
93438         to make the syscall.
93439         * sysdeps/unix/sysv/linux/setgroups.c: New file.
93441         [BZ #12378]
93442         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
93443         and fall back to matching as normal character if the string ends before
93444         the matching ']' is found.  This is what POSIX requires.
93445         * posix/testfnm.c: Adjust test result.
93446         * posix/globtest.sh: Adjust test result.  Add new test.
93447         * posix/tst-fnmatch.input: Likewise.
93448         * posix/tst-fnmatch2.c: Add new test.
93450 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
93452         * elf/Makefile (check-execstack): Revert last change.  Depend on
93453         check-execstack.h.
93454         (check-execstack.h): New target.
93455         (generated): Add check-execstack.h.
93456         * elf/check-execstack.c: Include "check-execstack.h".
93457         (main): Revert last change.
93458         (handle_file): Return zero if GNU_STACK is absent and
93459         DEFAULT_STACK_PERMS doesn't include PF_X.
93461 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
93463         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
93464         in child fails because the descriptor is already closed.
93465         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
93466         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
93467         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
93469         [BZ #12397]
93470         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
93471         syscall.
93473         [BZ #10484]
93474         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
93475         temporary buffer used to handle multi lookups locally.
93476         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
93478 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
93480         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
93481         loader is ld.so.
93483 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
93485         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
93486         alignment for SSE2.
93488 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
93490         [BZ #12394]
93491         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
93492         characters.  When rounding increased number of integer digits recompute
93493         number of groups.
93494         * stdio-common/tst-grouping.c: New file.
93495         * stdio-common/Makefile: Add rules to build and run tst-grouping.
93497 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
93499         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
93500         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
93502         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
93503         void.
93504         * bits/select.h: Likewise.
93506 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
93508         * po/ja.po: Update from translation team.
93510 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
93512         [BZ #11155]
93513         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
93514         implementation just like for lxstat, fxstatat, et al.
93516 2010-12-27  Jim Meyering  <meyering@redhat.com>
93518         [BZ #12348]
93519         * posix/regexec.c (build_trtable): Return failure indication upon
93520         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
93522 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
93524         [BZ #12201]
93525         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
93526         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
93527         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
93528         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
93530         [BZ #12207]
93531         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
93533         [BZ #12204]
93534         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
93535         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
93537 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
93539         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
93540         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
93541         script has SORT_BY_INIT_PRIORITY.
93542         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
93543         NO_CTORS_DTORS_SECTIONS is defined.
93544         * elf/soinit.c: Likewise.
93545         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
93546         NO_CTORS_DTORS_SECTIONS is defined.
93547         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
93548         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
93549         * sysdeps/sh/init-first.c: Likewise.
93550         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
93552 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
93554         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
93555         always use the slow path.
93557 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
93559         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
93560         similar rule which adds the sysdep directories to the header search in
93561         order to pick up the correct platform stackinfo.h.
93562         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
93563         perform test if it is, otherwise return successfully without testing.
93564         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
93565         DEFAULT_STACK_PERMS define in stackinfo.h.
93566         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
93567         defined in stackinfo.h.
93568         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
93569         DEFAULT_STACK_PERMS defined in stackinfo.h.
93570         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
93571         * sysdeps/ia64/stackinfo.h: Likewise.
93572         * sysdeps/s390/stackinfo.h: Likewise.
93573         * sysdeps/sh/stackinfo.h: Likewise.
93574         * sysdeps/sparc/stackinfo.h: Likewise.
93575         * sysdeps/x86_64/stackinfo.h: Likewise.
93576         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
93577         PF_X for powerpc64.  Retain PF_X for powerpc32.
93579 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
93581         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
93582         accurately.
93583         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
93584         GETDENTS_64BIT_ALIGNED.
93586 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
93588         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
93590 2010-12-10  Andreas Schwab  <schwab@redhat.com>
93592         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
93593         _GNU_SOURCE.
93595         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
93596         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
93597         Remove __restrict.
93598         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
93599         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
93601 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
93603         [BZ #11655]
93604         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
93605         are initialized.
93607 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
93609         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
93611 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
93613         * po/it.po: Update from translation team.
93615 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
93617         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
93618         unused codes.
93620 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
93622         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
93624 2010-11-24  Andreas Schwab  <schwab@redhat.com>
93626         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
93627         specially.
93628         (gaih_getanswer_slice): Likewise.
93630 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
93632         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
93634 2010-05-31  Petr Baudis  <pasky@suse.cz>
93636         [BZ #11149]
93637         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
93638         silently even in the chroot mode.
93640 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
93642         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
93643         last patch a bit.  Pretty printing
93645 2010-05-31  Petr Baudis <pasky@suse.cz>
93647         [BZ #10085]
93648         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
93649         initialization of skip_initgroups_dyn.
93651 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
93653         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
93654         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93656 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
93658         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
93660 2010-11-11  Andreas Schwab  <schwab@redhat.com>
93662         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
93663         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
93664         (tst-fnmatch-ENV): Set MALLOC_TRACE.
93665         ($(objpfx)tst-fnmatch-mem): New rule.
93666         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
93667         * posix/tst-fnmatch.c (main): Call mtrace.
93669 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
93671         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93672         Support Intel processor model 6 and model 0x2c.
93674 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
93676         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
93677           signed comparison.
93679 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
93681         [BZ #12205]
93682         * string/test-strncasecmp.c (check_result): New function.
93683         (do_one_test): Use it.
93684         (check1): New function.
93685         (test_main): Use it.
93686         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
93687         Support strcasecmp and strncasecmp.
93689 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
93691         [BZ #12194]
93692         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
93693         * sysdeps/x86_64/bits/byteswap.h: Likewise.
93695 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
93697         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
93698         IFUNC support.
93699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93700         memset-x86-64.
93701         * sysdeps/x86_64/multiarch/bzero.S: New file.
93702         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
93703         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
93704         * sysdeps/x86_64/multiarch/memset.S: New file.
93705         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
93706         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93707         Set bit_Prefer_SSE_for_memop for Intel processors.
93708         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
93709         Define.
93710         (index_Prefer_SSE_for_memop): Define.
93711         (HAS_PREFER_SSE_FOR_MEMOP): Define.
93713 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
93715         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
93716         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
93718 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
93720         [BZ #12191]
93721         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93722         (__x86_64_raw_data_cache_size_half): Likewise.
93723         (__x86_64_raw_shared_cache_size): Likewise.
93724         (__x86_64_raw_shared_cache_size_half): Likewise.
93726         * sysdeps/x86_64/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.
93730         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
93731         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
93732         and __x86_64_raw_shared_cache_size_half.  Round
93733         __x86_64_data_cache_size_half, __x86_64_data_cache_size
93734         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
93735         to multiple of 256 bytes.
93737 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
93739         [BZ #12167]
93740         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
93741         of inacessible symlinks.  Verify result of symlink before returning it.
93742         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
93743         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
93745 2010-10-28  Erich Ritz  <erichritz@gmail.com>
93747         * math/math.h (isinf): Fix typo in comment.
93749 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
93751         * po/da.po: Update from translation team.
93753 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
93755         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
93756         is added to the list.
93758 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93759             Ulrich Drepper  <drepper@gmail.com>
93761         * elf/dl-object.c (_dl_new_object): Don't append the new object to
93762         the global list here.  Move code to...
93763         (_dl_add_to_namespace_list): ...here.  New function.
93764         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
93765         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
93766         * elf/dl-load.c (lose): Don't remove the element from the list.
93767         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
93768         (_dl_map_object): Likewise.
93770 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
93772         [BZ #12159]
93773         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
93774         into all bytes of SSE register.
93775         Patch by Richard Li <richardpku@gmail.com>.
93777 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
93779         [BZ #12140]
93780         * malloc/malloc.c (_int_free): Fill correct number of bytes when
93781         perturbing.
93783 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
93785         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
93786         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
93787         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
93788         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
93789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
93790         submachine.
93791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
93793 2010-10-22  Andreas Schwab  <schwab@redhat.com>
93795         * include/dlfcn.h (__RTLD_SECURE): Define.
93796         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
93797         mode & __RTLD_SECURE instead.
93798         (open_path): Rename preloaded parameter to secure.
93799         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
93800         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
93801         * elf/dl-deps.c (openaux): Likewise.
93802         * elf/rtld.c (struct map_args): Remove is_preloaded.
93803         (map_doit): Don't use it.
93804         (dl_main): Likewise.
93805         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
93806         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
93808 2010-09-09  Andreas Schwab  <schwab@redhat.com>
93810         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
93811         (sysd-rules-targets): Remove duplicates.
93812         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
93813         rtld-%.$o dependency.
93815 2010-10-18  Andreas Schwab  <schwab@redhat.com>
93817         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
93818         _dl_map_object do it.
93820 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
93822         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
93823         fast fma builtins, define the macros in the C99 standard.
93824         (FP_FAST_FMAF): Likewise.
93825         (FP_FAST_FMAL): Likewise.
93826         * sysdeps/x86_64/bits/mathdef.h: Likewise.
93828         * bits/mathdef.h: Update copyright year.
93829         * sysdeps/powerpc/bits/mathdef.h: Likewise.
93831 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
93833         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
93834         builtins, define the macros in the C99 standard.
93835         (FP_FAST_FMAF): Likewise.
93836         (FP_FAST_FMAL): Likewise.
93837         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
93838         multiply/add.
93839         (FP_FAST_FMAF): Likewise.
93841 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
93843         [BZ #3268]
93844         * math/libm-test.inc (fma_test): Some new testcases.
93845         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
93846         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
93847         y and infinite z.  Do multiplication by C already in long double.
93848         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
93849         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
93850         y and infinite z.  Do bitwise or of inexact bit into u.d.
93851         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
93852         * sysdeps/i386/fpu/s_fmaf.S: Removed.
93853         * sysdeps/i386/fpu/s_fma.S: Removed.
93854         * sysdeps/i386/fpu/s_fmal.S: Removed.
93856 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
93858         [BZ #3268]
93859         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
93860         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
93861         computation is not scheduled after fetestexcept.  Fix value
93862         of minimum denormal long double.
93864 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
93866         [BZ #3268]
93867         * math/libm-test.inc (fma_test): Add some more tests.
93868         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
93869         correctly.
93871 2010-10-15  Andreas Schwab  <schwab@redhat.com>
93873         * scripts/data/localplt-s390-linux-gnu.data: New file.
93874         * scripts/data/localplt-s390x-linux-gnu.data: New file.
93876 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
93878         [BZ #3268]
93879         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
93880         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
93881         instead of dbl-64.
93882         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
93883         inlines.
93884         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
93885         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
93886         if one of x and y is very large and the other is subnormal.
93887         * sysdeps/s390/fpu/s_fmaf.c: New file.
93888         * sysdeps/s390/fpu/s_fma.c: New file.
93889         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
93890         * sysdeps/powerpc/fpu/s_fma.S: New file.
93891         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
93892         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
93893         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
93895 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
93897         [BZ #3268]
93898         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
93899         fma tests.
93900         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
93901         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
93902         * sysdeps/i386/i686/multiarch/s_fma.c: Include
93903         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
93904         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
93905         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
93906         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
93908 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
93910         [BZ #12078]
93911         * posix/regcomp.c (parse_branch): One more memory leak plugged.
93912         * posix/bug-regex31.input: Add test case.
93914 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
93916         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
93917         * posix/bug-regex31.input: New file.
93919         [BZ #12078]
93920         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
93921         (parse_sub_exp): Fix last change, use postorder.
93923         * posix/bug-regex31.c: New file.
93924         * posix/Makefile: Add rules to build and run bug-regex31.
93926         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
93928         [BZ #12078]
93929         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
93931         [BZ #12108]
93932         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
93933         to have entries in sys_siglist.
93935         [BZ #12093]
93936         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
93937         be NULL.
93939 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
93941         [BZ #3268]
93942         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
93943         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
93944         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
93945         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
93946         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
93947         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
93948         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
93949         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
93950         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
93951         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
93952         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
93953         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
93954         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
93955         * math/ftestexcept.c (fetestexcept): Likewise.
93956         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
93957         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
93958         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
93959         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
93960         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
93961         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
93962         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
93964 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
93966         [BZ #12107]
93967         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
93968         newline.
93970 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
93972         * string/bug-strstr1.c: New file.
93973         * string/Makefile: Add rules to build and run bug-strstr1.
93975 2010-10-05  Eric Blake  <eblake@redhat.com>
93977         [BZ #12092]
93978         * string/str-two-way.h (two_way_long_needle): Always clear memory
93979         when skipping input due to the shift table.
93981 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
93983         [BZ #12005]
93984         * malloc/mcheck.c: Handle large requests.
93986         [BZ #12077]
93987         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
93988         for strncmp and strncasecmp.
93989         * string/stratcliff.c: Add tests for strcmp and strncmp.
93990         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
93992 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
93994         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
93995         __set_fpscr.
93997 2010-09-30  Andreas Jaeger  <aj@suse.de>
93999         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
94000         (CGROUP_SUPER_MAGIC): Define.
94001         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
94002         Handle btrfs and cgroup file systems.
94003         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
94004         Likewise.
94006 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
94008         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
94009         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
94011 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94013         [BZ #12067]
94014         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
94015         trying to locate the ELF header.
94017 2010-09-27  Andreas Schwab  <schwab@redhat.com>
94019         [BZ #11611]
94020         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
94021         Mask out sign-bit copies when constructing f_fsid.
94023 2010-09-24  Petr Baudis <pasky@suse.cz>
94025         * debug/stack_chk_fail_local.c: Add missing licence exception.
94026         * debug/warning-nop.c: Likewise.
94028 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
94030         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
94031         implementing getdents64 using getdents syscall, set d_type if
94032         __ASSUME_GETDENTS32_D_TYPE.
94034 2010-09-16  Andreas Schwab  <schwab@redhat.com>
94036         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
94037         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
94039 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
94041         [BZ #12037]
94042         * posix/unistd.h: Undo change of feature selection for ftruncate from
94043         2010-01-11.
94045 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
94047         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
94048         detection.
94050 2010-09-20  Andreas Schwab  <schwab@redhat.com>
94052         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
94053         fanotify_mark.
94054         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94056 2010-09-14  Andreas Schwab  <schwab@redhat.com>
94058         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
94059         variables after CHECK_SP call.
94060         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
94062 2010-09-13  Andreas Schwab  <schwab@redhat.com>
94063             Ulrich Drepper  <drepper@redhat.com>
94065         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
94066         re-relocationg ld.so.
94067         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
94068         _dl_init_paths call.
94069         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
94070         here anymore.
94072 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
94074         * resolv/res_init.c (__res_vinit): Count the default server we added.
94076 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
94077             Ulrich Drepper  <drepper@redhat.com>
94079         [BZ #11968]
94080         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
94081         (____longjmp_chk): Use %ebx for saving value across system call.
94082         Add unwind info.
94084 2010-09-06  Andreas Schwab  <schwab@redhat.com>
94086         * manual/Makefile: Don't mix pattern rules with normal rules.
94088 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
94090         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
94091         operation.
94092         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
94093         * libio/iofopncook.c (_IO_cookie_init): Likewise.
94094         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
94095         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
94096         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
94097         Likewise.
94099 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
94101         [BZ #11979]
94102         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
94103         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
94105 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
94107         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
94108         * sysdeps/x86_64/addmul_1.S: Likewise.
94109         * sysdeps/x86_64/lshift.S: Likewise.
94110         * sysdeps/x86_64/mul_1.S: Likewise.
94111         * sysdeps/x86_64/rshift.S: Likewise.
94112         * sysdeps/x86_64/sub_n.S: Likewise.
94113         * sysdeps/x86_64/submul_1.S: Likewise.
94115 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94117         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
94118         Define __sched_param instead of SCHED_* and sched_param when
94119         <bits/sched.h> is included with __need_schedparam defined.
94120         * bits/sched.h [__need_schedparam]
94121         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
94122         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
94123         (__defined_schedparam): Define to 1.
94124         (__sched_param): New structure, identical to sched_param.
94125         (__need_schedparam): Undefine.
94127 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
94129         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
94130         (epoll_create1): Declare.
94132         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
94134 2010-08-31  Andreas Schwab  <schwab@redhat.com>
94136         [BZ #7066]
94137         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
94138         shifting retval into place.
94140 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
94142         * nis/rpcsvc/nis.h: Update copyright notice.
94143         * nis/rpcsvc/nis.x: Likewise.
94144         * nis/rpcsvc/nis_callback.h: Likewise.
94145         * nis/rpcsvc/nis_callback.x: Likewise.
94146         * nis/rpcsvc/nis_object.x: Likewise.
94147         * nis/rpcsvc/nis_tags.h: Likewise.
94148         * nis/rpcsvc/yp.h: Likewise.
94149         * nis/rpcsvc/yp.x: Likewise.
94150         * nis/rpcsvc/ypupd.h: Likewise.
94151         * nis/yp_xdr.c: Likewise.
94152         * nis/ypupdate_xdr.c: Likewise.
94154         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
94155         mainly the body of pmap_getport.  Add parameters to specify timeouts.
94156         (pmap_getport): Use __libc_rpc_getport.
94157         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
94158         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
94159         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
94161 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
94163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
94164         fanotify_mark.
94166 2010-08-27  Roland McGrath  <roland@redhat.com>
94168         * sysdeps/i386/i686/multiarch/Makefile
94169         (CFLAGS-varshift.c): New variable.
94171 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
94173         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
94174         * sysdeps/i386/i686/multiarch/varshift.c: New file.
94176         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
94178         * sysdeps/x86_64/strlen.S: Minimal code improvement.
94180 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
94182         * sysdeps/x86_64/strlen.S: Unroll the loop.
94183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94184         strlen-sse2 strlen-sse2-bsf.
94185         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
94186         __strlen_no_bsf if bit_Slow_BSF is set.
94187         (__strlen_sse42): Removed.
94188         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
94189         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
94191 2010-08-25  Roland McGrath  <roland@redhat.com>
94193         * sysdeps/x86_64/multiarch/varshift.S: File removed.
94194         * sysdeps/x86_64/multiarch/varshift.c: New file.
94195         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
94196         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
94197         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
94198         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
94200 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
94202         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
94203         strlen-sse2 strlen-sse2-bsf.
94204         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
94205         __strlen_sse2_bsf if bit_Slow_BSF is unset.
94206         (__strlen_sse2): Removed.
94207         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
94208         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
94209         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
94210         bit_Slow_BSF for Atom.
94211         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
94212         (index_Slow_BSF): Define.
94213         (HAS_SLOW_BSF): Define.
94215 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
94217         [BZ #10851]
94218         * resolv/res_init.c (__res_vinit): When no server address at all
94219         is given default to loopback.
94221 2010-08-24  Roland McGrath  <roland@redhat.com>
94223         * configure.in: Remove config-name.h generation.
94224         * configure: Regenerated.
94225         * config-name.in: File removed.
94226         * scripts/config-uname.sh: New file.
94227         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
94228         ($(objdir)config-name.h): New target.
94230         * sunrpc/rpc_parse.h: Avoid nested comment.
94232 2010-08-24  Richard Henderson  <rth@redhat.com>
94233             Ulrich Drepper  <drepper@redhat.com>
94234             H.J. Lu  <hongjiu.lu@intel.com>
94236         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
94237         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
94238         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
94239         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
94240         _mm_alignr_epi8 with _mm_loadu_si128.
94241         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
94242         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
94243         (__m128i_shift_right): Removed.
94244         * sysdeps/i386/i686/multiarch/varshift.h: New file.
94245         * sysdeps/i386/i686/multiarch/varshift.S: New file.
94246         * sysdeps/x86_64/multiarch/varshift.h: New file.
94247         * sysdeps/x86_64/multiarch/varshift.S: New file.
94249 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
94251         * configure.in: Move assembler checks to before sysdep dir checking.
94253 2010-08-20  Petr Baudis  <pasky@suse.cz>
94255         * LICENSES: Sync the sunrpc license.
94257 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
94259         * sunrpc/auth_des.c: Update copyright notice once again.
94260         * sunrpc/auth_none.c: Likewise.
94261         * sunrpc/auth_unix.c: Likewise.
94262         * sunrpc/authdes_prot.c: Likewise.
94263         * sunrpc/authuxprot.c: Likewise.
94264         * sunrpc/bindrsvprt.c: Likewise.
94265         * sunrpc/clnt_gen.c: Likewise.
94266         * sunrpc/clnt_perr.c: Likewise.
94267         * sunrpc/clnt_raw.c: Likewise.
94268         * sunrpc/clnt_simp.c: Likewise.
94269         * sunrpc/clnt_tcp.c: Likewise.
94270         * sunrpc/clnt_udp.c: Likewise.
94271         * sunrpc/clnt_unix.c: Likewise.
94272         * sunrpc/des_crypt.c: Likewise.
94273         * sunrpc/des_soft.c: Likewise.
94274         * sunrpc/get_myaddr.c: Likewise.
94275         * sunrpc/getrpcport.c: Likewise.
94276         * sunrpc/key_call.c: Likewise.
94277         * sunrpc/key_prot.c: Likewise.
94278         * sunrpc/openchild.c: Likewise.
94279         * sunrpc/pm_getmaps.c: Likewise.
94280         * sunrpc/pm_getport.c: Likewise.
94281         * sunrpc/pmap_clnt.c: Likewise.
94282         * sunrpc/pmap_prot.c: Likewise.
94283         * sunrpc/pmap_prot2.c: Likewise.
94284         * sunrpc/pmap_rmt.c: Likewise.
94285         * sunrpc/rpc/auth.h: Likewise.
94286         * sunrpc/rpc/auth_unix.h: Likewise.
94287         * sunrpc/rpc/clnt.h: Likewise.
94288         * sunrpc/rpc/des_crypt.h: Likewise.
94289         * sunrpc/rpc/key_prot.h: Likewise.
94290         * sunrpc/rpc/netdb.h: Likewise.
94291         * sunrpc/rpc/pmap_clnt.h: Likewise.
94292         * sunrpc/rpc/pmap_prot.h: Likewise.
94293         * sunrpc/rpc/pmap_rmt.h: Likewise.
94294         * sunrpc/rpc/rpc.h: Likewise.
94295         * sunrpc/rpc/rpc_des.h: Likewise.
94296         * sunrpc/rpc/rpc_msg.h: Likewise.
94297         * sunrpc/rpc/svc.h: Likewise.
94298         * sunrpc/rpc/svc_auth.h: Likewise.
94299         * sunrpc/rpc/types.h: Likewise.
94300         * sunrpc/rpc/xdr.h: Likewise.
94301         * sunrpc/rpc_clntout.c: Likewise.
94302         * sunrpc/rpc_cmsg.c: Likewise.
94303         * sunrpc/rpc_common.c: Likewise.
94304         * sunrpc/rpc_cout.c: Likewise.
94305         * sunrpc/rpc_dtable.c: Likewise.
94306         * sunrpc/rpc_hout.c: Likewise.
94307         * sunrpc/rpc_main.c: Likewise.
94308         * sunrpc/rpc_parse.c: Likewise.
94309         * sunrpc/rpc_parse.h: Likewise.
94310         * sunrpc/rpc_prot.c: Likewise.
94311         * sunrpc/rpc_sample.c: Likewise.
94312         * sunrpc/rpc_scan.c: Likewise.
94313         * sunrpc/rpc_scan.h: Likewise.
94314         * sunrpc/rpc_svcout.c: Likewise.
94315         * sunrpc/rpc_tblout.c: Likewise.
94316         * sunrpc/rpc_util.c: Likewise.
94317         * sunrpc/rpc_util.h: Likewise.
94318         * sunrpc/rpcinfo.c: Likewise.
94319         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
94320         * sunrpc/rpcsvc/key_prot.x: Likewise.
94321         * sunrpc/rpcsvc/klm_prot.x: Likewise.
94322         * sunrpc/rpcsvc/mount.x: Likewise.
94323         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
94324         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
94325         * sunrpc/rpcsvc/rex.x: Likewise.
94326         * sunrpc/rpcsvc/rstat.x: Likewise.
94327         * sunrpc/rpcsvc/rusers.x: Likewise.
94328         * sunrpc/rpcsvc/sm_inter.x: Likewise.
94329         * sunrpc/rpcsvc/spray.x: Likewise.
94330         * sunrpc/rpcsvc/yppasswd.x: Likewise.
94331         * sunrpc/rtime.c: Likewise.
94332         * sunrpc/svc.c: Likewise.
94333         * sunrpc/svc_auth.c: Likewise.
94334         * sunrpc/svc_authux.c: Likewise.
94335         * sunrpc/svc_raw.c: Likewise.
94336         * sunrpc/svc_run.c: Likewise.
94337         * sunrpc/svc_simple.c: Likewise.
94338         * sunrpc/svc_tcp.c: Likewise.
94339         * sunrpc/svc_udp.c: Likewise.
94340         * sunrpc/svc_unix.c: Likewise.
94341         * sunrpc/svcauth_des.c: Likewise.
94342         * sunrpc/xcrypt.c: Likewise.
94343         * sunrpc/xdr.c: Likewise.
94344         * sunrpc/xdr_array.c: Likewise.
94345         * sunrpc/xdr_float.c: Likewise.
94346         * sunrpc/xdr_mem.c: Likewise.
94347         * sunrpc/xdr_rec.c: Likewise.
94348         * sunrpc/xdr_ref.c: Likewise.
94349         * sunrpc/xdr_sizeof.c: Likewise.
94350         * sunrpc/xdr_stdio.c: Likewise.
94352         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
94353         handling.
94355 2010-08-19  Andreas Schwab  <schwab@redhat.com>
94357         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
94359 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
94361         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
94362         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
94363         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
94364         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
94365         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
94366         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
94367         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
94368         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
94369         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
94370         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
94371         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
94372         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
94373         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
94374         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
94376 2010-07-26  Anton Blanchard  <anton@samba.org>
94378         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
94379         * malloc/arena.c (heap_trim): Likewise.
94381 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
94383         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
94384         here.  Not...
94385         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
94386         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
94388 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
94390         * sysdeps/i386/elf/Makefile: New file.
94392 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
94394         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
94395         from fanotify_init.
94396         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
94397         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
94399 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
94401         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
94402         of strncasecmp_l.
94403         * sysdeps/multiarch/strcmp.S: Likewise.
94405 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
94407         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94408         strncase_l-nonascii.
94409         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
94410         Add strncase_l-ssse3.
94411         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
94412         * sysdeps/x86_64/strcmp.S: Likewise.
94413         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
94414         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
94415         * sysdeps/x86_64/strncase.S: New file.
94416         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
94417         * sysdeps/x86_64/strncase_l.S: New file.
94418         * string/Makefile (strop-tests): Add strncasecmp.
94419         * string/test-strncasecmp.c: New file.
94421         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
94422         warning.
94424         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
94425         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
94427 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
94429         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
94431 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
94433         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
94434         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
94435         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
94437 2010-05-01  Alan Modra  <amodra@gmail.com>
94439         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
94440         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
94441         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
94442         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
94443         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
94444         tidying.  Don't tail-call __sigjmp_save for static lib.
94445         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
94446         save location.
94447         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
94448         (CALL_MCOUNT): Add eh info, and nop after bl.
94449         (TAIL_CALL_SYSCALL_ERROR): New macro.
94450         (PSEUDO_RET): Use it.
94451         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
94452         Correct save location of integer regs and cr.
94453         (_dl_profile_resolve): Correct cr save location.  Delete nops
94454         after bl when SHARED.  Reduce cfi size a little by better
94455         placement of cfi directives.
94456         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
94457         make a stack frame.  Instead use parm save area as a temp.
94458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
94459         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
94460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
94461         Don't make a stack frame for parent, use parm save area.
94462         Increase child stack frame to 112 bytes.  Don't save unused reg,
94463         and adjust reg usage.  Set up cfi on error recovery and
94464         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
94465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
94466         (__makecontext): Add dummy nop after jump to exit.
94467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
94468         Use correct parm save area and cr save, reduce stack frame.
94469         Correct cfi for possible PSEUDO_RET frame setup.
94470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
94471         Branch to local label emitted by PSEUDO_RET rather than
94472         __syscall_error.
94474 2010-08-12  Andreas Schwab  <schwab@redhat.com>
94476         [BZ #11904]
94477         * locale/programs/locale.c (print_assignment): New function.
94478         (show_locale_vars): Use it.
94480 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
94482         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
94483         field.
94484         (struct statfs64): Likewise.
94485         (_STATFS_F_FLAGS): Define.
94486         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
94487         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
94488         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
94489         (ST_VALID): Define locally.
94490         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
94491         __statvfs_getflags, use the provided value.
94492         * sysdeps/unix/sysv/linux/kernel-features.h: Define
94493         __ASSUME_STATFS_F_FLAGS.
94495         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
94497         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
94498         Add sys/fanotify.h.
94499         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
94500         fanotify_mask for GLIBC_2.13.
94501         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
94502         fanotify_init and fanotify_mark.
94503         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
94504         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
94506         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
94507         Add prlimit.
94508         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
94509         prlimit64 for GLIBC_2.13.
94510         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
94511         prlimit64.
94512         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
94513         syscall.
94514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
94515         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94516         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
94517         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
94518         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
94519         add prlimit alias.
94520         * sysdeps/unix/sysv/linux/prlimit.c: New file.
94522         [BZ #11903]
94523         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
94524         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
94526         * nss/Makefile: Add rules to build and run tst-nss-test1.
94527         * shlib-versions: Add entry for libnss_test1.
94528         * nss/nss_test1.c: New file.
94529         * nss/tst-nss-test1.c: New file.
94531         * nss/nsswitch.c (__nss_database_custom): Define new variable.
94532         (__nss_configure_lookup): Set appropriate entry in
94533         __nss_configure_lookup to true.
94534         * nss/nsswitch.h: Define enum with indeces of databases in
94535         databases and __nss_database_custom arrays.  Declare
94536         __nss_database_custom.
94537         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
94538         to avoid using nscd when custom rules are installed.
94539         * nss/getXXbyYY_r.c: Likewise.
94540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
94542         * nss/nss_files/files-parse.c: Whitespace fixes.
94544 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
94546         [BZ #11883]
94547         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
94548         * posix/fnmatch_loop.c: Likewise.
94550 2010-07-17  Andi Kleen  <ak@linux.intel.com>
94552         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
94553         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
94554         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
94555         * Versions.def [GLIBC_2.13]: Add.
94557 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
94559         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94560         Also fail if tpwd after pwuid call is NULL.
94562 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94564         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
94565         when converting to ms.
94567 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94569         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
94570         EOPNOTSUPP errors with ENOTTY.
94571         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
94572         EOPNOTSUPP errors with ENOTTY.
94574 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
94576         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
94577         Add strcasecmp_l-ssse3.
94578         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
94579         strcasecmp.
94580         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
94581         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
94582         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
94584 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
94586         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
94588         * string/Makefile (strop-tests): Add strcasecmp.
94589         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94590         strcasecmp_l-nonascii.
94591         (gen-as-const-headers): Add locale-defines.sym.
94592         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
94593         * sysdeps/x86_64/strcasecmp.S: New file.
94594         * sysdeps/x86_64/strcasecmp_l.S: New file.
94595         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
94596         * sysdeps/x86_64/locale-defines.sym: New file.
94597         * string/test-strcasecmp.c: New file.
94599         * string/test-strcasestr.c: Test both ends of the range of characters.
94600         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
94602 2010-07-29  Roland McGrath  <roland@redhat.com>
94604         [BZ #11856]
94605         * manual/locale.texi (Yes-or-No Questions): Fix example code.
94607 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
94609         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
94610         for ld.so.
94612 2010-07-27  Andreas Schwab  <schwab@redhat.com>
94614         * manual/memory.texi (Malloc Tunable Parameters): Document
94615         M_PERTURB.
94617 2010-07-26  Roland McGrath  <roland@redhat.com>
94619         [BZ #11840]
94620         * configure.in (-fgnu89-inline check): Set and substitute
94621         gnu89_inline, not libc_cv_gnu89_inline.
94622         * configure: Regenerated.
94623         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
94625 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
94627         * string/test-strnlen.c: New file.
94628         * string/Makefile (strop-tests): Add strnlen.
94629         * string/tester.c (test_strnlen): Add a few more test cases.
94630         * string/tst-strlen.c: Better error reporting.
94632         * sysdeps/x86_64/strnlen.S: New file.
94634 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
94636         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
94637         lower-latency instructions.
94639 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
94641         * string/test-strcasestr.c: New file.
94642         * string/test-strstr.c: New file.
94643         * string/Makefile (strop-tests): Add strstr and strcasestr.
94644         * string/str-two-way.h: Don't undefine MAX.
94645         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
94647 2010-07-21  Andreas Schwab  <schwab@redhat.com>
94649         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
94650         strcasestr-nonascii.
94651         (CFLAGS-strcasestr-nonascii.c): Define.
94652         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
94653         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
94654         Remove unused attribute.
94656 2010-07-20  Roland McGrath  <roland@redhat.com>
94658         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
94659         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
94660         ld.so.cache was broken.  With it, there is no way to disable dsocaps
94661         like LD_HWCAP_MASK can disable hwcaps.
94663 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
94665         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
94667 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
94669         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
94670         call in strcasestr.
94671         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
94672         __strcasestr_sse42_nonascii.
94673         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
94674         strcasestr-nonascii.c.
94675         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
94677 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
94679         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
94680         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
94681         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
94682         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
94684 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
94686         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
94687         fcntl.
94689 2010-07-06  Andreas Schwab  <schwab@redhat.com>
94691         [BZ #11577]
94692         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
94693         dl_signal_cerror.
94695 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
94697         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
94698         _PC_PIPE_BUF using F_GETPIPE_SZ.
94700 2010-07-05  Roland McGrath  <roland@redhat.com>
94702         * manual/arith.texi (Rounding Functions): Fix rint description
94703         implicit in round description.
94705 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
94707         * elf/Makefile: Fix linking for a few tests to make recent linker
94708         happy.
94710 2010-06-30  Andreas Schwab  <schwab@redhat.com>
94712         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
94713         $(common-objpfx)libc_nonshared.a.
94715 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
94717         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
94718         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
94719         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94720         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94721         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
94722         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
94723         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94724         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
94726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
94727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
94728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
94730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
94732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
94733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
94734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
94735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
94737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
94739         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
94740         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
94741         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
94742         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
94743         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
94744         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
94745         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
94746         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
94747         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
94748         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
94749         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
94750         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
94751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
94752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
94753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
94754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
94755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
94756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
94757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
94758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
94759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
94760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
94761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
94762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
94763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
94764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
94766 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
94768         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
94769         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
94770         * string/memmove.c (memmove): Renamed to ...
94771         (MEMMOVE): ...this.  Default to memmove.
94772         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
94773         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
94774         (END_CHK): Define.
94775         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94776         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
94777         mempcpy-ssse3-back memmove-ssse3-back.
94778         * sysdeps/x86_64/multiarch/bcopy.S: New file .
94779         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
94780         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
94781         * sysdeps/x86_64/multiarch/memcpy.S: New file.
94782         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
94783         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
94784         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
94785         * sysdeps/x86_64/multiarch/memmove.c: New file.
94786         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
94787         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
94788         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
94789         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
94790         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
94791         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
94792         Define.
94793         (index_Fast_Copy_Backward): Define.
94794         (HAS_ARCH_FEATURE): Define.
94795         (HAS_FAST_REP_STRING): Define.
94796         (HAS_FAST_COPY_BACKWARD): Define.
94798 2010-06-21  Andreas Schwab  <schwab@redhat.com>
94800         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94801         Restore proper fallback handling.
94803 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
94805         [BZ #11701]
94806         * posix/group_member.c (__group_member): Correct checking loop.
94808         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
94809         OOM in getpwuid_r correctly.  Return error number when the caller
94810         should return, otherwise -1.
94811         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
94812         call returning > 0 value.
94813         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
94815 2010-06-07  Andreas Schwab  <schwab@redhat.com>
94817         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
94818         libc_nonshared.a from targets in modules-names.
94820 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
94822         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
94823         requires it.
94825 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
94827         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
94828         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
94829         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
94830         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
94832 2010-06-02  Andreas Schwab  <schwab@redhat.com>
94834         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
94836 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
94838         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
94839         and F_GETPIPE_SZ.
94840         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94841         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94842         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94843         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94844         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94845         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94847 2010-06-14  Roland McGrath  <roland@redhat.com>
94849         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
94851 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
94853         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
94854         __REDIRECT followed by __THROW.
94855         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
94856         * posix/getopt.h (getopt): Likewise.
94858 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
94860         * hurd/lookup-at.c (__file_name_lookup_at): Accept
94861         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
94862         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
94863         in AT_FLAGS.
94864         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
94865         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
94867 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
94869         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
94871 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
94873         [BZ #11640]
94874         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94875         Properly check family and model.
94877 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
94879         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
94881 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
94883         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
94885 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
94887         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
94888         symbol reference.
94890 2010-05-19  Andreas Schwab  <schwab@redhat.com>
94892         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
94893         symbol reference.
94895 2010-05-21  Andreas Schwab  <schwab@redhat.com>
94897         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
94898         and internal_recvmmsg.
94899         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
94900         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
94901         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
94902         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
94904         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
94905         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
94906         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
94908 2010-05-20  Andreas Schwab  <schwab@redhat.com>
94910         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
94912 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
94914         POWER7 optimizations.
94915         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
94916         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
94918 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
94920         * version.h: Update for 2.13 development version.
94922 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
94924         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
94925         exceptions.  Return 0.
94927 2010-05-07  Roland McGrath  <roland@redhat.com>
94929         * elf/ldconfig.c (main): Add a const.
94931 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
94933         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
94934         (args_options): Add no-idn option.
94935         (ahosts_keys_int): Add idn_flags to ai_flags.
94936         (parse_option): Handle 'i' option to clear idn_flags.
94938         * malloc/malloc.c (_int_free): Possible race in the most recently
94939         added check.  Only act on the data if no current modification
94940         happened.
94942 See ChangeLog.17 for earlier changes.